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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x238]
cmp eax, dword [ecx + 8]
jbe 0x476c11
sub esp, 0x2b8
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d4], 0
mov dword [esp + 0x2d8], 0
mov dword [esp + 0x2dc], 0
mov eax, dword [esp + 0x2c8]
test eax, eax
je 0x476b21
nop
cmp eax, 3
je 0x476aa8
mov ecx, dword [esp + 0x2c4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00475e70
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00456280
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
je 0x476a95
xor edx, edx
test ecx, ecx
je 0x476426
mov dword [esp + 0x2ac], eax
mov dword [esp + 0x30], ecx
lea eax, [0x5aa860]
mov dword [esp], eax
call fcn.00409bc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c0]
mov dword [edi + 4], eax
mov eax, dword [0x738420]
test eax, eax
jne 0x476415
mov ecx, dword [esp + 0x2bc]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c8]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x738420]
test ecx, ecx
jne 0x4763f9
mov ecx, dword [esp + 0x2c4]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x738420]
test ecx, ecx
jne 0x4763e0
mov eax, dword [esp + 0x2ac]
mov dword [edi + 0x14], eax
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d4], 0
lea eax, [0x600fa0]
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], edi
nop
call fcn.00427a70
add esp, 0x2b8
ret
lea ecx, [edi + 0x14]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2ac]
call fcn.0044cea0
mov edi, edx
jmp 0x4763a9
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2c4]
call fcn.0044cea0
mov edi, edx
jmp 0x47638e
mov eax, dword [esp + 0x2bc]
call fcn.0044cea0
jmp 0x476370
mov dword [esp + 0x2a4], edx
lea edi, [esp + 0x34]
xor eax, eax
call fcn.0044cf97
mov dword [esp], edx
mov dword [esp + 4], 0
lea ecx, [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.004593d0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test ecx, ecx
je 0x476806
je 0x476476
lea ebx, [0x5a7700]
cmp dword [ecx + 4], ebx
jne 0x476476
cmp dword [edx], 0x20
je 0x476647
mov eax, dword [esp + 0x2a4]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 3
mov eax, dword [esp + 0x2cc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
call fcn.00457b20
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
test ecx, ecx
je 0x4765bb
mov dword [esp + 0x2ac], eax
mov dword [esp + 0x30], ecx
lea eax, [0x5aa860]
mov dword [esp], eax
call fcn.00409bc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0xa
mov eax, dword [0x738420]
test eax, eax
jne 0x4765ab
lea ecx, [0x5c7502]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c8]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x738420]
test ecx, ecx
jne 0x47658f
mov ecx, dword [esp + 0x2c4]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x738420]
test ecx, ecx
jne 0x476576
mov eax, dword [esp + 0x2ac]
mov dword [edi + 0x14], eax
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d4], 0
lea eax, [0x600fa0]
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], edi
nop
call fcn.00427a70
add esp, 0x2b8
ret
lea ecx, [edi + 0x14]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2ac]
call fcn.0044cea0
mov edi, edx
jmp 0x47653f
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2c4]
call fcn.0044cea0
mov edi, edx
jmp 0x476524
lea eax, [0x5c7502]
call fcn.0044cea0
jmp 0x476506
mov dword [esp + 0x28], edx
mov dword [esp], 0xc
lea eax, [0x5d45a8]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004272a0
test eax, eax
jne 0x47663a
mov eax, dword [esp + 0x2c4]
mov dword [esp], eax
mov eax, dword [esp + 0x2c8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
call fcn.00477080
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea ebx, [0x603260]
mov dword [esp + 0x2d0], ebx
mov dword [esp + 0x2d4], edx
mov dword [esp + 0x2d8], ecx
mov dword [esp + 0x2dc], eax
nop
call fcn.00427a70
add esp, 0x2b8
ret
nop
call fcn.00427a70
add esp, 0x2b8
ret
lea edi, [esp + 0x58]
mov ecx, 0x93
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x2a4]
mov dword [esp], edx
lea edx, [esp + 0x58]
mov dword [esp + 4], edx
call fcn.00457800
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
test ebx, ebx
je 0x47676e
mov dword [esp + 0x2b0], edx
mov dword [esp + 0x2c], ebx
lea eax, [0x5aa860]
mov dword [esp], eax
call fcn.00409bc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0xd
mov eax, dword [0x738420]
test eax, eax
jne 0x47675e
lea ecx, [0x5c809c]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c8]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x738420]
test ecx, ecx
jne 0x476742
mov ecx, dword [esp + 0x2c4]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x738420]
test ecx, ecx
jne 0x476729
mov eax, dword [esp + 0x2b0]
mov dword [edi + 0x14], eax
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d4], 0
lea eax, [0x600fa0]
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], edi
nop
call fcn.00427a70
add esp, 0x2b8
ret
lea ecx, [edi + 0x14]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2b0]
call fcn.0044cea0
mov edi, edx
jmp 0x4766f2
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2c4]
call fcn.0044cea0
mov edi, edx
jmp 0x4766d7
lea eax, [0x5c809c]
call fcn.0044cea0
jmp 0x4766b9
mov dword [esp], ebp
call fcn.004580c0
nop
lea eax, [0x5bb9a0]
mov dword [esp], eax
call fcn.00409bc0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 4]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x74]
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x78]
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x7c]
mov dword [ecx + 0x2c], eax
lea eax, [0x603260]
mov dword [esp + 0x2d0], eax
mov dword [esp + 0x2d4], ecx
mov dword [esp + 0x2d8], 0
mov dword [esp + 0x2dc], 0
nop
call fcn.00427a70
add esp, 0x2b8
ret
mov ebx, dword [esp + 0x34]
test ebx, 0x400
je 0x476819
test ecx, ecx
jmp 0x476460
lea eax, [0x5bb9a0]
mov dword [esp], eax
call fcn.00409bc0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c8]
mov dword [eax + 0x40], ecx
mov edx, dword [0x738420]
lea edi, [eax + 0x3c]
mov dword [esp + 0x2b4], edi
test edx, edx
jne 0x476a80
mov edx, dword [esp + 0x2c4]
mov dword [eax + 0x3c], edx
mov dword [esp + 0x2a8], eax
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x28], ecx
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00475bc0
movzx eax, byte [esp + 8]
test al, al
je 0x47692e
mov eax, dword [esp + 0x2c4]
mov dword [esp], eax
mov eax, dword [esp + 0x2c8]
mov dword [esp + 4], eax
call fcn.00475af0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x2a8]
mov dword [edi + 4], ecx
mov ecx, dword [0x738420]
test ecx, ecx
jne 0x476927
mov dword [edi], eax
lea eax, [0x603260]
mov dword [esp + 0x2d0], eax
mov dword [esp + 0x2d4], edi
mov dword [esp + 0x2d8], 0
mov dword [esp + 0x2dc], 0
nop
call fcn.00427a70
add esp, 0x2b8
ret
call fcn.0044cea0
jmp 0x4768f0
mov eax, dword [esp + 0x2a8]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00455150
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x2a8]
mov dword [ebp + 0x40], ecx
mov ecx, dword [0x738420]
test ecx, ecx
jne 0x476a69
mov dword [ebp + 0x3c], ebx
test edx, edx
je 0x4768b8
mov dword [esp + 0x2ac], eax
mov dword [esp + 0x30], edx
lea eax, [0x5aa860]
mov dword [esp], eax
call fcn.00409bc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 8
mov eax, dword [0x738420]
test eax, eax
jne 0x476a59
lea ecx, [0x5c6ed7]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c8]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x738420]
test ecx, ecx
jne 0x476a3d
mov ecx, dword [esp + 0x2c4]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x738420]
test ecx, ecx
jne 0x476a24
mov eax, dword [esp + 0x2ac]
mov dword [edi + 0x14], eax
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d4], 0
lea eax, [0x600fa0]
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], edi
nop
call fcn.00427a70
add esp, 0x2b8
ret
lea ecx, [edi + 0x14]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2ac]
call fcn.0044cea0
mov edi, edx
jmp 0x4769ed
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2c4]
call fcn.0044cea0
mov edi, edx
jmp 0x4769d2
lea eax, [0x5c6ed7]
call fcn.0044cea0
jmp 0x4769b4
mov edi, dword [esp + 0x2b4]
mov ecx, eax
mov eax, ebx
call fcn.0044cea0
mov eax, ecx
jmp 0x476972
mov edx, eax
mov eax, dword [esp + 0x2c4]
call fcn.0044cea0
mov eax, edx
jmp 0x476857
test edx, edx
jbe 0x476c0a
mov edx, ebx
xor eax, eax
xor ecx, ecx
jmp 0x47632a
mov ecx, dword [esp + 0x2c4]
movzx edx, byte [ecx]
cmp dl, 0x6e
je 0x476ac0
cmp dl, 0x4e
jne 0x4762e8
movzx edx, byte [ecx + 1]
cmp dl, 0x75
je 0x476ad2
cmp dl, 0x55
jne 0x4762e8
movzx edx, byte [ecx + 2]
cmp dl, 0x6c
je 0x476ae4
cmp dl, 0x4c
jne 0x4762e8
lea eax, [0x603260]
mov dword [esp + 0x2d0], eax
lea eax, [0x725aa0]
mov dword [esp + 0x2d4], eax
mov dword [esp + 0x2d8], 0
mov dword [esp + 0x2dc], 0
nop
call fcn.00427a70
add esp, 0x2b8
ret
lea eax, [0x5aa860]
mov dword [esp], eax
call fcn.00409bc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c0]
mov dword [edi + 4], eax
mov eax, dword [0x738420]
test eax, eax
jne 0x476bf9
mov ecx, dword [esp + 0x2bc]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c8]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x738420]
test ecx, ecx
jne 0x476bdd
mov ecx, dword [esp + 0x2c4]
mov dword [edi + 8], ecx
lea ecx, [0x601300]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x738420]
test ecx, ecx
jne 0x476bc5
lea eax, [0x5fe4fc]
mov dword [edi + 0x14], eax
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d4], 0
lea eax, [0x600fa0]
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], edi
nop
call fcn.00427a70
add esp, 0x2b8
ret
lea ecx, [edi + 0x14]
mov eax, edi
mov edi, ecx
mov edx, eax
lea eax, [0x5fe4fc]
call fcn.0044cea0
mov edi, edx
jmp 0x476b8e
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2c4]
call fcn.0044cea0
mov edi, edx
jmp 0x476b72
mov eax, dword [esp + 0x2bc]
call fcn.0044cea0
jmp 0x476b54
call fcn.00427000
ud2
call fcn.0044b750
jmp fcn.00476280