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

Disassembly:
push 0xffffffffffffffff
push 0x4a4139
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d1968]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
xor edi, edi
mov dword [esp + 0x18], edi
mov ebx, ecx
mov ecx, dword [esp + 0x90]
lea ebp, [esi + 4]
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x3c], esi
mov word [ebp], dx
mov edx, dword [ebx + 0x84]
mov dword [esp + 0x80], edi
mov dword [esp + 0x18], 1
cmp edx, 3
ja case.default.0x46ee8d
jmp dword [edx*4 + 0x46f124]
push ecx
push eax
mov ecx, esi
call fcn.0046cc80
cmp dword [esi + 0x14], 0
jbe 0x46eeed
cmp edi, dword [esi + 0x14]
jbe 0x46eead
call fcn.0044a2c1
cmp dword [esi + 0x18], 8
jb 0x46eeb8
mov eax, dword [ebp]
jmp 0x46eeba
mov eax, ebp
movzx ecx, word [eax + edi*2]
mov edx, dword [ebx]
call fcn.00480780
movzx ebx, ax
cmp edi, dword [esi + 0x14]
jbe 0x46eed2
call fcn.0044a2c1
cmp dword [esi + 0x18], 8
jb 0x46eedd
mov eax, dword [ebp]
jmp 0x46eedf
mov eax, ebp
mov word [eax + edi*2], bx
mov ebx, dword [esp + 0x14]
inc edi
cmp edi, dword [esi + 0x14]
jb 0x46eead
mov ecx, dword [esi + 0x18]
cmp ecx, 8
jb 0x46eefe
mov edi, dword [ebp]
mov dword [esp + 0x14], edi
jmp 0x46ef04
mov dword [esp + 0x14], ebp
mov edi, ebp
test edi, edi
je 0x46ef2e
cmp ecx, 8
jb 0x46ef12
mov eax, dword [ebp]
jmp 0x46ef14
mov eax, ebp
cmp eax, edi
ja 0x46ef2e
cmp ecx, 8
jb 0x46ef22
mov eax, dword [ebp]
jmp 0x46ef24
mov eax, ebp
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp edi, edx
jbe 0x46ef33
call fcn.0044a2c1
cmp esi, 0xfffffffc
je 0x46ef54
cmp dword [esi + 0x18], 8
jb 0x46ef43
mov eax, dword [ebp]
jmp 0x46ef45
mov eax, ebp
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp edi, edx
jb 0x46ef54
call fcn.0044a2c1
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x1c], edx
cmp ecx, 8
jb 0x46ef68
mov edi, dword [ebp]
jmp 0x46ef6a
mov edi, ebp
test edi, edi
je 0x46ef91
cmp ecx, 8
jb 0x46ef78
mov eax, dword [ebp]
jmp 0x46ef7a
mov eax, ebp
cmp eax, edi
ja 0x46ef91
cmp ecx, 8
jb 0x46ef88
mov eax, dword [ebp]
jmp 0x46ef8a
mov eax, ebp
lea eax, [eax + edx*2]
cmp edi, eax
jbe 0x46ef96
call fcn.0044a2c1
cmp esi, 0xfffffffc
je 0x46efb4
cmp dword [esi + 0x18], 8
jb 0x46efa4
mov ebp, dword [ebp]
mov ecx, dword [esi + 0x14]
lea edx, [ebp + ecx*2]
cmp edi, edx
jb 0x46efb4
call fcn.0044a2c1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + ecx*2]
push edx
push edi
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.0046ae10
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [esp + 0x8c], 1
call fcn.004071c0
cmp dword [esp + 0x38], 8
mov byte [esp + 0x80], 0
jb case.default.0x46ee8d
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00423123
add esp, 4
jmp case.default.0x46ee8d
push ecx
push eax
lea edx, [esp + 0x48]
push edx
mov ecx, ebx
call fcn.0046ae10
push 0xffffffffffffffff
push edi
push eax
mov ecx, esi
mov dword [esp + 0x8c], 2
call fcn.004071c0
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], 0
call fcn.00402ef0
movzx eax, word [ebx + 0x88]
push 0xffffffffffffffff
push eax
jmp 0x46f0b2
push ecx
push eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebx
call fcn.0046ae10
push 0xffffffffffffffff
push edi
push eax
mov ecx, esi
mov dword [esp + 0x8c], 3
call fcn.004071c0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x80], 0
call fcn.00402ef0
cmp dword [esi + 0x14], 0
jbe 0x46f0af
cmp edi, dword [esi + 0x14]
jbe 0x46f08f
call fcn.0044a2c1
cmp dword [esi + 0x18], 8
jb 0x46f09a
mov eax, dword [ebp]
jmp 0x46f09c
mov eax, ebp
mov dx, word [eax + edi*2]
cmp dx, word [ebx + 0x88]
je 0x46f0af
inc edi
cmp edi, dword [esi + 0x14]
jb 0x46f08f
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.00406b90
cmp dword [esi + 0x14], 0
jne 0x46f10b
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x38], 7
mov word [esp + 0x24], ax
mov dword [esp + 0x34], 1
mov word [esp + 0x26], cx
push 0xffffffffffffffff
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, esi
mov dword [esp + 0x8c], 4
call fcn.004071c0
cmp dword [esp + 0x38], 8
jb 0x46f10b
mov eax, dword [esp + 0x24]
push eax
call fcn.00423123
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0xc