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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x499d66
mov eax, dword fs:[0]
push eax
sub esp, 0x148
push ebx
push esi
push edi
mov eax, dword [0x4be0a0]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
movsx eax, byte [esi + 8]
cmp eax, 7
ja case.default.0x46aee1
jmp dword [eax*4 + 0x46b239]
lea eax, [ebx + 0x7c]
push eax
mov eax, ebx
call fcn.0046b55b
jmp case.default.0x46aee1
call fcn.00469a14
push edx
push eax
lea eax, [esp + 0xec]
push eax
call fcn.0046a88e
add esp, 0xc
and dword [esp + 0x160], 0
push eax
mov eax, ebx
call fcn.0046b55b
lea ecx, [esp + 0xe4]
call fcn.00403df0
jmp case.default.0x46aee1
call fcn.00469b6a
push edx
push eax
lea esi, [esp + 0xb4]
call fcn.0046a911
pop ecx
pop ecx
push eax
mov eax, ebx
mov dword [esp + 0x164], 1
call fcn.0046b55b
mov ecx, esi
jmp 0x46af26
push esi
call fcn.00469cab
mov al, byte [ebx + 0xb4]
push ecx
shr al, 2
push ecx
and al, 1
fstp qword [esp]
push dword [ebx + 0xb8]
movzx eax, al
push eax
lea eax, [esp + 0x12c]
push eax
call fcn.0046a955
add esp, 0x14
push eax
mov eax, ebx
mov dword [esp + 0x164], 2
call fcn.0046b55b
lea ecx, [esp + 0x11c]
jmp 0x46af26
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
mov eax, esi
call fcn.004695ca
test al, al
je 0x46aff7
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0x10]
push dword [esp + 0x10]
lea edx, [esp + 0xcc]
call fcn.0046aac4
pop ecx
push eax
mov eax, ebx
mov dword [esp + 0x164], 3
call fcn.0046b55b
lea ecx, [esp + 0xc8]
jmp 0x46af26
push 0x4a16c8
lea ecx, [esp + 0x5c]
call fcn.00403d80
lea eax, [esp + 0x58]
push eax
mov eax, ebx
mov dword [esp + 0x164], 4
call fcn.0046b55b
lea ecx, [esp + 0x58]
jmp 0x46af26
push esi
call fcn.00469d57
movzx eax, al
push eax
lea eax, [esp + 0x104]
push eax
call fcn.0046aa9e
pop ecx
pop ecx
push eax
mov eax, ebx
mov dword [esp + 0x164], 5
call fcn.0046b55b
lea ecx, [esp + 0x100]
jmp 0x46af26
push esi
push ebx
call fcn.0046b259
jmp case.default.0x46aee1
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0046a437
mov dword [esp + 0x160], 6
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x46b0bd
push 0x4a23e0
lea ecx, [esp + 0x78]
call fcn.00403d80
lea eax, [esp + 0x74]
push eax
mov eax, ebx
mov byte [esp + 0x164], 7
call fcn.0046b55b
lea ecx, [esp + 0x74]
jmp 0x46b213
push 0x4ae8e4
lea ecx, [esp + 0x40]
call fcn.00403d80
lea eax, [esp + 0x3c]
push eax
mov edi, ebx
mov byte [esp + 0x164], 8
call fcn.0046b5a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x160], 6
call fcn.00403df0
push 0xffffffffffffffff
lea esi, [ebx + 0x20]
push 0
lea eax, [ebx + 0x40]
call fcn.0045f6b5
lea esi, [esp + 0x14]
lea edi, [esp + 0x1c]
call fcn.00419bb0
lea esi, [esp + 0x14]
call fcn.00419f90
push dword [ebp + 8]
mov esi, eax
call fcn.0046a377
mov ecx, eax
push ebx
mov dword [esp + 0x14], ecx
call fcn.0046b5ca
cmp dword [esi + 0x18], 0x10
mov ecx, dword [esi + 0x14]
jb 0x46b139
mov esi, dword [esi + 4]
jmp 0x46b13c
add esi, 4
push esi
lea edx, [esp + 0x13c]
call fcn.0046aac4
pop ecx
push eax
mov edi, ebx
mov byte [esp + 0x164], 9
call fcn.0046b5a0
lea ecx, [esp + 0x138]
mov byte [esp + 0x160], 6
call fcn.00403df0
lea eax, [ebx + 0x60]
push eax
push dword [ebx + 4]
call fcn.00470fb4
pop ecx
pop ecx
push dword [esp + 0x10]
mov ecx, ebx
call fcn.0046ae9d
lea esi, [esp + 0x34]
lea edi, [esp + 0x1c]
call fcn.00419bd0
lea esi, [esp + 0x14]
mov edi, eax
call fcn.004168e0
mov esi, edi
mov edi, eax
call fcn.0041cea0
test al, al
jne 0x46b1cb
push 0x4ae904
push dword [ebx + 4]
call fcn.00470e0d
pop ecx
pop ecx
push dword [esp + 0x10]
mov edi, ebx
call fcn.0046b6ca
jmp 0x46b10c
push dword [esp + 0x10]
mov edi, ebx
call fcn.0046b6ca
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x34]
sub eax, ecx
lea ecx, [ebx + 0x20]
call fcn.004652db
push 0x4ae8ec
lea ecx, [esp + 0x94]
call fcn.00403d80
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x164], 0xa
call fcn.0046b5a0
lea ecx, [esp + 0x90]
call fcn.00403df0
lea esi, [esp + 0x1c]
call fcn.00403e20
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4