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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edi, edi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test ebx, ebx
je 0x4b7413
mov dword [ebp - 4], 0x5cd160
push 0
push esi
call fcn.004b6520
add esp, 8
mov eax, esi
cmp eax, 0x75
ja case.0x4b65da.0
jmp dword [eax*4 + 0x4b65e1]
mov eax, dword [ebx]
test ah, 4
jne 0x4b67cb
test eax, 0xfffbffff
jne case.0x4b65da.0
push esi
push 0
push ebx
call fcn.004acfa8
pop ecx
push eax
mov edx, dword [ebp - 4]
push edx
call fcn.004b45dc
add esp, 0x10
mov edi, 1
cmp esi, 0x18
jne case.0x4b65da.0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc0], 0
jne case.0x4b65da.0
call fcn.004b4a7c
mov edx, dword [ebp - 4]
mov dword [edx + 0xc0], eax
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edi, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], eax
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x64], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x74], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x90], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x98], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xac], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xb8], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xf8], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xbc], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xc4], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xc8], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xcc], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xd0], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xd8], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xec], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xf4], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xfc], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x80
je case.0x4b65da.0
push ebx
call fcn.004ad17c
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x104], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x1a
je case.0x4b65da.0
push ebx
call fcn.004ad290
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4b65da.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x54], edx
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x1a
je case.0x4b65da.0
push ebx
call fcn.004ad290
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4b65da.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x70], edx
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x1a
je case.0x4b65da.0
push ebx
call fcn.004ad290
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4b65da.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0xa8], edx
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x1a
je case.0x4b65da.0
push ebx
call fcn.004ad290
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4b65da.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0xf0], edx
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x1a
je case.0x4b65da.0
push ebx
call fcn.004ad290
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4b65da.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x30], edx
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x1a
je case.0x4b65da.0
push ebx
call fcn.004ad290
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4b65da.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x34], edx
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x1a
je case.0x4b65da.0
push ebx
call fcn.004ad290
pop ecx
push eax
push 1
call fcn.00487830
add esp, 8
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x1a
je case.0x4b65da.0
push ebx
call fcn.004ad290
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4b65da.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x78], edx
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x1a
je case.0x4b65da.0
push ebx
call fcn.004ad290
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4b65da.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0xa4], edx
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x1a
je case.0x4b65da.0
push ebx
call fcn.004ad290
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4b65da.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0xb0], edx
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x1a
je case.0x4b65da.0
push ebx
call fcn.004ad290
mov edi, eax
mov eax, dword [ebp - 4]
pop ecx
test edi, edi
mov dword [eax + 0xd4], edi
je 0x4b6e7f
cmp edi, 0x10
jge 0x4b6e63
mov edx, dword [ebp - 4]
mov dword [edx + 0xd4], 0x10
jmp 0x4b6e7f
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xd4], 0x1000
jle 0x4b6e7f
mov eax, dword [ebp - 4]
mov dword [eax + 0xd4], 0x1000
call fcn.0047f778
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx], 0x1a
je case.0x4b65da.0
push ebx
call fcn.004ad290
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xe8], eax
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx + 1], 4
je case.0x4b65da.0
push ebx
call fcn.004acfa8
pop ecx
push eax
call fcn.00487714
pop ecx
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx + 1], 4
je case.0x4b65da.0
push ebx
call fcn.004acfa8
pop ecx
push eax
call fcn.004840b8
pop ecx
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx + 1], 4
je case.0x4b65da.0
push ebx
call fcn.004acfa8
pop ecx
push eax
call fcn.004693a0
pop ecx
mov edi, 1
jmp case.0x4b65da.0
mov dword [ebp - 8], 0xffffffff
test byte [ebx + 1], 4
je 0x4b6f88
push 0x5bfd54
push ebx
call fcn.004acfa8
pop ecx
push eax
call fcn.004f4214
add esp, 8
test eax, eax
jne 0x4b6f46
mov dword [ebp - 8], 1
jmp 0x4b6f97
push 0x5bfd5a
push ebx
call fcn.004acfa8
pop ecx
push eax
call fcn.004f4214
add esp, 8
test eax, eax
jne 0x4b6f68
mov dword [ebp - 8], 2
jmp 0x4b6f97
push str.MIXED
push ebx
call fcn.004acfa8
pop ecx
push eax
call fcn.004f4214
add esp, 8
test eax, eax
jne 0x4b6f97
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4b6f97
test byte [ebx], 0x1a
je 0x4b6f97
push ebx
call fcn.004ad290
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
je 0x4b6fad
cmp dword [ebp - 8], 2
je 0x4b6fad
cmp dword [ebp - 8], 0
jne case.0x4b65da.0
cmp esi, 0x66
jne 0x4b6fc0
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [edx + 0xdc], ecx
jmp 0x4b6fcc
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0xe0], edx
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx + 1], 4
je case.0x4b65da.0
xor edi, edi
push 0xffff
push ebx
call fcn.004acfa8
pop ecx
push eax
call fcn.004f412c
mov ebx, eax
mov eax, dword [ebp - 4]
add esp, 8
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x4b700a
push eax
call fcn.004aa6ac
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], ebx
jmp 0x4b7024
mov al, byte [ebx]
cmp al, 0x59
je 0x4b701c
cmp al, 0x79
jne 0x4b701f
inc edi
jmp 0x4b7023
test edi, edi
jne 0x4b7029
inc ebx
cmp byte [ebx], 0
jne 0x4b7012
cmp edi, 4
mov ecx, dword [ebp - 4]
setge dl
and edx, 1
mov edi, 1
mov dword [ecx], edx
jmp case.0x4b65da.0
test byte [ebx + 1], 4
je case.0x4b65da.0
push 0xffff
push ebx
call fcn.004acfa8
pop ecx
push eax
call fcn.004f412c
mov ebx, eax
mov eax, dword [ebp - 4]
add esp, 8
mov eax, dword [eax + 0x110]
test eax, eax
je 0x4b7076
push eax
call fcn.004aa6ac
pop ecx
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0x110], ebx
jmp case.0x4b65da.0
push ebx
call fcn.004acfc4
pop ecx
test eax, eax
jbe case.0x4b65da.0
push ebx
call fcn.004acfa8
movsx eax, byte [eax]
mov edx, dword [ebp - 4]
pop ecx
mov edi, 1
mov dword [edx + 0xe4], eax
jmp case.0x4b65da.0
test byte [ebx + 1], 4
je case.0x4b65da.0
push 0xffff
push ebx
call fcn.004acfa8
pop ecx
push eax
call fcn.004f412c
mov ebx, eax
mov eax, dword [ebp - 4]
add esp, 8
mov eax, dword [eax + 0x68]
test eax, eax
je 0x4b70e7
push eax
call fcn.004aa6ac
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], ebx
push ebx
call fcn.004fe810
pop ecx
cmp eax, 4
jb 0x4b710d
push 4
push str.PRIN
push ebx
call fcn.004f4274
add esp, 0xc
test eax, eax
je 0x4b7111
xor ecx, ecx
jmp 0x4b7116
mov ecx, 1
mov eax, dword [ebp - 4]
mov edi, 1
mov dword [eax + 4], ecx
jmp case.0x4b65da.0
mov eax, dword [ebx]
test ah, 4
jne 0x4b7138
test eax, 0xfffbffff
jne case.0x4b65da.0
push 0xffff
push ebx
call fcn.004acfa8
pop ecx
push eax
call fcn.004f412c
mov edx, dword [ebp - 4]
mov ebx, eax
add esp, 8
mov eax, dword [edx + 0xb4]
test eax, eax
je 0x4b7163
push eax
call fcn.004aa6ac
pop ecx
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0xb4], ebx
jmp case.0x4b65da.0
mov eax, dword [ebx]
test ah, 4
jne 0x4b7188
test eax, 0xfffbffff
jne case.0x4b65da.0
push 0xffff
push ebx
call fcn.004acfa8
pop ecx
push eax
call fcn.004f412c
mov edx, dword [ebp - 4]
mov ebx, eax
add esp, 8
mov eax, dword [edx + 0x58]
test eax, eax
je 0x4b71b0
push eax
call fcn.004aa6ac
pop ecx
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0x58], ebx
jmp case.0x4b65da.0
mov eax, dword [ebx]
test ah, 4
jne 0x4b71d2
test eax, 0xfffbffff
jne case.0x4b65da.0
push 0xffff
push ebx
call fcn.004acfa8
pop ecx
push eax
call fcn.004f412c
mov edx, dword [ebp - 4]
mov ebx, eax
add esp, 8
mov eax, dword [edx + 0xa0]
test eax, eax
je 0x4b71fd
push eax
call fcn.004aa6ac
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xa0], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x14]
push eax
call fcn.004f1ea0
pop ecx
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx + 0x14], ecx
mov eax, dword [ebp - 4]
add eax, 0x14
push eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xa0]
push ecx
call fcn.004f1e18
add esp, 8
mov edi, 1
jmp case.0x4b65da.0
mov eax, dword [ebx]
test ah, 4
jne 0x4b7250
test eax, 0xfffbffff
jne case.0x4b65da.0
push 0xffff
push ebx
call fcn.004acfa8
pop ecx
push eax
call fcn.004f412c
mov edx, dword [ebp - 4]
mov ebx, eax
add esp, 8
mov eax, dword [edx + 0x60]
test eax, eax
je 0x4b7278
push eax
call fcn.004aa6ac
pop ecx
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0x60], ebx
jmp case.0x4b65da.0
mov eax, dword [ebx]
test ah, 4
jne 0x4b729a
test eax, 0xfffbffff
jne case.0x4b65da.0
push 0xffff
push ebx
call fcn.004acfa8
pop ecx
push eax
call fcn.004f412c
mov edx, dword [ebp - 4]
mov ebx, eax
add esp, 8
mov eax, dword [edx + 0x100]
test eax, eax
je 0x4b72c5
push eax
call fcn.004aa6ac
pop ecx
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0x100], ebx
jmp case.0x4b65da.0
mov eax, dword [ebx]
test ah, 4
jne 0x4b72ea
test eax, 0xfffbffff
jne case.0x4b65da.0
test eax, 0xfffbffff
jne 0x4b72f5
xor ebx, ebx
jmp 0x4b730c
push 0xffff
push ebx
call fcn.004acfa8
pop ecx
push eax
call fcn.004f412c
add esp, 8
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
test eax, eax
je 0x4b7320
push eax
call fcn.004aa6ac
pop ecx
mov edx, dword [ebp - 4]
mov eax, ebx
mov dword [edx + 0x108], eax
push eax
call fcn.004aa594
pop ecx
mov edi, 1
jmp case.0x4b65da.0
mov eax, dword [ebx]
test ah, 4
jne 0x4b734e
test eax, 0xfffbffff
jne case.0x4b65da.0
push 0xffff
push ebx
call fcn.004acfa8
pop ecx
push eax
call fcn.004f412c
mov edx, dword [ebp - 4]
mov ebx, eax
add esp, 8
mov eax, dword [edx + 0x10c]
test eax, eax
je 0x4b7379
push eax
call fcn.004aa6ac
pop ecx
mov edx, dword [ebp - 4]
mov eax, ebx
mov dword [edx + 0x10c], eax
push eax
call fcn.004aa59c
pop ecx
mov edi, 1
jmp case.0x4b65da.0
test dword [ebx], 0xfffbffff
jne 0x4b73a9
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x18], edx
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx + 1], 4
je case.0x4b65da.0
push ebx
call fcn.004acfa8
pop ecx
push eax
call fcn.00469320
pop ecx
test eax, eax
je case.0x4b65da.0
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0x18], eax
jmp case.0x4b65da.0
test dword [ebx], 0xfffbffff
jne 0x4b73e5
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1c], edx
mov edi, 1
jmp case.0x4b65da.0
test byte [ebx + 1], 4
je case.0x4b65da.0
push ebx
call fcn.004acfa8
pop ecx
push eax
call fcn.00469320
pop ecx
test eax, eax
je case.0x4b65da.0
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0x1c], eax
push 1
push esi
call fcn.004b6520
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret