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

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
push edi
mov eax, dword [esi]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x20]
mov edx, dword [esi]
mov dword [esp + 0x14], eax
add esp, 4
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x48745a
push 0x3f
push eax
call dword [eax + 0x74]
add esp, 8
test al, al
je 0x48745a
mov eax, dword [esp + 0x3c]
xor ecx, ecx
mov edx, eax
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov ecx, dword [esp + 0xc]
pop ebx
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0xc]
mov dword [edx + 8], ecx
add esp, 0x28
ret
mov edx, dword [esi]
mov ebx, 1
push ebx
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x1ec]
push eax
xor ebp, ebp
call dword [eax + 0x10]
mov dword [esp + 0x4c], eax
mov eax, dword [esi]
push ebx
mov edi, 3
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x18]
add esp, 0x14
cmp eax, 0x3f
jne 0x48749b
mov edi, ebx
jmp 0x4874a5
cmp eax, 0x3e
jne 0x4874a5
mov edi, 2
dec edi
je 0x4874d8
dec edi
jne 0x487504
mov edx, dword [esi]
push 0x548590
push 0x3e
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x10]
mov eax, dword [esi]
add esp, 0xc
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], bl
je 0x487867
cmp byte [eax + 0x18], bl
jne 0x487504
jmp 0x487797
mov edx, dword [esi]
push 0x548580
push 0x3f
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x10]
mov eax, dword [esi]
add esp, 0xc
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], bl
je 0x487867
cmp byte [eax + 0x18], bl
je 0x487797
mov edx, dword [esi]
push 0x5485a8
push 0x12
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0xc
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], bl
je 0x487867
cmp byte [ecx + 0x18], bl
je 0x4877f8
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x487559
mov ecx, dword [esi + 0x1ec]
push eax
push ecx
call dword [ecx + 0x3c]
mov edx, dword [esp + 0x48]
mov ecx, dword [esi + 0x1ec]
push edx
push eax
push ecx
call dword [ecx + 0x30]
add esp, 0x14
mov dword [esp + 0x40], eax
mov eax, dword [esi]
push 0x5485c8
push 0x72
mov eax, dword [eax + 4]
push eax
call dword [eax + 0x10]
mov ecx, dword [esi]
add esp, 0xc
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
cmp byte [ecx], bl
je 0x487867
cmp byte [ecx + 0x18], bl
je 0x4877f8
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4875aa
mov ecx, dword [esi + 0x1ec]
push eax
push ecx
call dword [ecx + 0x3c]
mov ecx, dword [esi + 0x1ec]
push eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
call dword [ecx + 0x1c]
add esp, 0x14
mov eax, dword [esi]
push 0x54a350
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [ecx + 8]
push edx
push eax
push esi
call dword [0x54a360]
mov ecx, dword [esi]
add esp, 0x10
mov edx, dword [ecx + 4]
mov edx, dword [edx + 8]
cmp byte [edx], bl
je 0x487867
cmp byte [edx + 0x18], bl
je 0x4877f8
dec eax
jne 0x487656
mov eax, dword [ecx + 4]
push 0
push 0x5485e8
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00488780
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov edi, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], bl
je 0x487867
cmp byte [eax + 0x18], bl
je 0x487797
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x487656
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 0x1ec]
push edi
push edx
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov eax, dword [esi]
push 0x54a380
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [ecx + 8]
push edx
push eax
push esi
call dword [0x54a390]
mov ecx, dword [esi]
add esp, 0x10
add ecx, 4
mov edx, dword [ecx]
mov edx, dword [edx + 8]
cmp byte [edx], bl
je 0x487867
cmp byte [edx + 0x18], bl
je 0x4877f8
dec eax
jne 0x48773a
mov eax, dword [ecx]
push 0
push 0x548608
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00473e70
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov edi, dword [eax + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0xc]
mov eax, dword [esi]
add esp, 0x18
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], bl
je 0x487867
cmp byte [eax + 0x18], bl
je 0x4877f8
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x487707
mov edx, dword [esp + 0x40]
mov eax, dword [esi + 0x1ec]
push edi
push edx
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov eax, dword [esi]
push 0x54a380
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [ecx + 8]
push edx
push eax
push esi
call dword [0x54a390]
mov ecx, dword [esi]
add esp, 0x10
add ecx, 4
mov edx, dword [ecx]
mov edx, dword [edx + 8]
cmp byte [edx], bl
jne 0x487684
jmp 0x487867
mov eax, dword [esi]
push ebx
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x3c
jne 0x487753
mov eax, ebx
jmp 0x487761
cmp eax, 0x30
jne 0x4877e6
mov eax, 2
dec eax
je 0x4877b5
dec eax
jne 0x487867
mov edx, dword [esi]
push 0x548638
push 0x30
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x10]
mov eax, dword [esi]
add esp, 0xc
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], bl
je 0x487867
cmp byte [eax + 0x18], bl
jne 0x487867
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov edx, eax
pop edi
pop esi
mov dword [edx], ecx
mov ecx, dword [esp + 0x10]
mov dword [edx + 4], ecx
mov dword [edx + 8], ebp
pop ebp
pop ebx
add esp, 0x28
ret
mov edx, dword [esi]
push 0x548618
push 0x3c
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x10]
mov eax, dword [esi]
add esp, 0xc
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
cmp byte [ecx], bl
je 0x487867
cmp byte [ecx + 0x18], bl
je 0x4877f8
push 0x548628
push 0x12
jmp 0x487777
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x487816
mov byte [ecx + 0x18], bl
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov ecx, eax
pop edi
pop esi
mov dword [ecx], edx
mov edx, dword [esp + 0x10]
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebp
pop ebp
pop ebx
add esp, 0x28
ret
push eax
call dword [eax + 0x88]
mov eax, dword [esi]
add esp, 4
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax], 3
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 8], 0x550158
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x34], 0x70
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax + 0x38], 0
mov ecx, dword [esi]
push 0xffffffffffffffff
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x14]
mov edi, eax
mov eax, dword [esi]
add esp, 8
mov edx, dword [eax + 4]
mov ecx, dword [edx + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4878b9
mov eax, dword [eax + 8]
push 0xffffffffffffffff
push eax
call dword [eax + 0x14]
mov edx, dword [esp + 0x48]
mov edi, eax
mov eax, dword [esi + 0x1ec]
push edx
push eax
call dword [eax + 0x34]
mov ecx, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [esi + 0x1ec]
push edi
push ecx
push ebp
push eax
call dword [eax + 0x8c]
add esp, 0x20
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
cmp byte [ecx], bl
jne 0x48790e
push eax
call dword [eax + 0x24]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
call dword [eax + 0x30]
mov eax, dword [esi]
mov ebx, dword [esi + 0x1ec]
add esp, 8
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [edx + 4]
push eax
push 0xffffffffffffffff
push ecx
call dword [ecx + 0x14]
mov edx, dword [esi]
mov ecx, dword [esp + 0x20]
add esp, 8
push eax
mov eax, dword [edx + 8]
push ecx
mov ecx, dword [esi + 0x1ec]
push eax
push ecx
call dword [ebx + 0x28]
add esp, 0x14
mov ebp, eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x48792b
mov edx, dword [esp + 0x10]
push edx
push 0x3f
push eax
call dword [eax + 0x78]
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov ecx, eax
mov dword [ecx], edx
mov dword [ecx + 4], edi
pop edi
pop esi
mov dword [ecx + 8], ebp
pop ebp
pop ebx
add esp, 0x28
ret