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

Disassembly:
sub esp, 0x1b8
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0xf4]
call fcn.004aa630
xor ebx, ebx
lea ecx, [esp + 0x90]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
call fcn.00444f30
lea ecx, [esp + 0x78]
call fcn.004d0980
lea ecx, [esp + 0x10c]
mov dword [esp + 0x78], ebx
call fcn.00444f30
lea ecx, [esp + 0x11c]
call fcn.00444f30
lea ecx, [esp + 0x104]
call fcn.004d0980
mov eax, dword [esi + 0x2f]
lea ecx, [esp + 0x12c]
push eax
mov dword [esp + 0x108], ebx
call fcn.004cf5c0
mov ebp, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x1d0]
push ebp
push ecx
push 0x454
mov ecx, esi
mov dword [esp + 0x70], ebx
call fcn.004a76f0
mov edx, dword [eax + 0x1d]
lea ecx, [esp + 0x78]
push edx
call fcn.004d09d0
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov edx, ecx
or edx, eax
je 0x487ac3
cmp eax, ebx
jg 0x4873cc
jl 0x4873c5
cmp ecx, ebx
jae 0x4873cc
mov eax, 1
jmp 0x4873ce
xor eax, eax
xor eax, dword [esp + 0x88]
cmp eax, 1
je 0x487ac3
mov ecx, dword [esi + 0x2f]
add ebp, 0x1d
push edi
mov dword [esp + 0x30], ebp
mov edi, dword [ebp]
call fcn.00406740
mov eax, dword [eax]
push edi
push eax
lea ecx, [esp + 0x100]
call fcn.004aa510
mov ecx, dword [esi + 0x2f]
mov ecx, dword [ecx + 0x57]
call fcn.004b0cc0
mov edx, dword [esi + 0x33]
mov ecx, dword [esi + 0x2f]
push edx
call fcn.00407a50
mov edi, eax
push ebx
mov ecx, edi
mov dword [esp + 0x30], edi
call fcn.004b5f50
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x108]
push eax
call fcn.004d09d0
lea ecx, [esp + 0x34]
push ebp
lea edx, [esp + 0x18]
push ecx
push edx
push edi
mov ecx, esi
call fcn.00486720
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
neg eax
adc ecx, ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
neg ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1d8]
neg edx
mov dword [esp + 0x34], edx
movsx edx, word [ecx + 0x27]
adc eax, ebx
push edx
neg eax
push 0x4e1
mov ecx, edi
mov dword [esp + 0x40], eax
call fcn.004b5d40
mov ebp, eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x74], ebx
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov ecx, eax
or ecx, edx
je 0x487a88
cmp ebp, ebx
je 0x48789e
movsx edx, word [esp + 0x102]
cmp dword [ebp + 0x1b], edx
jl 0x48789e
mov cl, byte [ebp + 0x10]
mov eax, dword [esi + 0x3b]
test cl, 2
jne 0x4874e9
mov edx, dword [ebp]
push ebx
push eax
push 0x4e1
mov ecx, ebp
call dword [edx + 0xc]
jmp 0x4874f7
mov ecx, dword [ebp + 8]
push eax
push 0x4e1
call fcn.004ac950
mov edi, eax
cmp edi, ebx
je 0x487864
test byte [edi + 0x10], 2
jne 0x487516
mov eax, dword [edi]
push ebx
push 0xa5
mov ecx, edi
call dword [eax + 8]
jmp 0x487524
mov ecx, dword [edi + 8]
push ebx
push 0xa5
call fcn.004ac8f0
mov ebp, eax
cmp ebp, ebx
je 0x487860
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 ebx
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 + 0x6c], eax
mov al, byte [edi + 0x10]
test al, 2
jne 0x48757b
mov edx, dword [edi]
push 0
push 0xa9
mov ecx, edi
call dword [edx + 8]
jmp 0x48758a
mov ecx, dword [edi + 8]
push 0
push 0xa9
call fcn.004ac8f0
test eax, eax
je 0x4877f6
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 + 0x30]
mov dword [esp + 0xa8], ebp
mov edi, dword [eax]
call fcn.00406790
cmp edi, dword [eax]
jge 0x487606
mov eax, dword [esp + 0x1d8]
mov edx, dword [esp + 0x10]
movsx ecx, word [eax + 0x27]
cmp dword [edx + 0x1b], ecx
jne 0x487606
mov ecx, dword [esp + 0x30]
mov dx, word [ecx + 4]
cmp dx, word [ecx + 0xc]
je 0x487606
movsx eax, word [eax + 0x21]
inc eax
lea ecx, [esp + 0xa4]
shl eax, 0x1b
push ecx
mov ecx, ebp
mov dword [esp + 0xa8], eax
call fcn.004d1660
jmp 0x48760d
mov ecx, ebp
call fcn.004d1410
mov edi, eax
test edi, edi
jbe 0x4877f6
mov edx, dword [esi + 0x2f]
lea ecx, [esp + 0x40]
push edx
call fcn.004d08b0
mov eax, dword [esi + 0x2f]
lea ecx, [esp + 0x17c]
push eax
call fcn.004cf5c0
mov ecx, dword [esi + 0x2f]
push ecx
lea ecx, [esp + 0xb0]
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 + 0x2c]
lea ecx, [esp + 0xac]
push eax
push ebp
lea edx, [esp + 0x184]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x50]
push eax
push ecx
mov eax, dword [edx + 0x1b]
mov ecx, esi
push eax
push edi
call fcn.00486460
mov eax, dword [esp + 0x4c]
test eax, eax
jg 0x4876a0
jl 0x487699
mov eax, dword [esp + 0x48]
test eax, eax
jae 0x4876a0
mov eax, 1
jmp 0x4876a2
xor eax, eax
xor eax, dword [esp + 0x50]
jne 0x4877bb
lea ecx, [esp + 0x20]
push edi
push ecx
mov ecx, dword [esp + 0x74]
call fcn.004d1850
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
add eax, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
adc ecx, edx
mov dword [esp + 0x24], ecx
js 0x4877bb
jg 0x4876e7
test eax, eax
jb 0x4877bb
mov edx, eax
or edx, ecx
je 0x4877bb
mov edx, dword [esp + 0x48]
cmp edx, eax
mov edx, dword [esp + 0x4c]
jne 0x487701
cmp edx, ecx
je 0x48775f
cmp edx, ecx
jl 0x48775f
jg 0x48770d
cmp dword [esp + 0x48], eax
jbe 0x48775f
lea eax, [esp + 0x20]
lea ecx, [esp + 0x17c]
push eax
call fcn.004cec70
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x180]
call fcn.004ced00
lea edx, [esp + 0x20]
lea ecx, [esp + 0xac]
push edx
call fcn.004cec70
lea eax, [esp + 0x48]
lea ecx, [esp + 0xac]
push eax
call fcn.004ced00
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x44]
call fcn.004d0940
lea edx, [esp + 0xac]
lea eax, [esp + 0x17c]
push edx
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x84]
push ecx
lea eax, [esp + 0x13c]
push edx
push eax
mov ecx, esi
call fcn.00485790
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x24]
add edx, eax
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x74]
adc edx, ecx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x14]
sub edx, eax
mov eax, dword [esp + 0x18]
sbb eax, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0xa8]
push edi
call fcn.004d12f0
mov ecx, ebp
mov edi, eax
call fcn.004b5f90
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
or ecx, eax
je 0x4877ec
test edi, edi
jbe 0x4877f6
jmp 0x487617
mov dword [esp + 0x68], 1
jmp 0x48783c
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x20]
push edx
call fcn.004d1aa0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x70]
add eax, ecx
mov ecx, dword [esp + 0x38]
adc ecx, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x74]
sub eax, edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x14], eax
sbb ecx, edx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x2f]
push 0
mov ecx, dword [eax + 0x1b]
push ecx
mov ecx, dword [edx + 0x57]
push str.Tr_05.5d.500
call fcn.004acff0
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x487891
xor ebx, ebx
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x2c]
test byte [edi + 0x10], 2
jne 0x487879
mov ecx, dword [ebp + 4]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x10]
mov ecx, dword [edi + 8]
push ebp
call fcn.004acb20
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov ebp, eax
jmp 0x48749c
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x2c]
xor ebx, ebx
or eax, dword [esp + 0x88]
je 0x487a88
lea ecx, [esp + 0x40]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.004d0980
lea ecx, [esp + 0xd0]
mov dword [esp + 0x40], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
call fcn.004cf970
lea ecx, [esp + 0xac]
mov dword [esp + 0xac], ebx
call fcn.004cf660
mov edx, dword [esp + 0x1d8]
mov ecx, dword [esp + 0x30]
mov eax, dword [edx + 4]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0xb0]
push edx
lea ecx, [esp + 0x48]
push eax
push ecx
mov ecx, esi
call fcn.00486340
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
or edx, eax
je 0x487970
lea eax, [esp + 0xac]
push ebx
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x84]
push ecx
lea eax, [esp + 0x13c]
push edx
push eax
mov ecx, esi
call fcn.00485790
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
or ecx, eax
je 0x487a88
mov edx, dword [esp + 0x134]
mov eax, dword [esp + 0x138]
or edx, eax
jne 0x4879ae
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x14c]
or eax, ecx
je 0x487a88
lea ecx, [esp + 0xd0]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
call fcn.004cf970
lea ecx, [esp + 0xac]
mov dword [esp + 0xac], ebx
call fcn.004cf660
lea ecx, [esp + 0x40]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.004d0980
lea ecx, [esp + 0x108]
mov dword [esp + 0x40], ebx
push ecx
lea ecx, [esp + 0x44]
call fcn.004d09d0
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x40]
push edx
call fcn.004e5b70
lea eax, [esp + 0x130]
lea ecx, [esp + 0xac]
push eax
call fcn.004cf700
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0xb0]
call fcn.004cec70
lea edx, [esp + 0x48]
lea ecx, [esp + 0xac]
push edx
call fcn.004ced00
lea eax, [esp + 0xac]
lea ecx, [esp + 0x130]
push eax
call fcn.004ce9d0
lea ecx, [esp + 0x108]
push ecx
mov ecx, dword [esp + 0x1d4]
call fcn.004e5b20
mov ecx, dword [esp + 0x1cc]
lea edx, [esp + 0x130]
push edx
call fcn.004ce9d0
mov ecx, edi
call fcn.004b5f90
mov eax, dword [esi + 0x2f]
mov ecx, dword [eax + 0x57]
call fcn.004b0ce0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1b8
ret 0x10