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

Disassembly:
sub esp, 0x4c
push ebx
mov ebx, dword [esp + 0x58]
push ebp
mov ebp, dword [esp + 0x58]
push esi
mov eax, dword [ebx]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x64]
mov esi, dword [ebp + 8]
push edi
cmp eax, 5
ja case.default.0x5782d5
jmp dword [eax*4 + 0x57854c]
dec dword [ebp + 0x38]
mov edi, dword [esp + 0x6c]
mov eax, dword [ebp + 0x38]
push edi
push dword [ebx + 8]
mov dword [esp + 0x68], eax
push ebp
call fcn.005ac450
mov eax, dword [esp + 0x70]
add esp, 0xc
cmp eax, 1
jle 0x578369
add ebx, 0x1c
dec eax
mov dword [esp + 0x64], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x578324
push 0
push dword [esp + 0x64]
push edi
push 0x33
push esi
call fcn.00580cd0
add esp, 0x14
jmp 0x578353
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x33
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push edi
push dword [ebx]
push ebp
call fcn.005ac450
add esp, 0xc
add ebx, 0x14
sub dword [esp + 0x64], 1
jne 0x578308
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x578378
mov eax, 0x6ebf90
jmp 0x578387
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
add eax, 0xffffffec
cmp byte [eax], 0x50
jne 0x5783a3
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x5783a3
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x60]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x5783c9
push edx
push esi
push ecx
call fcn.00597740
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
push 0x34
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.006213c0
push dword [esp + 0x78]
lea eax, [esp + 0x38]
mov byte [esp + 0x38], 0x9d
push eax
push ebp
mov dword [esp + 0x54], ebx
call fcn.005ad8e0
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov edi, dword [esp + 0x6c]
push edi
push 0xffffffffffffffff
push dword [ebx + 0x1c]
push dword [ebx + 8]
push 0
call fcn.005aed70
add esp, 0x10
push eax
push 0x47
push esi
call fcn.005d2320
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov edi, dword [esp + 0x6c]
push edi
push 0xffffffffffffffff
push dword [ebx + 0x1c]
push dword [ebx + 8]
push ebp
call fcn.005afca0
add esp, 0x10
push eax
push 0x47
push esi
call fcn.005d2320
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov eax, dword [ebx + 0x1c]
cmp byte [eax], 0xa7
jne 0x57849d
push 1
push dword [eax + 0x1c]
mov ebp, 0x47
push dword [ebx + 8]
call fcn.005afd30
mov edi, dword [esp + 0x78]
add esp, 0xc
push edi
push eax
push ebp
push esi
call fcn.005d2320
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov edi, dword [esp + 0x6c]
xor eax, eax
push edi
push eax
mov ebp, 0x4b
push ebp
push esi
call fcn.005d2320
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
push dword [ebx + 8]
mov dword [esp + 0x14], str.blob
mov dword [esp + 0x18], str.text
mov dword [esp + 0x1c], str.numeric
mov dword [esp + 0x20], str.integer
mov dword [esp + 0x24], str.real
mov dword [esp + 0x28], str.flexnum
call fcn.005abb40
add esp, 4
cmp al, 0x40
jg 0x578504
mov eax, str.none
jmp 0x57850e
movsx eax, al
mov eax, dword [esp + eax*4 - 0xf4]
mov edi, dword [esp + 0x6c]
push 0
push eax
push 0
push edi
push 0
push 0x75
push esi
call fcn.005d23e0
add esp, 0x1c
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
push dword [esp + 0x6c]
push dword [ebx + 8]
push ebp
call fcn.005ad8e0
add esp, 0xc
mov edi, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret