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

Disassembly:
sub esp, 0x9c
mov eax, dword [0x544354]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x489740
push 0x20
push dword [esi + 0x4c]
push dword [esi + 0x48]
call fcn.00502bb0
push dword [esi + 0xa8]
call fcn.004f847f
mov ecx, dword [esi + 4]
add esp, 0x14
add ecx, 0x1e
mov dword [esp + 0x30], eax
push ecx
push 0x61
call fcn.00412af0
xor eax, eax
mov dword [0x57f460], 0xffffffff
xor ebp, ebp
mov dword [esp + 0x24], eax
xor edi, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2c], eax
mov byte [esp + 0x13], al
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
cmp dword [esi + 0xbc], eax
jb 0x487ffe
ja 0x487b42
cmp dword [esi + 0xb8], eax
jbe 0x487ffe
call fcn.004954a0
mov ecx, dword [esi + 0xb8]
mov eax, dword [esi + 0xbc]
mov ebx, dword [esi]
cmp ecx, 0x7fffffff
jne 0x487b71
cmp eax, ecx
jne 0x487b71
mov ebp, dword [esp + 0x1c]
mov dword [0x57f460], 0xffffffff
jmp 0x487bb2
mov ebp, dword [esp + 0x1c]
push eax
push ecx
push ebp
push edi
call fcn.00493da0
mov ecx, dword [ebx + 0x2214]
mov edi, eax
cmp byte [ecx + 0x6148], 0
jne 0x487ba8
cmp edi, dword [0x57f460]
je 0x487ba8
push 0
push 0x64
cdq
push edx
push eax
push 0x525f34
call fcn.00497630
mov dword [0x57f460], edi
mov edi, dword [esp + 0x14]
push ebp
push edi
mov ecx, esi
call fcn.00489f10
mov edx, dword [esi + 0xa4]
xor ecx, ecx
test edx, edx
je 0x487be7
mov edi, dword [esi + 0xa0]
mov ebx, dword [esi + 0x44]
lea eax, [edi + edi*4]
lea eax, [ebx + eax*8]
cmp byte [eax], 0
jne 0x487bf1
inc ecx
add eax, 0x28
cmp ecx, edx
jb 0x487bd6
mov edi, dword [esp + 0x14]
mov byte [esp + 0x13], 1
jmp 0x487fa1
lea eax, [edi + ecx]
cmp eax, 0xffffffff
je 0x487be3
lea eax, [eax + eax*4]
mov ecx, esi
push dword [ebx + eax*8 + 0xc]
push dword [ebx + eax*8 + 8]
call fcn.00489aa0
xor edx, edx
mov dword [esp + 0x18], eax
cmp dword [esi + 0xa8], edx
jbe 0x487c3c
xor edi, edi
jmp 0x487c20
mov ecx, dword [esi + 0x44]
lea edi, [edi + 0x28]
mov al, byte [edi + ecx - 0x28]
mov ecx, dword [esp + 0x30]
mov byte [edx + ecx], al
inc edx
cmp edx, dword [esi + 0xa8]
jb 0x487c20
jmp 0x487c40
mov ecx, dword [esp + 0x30]
push ecx
push dword [esi + 0xa4]
lea ecx, [esi + 8]
push dword [esi + 0xa0]
call fcn.00490090
mov cl, al
mov eax, dword [esp + 0x18]
test eax, eax
je 0x487d5e
test cl, cl
je 0x487d5e
mov edi, dword [esi + 0xa0]
xor ebp, ebp
test edi, edi
je 0x487cc8
xor ebx, ebx
lea esp, [esp]
mov ecx, dword [esi + 0x44]
cmp byte [ecx + ebx], 0
jne 0x487cb8
lea eax, [edi + edi*4]
cmp byte [ecx + eax*8], 0
lea eax, [ecx + eax*8]
jne 0x487c9e
lea eax, [eax + 0x28]
inc edi
cmp byte [eax], 0
je 0x487c95
push dword [esi + 0xc8]
lea eax, [edi + edi*4]
push dword [ecx + eax*8 + 0x14]
push dword [ecx + ebx + 0x14]
call fcn.004fa2e0
add esp, 0xc
inc edi
inc ebp
add ebx, 0x28
cmp ebp, dword [esi + 0xa0]
jb 0x487c80
mov eax, dword [esp + 0x18]
xor ebx, ebx
cmp dword [esi + 0xa0], ebx
jbe 0x487d1b
xor ebp, ebp
xor edi, edi
test eax, eax
je 0x487d0f
lea ebx, [ebx]
mov eax, dword [esi + 0xa0]
mov ecx, dword [esi + 0x44]
add eax, edi
push dword [esi + 0xc8]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x14]
push dword [ecx + ebp + 0x14]
lea ecx, [esi + 8]
push edi
push ebx
call fcn.00490830
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jb 0x487ce0
inc ebx
add ebp, 0x28
cmp ebx, dword [esi + 0xa0]
jb 0x487cd4
mov eax, dword [esi + 0xa0]
xor ebx, ebx
test eax, eax
je 0x487d5e
lea ebp, [eax + eax*4]
xor edi, edi
shl ebp, 3
nop
mov eax, dword [esi + 0x44]
cmp byte [eax + edi], 0
jne 0x487d52
push dword [esi + 0xc8]
push dword [eax + ebp + 0x14]
push dword [eax + edi + 0x14]
call fcn.004fa2e0
add esp, 0xc
add ebp, 0x28
inc ebx
add edi, 0x28
cmp ebx, dword [esi + 0xa0]
jb 0x487d30
xor eax, eax
mov dword [esp + 0x38], eax
cmp dword [esi + 0xa0], eax
jbe 0x487f60
xor ecx, ecx
mov dword [esp + 0x3c], ecx
jmp 0x487d80
push dword [esi + 0xbc]
mov ebp, dword [esi + 0x44]
push dword [esi + 0xb8]
add ebp, ecx
push 0
push eax
call fcn.004f8560
mov ecx, dword [esi + 0xb4]
mov edi, eax
add edi, dword [esp + 0x14]
mov eax, dword [esi + 0xb0]
adc edx, dword [esp + 0x1c]
mov dword [esp + 0x40], edi
mov dword [esp + 0x18], edx
cmp edx, ecx
ja 0x487f40
jb 0x487dc9
cmp edi, eax
ja 0x487f40
mov ebx, dword [ebp + 0x18]
sub eax, edi
mov dword [esp + 0x34], 0
sbb ecx, edx
cmp dword [esp + 0x34], ecx
ja 0x487de4
jb 0x487dec
cmp ebx, eax
jb 0x487dec
mov ebx, dword [esi + 0xb0]
sub ebx, edi
test ebx, ebx
je 0x487f40
cmp byte [ebp], 0
jne 0x487ef2
mov ecx, dword [esi + 4]
push 0
push edx
push edi
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 4]
push ebx
push dword [ebp + 0x14]
call fcn.0046bda0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0
push 0
call fcn.00461c90
cmp eax, dword [ebp + 0x20]
jne 0x487e3d
cmp edx, dword [ebp + 0x24]
jne 0x487e3d
add dword [esp + 0x24], 1
mov bl, 1
adc dword [esp + 0x28], 0
jmp 0x487e44
xor bl, bl
mov byte [esp + 0x13], 1
push edi
push dword [esp + 0x1c]
push dword [ebp + 0x18]
push 0x69
call fcn.004868d0
xor eax, eax
mov dword [esp + 0x5c], 0x51787c
test bl, bl
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
sete al
add eax, 0x6b
mov dword [esp + 0x60], 0x51787c
mov dword [esp + 0x64], 0x51787c
mov dword [esp + 0x68], 0x51787c
mov dword [esp + 0x6c], 0x51787c
mov dword [esp + 0x70], 0x51787c
mov dword [esp + 0x74], 0x51787c
mov dword [esp + 0x78], 0x51787c
mov dword [esp + 0xa4], eax
call fcn.00496310
jmp 0x487f40
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov edi, dword [ebp + 8]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0
call fcn.004873d0
cmp edi, ebp
jne 0x487f36
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x18]
je 0x487f40
add dword [esp + 0x20], 1
adc dword [esp + 0x2c], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
inc eax
add ecx, 0x28
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
cmp eax, dword [esi + 0xa0]
jb 0x487d80
xor edx, edx
cmp dword [esi + 0xa4], edx
jbe 0x487f9d
lea ebx, [ebx]
mov eax, dword [esi + 0xa0]
add eax, edx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x44]
cmp byte [eax + ecx*8], 0
lea ecx, [eax + ecx*8]
je 0x487f94
mov eax, dword [esi + 0xe0]
add dword [ecx + 8], eax
adc dword [ecx + 0xc], 0
inc edx
cmp edx, dword [esi + 0xa4]
jb 0x487f70
mov edi, dword [esp + 0x14]
add edi, dword [esi + 0xc8]
mov eax, dword [esp + 0x1c]
adc eax, 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
cmp eax, dword [esi + 0xbc]
jb 0x487b42
ja 0x487fd0
cmp edi, dword [esi + 0xb8]
jb 0x487b42
mov eax, dword [esp + 0x24]
or eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
jne 0x487fe6
mov eax, ebp
or eax, dword [esp + 0x2c]
je 0x487ffe
mov ecx, esi
call fcn.00487510
mov ecx, esi
call fcn.00487770
mov ecx, dword [esi + 4]
push 0
call fcn.00455b20
mov edi, dword [esi]
push 0
push 0x64
push 0
push 0x64
call fcn.00493da0
mov ecx, dword [edi + 0x2214]
mov ebx, eax
cmp byte [ecx + 0x6148], 0
jne 0x488037
cmp ebx, dword [0x57f460]
je 0x488037
push 0
push 0x64
cdq
push edx
push eax
push 0x525f34
call fcn.00497630
push ebp
mov dword [0x57f460], ebx
mov ebx, dword [esp + 0x28]
push ebx
push 0x67
call fcn.0044aeb0
push dword [esp + 0x30]
call fcn.004f8488
add esp, 4
cmp byte [esi + 0xcc], 0
je 0x488072
push 3
mov ecx, 0x57f41c
call fcn.004668f0
push 0x66
call fcn.00415f30
cmp byte [esp + 0x13], 0
je 0x48808f
or ebx, dword [esp + 0x28]
jne 0x488088
or ebp, dword [esp + 0x2c]
lea eax, [ebx + 1]
je 0x488091
mov eax, 2
jmp 0x488091
xor eax, eax
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f833c
add esp, 0x9c
ret