Function at 0x476040
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6fc160
push eax
mov eax, 0x14cc
mov dword fs:[0], esp
call fcn.006bfd90
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x14]
push esi
call fcn.00466a20
xor ecx, ecx
mov dword [ebp - 4], 0
push esi
mov word [ebp - 0x14d8], cx
mov byte [ebp - 0x4d8], cl
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], eax
call fcn.004670a0
add esp, 8
mov dword [ebp - 0x64], 0
mov esi, eax
mov dword [ebp - 0x60], 0
mov ecx, 1
lock xadd dword [0x7fddec], ecx
inc ecx
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x4760c6
cmp word [ecx], 0
mov dword [ebp - 0x50], ecx
jne 0x4760cd
mov dword [ebp - 0x50], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x4c], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [0x7fdd34]
mov dword [ebp - 0x38], esi
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x34], xmm0
test eax, eax
je 0x476120
call eax
mov dword [ebp - 0x18], eax
jmp 0x476127
mov dword [ebp - 0x18], 0
mov eax, dword [0x7fdd28]
test eax, eax
je 0x476136
lea ecx, [ebp - 0x64]
push ecx
call eax
mov eax, dword [0x7fdd2c]
test eax, eax
je 0x476151
push 0x400
lea ecx, [ebp - 0x4d8]
push ecx
lea ecx, [ebp - 0x64]
push ecx
call eax
mov eax, dword [0x7fdd30]
test eax, eax
je 0x476160
lea ecx, [ebp - 0x64]
push ecx
call eax
mov eax, dword [0x7fdd68]
test eax, eax
je 0x476175
test byte [ebp - 0x60], 2
jne 0x476175
lea ecx, [ebp - 0x64]
push ecx
call eax
cmp dword [ebp - 0x5c], 0
jl 0x476180
call fcn.00468570
cmp byte [0x7fdd0c], 0
jne 0x4761a9
mov eax, dword [0x7fdd08]
test eax, eax
je 0x476199
call eax
movzx eax, al
jmp 0x4761a5
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x47620d
cmp byte [section..data], 0
je 0x47620d
test byte [ebp - 0x60], 2
jne 0x47620d
mov eax, dword [0x7fdd04]
test eax, eax
je 0x4761dc
cmp byte [0x7fdd1c], 0
jne 0x4761dc
push 0x800
lea ecx, [ebp - 0x14d8]
push ecx
lea ecx, [ebp - 0x64]
push ecx
call eax
cmp word [ebp - 0x14d8], 0
jne 0x4761fe
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x14d8]
push 0x800
push eax
call fcn.00465fe0
add esp, 0xc
lea eax, [ebp - 0x14d8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x476229
mov eax, dword [0x7fdd04]
test eax, eax
je 0x476229
cmp byte [0x7fdd1c], 0
jne 0x476229
push 0
push 0
lea ecx, [ebp - 0x64]
push ecx
call eax
test byte [ebp - 0x60], 4
jne 0x476238
cmp byte [0x7fdd14], 0
je 0x476243
mov eax, dword [0x7fdd3c]
test eax, eax
je 0x476243
call eax
test byte [ebp - 0x60], 1
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
je 0x476259
push eax
call fcn.004684a0
push edi
push eax
call fcn.004813b0
add esp, 8
lea ecx, [ebp - 0xd8]
push edi
call fcn.0047f100
push 0x7db138
lea eax, [ebp - 0xd8]
push eax
call fcn.006c19b9
int3