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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
test ecx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0x2c0]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x80000000
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x80000000
mov dword [esp + 0x38], 0
mov edi, dword [eax + 0xb4]
mov dword [esp + 0x3c], 0x80000000
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x80000000
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x80000000
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0x80000000
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x80000000
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0x80000000
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0x80000000
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x80000000
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x80000000
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0x80000000
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0x80000000
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x80000000
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0x80000000
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0x80000000
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0x80000000
je 0x58640a
mov ebx, ecx
mov esi, edx
cmp esi, dword [ebx + 0x20]
je 0x586042
lea esi, [esi]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x5863f0
mov ebx, eax
cmp esi, dword [ebx + 0x20]
jne 0x586030
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
lea ecx, [eax - 0x80000000]
or ecx, edx
je 0x586030
cmp edi, 0x10
jg 0x586030
test edi, edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
jle 0x5863c0
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
cmp eax, ecx
jl 0x5863c0
jg 0x586081
cmp edx, ebp
jbe 0x5863c0
cmp edi, 1
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ecx
je 0x5863c0
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
cmp eax, ecx
jl 0x5863c0
jg 0x5860b4
cmp edx, ebp
jbe 0x5863c0
cmp edi, 2
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ecx
je 0x5863c0
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
cmp eax, ecx
jl 0x5863c0
jg 0x5860e7
cmp edx, ebp
jbe 0x5863c0
cmp edi, 3
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ecx
je 0x5863c0
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
cmp eax, ecx
jl 0x5863c0
jg 0x58611a
cmp edx, ebp
jbe 0x5863c0
cmp edi, 4
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ecx
je 0x5863c0
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
cmp eax, ecx
jl 0x5863c0
jg 0x58614d
cmp edx, ebp
jbe 0x5863c0
cmp edi, 5
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ecx
je 0x5863c0
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
cmp eax, ecx
jl 0x5863c0
jg 0x586180
cmp edx, ebp
jbe 0x5863c0
cmp edi, 6
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ecx
je 0x5863c0
mov ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
cmp eax, ecx
jl 0x5863c0
jg 0x5861b3
cmp edx, ebp
jbe 0x5863c0
cmp edi, 7
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ecx
je 0x5863c0
mov ecx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
cmp eax, ecx
jl 0x5863c0
jg 0x5861e6
cmp edx, ebp
jbe 0x5863c0
cmp edi, 8
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ecx
je 0x5863c0
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
cmp eax, ecx
jl 0x5863c0
jg 0x586219
cmp edx, ebp
jbe 0x5863c0
cmp edi, 9
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ecx
je 0x5863c0
mov ecx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
cmp eax, ecx
jl 0x5863c0
jg 0x58624c
cmp edx, ebp
jbe 0x5863c0
cmp edi, 0xa
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ecx
je 0x5863c0
mov ecx, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
cmp eax, ecx
jl 0x5863c0
jg 0x586285
cmp edx, ebp
jbe 0x5863c0
cmp edi, 0xb
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ecx
je 0x5863c0
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
cmp eax, ecx
jl 0x5863c0
jg 0x5862c4
cmp edx, ebp
jbe 0x5863c0
cmp edi, 0xc
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ecx
je 0x5863c0
mov ecx, dword [esp + 0x94]
mov ebp, dword [esp + 0x90]
cmp eax, ecx
jl 0x5863c0
jg 0x586309
cmp edx, ebp
jbe 0x5863c0
cmp edi, 0xd
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ecx
je 0x5863c0
mov ecx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x98]
cmp eax, ecx
jl 0x5863c0
jg 0x58634a
cmp edx, ebp
jbe 0x5863c0
cmp edi, 0xe
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ecx
je 0x5863c0
mov ecx, dword [esp + 0xa4]
mov ebp, dword [esp + 0xa0]
cmp eax, ecx
jl 0x5863c0
jg 0x586383
cmp edx, ebp
jbe 0x5863c0
cmp edi, 0x10
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ecx
jne 0x5863c0
mov ecx, dword [esp + 0xac]
mov ebp, dword [esp + 0xa8]
cmp eax, ecx
jl 0x5863c0
jg 0x586415
cmp edx, ebp
ja 0x586415
lea esi, [esi]
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], edx
lea edx, [esp + 0x28]
call fcn.00585730
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x48]
mov dword [ebx + 0x14], edx
test eax, eax
jne 0x58603b
nop
lea esi, [esi]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x504]
cmp dword [eax + 8], ebx
jne 0x58640a
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x58603b
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], ecx
jmp 0x5863c0