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

Disassembly:
sub esp, 0xe90
push ebx
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0xabc]
mov ecx, dword [eax + 0x48]
push esi
lea edx, [eax + 0x44]
mov eax, dword [eax + 0x24]
push edi
mov dword [esp + 0x110], ecx
mov ecx, dword [eax + 4]
push edx
push ecx
lea ecx, [esp + 0xd4]
call fcn.00462eb0
mov edx, dword [ebp + 0xabc]
mov eax, dword [ebp + 0x24]
add edx, 0x44
push edx
push eax
lea ecx, [esp + 0x120]
call fcn.00462eb0
mov eax, dword [ebp + 0xa94]
mov edx, dword [ebp + 0x7c]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp + 0xabc]
xor edx, edx
mov dx, word [eax + 6]
movzx eax, word [eax + 8]
push edx
push eax
mov eax, dword [ecx + 0x24]
lea edx, [ecx + 0x44]
mov ecx, dword [eax + 4]
push edx
push ecx
lea ecx, [esp + 0x2a4]
call fcn.004abdf0
mov eax, dword [ebp + 0xa94]
mov ecx, dword [ebp + 0xabc]
lea edx, [eax + eax*2]
mov eax, dword [ebp + 0x7c]
lea eax, [eax + edx*4]
xor edx, edx
mov dx, word [eax + 6]
movzx eax, word [eax + 8]
push edx
push eax
mov eax, dword [ecx + 0x24]
lea edx, [ecx + 0x44]
mov ecx, dword [eax + 4]
push edx
push ecx
lea ecx, [esp + 0x16c]
call fcn.004abdf0
mov eax, dword [ebp + 0xa90]
xor ebx, ebx
cmp eax, ebx
je 0x477c53
mov eax, 2
mov dword [esp + 0x160], eax
mov dword [esp + 0x11c], eax
mov eax, 5
lea esi, [ebp + 0x34]
push esi
mov dword [esp + 0x29c], eax
mov dword [esp + 0xd4], eax
call fcn.00437c40
add esp, 4
test eax, eax
jne 0x477c53
mov ecx, 7
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x4c], 1
je 0x477bc6
lea edx, [esp + 0x34]
push edx
call fcn.00436cc0
add esp, 4
mov eax, dword [ebp + 0xabc]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x5c]
mov eax, dword [edx + 0xb4]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00438640
mov ecx, 7
lea esi, [esp + 0x24]
lea edi, [esp + 0x2a8]
rep movsd dword es:[edi], dword [esi]
mov ecx, 7
lea esi, [esp + 0x24]
lea edi, [esp + 0x170]
rep movsd dword es:[edi], dword [esi]
mov ecx, 7
lea esi, [esp + 0x24]
lea edi, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
mov ecx, 7
lea esi, [esp + 0x24]
lea edi, [esp + 0x12c]
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
mov byte [esp + 0x2b8], 1
mov byte [esp + 0x180], 1
mov byte [esp + 0xf0], 1
mov byte [esp + 0x13c], 1
mov esi, dword [ebp + 0xabc]
mov ecx, esi
call fcn.00442450
test eax, eax
je 0x477c74
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x1c]
mov cl, byte [eax + 0x109]
test cl, cl
jne 0x477c8a
mov eax, dword [esi + 0x24]
mov ecx, dword [eax + 4]
cmp eax, dword [ecx + 0x3b8]
jne 0x477c8a
mov eax, dword [ecx + 0x3b4]
jmp 0x477c8d
add eax, 0xc
mov dword [ebp + 0x68], eax
cmp dword [eax + 0x4c], ebx
jne 0x477c98
mov dword [ebp + 0x68], ebx
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 0xabc]
add ecx, 0x48
mov dword [ebp + 0x30], ecx
mov ecx, dword [ebp]
lea esi, [eax + 4]
lea edx, [ebp + 0x34]
push edx
xor edx, edx
mov dword [ebp + 4], esi
mov dh, byte [ecx + eax + 3]
movzx edi, byte [ecx + eax + 1]
mov dl, byte [ecx + eax + 2]
movzx eax, byte [ecx + eax]
shl edx, 8
or edx, edi
shl edx, 8
or edx, eax
add edx, esi
push edx
push ecx
mov ecx, dword [ebp + 0x28]
push ecx
lea ecx, [esp + 0x3f8]
call fcn.004859f0
mov edx, dword [ebp + 0xa90]
lea ecx, [esp + 0x3e8]
mov dword [esp + 0xe78], edx
call fcn.004826c0
push 4
lea ecx, [esp + 0x3ec]
call fcn.00482700
push 4
lea ecx, [esp + 0x3ec]
mov dword [esp + 0xe6c], eax
call fcn.00482700
mov ecx, ebp
mov dword [esp + 0xe6c], eax
call fcn.00489340
test eax, eax
je 0x47837e
mov eax, dword [ebp + 0xabc]
mov ecx, dword [eax + 4]
cmp word [ecx + 0x52], bx
je 0x477d4f
push 1
mov ecx, ebp
call fcn.004741f0
mov ecx, ebp
call fcn.004826c0
push 4
mov ecx, ebp
call fcn.00482700
push 4
mov ecx, ebp
mov dword [ebp + 0xa80], eax
call fcn.00482700
mov dword [ebp + 0xa84], eax
mov eax, dword [ebp + 0xa90]
mov esi, eax
neg esi
sbb esi, esi
lea edx, [esp + 0x70]
and esi, edx
neg eax
sbb eax, eax
lea ecx, [esp + 0xa8]
and eax, ecx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x148], ebx
mov dword [esp + 0x144], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0xc8], esi
mov dword [esp + 0x114], eax
push esi
lea edx, [esp + 0x58]
push edx
mov ecx, ebp
call fcn.004898e0
mov ebx, eax
xor edi, edi
cmp ebx, edi
je 0x477f3d
cmp ebx, 0x80
je 0x47824b
test bl, 9
je 0x477eae
cmp dword [esp + 0x50], edi
je 0x477e1c
lea ecx, [esp + 0x294]
call fcn.004ac9f0
cmp dword [ebp + 0xa90], edi
je 0x477e1c
lea ecx, [esp + 0x15c]
call fcn.004ac9f0
mov eax, dword [ebp + 0xa94]
mov ecx, dword [ebp + 0x7c]
lea eax, [eax + eax*2]
mov esi, dword [ecx + eax*4]
cmp esi, edi
lea eax, [ecx + eax*4]
je 0x477ea3
cmp word [eax + 4], di
jbe 0x477ea3
mov cx, word [eax + 8]
mov word [esp + 0x31c], cx
mov dx, word [eax + 6]
mov word [esp + 0x1e4], cx
mov word [esp + 0x31e], dx
mov word [esp + 0x1e6], dx
movzx edx, word [eax + 4]
push esi
push edx
lea ecx, [esp + 0x29c]
call fcn.004ad490
cmp dword [ebp + 0xa90], edi
je 0x477e99
mov eax, dword [ebp + 0xa94]
mov ecx, dword [ebp + 0x7c]
lea eax, [eax + eax*2]
movzx edx, word [ecx + eax*4 + 4]
push esi
push edx
lea ecx, [esp + 0x164]
call fcn.004ad490
mov dword [esp + 0x50], 1
jmp 0x477ea7
mov dword [esp + 0x50], edi
mov esi, dword [esp + 0xc8]
test bl, 6
je 0x477dc8
mov eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0xa98]
mov ecx, dword [eax + ecx*4]
mov edx, dword [ebp + 0xa9c]
mov dword [esp + 0xf8], ecx
mov eax, dword [eax + edx*4]
cmp ecx, eax
mov dword [esp + 0xfc], eax
jne 0x477f25
xor eax, eax
mov dword [esp + 0xfc], eax
mov ebx, dword [ebp + 0xab8]
xor edx, edx
test ebx, ebx
setne dl
inc edx
test ecx, ecx
mov dword [esp + 0x100], edx
mov dword [esp + 0x144], ecx
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], edx
jne 0x477f2d
test eax, eax
jne 0x477f2d
mov dword [esp + 0xc4], eax
jmp 0x477dc8
test eax, eax
je 0x477ee7
xor edx, edx
jmp 0x477ef5
mov dword [esp + 0xc4], 1
jmp 0x477dc8
mov ebx, dword [esp + 0x114]
push ebx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x3f0]
call fcn.004898e0
test eax, eax
je 0x477f72
push ebx
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x3f0]
call fcn.004898e0
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x54]
mov edx, dword [ebp + 0x64]
sub eax, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x58]
add eax, ecx
sub edx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x58]
mov edx, dword [ebp + 0x64]
add ecx, eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x1c], ecx
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x60]
add eax, ecx
sub edx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov edx, dword [ebp + 0x64]
mov ecx, dword [esp + 0x60]
add ecx, eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x14], edx
sub eax, dword [esp + 0x64]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xa0]
add eax, ecx
sub edx, dword [esp + 0x68]
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x68]
add ecx, eax
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x2c], ecx
je 0x478094
cmp dword [esp + 0xa4], edi
mov dword [esp + 0x30], 1
jne 0x478098
mov dword [esp + 0x30], edi
cmp dword [ebp + 0xa90], edi
je 0x4781d9
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x70]
mov edx, dword [ebp + 0x64]
sub eax, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0x74]
add eax, ecx
sub edx, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x74]
mov edx, dword [ebp + 0x64]
add ecx, eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x38], ecx
sub eax, dword [esp + 0x78]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0xb4]
mov ebx, dword [esp + 0x7c]
add eax, ecx
sub edx, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov edx, dword [ebp + 0x64]
mov ecx, dword [esp + 0x7c]
add ecx, eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x14], edx
sub eax, dword [esp + 0x80]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0xbc]
add eax, ecx
sub edx, dword [esp + 0x84]
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
imul dword [esp + 0x10]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x84]
add ecx, eax
cmp dword [esp + 0x88], edi
mov dword [esp + 0x48], ecx
je 0x4781d5
cmp dword [esp + 0xc0], edi
mov dword [esp + 0x4c], 1
jne 0x4781d9
mov dword [esp + 0x4c], edi
cmp dword [esp + 0xc4], edi
je 0x47820c
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0xd0]
call fcn.00463dd0
cmp dword [ebp + 0xa90], edi
je 0x47820c
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x11c]
call fcn.00463dd0
cmp dword [esp + 0x50], edi
je 0x477dc8
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x298]
call fcn.004ad550
mov eax, dword [ebp + 0xa90]
test eax, eax
je 0x477dc8
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x160]
call fcn.004ad550
jmp 0x477dc8
cmp dword [esp + 0x50], edi
je 0x478275
lea ecx, [esp + 0x294]
call fcn.004ac9f0
cmp dword [ebp + 0xa90], edi
je 0x478377
lea ecx, [esp + 0x15c]
call fcn.004ac9f0
cmp dword [ebp + 0xa90], edi
je 0x478377
mov eax, dword [ebp + 0xabc]
mov esi, dword [eax + 0x48]
mov ebx, dword [esp + 0x110]
cmp esi, ebx
je 0x478377
lea esp, [esp]
mov al, byte [esi + 0x26]
cmp al, 2
je 0x4782af
cmp al, 1
jne 0x478360
mov ecx, esi
call fcn.00451900
cmp dword [eax], 0x7ffffff
je 0x478360
mov ecx, esi
call fcn.00451900
cmp dword [eax + 0x10], 0x7ffffff
je 0x478360
mov ecx, esi
call fcn.00451900
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov ecx, esi
mov dword [esp + 0x24], edx
call fcn.00451900
add eax, 0x10
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 0x28]
cmp eax, edi
mov dword [esp + 0x40], edx
je 0x47832c
mov eax, dword [eax + 0xb4]
jmp 0x47832e
xor eax, eax
push eax
lea eax, [esp + 0x3d0]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00437ac0
mov dl, byte [esp + 0x190]
add esp, 0x10
test dl, dl
sete al
lea ecx, [esp + 0x3cc]
push eax
push ecx
jmp 0x478362
push edi
push edi
push 1
mov ecx, ebp
push esi
call fcn.00485b20
mov esi, dword [esi + 0x18]
cmp esi, ebx
jne 0x4782a0
mov ecx, ebp
call fcn.004826d0
lea ecx, [esp + 0x3e8]
call fcn.00482870
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe90
ret 4