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

Disassembly:
push 0xffffffffffffffff
push 0x5c190f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], edi
mov eax, dword [edi + 0x8e7c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x477725
lea ebp, [edi + 0x8e88]
push 0x62f32c
push eax
push ebp
call fcn.004f4a20
add esp, 0xc
test eax, eax
jne 0x477734
mov edx, 0x62fecc
mov ecx, 0x62fe60
mov eax, 0x62de90
mov dword [esp + 0x28], 0x62f8c0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 0x62e014
mov dword [esp + 0x34], 0x62f8c4
mov dword [esp + 0x38], 0x62fe5c
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 0x62f8c8
mov dword [esp + 0x44], 0x62fe54
mov dword [esp + 0x48], 0x62fe0c
mov dword [esp + 0x4c], 0x62f8cc
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x62fdf8
mov dword [esp + 0x58], 0x62f8d0
mov dword [esp + 0x5c], 0x62e844
mov dword [esp + 0x60], 0x62fd94
mov dword [esp + 0x64], 0x62f8d4
mov dword [esp + 0x68], 0x62fd8c
mov dword [esp + 0x6c], 0x62fd64
mov dword [esp + 0x70], 0x62f8d8
mov dword [esp + 0x74], 0x62fd60
mov dword [esp + 0x78], 0x62fd24
mov dword [esp + 0x7c], 0x62f8dc
mov dword [esp + 0x80], 0x62fd1c
mov dword [esp + 0x84], 0x62fd0c
mov dword [esp + 0x88], 0x62f8e0
mov dword [esp + 0x8c], 0x62cee8
mov dword [esp + 0x90], 0x62fd04
mov dword [esp + 0x94], 0x62f8e4
mov dword [esp + 0x98], 0x62ceec
mov dword [esp + 0x9c], 0x62fcfc
mov dword [esp + 0xa0], 0x62f8e8
mov dword [esp + 0xa4], 0x62fcf8
mov dword [esp + 0xa8], 0x62fcec
mov dword [esp + 0xac], 0x62f8ec
mov dword [esp + 0xb0], 0x62fce8
mov dword [esp + 0xb4], 0x62fcdc
mov dword [esp + 0xb8], 0x62f854
mov dword [esp + 0xbc], 0x62fcd4
mov dword [esp + 0xc0], 0x62fcc8
mov dword [esp + 0xc4], 0x62f85c
mov dword [esp + 0xc8], 0x62fcc0
mov dword [esp + 0xcc], 0x62fcb4
mov dword [esp + 0xd0], 0x62f864
mov dword [esp + 0xd4], 0x62fcac
mov dword [esp + 0xd8], 0x62fca4
mov dword [esp + 0xdc], 0x62f874
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], 0x62fc9c
mov dword [esp + 0xe8], 0x62f87c
mov dword [esp + 0xec], 0x623700
mov dword [esp + 0xf0], 0x62fc94
mov dword [esp + 0xf4], 0x62f884
mov dword [esp + 0xf8], 0x62e32c
mov dword [esp + 0xfc], 0x62fc8c
mov dword [esp + 0x100], 0x62f8b4
mov dword [esp + 0x104], 0x62fc88
mov dword [esp + 0x108], 0x62fc7c
mov dword [esp + 0x10c], 0x62e008
mov dword [esp + 0x110], edx
mov dword [esp + 0x114], ecx
lea esi, [esp + 0x2c]
mov dword [esp + 0x14], 0x14
mov eax, dword [0x639698]
mov dword [esp + 0x158], eax
lea ecx, [esp + 0x15c]
mov dword [esp + 0x1a0], 0
call fcn.0050bc50
lea ecx, [esp + 0x178]
mov byte [esp + 0x1a0], 1
call fcn.0050bc50
push 0xf
call dword [0x5da7d4]
mov dword [esp + 0x194], eax
mov ecx, dword [esi - 4]
mov dword [esp + 0x1a0], 2
push ecx
lea ecx, [esp + 0x15c]
call fcn.00593864
mov edx, dword [esi]
lea ecx, [esp + 0x15c]
push edx
call fcn.0050bdd0
mov eax, dword [esi + 4]
lea ecx, [esp + 0x178]
push eax
call fcn.0050bdd0
mov ebx, dword [ebp + 8]
push 0xffffffffffffffff
lea ecx, [ebx + 1]
push ecx
mov ecx, ebp
call fcn.00486470
lea edx, [esp + 0x158]
mov ecx, ebx
push edx
mov edx, dword [ebp + 4]
shl ecx, 6
add ecx, edx
call fcn.00477d50
lea ecx, [esp + 0x178]
mov dword [esp + 0x1a0], 4
call fcn.0050bd60
lea ecx, [esp + 0x15c]
mov byte [esp + 0x1a0], 3
call fcn.0050bd60
lea ecx, [esp + 0x158]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.005936db
mov eax, dword [esp + 0x14]
add esi, 0xc
dec eax
mov dword [esp + 0x14], eax
jne 0x477628
jmp 0x477734
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x8e88]
call fcn.00486470
mov eax, dword [edi + 0xa7a8]
cmp eax, 0xffffffff
jne 0x4778aa
mov eax, dword [0x639698]
mov dword [esp + 0x10], eax
mov ecx, dword [edi + 0xa648]
mov dword [esp + 0x1a0], 5
test ecx, ecx
je 0x477778
mov edx, dword [ecx]
push 0
push 0
push 0
push 0x17
call dword [edx + 4]
push eax
lea ecx, [esp + 0x14]
call fcn.00593864
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
push 0x62fc78
push ecx
call fcn.005939e4
push 0x62fc74
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x1ac], 6
call fcn.00593970
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
push 0x62f32c
push ecx
mov ecx, 0x6646a8
mov byte [esp + 0x1b0], 7
call fcn.004ed430
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a0], 0xa
call fcn.005936db
mov bl, 9
lea ecx, [esp + 0x24]
mov byte [esp + 0x1a0], bl
call fcn.005936db
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x47783e
lea eax, [esp + 0x10]
push 0x62fc6c
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00593970
mov eax, dword [eax]
push 1
push eax
push 0x62f32c
mov ecx, 0x6646a8
mov byte [esp + 0x1ac], 0xb
call fcn.004ed500
lea ecx, [esp + 0x1c]
mov dword [edi + 0x8e9c], eax
mov byte [esp + 0x1a0], bl
call fcn.005936db
jmp 0x477848
mov dword [edi + 0x8e9c], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x477874
mov ecx, dword [edi + 0xa648]
test ecx, ecx
je 0x477874
push 0x62f32c
lea edx, [edi + 0x8ea0]
push eax
push edx
call fcn.004f4a20
add esp, 0xc
jmp 0x477883
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x8ea0]
call fcn.00486470
lea ecx, [esp + 0x14]
mov byte [esp + 0x1a0], 5
call fcn.005936db
lea ecx, [esp + 0x10]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.005936db
jmp 0x4778c6
mov eax, dword [edi + eax*4 + 0xa7fc]
push 0x62f32c
push eax
lea eax, [edi + 0x8ea0]
push eax
call fcn.004f4a20
add esp, 0xc
mov ecx, edi
call fcn.00461bd0
xor ebx, ebx
cmp eax, ebx
je 0x477caf
mov eax, dword [eax + 0x88]
lea ebp, [edi + 0x8eb4]
push 0x62f32c
push eax
push ebp
call fcn.004f4a20
add esp, 0xc
cmp eax, ebx
je 0x477902
cmp dword [edi + 0x8ebc], ebx
jne 0x477d30
mov eax, 0x625bfc
lea esi, [esp + 0x2c]
mov dword [esp + 0x28], 0x62fc64
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x62fc5c
mov dword [esp + 0x34], 0x62fc54
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x62fc38
mov dword [esp + 0x40], 0x62fc30
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0x62fbf0
mov dword [esp + 0x4c], 0x62fbe8
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x62fbb0
mov dword [esp + 0x58], 0x62fba8
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x62fb74
mov dword [esp + 0x64], 0x62fb68
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x62fb50
mov dword [esp + 0x70], 0x62fb44
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0x62fb2c
mov dword [esp + 0x7c], 0x62fb24
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0x62faf0
mov dword [esp + 0x88], 0x62fae8
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0x62fab0
mov dword [esp + 0x94], 0x62faa8
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0x62fa64
mov dword [esp + 0xa0], 0x62e120
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0x63f7e8
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0xb
jmp 0x477a1a
mov esi, dword [esp + 0x14]
mov ecx, dword [0x639698]
mov dword [esp + 0x118], ecx
lea ecx, [esp + 0x11c]
mov dword [esp + 0x1a0], 0xc
call fcn.0050bc50
lea ecx, [esp + 0x138]
mov byte [esp + 0x1a0], 0xd
call fcn.0050bc50
push 0xf
call dword [0x5da7d4]
mov dword [esp + 0x154], eax
mov edx, dword [esi - 4]
lea ecx, [esp + 0x118]
push edx
mov dword [esp + 0x1a4], 0xe
call fcn.00593864
mov eax, dword [esi]
lea ecx, [esp + 0x11c]
push eax
call fcn.0050bdd0
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x13c]
call fcn.0050bdd0
mov ecx, dword [ebp + 8]
mov edi, ecx
mov dword [esp + 0x24], edi
lea ebx, [edi + 1]
test ebx, ebx
jne 0x477aeb
mov ebx, dword [ebp + 4]
test ebx, ebx
je 0x477ade
mov edx, ecx
dec ecx
test edx, edx
je 0x477acb
lea esi, [ecx + 1]
push 0
mov ecx, ebx
call fcn.00486920
add ebx, 0x40
dec esi
jne 0x477abc
mov eax, dword [ebp + 4]
push eax
call fcn.0058ed21
add esp, 4
mov dword [ebp + 4], 0
xor eax, eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], eax
jmp 0x477c07
mov eax, dword [ebp + 4]
test eax, eax
jne 0x477b15
mov eax, ebx
shl eax, 6
push eax
call fcn.0058ecf8
add esp, 4
mov dword [ebp + 4], eax
push ebx
push eax
call fcn.00476270
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
jmp 0x477c07
mov esi, dword [ebp + 0xc]
cmp ebx, esi
jg 0x477b6e
cmp ecx, ebx
jge 0x477b38
mov edx, ebx
sub edx, ecx
shl ecx, 6
add ecx, eax
push edx
push ecx
call fcn.00476270
mov dword [ebp + 8], ebx
jmp 0x477c07
jle 0x477b66
mov esi, ebx
sub ecx, ebx
shl esi, 6
add esi, eax
mov eax, ecx
dec ecx
test eax, eax
je 0x477b66
inc ecx
mov dword [esp + 0x10], ecx
push 0
mov ecx, esi
call fcn.00486920
mov eax, dword [esp + 0x10]
add esi, 0x40
dec eax
mov dword [esp + 0x10], eax
jne 0x477b4f
mov dword [ebp + 8], ebx
jmp 0x477c07
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x477b98
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x477b8c
mov eax, 4
jmp 0x477b98
cmp eax, 0x400
jle 0x477b98
mov eax, 0x400
add eax, esi
cmp ebx, eax
mov dword [esp + 0x10], eax
jl 0x477ba6
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x10]
shl ecx, 6
push ecx
call fcn.0058ecf8
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
shl ecx, 6
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1c], eax
sub edx, ecx
shl ecx, 6
add ecx, eax
push edx
push ecx
call fcn.00476270
mov eax, dword [ebp + 4]
push eax
call fcn.0058ed21
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
add esp, 4
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ecx
mov eax, dword [ebp + 4]
lea edx, [esp + 0x118]
shl edi, 6
add edi, eax
push edx
mov esi, edi
mov ecx, esi
call fcn.00593814
lea eax, [esp + 0x11c]
lea ecx, [esi + 4]
push eax
call fcn.0050bec0
lea ecx, [esp + 0x138]
push ecx
lea ecx, [esi + 0x20]
call fcn.0050bec0
mov edx, dword [esp + 0x154]
mov dword [esi + 0x3c], edx
lea ecx, [esp + 0x138]
mov dword [esp + 0x1a0], 0x10
call fcn.0050bd60
lea ecx, [esp + 0x11c]
mov byte [esp + 0x1a0], 0xf
call fcn.0050bd60
lea ecx, [esp + 0x118]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.005936db
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add ecx, 0xc
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
jne 0x477a16
mov edi, dword [esp + 0x20]
jmp 0x477d30
mov esi, dword [edi + 0x8eb8]
cmp esi, ebx
je 0x477d24
mov eax, dword [edi + 0x8ebc]
mov dword [esp + 0x20], esi
mov ecx, eax
dec eax
test ecx, ecx
je 0x477d0d
lea ebp, [eax + 1]
mov bl, 0x11
lea ecx, [esi + 0x20]
mov dword [esp + 0x1a0], 0x12
call fcn.0050bd60
lea ecx, [esi + 4]
mov byte [esp + 0x1a0], bl
call fcn.0050bd60
mov ecx, esi
mov dword [esp + 0x1a0], 0xffffffff
call fcn.005936db
add esi, 0x40
dec ebp
mov dword [esp + 0x20], esi
jne 0x477ccf
mov edx, dword [edi + 0x8eb8]
push edx
call fcn.0058ed21
add esp, 4
xor ebx, ebx
mov dword [edi + 0x8eb8], ebx
mov dword [edi + 0x8ec0], ebx
mov dword [edi + 0x8ebc], ebx
mov ecx, edi
call fcn.00485c60
mov ecx, dword [esp + 0x198]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x194
ret