Function at 0x578b80
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.0x578ba5
jmp dword [eax*4 + 0x578e1c]
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.005acce0
mov eax, dword [esp + 0x70]
add esp, 0xc
cmp eax, 1
jle 0x578c39
add ebx, 0x1c
dec eax
mov dword [esp + 0x64], eax
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x578bf4
push 0
push dword [esp + 0x64]
push edi
push 0x33
push esi
call fcn.005815b0
add esp, 0x14
jmp 0x578c23
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.005acce0
add esp, 0xc
add ebx, 0x14
sub dword [esp + 0x64], 1
jne 0x578bd8
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x578c48
mov eax, 0x6ecf90
jmp 0x578c57
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 0x578c73
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x578c73
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 0x578c99
push edx
push esi
push ecx
call fcn.00598020
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.00621d30
push dword [esp + 0x78]
lea eax, [esp + 0x38]
mov byte [esp + 0x38], 0x9d
push eax
push ebp
mov dword [esp + 0x54], ebx
call fcn.005ae170
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.005af600
add esp, 0x10
push eax
push 0x47
push esi
call fcn.005d2bc0
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.005b0530
add esp, 0x10
push eax
push 0x47
push esi
call fcn.005d2bc0
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 0x578d6d
push 1
push dword [eax + 0x1c]
mov ebp, 0x47
push dword [ebx + 8]
call fcn.005b05c0
mov edi, dword [esp + 0x78]
add esp, 0xc
push edi
push eax
push ebp
push esi
call fcn.005d2bc0
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.005d2bc0
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.005ac3d0
add esp, 4
cmp al, 0x40
jg 0x578dd4
mov eax, str.none
jmp 0x578dde
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.005d2c80
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.005ae170
add esp, 0xc
mov edi, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret