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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
push esi
mov ebx, edx
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov esi, dword [edi + 8]
cmp eax, 5
ja case.default.0x4aebb9
jmp dword [eax*4 + 0x4aef00]
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx + 8]
push edi
mov dword [esp + 0x10], eax
call fcn.004b1080
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, 1
jle 0x4aec58
add ebx, 0x1c
dec eax
mov dword [esp + 0x14], eax
nop word [eax + eax]
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4aec10
push 0
push dword [esp + 0x10]
mov edx, 0x33
mov ecx, esi
push edi
call fcn.00491ae0
add esp, 0xc
jmp 0x4aec3f
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
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
mov edx, dword [ebx]
mov ecx, dword [esp + 0x10]
push edi
call fcn.004b1080
add esp, 4
add ebx, 0x14
sub dword [esp + 0x14], 1
jne 0x4aebf0
mov edx, dword [esi + 0x74]
mov eax, dword [esi]
lea ecx, [edx + edx*4]
shl ecx, 2
cmp byte [eax + 0x57], 0
je 0x4aec70
mov eax, 0x5cdb78
jmp 0x4aec78
mov eax, dword [esi + 0x70]
add eax, 0xffffffec
add eax, ecx
cmp byte [eax], 0x4f
jne 0x4aec8e
test edx, edx
jle 0x4aec8e
mov eax, dword [esi + 0x70]
mov edx, 1
mov word [ecx + eax - 0x12], dx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4aecb3
push edx
mov edx, esi
call fcn.00492300
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x34
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0054b880
add esp, 0xc
mov byte [esp + 0x2c], 0x9d
lea edx, [esp + 0x2c]
mov dword [esp + 0x40], ebx
mov ecx, edi
push dword [ebp + 0xc]
call fcn.004aef20
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 8]
xor ecx, ecx
push 0xffffffffffffffff
push dword [ebx + 0x1c]
call fcn.004b1ec0
add esp, 8
mov edx, eax
mov ecx, dword [esi + 0x74]
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x78], ecx
jg 0x4aed32
push 0
push edi
push edx
mov edx, 0x47
mov ecx, esi
call fcn.00491ae0
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 8]
mov edx, eax
mov ebx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
mov dword [esp + 0x14], eax
call fcn.004b1ec0
add esp, 8
test eax, eax
jne 0x4aed93
mov edx, 1
jmp 0x4aed0b
cmp byte [ebx], 0x2b
lea eax, [ebx + 0xc]
jne 0x4aedcb
mov edx, dword [esp + 0xc]
mov ecx, edi
push 0xffffffffffffffff
push dword [eax]
call fcn.004b24f0
add esp, 8
test eax, eax
jne 0x4aed89
mov edx, dword [esp + 0xc]
mov ecx, edi
push 0xffffffffffffffff
push dword [ebx + 0x10]
call fcn.004b24f0
add esp, 8
test eax, eax
jne 0x4aed89
lea eax, [ebx + 0xc]
cmp byte [ebx], 0x33
jne 0x4aedf2
mov edx, dword [esp + 0xc]
mov ecx, edi
push 0
push 0xffffffffffffffff
push dword [eax]
call fcn.004b2330
add esp, 0xc
test eax, eax
je 0x4aedf2
mov edx, 1
jmp 0x4aed0b
xor edx, edx
jmp 0x4aed0b
mov edx, dword [ebx + 0x1c]
cmp byte [edx], 0xa7
jne 0x4aee11
mov edx, dword [edx + 0x1c]
mov ecx, dword [ebx + 8]
call fcn.004b26f0
jmp 0x4aed09
mov ecx, dword [esi + 0x74]
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x78], ecx
jg 0x4aee39
push 0
push edi
push 0
mov edx, 0x4a
mov ecx, esi
call fcn.00491ae0
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x4a
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 8]
mov dword [esp + 0x18], str.blob
mov dword [esp + 0x1c], str.text
mov dword [esp + 0x20], str.numeric
mov dword [esp + 0x24], str.integer
mov dword [esp + 0x28], str.real
call fcn.004a8590
cmp al, 0x40
jg 0x4aeec3
mov edi, dword [ebp + 0xc]
mov eax, str.none
push eax
mov edx, edi
mov ecx, esi
call fcn.00491c00
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
mov ecx, esi
movsx eax, al
mov edx, edi
mov eax, dword [esp + eax*4 - 0xec]
push eax
call fcn.00491c00
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0xc]
mov edx, dword [ebx + 8]
call fcn.004aef20
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret