Function at 0x475280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4faa19
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5364a8]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364a8]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8c]
mov edi, ecx
mov esi, edx
xor ebp, ebp
push 0x5131a8
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], ebp
call fcn.00401f10
mov ebx, 1
mov dword [esp + 0x84], ebx
cmp esi, ebp
jne 0x475338
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call fcn.00406140
mov byte [esp + 0x84], 0
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x20], ebx
jb 0x475319
mov edx, dword [esp + 0x3c]
push edx
call fcn.0047c2f0
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x3c], 0
call fcn.00401050
jmp 0x47556e
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x475340
sub eax, edx
mov ebx, eax
mov byte [esp + 0x14], cl
xor eax, eax
mov ecx, ebx
and ecx, 0x8000000f
mov dword [esp + 0x2c], ebx
mov word [esp + 0x15], ax
mov byte [esp + 0x17], al
jns 0x47536d
dec ecx
or ecx, 0xfffffff0
inc ecx
mov eax, ebx
cdq
and edx, 0xf
add eax, edx
mov ebp, eax
sar ebp, 4
mov dword [esp + 0x28], ecx
test ebp, ebp
jle 0x47542c
mov ebx, esi
mov dword [esp + 0x24], ebp
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov eax, dword [ebx]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x70], eax
push ecx
lea eax, [esp + 0x68]
mov dword [esp + 0x70], edx
call fcn.00474750
xor edi, edi
lea ecx, [ecx]
movzx edx, byte [esp + edi + 0x54]
push edx
lea eax, [esp + 0x18]
push str._02X
push eax
call fcn.0047ed20
lea eax, [esp + 0x20]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4753f0
sub eax, edx
push eax
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x3c]
call fcn.00428c10
inc edi
cmp edi, 0x10
jl 0x4753d0
add ebx, 0x10
sub dword [esp + 0x24], 1
jne 0x47538c
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x18]
test ecx, ecx
jg 0x475438
test ebx, ebx
jne 0x4754bf
xor eax, eax
push ecx
shl ebp, 4
add ebp, esi
lea edx, [esp + 0x68]
push ebp
push edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
call fcn.0048be70
mov esi, dword [esp + 0x28]
add esp, 0xc
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x68]
call fcn.00474750
xor esi, esi
movzx ecx, byte [esp + esi + 0x54]
push ecx
lea edx, [esp + 0x18]
push str._02X
push edx
call fcn.0047ed20
lea eax, [esp + 0x20]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4754a1
sub eax, edx
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
call fcn.00428c10
inc esi
cmp esi, 0x10
jl 0x475482
cmp dword [esp + 0x34], 0xfffffffd
mov dword [edi], 0
jne 0x4754d2
mov dword [edi], 0xfffffffd
push 0xffffffffffffffff
mov byte [esp + 0x88], 2
push 0
lea ecx, [esp + 0x3c]
mov esi, 0xf
push ecx
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], 0
mov ecx, edi
mov byte [edi + 8], 0
call fcn.00401fc0
mov byte [esp + 0x84], 0
cmp dword [esp + 0x50], 0x10
mov dword [esp + 0x20], 1
jb 0x475521
mov edx, dword [esp + 0x3c]
push edx
call fcn.0047c2f0
add esp, 4
mov dword [esp + 0x50], esi
xor esi, esi
push 3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], esi
mov byte [esp + 0x40], 0
call fcn.00479b60
mov eax, dword [esp + 0x34]
cmp eax, 0xfffffffd
je 0x475565
cmp eax, esi
je 0x475561
jmp 0x475550
mov dword [eax], esi
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
cmp eax, esi
jne 0x475550
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x18]
call fcn.00479ba0
mov eax, edi
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0047bfe0
add esp, 0x74
ret 4