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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d464d
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x5164b0]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x5164b0]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], edi
movsx eax, byte [edi + 8]
cmp eax, 7
ja case.default.0x46ebe6
jmp dword [eax*4 + 0x46f028]
push 4
push str.null
lea ecx, [esp + 0x30]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.0040414f
mov dword [esp + 0x128], 0
lea eax, [esp + 0x28]
cmp byte [ebx + 0x48], 0
je 0x46ec32
push eax
lea ecx, [ebx + 4]
call fcn.00405c3e
jmp 0x46ec3f
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebx + 0x10]
call fcn.00403d15
cmp dword [esp + 0x3c], 0x10
jb case.default.0x46ebe6
push dword [esp + 0x28]
jmp 0x46effa
mov ecx, edi
call fcn.0046c1c0
mov edx, eax
lea ecx, [esp + 0xa0]
call fcn.0046dee0
push eax
mov ecx, ebx
mov dword [esp + 0x12c], 1
call fcn.0046f560
cmp dword [esp + 0xb4], 0x10
jb case.default.0x46ebe6
push dword [esp + 0xa0]
jmp 0x46effa
mov ecx, edi
call fcn.0046c2c0
mov edx, eax
lea ecx, [esp + 0xe8]
call fcn.0046df70
push eax
mov ecx, ebx
mov dword [esp + 0x12c], 2
call fcn.0046f560
cmp dword [esp + 0xfc], 0x10
jb case.default.0x46ebe6
push dword [esp + 0xe8]
jmp 0x46effa
mov ecx, edi
call fcn.0046c3c0
movapd xmm1, xmm0
lea ecx, [esp + 0xb8]
call fcn.0046dff0
push eax
mov ecx, ebx
mov dword [esp + 0x12c], 3
call fcn.0046f560
cmp dword [esp + 0xcc], 0x10
jb case.default.0x46ebe6
push dword [esp + 0xb8]
jmp 0x46effa
mov edx, dword [edi]
lea ecx, [esp + 0xd0]
call fcn.0046e1c0
push eax
mov ecx, ebx
mov dword [esp + 0x12c], 4
call fcn.0046f560
cmp dword [esp + 0xe4], 0x10
jb case.default.0x46ebe6
push dword [esp + 0xd0]
jmp 0x46effa
mov ecx, edi
call fcn.0046c470
mov dl, al
lea ecx, [esp + 0x100]
call fcn.0046e150
push eax
mov ecx, ebx
mov dword [esp + 0x12c], 5
call fcn.0046f560
cmp dword [esp + 0x114], 0x10
jb case.default.0x46ebe6
push dword [esp + 0x100]
jmp 0x46effa
push edi
call fcn.0046f050
jmp case.default.0x46ebe6
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.0046ca50
mov dword [esp + 0x128], 6
mov esi, dword [esp + 0x18]
cmp esi, dword [esp + 0x1c]
jne 0x46ee13
push 0x4f15fc
lea ecx, [esp + 0x5c]
call fcn.004041e5
lea eax, [esp + 0x58]
mov byte [esp + 0x128], 7
push eax
mov ecx, ebx
call fcn.0046f560
cmp dword [esp + 0x6c], 0x10
jb 0x46edf9
push dword [esp + 0x58]
call fcn.004a5083
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
jmp 0x46efbf
push 0x4f15f8
lea ecx, [esp + 0x74]
call fcn.004041e5
mov ecx, ebx
mov byte [esp + 0x128], 8
call fcn.0046f590
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x78]
lea ecx, [ebx + 0x10]
push eax
call fcn.00403d15
mov byte [esp + 0x128], 6
cmp dword [esp + 0x84], 0x10
jb 0x46ee5f
push dword [esp + 0x70]
call fcn.004a5083
add esp, 4
mov ecx, ebx
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], 0
mov byte [esp + 0x70], 0
call fcn.0046f660
cmp dword [esi + 0x14], 0x10
jb 0x46ee8b
mov eax, dword [esi]
jmp 0x46ee8d
mov eax, esi
push eax
mov ecx, edi
call fcn.0046c940
push eax
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.0046f7a0
cmp dword [esi + 0x14], 0x10
jb 0x46eeab
mov edx, dword [esi]
jmp 0x46eead
mov edx, esi
lea ecx, [esp + 0x88]
call fcn.0046e1c0
mov edi, eax
mov ecx, ebx
mov byte [esp + 0x128], 9
call fcn.0046f590
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebx + 0x10]
call fcn.00403d15
mov byte [esp + 0x128], 6
cmp dword [esp + 0x9c], 0x10
jb 0x46eef8
push dword [esp + 0x88]
call fcn.004a5083
add esp, 4
push 3
push 0x4f1600
lea ecx, [ebx + 0x10]
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], 0
mov byte [esp + 0x90], 0
call fcn.00403c73
mov edi, dword [esp + 0x24]
mov ecx, ebx
push edi
call fcn.0046eb90
add esi, 0x18
cmp esi, dword [esp + 0x1c]
je 0x46ef5a
push 1
push 0x4ea7ac
lea ecx, [ebx + 0x10]
call fcn.00403c73
push edi
mov ecx, ebx
call fcn.0046f890
mov edi, dword [esp + 0x14]
jmp 0x46ee81
push edi
mov ecx, ebx
call fcn.0046f890
mov ecx, ebx
call fcn.0046f770
push 0x4ef994
lea ecx, [esp + 0x44]
call fcn.004041e5
mov ecx, ebx
mov byte [esp + 0x128], 0xa
call fcn.0046f590
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x48]
push eax
lea ecx, [ebx + 0x10]
call fcn.00403d15
cmp dword [esp + 0x54], 0x10
jb 0x46efaa
push dword [esp + 0x40]
call fcn.004a5083
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
mov edi, dword [esp + 0x18]
test edi, edi
je case.default.0x46ebe6
mov ebx, dword [esp + 0x1c]
mov esi, edi
cmp edi, ebx
je 0x46eff9
cmp dword [esi + 0x14], 0x10
jb 0x46efe1
push dword [esi]
call fcn.004a5083
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, ebx
jne 0x46efd1
push edi
call fcn.004a5083
add esp, 4
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.004a5088
mov esp, ebp
pop ebp
ret 4