Function at 0x4773e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
xor ecx, ecx
push 0xffffffffffffffff
push 0x73b0a0
push eax
mov eax, dword [ebp + 0x30]
mov dword fs:[0], esp
push esi
mov esi, dword [ebp + 0x40]
mov word [eax], cx
mov eax, dword [ebp + 0x38]
push edi
xor edi, edi
mov byte [eax], cl
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x20]
cmp eax, 3
ja case.default.0x477422
jmp dword [eax*4 + 0x477644]
push ecx
call fcn.00477750
jmp 0x477483
push ecx
call fcn.004777b0
jmp 0x477483
test ecx, ecx
js 0x477475
push 0x8007029c
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00475400
push 0x8007029c
mov dword [esi + 8], 0x8007029c
call fcn.004770e0
add esp, 0x20
mov dword [esi + 0xc], eax
mov ecx, 0x8007029c
push ecx
call fcn.00477790
jmp 0x477483
push ecx
call fcn.00477770
mov edi, eax
add esp, 4
mov ecx, dword [ebp + 0x20]
mov edx, 8
mov dword [esi], ecx
mov ecx, dword [ebp + 0x24]
mov dword [esi + 4], 0
mov eax, dword [esi + 4]
cmp byte [ecx + 8], 0
cmovne eax, edx
mov dword [esi + 4], eax
mov eax, 1
lock xadd dword [0x9023e4], eax
inc eax
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x4774c7
cmp word [eax], 0
jne 0x4774c9
xor eax, eax
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x18], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x30], 0
movups xmmword [esi + 0x34], xmm0
movq qword [esi + 0x44], xmm0
mov eax, dword [0x902330]
test eax, eax
je 0x47751c
call eax
jmp 0x47751e
xor eax, eax
mov dword [esi + 0x4c], eax
mov eax, dword [0x902328]
test eax, eax
je 0x477533
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push esi
call eax
mov eax, dword [0x90232c]
test eax, eax
je 0x47753f
push esi
call eax
mov eax, dword [0x902364]
test eax, eax
je 0x477551
cmp byte [ebp + 0x2c], 0
jne 0x477551
push esi
call eax
cmp dword [esi + 8], 0
jl 0x477578
cmp dword [ebp + 0x20], 3
jne 0x47763c
push 0x8000ffff
mov dword [esi + 8], 0x8000ffff
call fcn.004770e0
add esp, 4
mov dword [esi + 0xc], eax
cmp byte [0x90230c], 0
jne 0x4775a1
mov eax, dword [0x902308]
test eax, eax
je 0x477591
call eax
movzx eax, al
jmp 0x47759d
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x4775ae
cmp byte [section..data], 0
je 0x4775ae
mov al, 1
jmp 0x4775b0
xor al, al
cmp byte [ebp + 0x2c], 0
mov byte [ebp + 0x23], al
jne 0x4775d8
test al, al
jne 0x4775d8
mov eax, dword [0x902304]
test eax, eax
je 0x477618
cmp byte [0x90231c], 0
jne 0x477618
push 0
push 0
push esi
call eax
jmp 0x477618
mov eax, dword [0x902304]
mov edi, dword [ebp + 0x34]
test eax, eax
je 0x4775f4
cmp byte [0x90231c], 0
jne 0x4775f4
push edi
push dword [ebp + 0x30]
push esi
call eax
mov eax, dword [ebp + 0x30]
cmp word [eax], 0
jne 0x47760b
push esi
push edi
push eax
call fcn.004767f0
mov eax, dword [ebp + 0x30]
add esp, 0xc
cmp byte [ebp + 0x23], 0
je 0x477618
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [0x902314], 0
je 0x47762c
mov eax, dword [0x902338]
test eax, eax
je 0x47762c
call eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00478d70
nop dword [eax]
sub dword [edi + eax*2], esi
xor dword [edi + eax*2], esi
cmp dword [edi + eax*2], esi
jge 4683462
inc edi
add ah, cl
int3
add byte [eax], al