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

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
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 + 0x40], eax
add esp, 4
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x4876da
push 0x4e
push eax
call dword [eax + 0x74]
add esp, 8
test al, al
je 0x4876da
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov edx, eax
pop edi
pop esi
pop ebp
mov dword [edx], ecx
mov ecx, dword [esp + 8]
pop ebx
mov dword [edx + 4], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 8], ecx
add esp, 0x24
ret
mov edx, dword [esi]
push 1
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x1ec]
xor ebp, ebp
push eax
mov dword [esp + 0x24], ebp
call dword [eax + 0x10]
mov ebx, eax
mov eax, dword [esi]
push ebp
push 0x554190
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0xc]
push eax
call dword [eax + 0x14]
lea eax, [esp + 0x40]
push esi
push eax
call fcn.00487a70
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], 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, 0x24
mov ecx, dword [eax + 4]
mov eax, dword [ecx + 8]
cmp byte [eax], 1
je 0x487989
cmp byte [eax + 0x18], 1
jne 0x487772
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov edx, eax
pop edi
pop esi
mov dword [edx], ecx
mov ecx, dword [esp + 0xc]
mov dword [edx + 4], ecx
mov dword [edx + 8], ebp
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x487788
mov eax, dword [esi + 0x1ec]
push edi
push ebx
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov eax, dword [esi]
push 0x555c00
mov edx, dword [eax + 8]
mov ecx, dword [edx + 8]
mov edx, dword [eax + 4]
push ecx
push edx
push esi
call dword [0x555c10]
mov ecx, dword [esi]
add esp, 0x10
mov edx, dword [ecx + 4]
mov edx, dword [edx + 8]
cmp byte [edx], 1
je 0x487989
cmp byte [edx + 0x18], 1
je 0x48791a
dec eax
jne 0x487989
mov ecx, dword [ecx + 8]
push 1
push ecx
call dword [ecx + 0x14]
mov eax, dword [esi]
push 1
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x14]
mov ecx, dword [esi]
mov ebp, eax
push 1
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
push eax
call dword [eax + 0x18]
add esp, 0x18
cmp eax, 0x4a
jb 0x487907
mov eax, dword [esi]
push 1
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 8]
push eax
call dword [eax + 0x18]
add esp, 8
cmp eax, 0x4b
ja 0x487907
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov eax, dword [eax + 8]
push eax
call dword [eax + 0x14]
mov ecx, dword [esi]
add esp, 4
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x48784d
mov edi, dword [esi + 0x1ec]
push ebx
push ebp
push edi
call dword [edi + 0x3c]
mov ecx, dword [esi + 0x1ec]
add esp, 8
push eax
push ecx
call dword [edi + 0x30]
add esp, 0xc
mov ebx, eax
mov edx, dword [esi]
push 0
push 0x5541c8
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov byte [ecx + 0x10], 0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov byte [ecx + 0x18], 0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0xc]
push eax
call dword [eax + 0x14]
lea edx, [esp + 0x34]
push esi
push edx
call fcn.00487a70
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], 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], 1
je 0x487989
cmp byte [eax + 0x18], 1
je 0x48791a
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4878d5
mov eax, dword [esi + 0x1ec]
push edi
push ebx
push eax
call dword [eax + 0x1c]
add esp, 0xc
mov eax, dword [esi]
push 0x555c00
mov edx, dword [eax + 8]
mov ecx, dword [edx + 8]
mov edx, dword [eax + 4]
push ecx
push edx
push esi
call dword [0x555c10]
mov ecx, dword [esi]
add esp, 0x10
mov edx, dword [ecx + 4]
mov edx, dword [edx + 8]
cmp byte [edx], 1
jne 0x4877b5
jmp 0x487989
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x20]
test edx, edx
jle 0x48793c
mov byte [ecx + 0x18], 1
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
mov ecx, eax
pop edi
pop esi
pop ebp
mov dword [ecx], edx
mov edx, dword [esp + 8]
pop ebx
mov dword [ecx + 4], edx
mov edx, dword [esp + 8]
mov dword [ecx + 8], edx
add esp, 0x24
ret
push eax
call dword [eax + 0x88]
mov eax, dword [esi]
push 0x5541b0
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 4]
mov dword [eax], 4
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
mov dword [ecx + 4], str.Mismatched_set
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x20], 0x5541b0
mov eax, dword [esi]
mov eax, dword [eax + 4]
push eax
call dword [eax + 0x54]
add esp, 0xc
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 0x4879dd
mov eax, dword [eax + 8]
push 0xffffffffffffffff
push eax
call dword [eax + 0x14]
mov edi, eax
mov eax, dword [esi + 0x1ec]
push ebx
push eax
call dword [eax + 0x34]
mov ebx, dword [esp + 0x20]
mov ecx, eax
mov eax, dword [esi + 0x1ec]
push edi
push ebx
push ecx
push eax
mov dword [esp + 0x38], ecx
call dword [eax + 0x8c]
add esp, 0x20
jmp 0x4879e1
mov ebx, dword [esp + 0x10]
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 8]
cmp byte [ecx], 1
jne 0x487a35
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 ebp, 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 ecx, dword [esi]
add esp, 8
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esi + 0x1ec]
push ebx
push edx
push eax
call dword [ebp + 0x28]
add esp, 0x14
mov dword [esp + 0x18], eax
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov edx, dword [eax + 8]
mov ecx, dword [edx + 0x20]
test ecx, ecx
jle 0x487a52
mov ecx, dword [esp + 0x3c]
push ecx
push 0x4e
push eax
call dword [eax + 0x78]
add esp, 0xc
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov edx, eax
mov dword [edx], ebx
mov dword [edx + 4], edi
pop edi
pop esi
pop ebp
mov dword [edx + 8], ecx
pop ebx
add esp, 0x24
ret