Function at 0x4b5020
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.0x4b5049
jmp dword [eax*4 + 0x4b5390]
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.004b7510
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, 1
jle 0x4b50e8
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 0x4b50a0
push 0
push dword [esp + 0x10]
mov edx, 0x33
mov ecx, esi
push edi
call fcn.00497f80
add esp, 0xc
jmp 0x4b50cf
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.004b7510
add esp, 4
add ebx, 0x14
sub dword [esp + 0x14], 1
jne 0x4b5080
mov edx, dword [esi + 0x74]
mov eax, dword [esi]
lea ecx, [edx + edx*4]
shl ecx, 2
cmp byte [eax + 0x57], 0
je 0x4b5100
mov eax, 0x5d4b70
jmp 0x4b5108
mov eax, dword [esi + 0x70]
add eax, 0xffffffec
add eax, ecx
cmp byte [eax], 0x4f
jne 0x4b511e
test edx, edx
jle 0x4b511e
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 0x4b5143
push edx
mov edx, esi
call fcn.004987a0
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.005518b0
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.004b53b0
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.004b8350
add esp, 8
mov edx, eax
mov ecx, dword [esi + 0x74]
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x78], ecx
jg 0x4b51c2
push 0
push edi
push edx
mov edx, 0x47
mov ecx, esi
call fcn.00497f80
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.004b8350
add esp, 8
test eax, eax
jne 0x4b5223
mov edx, 1
jmp 0x4b519b
cmp byte [ebx], 0x2b
lea eax, [ebx + 0xc]
jne 0x4b525b
mov edx, dword [esp + 0xc]
mov ecx, edi
push 0xffffffffffffffff
push dword [eax]
call fcn.004b8980
add esp, 8
test eax, eax
jne 0x4b5219
mov edx, dword [esp + 0xc]
mov ecx, edi
push 0xffffffffffffffff
push dword [ebx + 0x10]
call fcn.004b8980
add esp, 8
test eax, eax
jne 0x4b5219
lea eax, [ebx + 0xc]
cmp byte [ebx], 0x33
jne 0x4b5282
mov edx, dword [esp + 0xc]
mov ecx, edi
push 0
push 0xffffffffffffffff
push dword [eax]
call fcn.004b87c0
add esp, 0xc
test eax, eax
je 0x4b5282
mov edx, 1
jmp 0x4b519b
xor edx, edx
jmp 0x4b519b
mov edx, dword [ebx + 0x1c]
cmp byte [edx], 0xa7
jne 0x4b52a1
mov edx, dword [edx + 0x1c]
mov ecx, dword [ebx + 8]
call fcn.004b8b80
jmp 0x4b5199
mov ecx, dword [esi + 0x74]
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x78], ecx
jg 0x4b52c9
push 0
push edi
push 0
mov edx, 0x4a
mov ecx, esi
call fcn.00497f80
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.004aea20
cmp al, 0x40
jg 0x4b5353
mov edi, dword [ebp + 0xc]
mov eax, str.none
push eax
mov edx, edi
mov ecx, esi
call fcn.004980a0
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.004980a0
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.004b53b0
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret