Function at 0x476ec0
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 0x47785a
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 0x47776a
nop
cmp eax, 3
je 0x4776f1
mov ecx, dword [esp + 0x2c4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00476ac0
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00456690
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test edx, edx
je 0x4776de
xor eax, eax
test edx, edx
je 0x477066
mov dword [esp + 0x2ac], ebx
mov dword [esp + 0x30], edx
lea eax, [0x647140]
mov dword [esp], eax
call fcn.00409c30
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c0]
mov dword [edi + 4], eax
mov eax, dword [0x9ec0a0]
test eax, eax
jne 0x477055
mov ecx, dword [esp + 0x2bc]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c8]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x477039
mov ecx, dword [esp + 0x2c4]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x477020
mov eax, dword [esp + 0x2ac]
mov dword [edi + 0x14], eax
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d4], 0
lea eax, [0x6dc090]
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], edi
nop
call fcn.00427960
add esp, 0x2b8
ret
lea ecx, [edi + 0x14]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2ac]
call fcn.0044c8c0
mov edi, edx
jmp 0x476fe9
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2c4]
call fcn.0044c8c0
mov edi, edx
jmp 0x476fce
mov eax, dword [esp + 0x2bc]
call fcn.0044c8c0
jmp 0x476fb0
mov dword [esp + 0x2a4], eax
lea edi, [esp + 0x34]
xor eax, eax
call fcn.0044c9b7
mov ecx, dword [esp + 0x2a4]
mov dword [esp], ecx
mov dword [esp + 4], 0
lea edx, [esp + 0x34]
mov dword [esp + 8], edx
call fcn.00459680
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test ecx, ecx
je 0x47744d
je 0x4770bd
lea ebx, [0x6439a0]
cmp dword [ecx + 4], ebx
jne 0x4770bd
cmp dword [edx], 0x20
je 0x47728e
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.00457e90
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
test ecx, ecx
je 0x477202
mov dword [esp + 0x2ac], eax
mov dword [esp + 0x30], ecx
lea eax, [0x647140]
mov dword [esp], eax
call fcn.00409c30
mov edi, dword [esp + 4]
mov dword [edi + 4], 0xa
mov eax, dword [0x9ec0a0]
test eax, eax
jne 0x4771f2
lea ecx, [0x671de5]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c8]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x4771d6
mov ecx, dword [esp + 0x2c4]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x4771bd
mov eax, dword [esp + 0x2ac]
mov dword [edi + 0x14], eax
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d4], 0
lea eax, [0x6dc090]
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], edi
nop
call fcn.00427960
add esp, 0x2b8
ret
lea ecx, [edi + 0x14]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2ac]
call fcn.0044c8c0
mov edi, edx
jmp 0x477186
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2c4]
call fcn.0044c8c0
mov edi, edx
jmp 0x47716b
lea eax, [0x671de5]
call fcn.0044c8c0
jmp 0x47714d
mov dword [esp + 0x28], edx
mov dword [esp], 0xc
lea eax, [0x695ab8]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00427190
test eax, eax
jne 0x477281
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.00477f00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea ebx, [0x6df760]
mov dword [esp + 0x2d0], ebx
mov dword [esp + 0x2d4], eax
mov dword [esp + 0x2d8], edx
mov dword [esp + 0x2dc], ecx
nop
call fcn.00427960
add esp, 0x2b8
ret
nop
call fcn.00427960
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.00457b70
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
test ebx, ebx
je 0x4773b5
mov dword [esp + 0x2b0], edx
mov dword [esp + 0x2c], ebx
lea eax, [0x647140]
mov dword [esp], eax
call fcn.00409c30
mov edi, dword [esp + 4]
mov dword [edi + 4], 0xd
mov eax, dword [0x9ec0a0]
test eax, eax
jne 0x4773a5
lea ecx, [0x6736f8]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c8]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x477389
mov ecx, dword [esp + 0x2c4]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x477370
mov eax, dword [esp + 0x2b0]
mov dword [edi + 0x14], eax
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d4], 0
lea eax, [0x6dc090]
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], edi
nop
call fcn.00427960
add esp, 0x2b8
ret
lea ecx, [edi + 0x14]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2b0]
call fcn.0044c8c0
mov edi, edx
jmp 0x477339
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2c4]
call fcn.0044c8c0
mov edi, edx
jmp 0x47731e
lea eax, [0x6736f8]
call fcn.0044c8c0
jmp 0x477300
mov dword [esp], ebp
call fcn.00458430
nop
lea eax, [0x65f240]
mov dword [esp], eax
call fcn.00409c30
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, [0x6df760]
mov dword [esp + 0x2d0], eax
mov dword [esp + 0x2d4], ecx
mov dword [esp + 0x2d8], 0
mov dword [esp + 0x2dc], 0
nop
call fcn.00427960
add esp, 0x2b8
ret
mov ebx, dword [esp + 0x34]
test ebx, 0x400
je 0x477460
test ecx, ecx
jmp 0x4770a7
lea eax, [0x65f240]
mov dword [esp], eax
call fcn.00409c30
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c8]
mov dword [eax + 0x40], ecx
mov edx, dword [0x9ec0a0]
lea edi, [eax + 0x3c]
mov dword [esp + 0x2b4], edi
test edx, edx
jne 0x4776c9
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.00476850
movzx eax, byte [esp + 8]
test al, al
je 0x477577
mov eax, dword [esp + 0x2c4]
mov dword [esp], eax
mov eax, dword [esp + 0x2c8]
mov dword [esp + 4], eax
call fcn.00476780
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0x2a8]
mov dword [edi + 4], eax
mov eax, dword [0x9ec0a0]
test eax, eax
jne 0x47756e
mov dword [edi], ecx
lea eax, [0x6df760]
mov dword [esp + 0x2d0], eax
mov dword [esp + 0x2d4], edi
mov dword [esp + 0x2d8], 0
mov dword [esp + 0x2dc], 0
nop
call fcn.00427960
add esp, 0x2b8
ret
mov eax, ecx
call fcn.0044c8c0
jmp 0x477537
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.00454d00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x2a8]
mov dword [ebp + 0x40], edx
mov edx, dword [0x9ec0a0]
test edx, edx
jne 0x4776b2
mov dword [ebp + 0x3c], ebx
test ecx, ecx
je 0x4774ff
mov dword [esp + 0x2ac], eax
mov dword [esp + 0x30], ecx
lea eax, [0x647140]
mov dword [esp], eax
call fcn.00409c30
mov edi, dword [esp + 4]
mov dword [edi + 4], 8
mov eax, dword [0x9ec0a0]
test eax, eax
jne 0x4776a2
lea ecx, [0x6709a4]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c8]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x477686
mov ecx, dword [esp + 0x2c4]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x47766d
mov eax, dword [esp + 0x2ac]
mov dword [edi + 0x14], eax
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d4], 0
lea eax, [0x6dc090]
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], edi
nop
call fcn.00427960
add esp, 0x2b8
ret
lea ecx, [edi + 0x14]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2ac]
call fcn.0044c8c0
mov edi, edx
jmp 0x477636
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2c4]
call fcn.0044c8c0
mov edi, edx
jmp 0x47761b
lea eax, [0x6709a4]
call fcn.0044c8c0
jmp 0x4775fd
mov edi, dword [esp + 0x2b4]
mov edx, eax
mov eax, ebx
call fcn.0044c8c0
mov eax, edx
jmp 0x4775bb
mov edx, eax
mov eax, dword [esp + 0x2c4]
call fcn.0044c8c0
mov eax, edx
jmp 0x47749e
test eax, eax
jbe 0x477853
mov eax, ecx
xor ebx, ebx
xor edx, edx
jmp 0x476f6a
mov ecx, dword [esp + 0x2c4]
movzx edx, byte [ecx]
cmp dl, 0x6e
je 0x477709
cmp dl, 0x4e
jne 0x476f28
movzx edx, byte [ecx + 1]
cmp dl, 0x75
je 0x47771b
cmp dl, 0x55
jne 0x476f28
movzx edx, byte [ecx + 2]
cmp dl, 0x6c
je 0x47772d
cmp dl, 0x4c
jne 0x476f28
lea eax, [0x6df760]
mov dword [esp + 0x2d0], eax
lea eax, [0x9b8340]
mov dword [esp + 0x2d4], eax
mov dword [esp + 0x2d8], 0
mov dword [esp + 0x2dc], 0
nop
call fcn.00427960
add esp, 0x2b8
ret
lea eax, [0x647140]
mov dword [esp], eax
call fcn.00409c30
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2c0]
mov dword [edi + 4], eax
mov eax, dword [0x9ec0a0]
test eax, eax
jne 0x477842
mov ecx, dword [esp + 0x2bc]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c8]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x477826
mov ecx, dword [esp + 0x2c4]
mov dword [edi + 8], ecx
lea ecx, [0x6dc9b0]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x9ec0a0]
test ecx, ecx
jne 0x47780e
lea eax, [0x6d7c04]
mov dword [edi + 0x14], eax
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d4], 0
lea eax, [0x6dc090]
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], edi
nop
call fcn.00427960
add esp, 0x2b8
ret
lea ecx, [edi + 0x14]
mov eax, edi
mov edi, ecx
mov edx, eax
lea eax, [0x6d7c04]
call fcn.0044c8c0
mov edi, edx
jmp 0x4777d7
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x2c4]
call fcn.0044c8c0
mov edi, edx
jmp 0x4777bb
mov eax, dword [esp + 0x2bc]
call fcn.0044c8c0
jmp 0x47779d
call fcn.00426ef0
ud2
call fcn.0044b170
jmp fcn.00476ec0