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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0xc]
mov ebx, ecx
push esi
call dword [edi]
add esp, 4
cmp dword [edi + 4], 0
je 0x584683
cmp dword [edi + 8], 9
jb 0x584674
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx + 0x14]
push esi
call dword [edi]
add esp, 4
cmp dword [edi + 4], 0
je 0x5846ad
cmp dword [edi + 8], 9
jb 0x58469e
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
test dword [ebx + 0x218], 0x7fffffff
jne 0x5846d0
mov edi, dword [ebx + 0x224]
mov dword [esp + 4], ebx
cmp edi, 0x80000000
jne 0x5846f6
jmp 0x584756
push dword [ebx + 0x21c]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [ebx + 0x224]
mov dword [esp + 4], ebx
cmp edi, 0x80000000
je 0x584756
mov ebp, dword [ebx + 0x22c]
mov eax, dword [ebx + 0x228]
test ebp, ebp
mov dword [esp], eax
je 0x58473d
mov eax, dword [esp]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
lea ebx, [eax + 4]
jmp 0x584726
add ebx, 0xc
dec ebp
je 0x58473d
test dword [ebx - 4], 0x7fffffff
je 0x584720
push dword [ebx]
push 0
push dword [0x94bf18]
call esi
jmp 0x584720
mov ebx, dword [esp + 4]
test edi, edi
je 0x584756
push dword [esp]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
lea ecx, [ebx + 0x38]
call fcn.0057e660
lea ecx, [ebx + 0x50]
call fcn.0057e660
lea ecx, [ebx + 0x68]
call fcn.0057e660
test dword [ebx + 0x230], 0x7fffffff
jne 0x58479b
test dword [ebx + 0xd0], 0x7fffffff
jne 0x5847bb
mov edi, dword [ebx + 0xc0]
mov ebx, dword [ebx + 0xcc]
test ebx, ebx
jne 0x5847e3
jmp 0x58486b
push dword [ebx + 0x234]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
test dword [ebx + 0xd0], 0x7fffffff
je 0x584786
push dword [ebx + 0xd4]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [ebx + 0xc0]
mov ebx, dword [ebx + 0xcc]
test ebx, ebx
je 0x58486b
mov ebp, dword [esp + 4]
xor eax, eax
mov ecx, edi
mov edx, edi
mov esi, dword [ebp + 0xc8]
mov ebp, dword [ebp + 0xc4]
cmp esi, edi
mov dword [esp + 8], esi
cmovb ecx, eax
mov eax, edi
sub esi, ecx
mov dword [esp], eax
mov dword [esp + 0x10], ebx
sub edx, esi
lea edi, [esi + ebx]
cmp edx, ebx
mov dword [esp + 0xc], edx
cmovb edi, eax
sub ebx, edx
mov edx, 0
cmovb ebx, edx
sub edi, esi
jne 0x5848e4
mov eax, dword [esp + 0xc]
mov edi, dword [esp]
cmp eax, dword [esp + 0x10]
jae 0x58486b
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
add ebp, 8
jmp 0x584856
add ebp, 0x10
dec ebx
je 0x58486b
cmp dword [ebp - 4], 0
je 0x584850
push dword [ebp]
push 0
push dword [0x94bf18]
call esi
jmp 0x584850
mov esi, dword [esp + 4]
test edi, edi
je 0x584887
push dword [esi + 0xc4]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [esi + 0x78], 0
je 0x584895
lea ecx, [esi + 0x7c]
call fcn.005692c0
cmp byte [esi + 0x171], 2
je 0x5848b4
lea ecx, [esi + 0xe4]
call fcn.005692c0
lea ecx, [esi + 0x128]
call fcn.005692c0
cmp byte [esi + 0x209], 2
jne 0x5848c5
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esi + 0x17c]
call fcn.005692c0
add esi, 0x1c0
mov ecx, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.005692c0
mov eax, dword [esp + 8]
shl ecx, 4
shl eax, 4
sub eax, ecx
lea esi, [ebp + eax + 8]
jmp 0x58490a
add esi, 0x10
dec edi
je 0x58482d
cmp dword [esi - 4], 0
je 0x584900
push dword [esi]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x584900