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

Disassembly:
sub esp, 0x4c
mov eax, dword [0x7a39e0]
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [esi + 0xa4]
mov ecx, dword [eax + 4]
push edi
mov edi, 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
call fcn.005e9260
xor ebp, ebp
push ebp
push 0x3e8
push edx
push eax
call fcn.006fb030
mov ecx, dword [esi + 0xac]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xa4]
inc ecx
cmp eax, ebp
mov dword [esi + 0xac], ecx
jne 0x5d8954
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx]
mov dword [esi + 0xa4], edx
mov dword [esi + 0xa8], edi
mov eax, dword [esi + 0xa4]
cmp eax, ebp
jne 0x5d8964
mov dword [esi + 0xac], ebp
mov ecx, dword [esi + 0xc4]
cmp ecx, dword [esi + 0xb4]
jbe 0x5d8978
mov dword [esi + 0xb4], ecx
cmp ecx, dword [esi + 0xc0]
jae 0x5d8e86
cmp dword [esi + 0xa8], edi
jne 0x5d8bd8
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x5d8b8e
lea esp, [esp]
mov ecx, dword [esi + 0xc4]
cmp ecx, dword [esi + 0xc0]
jae 0x5d8d09
mov ecx, dword [esi + 0x40]
push eax
mov dword [esi + 0xac], ebp
call fcn.005e9b60
mov edi, eax
cmp edi, ebp
je 0x5d8b38
mov ecx, edi
call fcn.005db0e0
test eax, eax
je 0x5d8b38
cmp dword [edi + 0x1c], ebp
je 0x5d8b38
cmp dword [edi + 0x28], ebp
jne 0x5d8b38
lea edx, [edi + 0x78]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
lea eax, [esi + 0x98]
mov ecx, dword [eax]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x7a39e0]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.005e9260
push ebp
push 0x3e8
push edx
push eax
call fcn.006fb030
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x50]
push edx
mov ecx, esi
mov dword [esp + 0x2c], 0
call fcn.005d6ef0
test eax, eax
je 0x5d8aa5
mov eax, dword [esp + 0x60]
cmp eax, dword [esi + 0xbc]
jbe 0x5d8a75
mov dword [esi + 0xbc], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
lea eax, [edi + 0x8c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x98], edx
mov dword [edi + 0x9c], eax
jmp 0x5d8b1d
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
call fcn.0050ccf0
fstp dword [edi + 0x9c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
lea edx, [edi + 0x8c]
mov dword [edx], ebx
mov dword [edx + 4], ebp
mov dword [edx + 8], eax
mov dword [edi + 0x98], ecx
mov edx, dword [esi + 0xc8]
mov ecx, dword [esi + 0xb8]
inc edx
mov eax, edx
cmp eax, ecx
mov dword [esi + 0xc8], edx
jbe 0x5d8b1d
mov dword [esi + 0xb8], eax
mov edx, dword [0x7a39e0]
mov ecx, dword [edx + 4]
call fcn.005e9260
mov ecx, edi
call fcn.005daeb0
mov ebx, dword [esp + 0x24]
xor ebp, ebp
mov ecx, dword [esi + 0x40]
lea eax, [esp + 0x14]
push eax
call fcn.005e9b90
mov ecx, dword [0x7a39e0]
mov ecx, dword [ecx + 4]
call fcn.005e9260
push ebp
push 0x3e8
push edx
push eax
call fcn.006fb030
mov ecx, dword [esp + 0x10]
mov edi, dword [esi + 0xc4]
mov edx, eax
sub edx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
add edi, edx
cmp ebx, eax
mov dword [esi + 0xc4], edi
je 0x5d8e7a
cmp eax, ebp
jne 0x5d89a0
mov eax, dword [esi + 0x44]
mov dword [esi + 0xa8], 2
mov ecx, dword [eax]
mov dword [esi + 0xa4], ecx
mov edx, dword [0x7a39e0]
mov ecx, dword [edx + 4]
call fcn.005e9260
push ebp
push 0x3e8
push edx
push eax
call fcn.006fb030
mov edi, dword [esp + 0x10]
mov edx, dword [esi + 0xc4]
mov ecx, eax
sub ecx, edi
add edx, ecx
mov dword [esi + 0xc4], edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x28], ebp
jne 0x5d8bea
cmp ebx, dword [esi + 0xa4]
je 0x5d8e80
cmp dword [esi + 0xa8], 2
jne 0x5d8e4e
mov eax, dword [esi + 0xa4]
cmp eax, ebp
mov dword [esp + 0x14], eax
je 0x5d8e04
lea esp, [esp]
mov edx, dword [esi + 0xc4]
cmp edx, dword [esi + 0xc0]
jae 0x5d8e00
mov ecx, dword [esi + 0x44]
push eax
mov dword [esi + 0xac], ebp
call fcn.005e9b60
mov edi, eax
cmp edi, ebp
je 0x5d8da8
mov ecx, edi
call fcn.005dc300
test eax, eax
je 0x5d8da8
cmp dword [edi + 0x58], ebp
je 0x5d8da8
lea eax, [edi + 0x5c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
lea ecx, [esi + 0x98]
mov edx, dword [ecx]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x38], edx
mov edx, dword [0x7a39e0]
mov dword [esp + 0x40], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x3c], eax
call fcn.005e9260
push ebp
push 0x3e8
push edx
push eax
call fcn.006fb030
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x5c]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.005d6ef0
test eax, eax
je 0x5d8d1c
mov eax, dword [esp + 0x60]
cmp eax, dword [esi + 0xbc]
jbe 0x5d8cdc
mov dword [esi + 0xbc], eax
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
lea ecx, [edi + 0x70]
mov dword [ecx], edx
mov edx, dword [esp + 0x40]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x20]
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], ecx
jmp 0x5d8d8e
cmp eax, ebp
je 0x5d8b8e
mov dword [esi + 0xa4], eax
jmp 0x5d8ba3
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
sub esp, 0xc
mov edx, esp
mov dword [edx], ebx
mov dword [edx + 4], ebp
mov dword [edx + 8], eax
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x70]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
call fcn.0050ccf0
fstp dword [edi + 0x80]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
lea eax, [edi + 0x70]
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov dword [edi + 0x7c], edx
mov edx, dword [esi + 0xc8]
mov ecx, dword [esi + 0xb8]
inc edx
mov eax, edx
cmp eax, ecx
mov dword [esi + 0xc8], edx
jbe 0x5d8d8e
mov dword [esi + 0xb8], eax
mov eax, dword [0x7a39e0]
mov ecx, dword [eax + 4]
call fcn.005e9260
mov ecx, edi
call fcn.004015a0
mov ebx, dword [esp + 0x24]
xor ebp, ebp
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x44]
call fcn.005e9b90
mov edx, dword [0x7a39e0]
mov ecx, dword [edx + 4]
call fcn.005e9260
push ebp
push 0x3e8
push edx
push eax
call fcn.006fb030
mov edi, dword [esp + 0x10]
mov edx, dword [esi + 0xc4]
mov ecx, eax
sub ecx, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
add edx, ecx
cmp ebx, eax
mov dword [esi + 0xc4], edx
je 0x5d8e7a
cmp eax, ebp
jne 0x5d8c10
jmp 0x5d8e04
cmp eax, ebp
jne 0x5d8e13
mov edx, dword [esi + 0x40]
mov dword [esi + 0xa8], 1
mov eax, dword [edx]
mov dword [esi + 0xa4], eax
mov ecx, dword [0x7a39e0]
mov ecx, dword [ecx + 4]
call fcn.005e9260
push ebp
push 0x3e8
push edx
push eax
call fcn.006fb030
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0xc4]
mov edx, eax
sub edx, edi
add ecx, edx
mov dword [esi + 0xc4], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xa4]
cmp ebx, eax
mov dword [esi + 0xc8], ebp
je 0x5d8e86
mov ecx, dword [esi + 0xc4]
cmp ecx, dword [esi + 0xc0]
mov dword [esp + 0x28], ebp
jae 0x5d8e86
mov edi, 1
jmp 0x5d8984
mov dword [esi + 0xa4], eax
mov dword [esi + 0xc8], ebp
mov eax, dword [esi + 0xac]
cmp eax, dword [esi + 0xb0]
mov dword [esi + 0xc4], ebp
jbe 0x5d8ea0
mov dword [esi + 0xb0], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 4