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

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp eax, dword [esi]
jne 0x5d8b59
mov ecx, dword [esp + 0x4c]
mov eax, dword [esi + 0x10]
cmp ecx, eax
jne 0x5d8b59
mov ebx, dword [esi + 0xc]
mov eax, dword [esi + 0x1c]
add ebx, 4
cmp ebx, eax
jae 0x5d8ab4
mov edi, dword [ebx]
lea ebp, [edi + 0x1f8]
cmp edi, ebp
je 0x5d8a9d
push 0
mov ecx, edi
call fcn.0044a1d0
add edi, 0xc
cmp edi, ebp
jne 0x5d8a8d
mov edx, dword [ebx]
push 0x2a
push edx
lea ecx, [esi + 0x24]
call fcn.00561ad0
mov eax, dword [esi + 0x1c]
add ebx, 4
cmp ebx, eax
jb 0x5d8a81
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c]
cmp eax, ecx
je 0x5d8b01
mov ebx, dword [esi + 8]
mov edi, dword [esi]
cmp edi, ebx
je 0x5d8ad7
push 0
mov ecx, edi
call fcn.0044a1d0
add edi, 0xc
cmp edi, ebx
jne 0x5d8ac7
mov ebx, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
cmp edi, ebx
je 0x5d8af1
push 0
mov ecx, edi
call fcn.0044a1d0
add edi, 0xc
cmp edi, ebx
jne 0x5d8ae1
mov ecx, dword [esi + 0x14]
push 0x2a
push ecx
lea ecx, [esi + 0x24]
call fcn.00561ad0
jmp 0x5d8b1a
mov ebx, dword [esi + 0x10]
mov edi, dword [esi]
cmp edi, ebx
je 0x5d8b1a
push 0
mov ecx, edi
call fcn.0044a1d0
add edi, 0xc
cmp edi, ebx
jne 0x5d8b0a
mov edx, esi
mov eax, dword [edx]
mov dword [esi + 0x10], eax
mov ecx, dword [edx + 4]
mov dword [esi + 0x14], ecx
mov eax, dword [edx + 8]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [edx + 0xc]
mov edx, eax
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi]
mov dword [edx], ecx
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [edx + 8], ecx
mov ecx, dword [esi + 0xc]
mov dword [edx + 0xc], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x24
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x4c]
push edx
call fcn.005d82e0
push esi
lea ecx, [esp + 0x40]
mov edi, eax
call fcn.005d82e0
lea ebx, [esi + 0x10]
mov ebp, eax
push esi
mov ecx, ebx
mov dword [esp + 0x14], ebp
call fcn.005d82e0
sub eax, edi
cdq
sub eax, edx
sar eax, 1
cmp ebp, eax
jge 0x5d8c6f
mov ecx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
mov dword [eax], ecx
mov edx, dword [esp + 0x70]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x78]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x5c]
mov ecx, esp
push eax
call fcn.005cee70
sub esp, 0x10
mov ecx, esp
push esi
call fcn.005cee70
lea ecx, [esp + 0x54]
push ecx
call fcn.005d8fe0
mov edx, esi
add esp, 0x34
mov eax, dword [edx]
push edi
mov dword [esp + 0x18], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x20], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x18]
call fcn.005d89b0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
mov dword [eax], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, esp
mov dword [eax + 8], edx
push esi
mov dword [eax + 0xc], ebx
call fcn.005cee70
call fcn.0041dbd0
mov ebp, dword [esi + 0xc]
add esp, 0x20
cmp ebx, ebp
mov edi, ebx
jae 0x5d8c51
mov eax, dword [edi]
push 0x2a
push eax
lea ecx, [esi + 0x24]
call fcn.00561ad0
add edi, 4
cmp edi, ebp
jb 0x5d8c3d
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], ebx
jmp 0x5d8d76
mov ecx, dword [esp + 0x3c]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
mov dword [eax], ecx
mov edx, dword [esp + 0x60]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x68]
mov ecx, esp
push ebx
mov dword [eax + 0xc], edx
call fcn.005cee70
sub esp, 0x10
lea eax, [esp + 0x7c]
mov ecx, esp
push eax
call fcn.005cee70
lea ecx, [esp + 0x54]
push ecx
call fcn.005d9050
mov edx, ebx
add esp, 0x34
neg edi
mov eax, dword [edx]
push edi
mov dword [esp + 0x28], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x2c], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x28]
call fcn.005d89b0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
sub esp, 0x10
mov ecx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
mov edx, dword [ecx]
mov eax, esp
sub esp, 0x10
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
lea edx, [esp + 0x34]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, esp
push edx
call fcn.005cee70
call fcn.0041dbd0
mov eax, dword [esp + 0x40]
mov edi, dword [esi + 0x1c]
add edi, 4
add esp, 0x20
lea ebp, [eax + 4]
cmp ebp, edi
jae 0x5d8d5b
mov eax, dword [ebp]
test eax, eax
je 0x5d8d54
push eax
call fcn.005f0905
add esp, 4
add ebp, 4
cmp ebp, edi
jb 0x5d8d44
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x20]
mov dword [ebx + 4], edx
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], edx
call fcn.005d89b0
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
mov ecx, eax
pop edi
pop esi
pop ebp
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
pop ebx
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x20]
mov dword [ecx + 0xc], edx
add esp, 0x24
ret 0x24