Function at 0x46188c
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 0x4626fb
mov dword [ebp - 4], 0x5d0ddc
push 0
push esi
call fcn.00461808
add esp, 8
mov eax, esi
cmp eax, 0x75
ja case.0x4618c2.0
jmp dword [eax*4 + 0x4618c9]
mov eax, dword [ebx]
test ah, 4
jne 0x461ab3
test eax, 0xfffbffff
jne case.0x4618c2.0
push esi
push 0
push ebx
call fcn.00458270
pop ecx
push eax
mov edx, dword [ebp - 4]
push edx
call fcn.0045f8c4
add esp, 0x10
mov edi, 1
cmp esi, 0x18
jne case.0x4618c2.0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc0], 0
jne case.0x4618c2.0
call fcn.0045fd64
mov edx, dword [ebp - 4]
mov dword [edx + 0xc0], eax
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edi, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x24], eax
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x64], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x6c], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x74], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x90], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x98], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xac], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xb8], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xf8], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xbc], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xc4], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xc8], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xcc], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xd0], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xd8], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xec], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xf4], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xfc], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x80
je case.0x4618c2.0
push ebx
call fcn.00458450
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x104], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x1a
je case.0x4618c2.0
push ebx
call fcn.00458564
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4618c2.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x54], edx
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x1a
je case.0x4618c2.0
push ebx
call fcn.00458564
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4618c2.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x70], edx
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x1a
je case.0x4618c2.0
push ebx
call fcn.00458564
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4618c2.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0xa8], edx
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x1a
je case.0x4618c2.0
push ebx
call fcn.00458564
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4618c2.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0xf0], edx
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x1a
je case.0x4618c2.0
push ebx
call fcn.00458564
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4618c2.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x30], edx
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x1a
je case.0x4618c2.0
push ebx
call fcn.00458564
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4618c2.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x34], edx
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x1a
je case.0x4618c2.0
push ebx
call fcn.00458564
pop ecx
push eax
push 1
call fcn.0048d72c
add esp, 8
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x1a
je case.0x4618c2.0
push ebx
call fcn.00458564
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4618c2.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x78], edx
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x1a
je case.0x4618c2.0
push ebx
call fcn.00458564
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4618c2.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0xa4], edx
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x1a
je case.0x4618c2.0
push ebx
call fcn.00458564
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl case.0x4618c2.0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0xb0], edx
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x1a
je case.0x4618c2.0
push ebx
call fcn.00458564
mov edi, eax
mov eax, dword [ebp - 4]
pop ecx
test edi, edi
mov dword [eax + 0xd4], edi
je 0x462167
cmp edi, 0x10
jge 0x46214b
mov edx, dword [ebp - 4]
mov dword [edx + 0xd4], 0x10
jmp 0x462167
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xd4], 0x1000
jle 0x462167
mov eax, dword [ebp - 4]
mov dword [eax + 0xd4], 0x1000
call fcn.00485670
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx], 0x1a
je case.0x4618c2.0
push ebx
call fcn.00458564
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0xe8], eax
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx + 1], 4
je case.0x4618c2.0
push ebx
call fcn.00458270
pop ecx
push eax
call fcn.0048d610
pop ecx
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx + 1], 4
je case.0x4618c2.0
push ebx
call fcn.00458270
pop ecx
push eax
call fcn.00489fb8
pop ecx
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx + 1], 4
je case.0x4618c2.0
push ebx
call fcn.00458270
pop ecx
push eax
call fcn.0046d5c4
pop ecx
mov edi, 1
jmp case.0x4618c2.0
mov dword [ebp - 8], 0xffffffff
test byte [ebx + 1], 4
je 0x462270
push 0x5aba08
push ebx
call fcn.00458270
pop ecx
push eax
call fcn.004c965c
add esp, 8
test eax, eax
jne 0x46222e
mov dword [ebp - 8], 1
jmp 0x46227f
push 0x5aba0e
push ebx
call fcn.00458270
pop ecx
push eax
call fcn.004c965c
add esp, 8
test eax, eax
jne 0x462250
mov dword [ebp - 8], 2
jmp 0x46227f
push str.MIXED
push ebx
call fcn.00458270
pop ecx
push eax
call fcn.004c965c
add esp, 8
test eax, eax
jne 0x46227f
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x46227f
test byte [ebx], 0x1a
je 0x46227f
push ebx
call fcn.00458564
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
je 0x462295
cmp dword [ebp - 8], 2
je 0x462295
cmp dword [ebp - 8], 0
jne case.0x4618c2.0
cmp esi, 0x66
jne 0x4622a8
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [edx + 0xdc], ecx
jmp 0x4622b4
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0xe0], edx
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx + 1], 4
je case.0x4618c2.0
xor edi, edi
push 0xffff
push ebx
call fcn.00458270
pop ecx
push eax
call fcn.004c9574
mov ebx, eax
mov eax, dword [ebp - 4]
add esp, 8
mov eax, dword [eax + 0x4c]
test eax, eax
je 0x4622f2
push eax
call fcn.00455a78
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], ebx
jmp 0x46230c
mov al, byte [ebx]
cmp al, 0x59
je 0x462304
cmp al, 0x79
jne 0x462307
inc edi
jmp 0x46230b
test edi, edi
jne 0x462311
inc ebx
cmp byte [ebx], 0
jne 0x4622fa
cmp edi, 4
mov ecx, dword [ebp - 4]
setge dl
and edx, 1
mov edi, 1
mov dword [ecx], edx
jmp case.0x4618c2.0
test byte [ebx + 1], 4
je case.0x4618c2.0
push 0xffff
push ebx
call fcn.00458270
pop ecx
push eax
call fcn.004c9574
mov ebx, eax
mov eax, dword [ebp - 4]
add esp, 8
mov eax, dword [eax + 0x110]
test eax, eax
je 0x46235e
push eax
call fcn.00455a78
pop ecx
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0x110], ebx
jmp case.0x4618c2.0
push ebx
call fcn.0045828c
pop ecx
test eax, eax
jbe case.0x4618c2.0
push ebx
call fcn.00458270
movsx eax, byte [eax]
mov edx, dword [ebp - 4]
pop ecx
mov edi, 1
mov dword [edx + 0xe4], eax
jmp case.0x4618c2.0
test byte [ebx + 1], 4
je case.0x4618c2.0
push 0xffff
push ebx
call fcn.00458270
pop ecx
push eax
call fcn.004c9574
mov ebx, eax
mov eax, dword [ebp - 4]
add esp, 8
mov eax, dword [eax + 0x68]
test eax, eax
je 0x4623cf
push eax
call fcn.00455a78
pop ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], ebx
push ebx
call fcn.004f3294
pop ecx
cmp eax, 4
jb 0x4623f5
push 4
push str.PRIN
push ebx
call fcn.004c96bc
add esp, 0xc
test eax, eax
je 0x4623f9
xor ecx, ecx
jmp 0x4623fe
mov ecx, 1
mov eax, dword [ebp - 4]
mov edi, 1
mov dword [eax + 4], ecx
jmp case.0x4618c2.0
mov eax, dword [ebx]
test ah, 4
jne 0x462420
test eax, 0xfffbffff
jne case.0x4618c2.0
push 0xffff
push ebx
call fcn.00458270
pop ecx
push eax
call fcn.004c9574
mov edx, dword [ebp - 4]
mov ebx, eax
add esp, 8
mov eax, dword [edx + 0xb4]
test eax, eax
je 0x46244b
push eax
call fcn.00455a78
pop ecx
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0xb4], ebx
jmp case.0x4618c2.0
mov eax, dword [ebx]
test ah, 4
jne 0x462470
test eax, 0xfffbffff
jne case.0x4618c2.0
push 0xffff
push ebx
call fcn.00458270
pop ecx
push eax
call fcn.004c9574
mov edx, dword [ebp - 4]
mov ebx, eax
add esp, 8
mov eax, dword [edx + 0x58]
test eax, eax
je 0x462498
push eax
call fcn.00455a78
pop ecx
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0x58], ebx
jmp case.0x4618c2.0
mov eax, dword [ebx]
test ah, 4
jne 0x4624ba
test eax, 0xfffbffff
jne case.0x4618c2.0
push 0xffff
push ebx
call fcn.00458270
pop ecx
push eax
call fcn.004c9574
mov edx, dword [ebp - 4]
mov ebx, eax
add esp, 8
mov eax, dword [edx + 0xa0]
test eax, eax
je 0x4624e5
push eax
call fcn.00455a78
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.004c72d4
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.004c724c
add esp, 8
mov edi, 1
jmp case.0x4618c2.0
mov eax, dword [ebx]
test ah, 4
jne 0x462538
test eax, 0xfffbffff
jne case.0x4618c2.0
push 0xffff
push ebx
call fcn.00458270
pop ecx
push eax
call fcn.004c9574
mov edx, dword [ebp - 4]
mov ebx, eax
add esp, 8
mov eax, dword [edx + 0x60]
test eax, eax
je 0x462560
push eax
call fcn.00455a78
pop ecx
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0x60], ebx
jmp case.0x4618c2.0
mov eax, dword [ebx]
test ah, 4
jne 0x462582
test eax, 0xfffbffff
jne case.0x4618c2.0
push 0xffff
push ebx
call fcn.00458270
pop ecx
push eax
call fcn.004c9574
mov edx, dword [ebp - 4]
mov ebx, eax
add esp, 8
mov eax, dword [edx + 0x100]
test eax, eax
je 0x4625ad
push eax
call fcn.00455a78
pop ecx
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0x100], ebx
jmp case.0x4618c2.0
mov eax, dword [ebx]
test ah, 4
jne 0x4625d2
test eax, 0xfffbffff
jne case.0x4618c2.0
test eax, 0xfffbffff
jne 0x4625dd
xor ebx, ebx
jmp 0x4625f4
push 0xffff
push ebx
call fcn.00458270
pop ecx
push eax
call fcn.004c9574
add esp, 8
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x108]
test eax, eax
je 0x462608
push eax
call fcn.00455a78
pop ecx
mov edx, dword [ebp - 4]
mov eax, ebx
mov dword [edx + 0x108], eax
push eax
call fcn.0045595c
pop ecx
mov edi, 1
jmp case.0x4618c2.0
mov eax, dword [ebx]
test ah, 4
jne 0x462636
test eax, 0xfffbffff
jne case.0x4618c2.0
push 0xffff
push ebx
call fcn.00458270
pop ecx
push eax
call fcn.004c9574
mov edx, dword [ebp - 4]
mov ebx, eax
add esp, 8
mov eax, dword [edx + 0x10c]
test eax, eax
je 0x462661
push eax
call fcn.00455a78
pop ecx
mov edx, dword [ebp - 4]
mov eax, ebx
mov dword [edx + 0x10c], eax
push eax
call fcn.00455964
pop ecx
mov edi, 1
jmp case.0x4618c2.0
test dword [ebx], 0xfffbffff
jne 0x462691
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x18], edx
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx + 1], 4
je case.0x4618c2.0
push ebx
call fcn.00458270
pop ecx
push eax
call fcn.0046d544
pop ecx
test eax, eax
je case.0x4618c2.0
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0x18], eax
jmp case.0x4618c2.0
test dword [ebx], 0xfffbffff
jne 0x4626cd
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1c], edx
mov edi, 1
jmp case.0x4618c2.0
test byte [ebx + 1], 4
je case.0x4618c2.0
push ebx
call fcn.00458270
pop ecx
push eax
call fcn.0046d544
pop ecx
test eax, eax
je case.0x4618c2.0
mov edx, dword [ebp - 4]
mov edi, 1
mov dword [edx + 0x1c], eax
push 1
push esi
call fcn.00461808
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret