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

Disassembly:
sub esp, 0x1a4
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.00444f30
lea ecx, [esp + 0x8c]
call fcn.00444f30
lea ecx, [esp + 0x74]
call fcn.004d0980
lea ecx, [esp + 0xf8]
mov dword [esp + 0x74], edi
call fcn.00444f30
lea ecx, [esp + 0x108]
call fcn.00444f30
lea ecx, [esp + 0xf0]
call fcn.004d0980
mov eax, dword [esi + 0x2f]
lea ecx, [esp + 0x118]
push eax
mov dword [esp + 0xf4], edi
call fcn.004cf5c0
mov ebp, dword [esp + 0x1c0]
mov ecx, dword [esp + 0x1bc]
push ebp
push ecx
push 0x454
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.004a76f0
mov edx, dword [eax + 0x1d]
lea ecx, [esp + 0x74]
push edx
call fcn.004d09d0
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov edx, ecx
or edx, eax
je 0x4872b7
cmp eax, edi
jg 0x486b01
jl 0x486afa
cmp ecx, edi
jae 0x486b01
mov eax, 1
jmp 0x486b03
xor eax, eax
xor eax, dword [esp + 0x84]
cmp eax, 1
je 0x4872b7
mov eax, dword [esi + 0x2f]
push ebx
mov ecx, dword [eax + 0x57]
call fcn.004b0cc0
mov ecx, dword [esi + 0x33]
push ecx
mov ecx, dword [esi + 0x2f]
call fcn.00407a50
mov ebx, eax
push edi
mov ecx, ebx
mov dword [esp + 0x18], ebx
call fcn.004b5f50
lea edx, [esp + 0x78]
lea ecx, [esp + 0xf4]
push edx
call fcn.004d09d0
lea eax, [ebp + 0x1d]
lea ecx, [esp + 0x1c]
push eax
lea eax, [esp + 0x38]
push eax
push ecx
push ebx
mov ecx, esi
call fcn.00486720
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
neg edx
adc eax, edi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x38]
neg eax
mov dword [esp + 0x20], eax
movsx eax, word [ebp + 0x27]
neg ecx
adc edx, edi
mov dword [esp + 0x34], ecx
neg edx
push eax
push 0x4e1
mov ecx, ebx
mov dword [esp + 0x40], edx
call fcn.004b5d40
mov ebx, eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x70], edi
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov ecx, eax
or ecx, edx
je 0x48727a
test ebx, ebx
je 0x486f9f
mov ecx, dword [ebx + 0x1b]
test ecx, ecx
jle 0x486f9f
mov cl, byte [ebx + 0x10]
mov eax, dword [esi + 0x3b]
test cl, 2
jne 0x486bf2
mov edx, dword [ebx]
push 0
push eax
push 0x4e1
mov ecx, ebx
call dword [edx + 0xc]
jmp 0x486c00
mov ecx, dword [ebx + 8]
push eax
push 0x4e1
call fcn.004ac950
mov edi, eax
test edi, edi
je 0x486f6f
test byte [edi + 0x10], 2
jne 0x486c20
mov eax, dword [edi]
push 0
push 0xa5
mov ecx, edi
call dword [eax + 8]
jmp 0x486c2f
mov ecx, dword [edi + 8]
push 0
push 0xa5
call fcn.004ac8f0
mov ebp, eax
test ebp, ebp
je 0x486f51
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x2f]
mov eax, dword [ecx + 0x1b]
mov ecx, dword [edx + 0x57]
push eax
push str.Tr_05.5d.500
push 0
call fcn.004ace40
mov ecx, dword [esi + 0x33]
mov ebx, eax
mov eax, dword [esi + 0x3b]
push eax
push ecx
push 0x62e
push 0x38
push ebx
mov ecx, ebp
call fcn.004cc880
mov dword [esp + 0x68], eax
mov al, byte [edi + 0x10]
test al, 2
jne 0x486c87
mov edx, dword [edi]
push 0
push 0xa9
mov ecx, edi
call dword [edx + 8]
jmp 0x486c96
mov ecx, dword [edi + 8]
push 0
push 0xa9
call fcn.004ac8f0
test eax, eax
je 0x486f07
mov ecx, dword [esi + 0x3b]
mov edx, dword [esi + 0x33]
push ecx
push edx
push 0x60e
push 0x38
push ebx
mov ecx, eax
call fcn.004cc880
mov ecx, dword [esi + 0x2f]
mov ebp, eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 0xa4], ebp
mov edi, dword [eax + 0x1d]
call fcn.00406790
cmp edi, dword [eax]
jge 0x486d11
mov eax, dword [esp + 0x1c4]
mov edx, dword [esp + 0x10]
movsx ecx, word [eax + 0x27]
cmp dword [edx + 0x1b], ecx
jne 0x486d11
mov cx, word [eax + 0x21]
cmp cx, word [eax + 0x29]
je 0x486d11
movsx edx, cx
inc edx
lea eax, [esp + 0xa0]
shl edx, 0x1b
push eax
mov ecx, ebp
mov dword [esp + 0xa4], edx
call fcn.004d1660
jmp 0x486d18
mov ecx, ebp
call fcn.004d1410
mov edi, eax
test edi, edi
jbe 0x486f07
mov ecx, dword [esi + 0x2f]
push ecx
lea ecx, [esp + 0x44]
call fcn.004d08b0
mov edx, dword [esi + 0x2f]
lea ecx, [esp + 0x168]
push edx
call fcn.004cf5c0
mov eax, dword [esi + 0x2f]
lea ecx, [esp + 0xa8]
push eax
call fcn.004cf5c0
mov edx, dword [ebx]
push edi
mov ecx, ebx
call dword [edx + 0x10]
mov ebp, eax
push 0
mov ecx, ebp
call fcn.004b5f50
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xa8]
push eax
push ebp
push ecx
mov ecx, dword [esp + 0x1d0]
lea edx, [esp + 0x174]
lea eax, [esp + 0x4c]
push edx
mov edx, dword [esp + 0x20]
push eax
lea eax, [ecx + 0x1d]
push eax
mov eax, dword [edx + 0x1b]
push eax
push edi
mov ecx, esi
call fcn.00486460
mov eax, dword [esp + 0x4c]
test eax, eax
jg 0x486db1
jl 0x486daa
mov eax, dword [esp + 0x48]
test eax, eax
jae 0x486db1
mov eax, 1
jmp 0x486db3
xor eax, eax
xor eax, dword [esp + 0x50]
jne 0x486ecc
lea ecx, [esp + 0x28]
push edi
push ecx
mov ecx, dword [esp + 0x70]
call fcn.004d1850
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
adc ecx, edx
mov dword [esp + 0x2c], ecx
js 0x486ecc
jg 0x486df8
test eax, eax
jb 0x486ecc
mov edx, eax
or edx, ecx
je 0x486ecc
mov edx, dword [esp + 0x48]
cmp edx, eax
mov edx, dword [esp + 0x4c]
jne 0x486e12
cmp edx, ecx
je 0x486e70
cmp edx, ecx
jl 0x486e70
jg 0x486e1e
cmp dword [esp + 0x48], eax
jbe 0x486e70
lea eax, [esp + 0x28]
lea ecx, [esp + 0x168]
push eax
call fcn.004cec70
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x16c]
call fcn.004ced00
lea edx, [esp + 0x28]
lea ecx, [esp + 0xa8]
push edx
call fcn.004cec70
lea eax, [esp + 0x48]
lea ecx, [esp + 0xa8]
push eax
call fcn.004ced00
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x44]
call fcn.004d0940
lea edx, [esp + 0xa8]
lea eax, [esp + 0x168]
push edx
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x80]
push ecx
lea eax, [esp + 0x128]
push edx
push eax
mov ecx, esi
call fcn.00485790
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x2c]
add edx, eax
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x70]
adc edx, ecx
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x1c]
sub edx, eax
mov eax, dword [esp + 0x20]
sbb eax, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xa4]
push edi
call fcn.004d12f0
mov ecx, ebp
mov edi, eax
call fcn.004b5f90
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
or ecx, eax
je 0x486efd
test edi, edi
jbe 0x486f07
jmp 0x486d22
mov dword [esp + 0x18], 1
jmp 0x486f4d
mov ecx, dword [esp + 0x68]
lea edx, [esp + 0x28]
push edx
call fcn.004d1aa0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x6c]
add eax, ecx
mov ecx, dword [esp + 0x38]
adc ecx, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x70]
sub eax, edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x1c], eax
sbb ecx, edx
mov dword [esp + 0x20], ecx
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x1b]
mov ecx, dword [esi + 0x2f]
push 0
push eax
mov ecx, dword [ecx + 0x57]
push str.Tr_05.5d.500
call fcn.004acff0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x486f98
mov edi, dword [esp + 0x14]
test byte [edi + 0x10], 2
jne 0x486f84
mov eax, dword [ebx + 4]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x10]
mov ecx, dword [edi + 8]
push ebx
call fcn.004acb20
mov ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x486bab
mov eax, dword [esp + 0x80]
or eax, dword [esp + 0x84]
je 0x48727a
mov edi, dword [esp + 0x14]
test byte [edi + 0x10], 2
jne 0x486fc2
mov edx, dword [edi]
push 0x4e1
mov ecx, edi
call dword [edx + 0x10]
mov ecx, dword [edi + 8]
push 0x4e1
call fcn.004aca80
mov ebx, eax
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x10], ebx
je 0x487162
cmp dword [ebx + 0x1b], ebp
jne 0x487162
mov cl, byte [ebx + 0x10]
mov eax, dword [esi + 0x3b]
test cl, 2
jne 0x487003
mov edx, dword [ebx]
push ebp
push eax
push 0x4e1
mov ecx, ebx
call dword [edx + 0xc]
jmp 0x487011
mov ecx, dword [ebx + 8]
push eax
push 0x4e1
call fcn.004ac950
mov edi, eax
cmp edi, ebp
je 0x487144
lea ecx, [esp + 0x40]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
call fcn.004d0980
mov al, byte [edi + 0x10]
mov dword [esp + 0x40], ebp
test al, 2
jne 0x487053
mov eax, dword [edi]
push ebp
push 0x63
mov ecx, edi
call dword [eax + 8]
jmp 0x48705e
mov ecx, dword [edi + 8]
push ebp
push 0x63
call fcn.004ac8f0
cmp eax, ebp
je 0x48706f
mov ecx, dword [eax + 8]
push ecx
lea ecx, [esp + 0x44]
call fcn.004d09d0
test byte [edi + 0x10], 2
jne 0x487081
mov edx, dword [edi]
push ebp
push 0x65
mov ecx, edi
call dword [edx + 8]
jmp 0x48708c
mov ecx, dword [edi + 8]
push ebp
push 0x65
call fcn.004ac8f0
cmp eax, ebp
je 0x48709d
mov eax, dword [eax + 8]
lea ecx, [esp + 0x40]
push eax
call fcn.004e5b20
test byte [edi + 0x10], 2
jne 0x4870af
mov edx, dword [edi]
push ebp
push 0x54
mov ecx, edi
call dword [edx + 8]
jmp 0x4870ba
mov ecx, dword [edi + 8]
push ebp
push 0x54
call fcn.004ac8f0
mov dword [esp + 0x18], eax
mov al, byte [edi + 0x10]
test al, 2
jne 0x4870d1
mov eax, dword [edi]
push ebp
push 0x55
mov ecx, edi
call dword [eax + 8]
jmp 0x4870dc
mov ecx, dword [edi + 8]
push ebp
push 0x55
call fcn.004ac8f0
mov ebx, eax
mov al, byte [edi + 0x10]
test al, 2
jne 0x4870f1
mov edx, dword [edi]
push ebp
push 0x52
mov ecx, edi
call dword [edx + 8]
jmp 0x4870fc
mov ecx, dword [edi + 8]
push ebp
push 0x52
call fcn.004ac8f0
cmp eax, ebp
je 0x487105
mov eax, dword [eax + 8]
jmp 0x487107
xor eax, eax
cmp ebx, ebp
je 0x487110
mov edx, dword [ebx + 8]
jmp 0x487112
xor edx, edx
mov ecx, dword [esp + 0x18]
cmp ecx, ebp
je 0x48711f
mov ecx, dword [ecx + 8]
jmp 0x487121
xor ecx, ecx
push eax
push edx
push ecx
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x84]
push eax
lea edx, [esp + 0x12c]
push ecx
push edx
mov ecx, esi
call fcn.00485670
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
test byte [edi + 0x10], 2
jne 0x487159
mov ecx, dword [ebx + 4]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x10]
mov ecx, dword [edi + 8]
push ebx
call fcn.004acb70
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
or edx, eax
je 0x48727a
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
or eax, ecx
jne 0x4871a0
mov ecx, dword [esp + 0x134]
mov eax, dword [esp + 0x138]
or ecx, eax
je 0x48727a
lea ecx, [esp + 0xcc]
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xc8], ebp
call fcn.004cf970
lea ecx, [esp + 0xa8]
mov dword [esp + 0xa8], ebp
call fcn.004cf660
lea ecx, [esp + 0x40]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
call fcn.004d0980
lea edx, [esp + 0xf4]
lea ecx, [esp + 0x40]
push edx
mov dword [esp + 0x44], ebp
call fcn.004d09d0
lea eax, [esp + 0x78]
lea ecx, [esp + 0x40]
push eax
call fcn.004e5b70
lea ecx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0xac]
call fcn.004cf700
lea edx, [esp + 0x80]
lea ecx, [esp + 0xa8]
push edx
call fcn.004cec70
lea eax, [esp + 0x48]
lea ecx, [esp + 0xa8]
push eax
call fcn.004ced00
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x120]
call fcn.004ce9d0
mov ecx, dword [esp + 0x1bc]
lea edx, [esp + 0xf4]
push edx
call fcn.004e5b20
mov ecx, dword [esp + 0x1b8]
lea eax, [esp + 0x11c]
push eax
call fcn.004ce9d0
mov ecx, dword [esp + 0x14]
call fcn.004b5f90
mov ecx, dword [esi + 0x2f]
mov ecx, dword [ecx + 0x57]
call fcn.004b0ce0
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x1a4
ret 0x10