Function at 0x4704d5
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1464
call fcn.0052bda0
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov ebx, ecx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], eax
xor eax, eax
mov ecx, dword [esi]
push edi
mov word [esp + 0x470], ax
mov edi, edx
mov byte [esp + 0x70], al
mov eax, dword [esi + 4]
push ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
call fcn.0046ef10
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], edx
cmp byte [esi + 8], dl
je 0x47053f
mov dword [esp + 0x1c], 8
xor ecx, ecx
inc ecx
lock xadd dword [0x553f18], ecx
inc ecx
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x28], ecx
test eax, eax
je 0x47055f
mov dword [esp + 0x2c], eax
cmp word [eax], dx
jne 0x470563
mov dword [esp + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x30], eax
xor ecx, ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], edi
lea edi, [esp + 0x58]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x6c], ebx
stosd dword es:[edi], eax
mov esi, dword [0x553ea8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test esi, esi
je 0x4705c4
mov ecx, esi
call dword [0x5552f8]
call esi
mov dword [esp + 0x64], eax
jmp 0x4705c8
mov dword [esp + 0x64], ecx
mov esi, dword [0x553e60]
test esi, esi
je 0x4705e1
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call dword [0x5552f8]
call esi
mov esi, dword [0x553e7c]
test esi, esi
je 0x470604
push 0x400
lea eax, [esp + 0x74]
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x5552f8]
call esi
mov esi, dword [0x553e74]
test esi, esi
je 0x47061d
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call dword [0x5552f8]
call esi
mov esi, dword [0x553e8c]
test esi, esi
je 0x47063d
test byte [esp + 0x1c], 2
jne 0x47063d
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call dword [0x5552f8]
call esi
cmp dword [esp + 0x20], 0
jl 0x470656
mov ecx, 0x8000ffff
mov dword [esp + 0x20], ecx
call fcn.0046f0c1
mov dword [esp + 0x24], eax
cmp byte [0x553e50], 0
jne 0x470688
mov esi, dword [0x553e4c]
test esi, esi
je 0x470678
mov ecx, esi
call dword [0x5552f8]
call esi
movzx eax, al
jmp 0x470684
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x47068f
test byte [esp + 0x1c], 2
je 0x4706b7
mov esi, dword [0x553e54]
test esi, esi
je 0x470713
cmp byte [0x553e64], 0
jne 0x470713
xor edx, edx
lea eax, [esp + 0x18]
push edx
push edx
push eax
mov ecx, esi
call dword [0x5552f8]
call esi
jmp 0x470713
mov esi, dword [0x553e54]
mov edi, 0x800
test esi, esi
je 0x4706e7
cmp byte [0x553e64], 0
jne 0x4706e7
push edi
lea eax, [esp + 0x474]
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x5552f8]
call esi
cmp word [esp + 0x470], 0
jne 0x470705
lea eax, [esp + 0x18]
mov edx, edi
push eax
lea ecx, [esp + 0x474]
call fcn.0046ec33
lea eax, [esp + 0x470]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [esp + 0x1c], 4
jne 0x470723
cmp byte [0x553e58], 0
je 0x470737
mov esi, dword [0x553e84]
test esi, esi
je 0x470737
mov ecx, esi
call dword [0x5552f8]
call esi
lea ecx, [esp + 0x18]
call fcn.0046f516
int3