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

Disassembly:
push 0xffffffffffffffff
push 0x4e0649
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f52c]
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.0x49318d
jmp dword [edx*4 + 0x493424]
push ecx
push eax
mov ecx, esi
call fcn.004918e0
cmp dword [esi + 0x14], 0
jbe 0x4931ed
cmp edi, dword [esi + 0x14]
jbe 0x4931ad
call fcn.004b32e0
cmp dword [esi + 0x18], 8
jb 0x4931b8
mov eax, dword [ebp]
jmp 0x4931ba
mov eax, ebp
movzx ecx, word [eax + edi*2]
mov edx, dword [ebx]
call fcn.004a0d60
movzx ebx, ax
cmp edi, dword [esi + 0x14]
jbe 0x4931d2
call fcn.004b32e0
cmp dword [esi + 0x18], 8
jb 0x4931dd
mov eax, dword [ebp]
jmp 0x4931df
mov eax, ebp
mov word [eax + edi*2], bx
mov ebx, dword [esp + 0x14]
inc edi
cmp edi, dword [esi + 0x14]
jb 0x4931ad
mov ecx, dword [esi + 0x18]
cmp ecx, 8
jb 0x4931fe
mov edi, dword [ebp]
mov dword [esp + 0x14], edi
jmp 0x493204
mov dword [esp + 0x14], ebp
mov edi, ebp
test edi, edi
je 0x49322e
cmp ecx, 8
jb 0x493212
mov eax, dword [ebp]
jmp 0x493214
mov eax, ebp
cmp eax, edi
ja 0x49322e
cmp ecx, 8
jb 0x493222
mov eax, dword [ebp]
jmp 0x493224
mov eax, ebp
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp edi, edx
jbe 0x493233
call fcn.004b32e0
cmp esi, 0xfffffffc
je 0x493254
cmp dword [esi + 0x18], 8
jb 0x493243
mov eax, dword [ebp]
jmp 0x493245
mov eax, ebp
mov ecx, dword [esi + 0x14]
lea edx, [eax + ecx*2]
cmp edi, edx
jb 0x493254
call fcn.004b32e0
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x1c], edx
cmp ecx, 8
jb 0x493268
mov edi, dword [ebp]
jmp 0x49326a
mov edi, ebp
test edi, edi
je 0x493291
cmp ecx, 8
jb 0x493278
mov eax, dword [ebp]
jmp 0x49327a
mov eax, ebp
cmp eax, edi
ja 0x493291
cmp ecx, 8
jb 0x493288
mov eax, dword [ebp]
jmp 0x49328a
mov eax, ebp
lea eax, [eax + edx*2]
cmp edi, eax
jbe 0x493296
call fcn.004b32e0
cmp esi, 0xfffffffc
je 0x4932b4
cmp dword [esi + 0x18], 8
jb 0x4932a4
mov ebp, dword [ebp]
mov ecx, dword [esi + 0x14]
lea edx, [ebp + ecx*2]
cmp edi, edx
jb 0x4932b4
call fcn.004b32e0
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.00490230
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [esp + 0x8c], 1
call fcn.00401750
cmp dword [esp + 0x38], 8
mov byte [esp + 0x80], 0
jb case.default.0x49318d
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004b29fa
add esp, 4
jmp case.default.0x49318d
push ecx
push eax
lea edx, [esp + 0x48]
push edx
mov ecx, ebx
call fcn.00490230
push 0xffffffffffffffff
push edi
push eax
mov ecx, esi
mov dword [esp + 0x8c], 2
call fcn.00401750
lea ecx, [esp + 0x40]
mov byte [esp + 0x80], 0
call fcn.00490320
movzx eax, word [ebx + 0x88]
push 0xffffffffffffffff
push eax
jmp 0x4933b2
push ecx
push eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebx
call fcn.00490230
push 0xffffffffffffffff
push edi
push eax
mov ecx, esi
mov dword [esp + 0x8c], 3
call fcn.00401750
lea ecx, [esp + 0x5c]
mov byte [esp + 0x80], 0
call fcn.00490320
cmp dword [esi + 0x14], 0
jbe 0x4933af
cmp edi, dword [esi + 0x14]
jbe 0x49338f
call fcn.004b32e0
cmp dword [esi + 0x18], 8
jb 0x49339a
mov eax, dword [ebp]
jmp 0x49339c
mov eax, ebp
mov dx, word [eax + edi*2]
cmp dx, word [ebx + 0x88]
je 0x4933af
inc edi
cmp edi, dword [esi + 0x14]
jb 0x49338f
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.00401230
cmp dword [esi + 0x14], 0
jne 0x49340b
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.00401750
cmp dword [esp + 0x38], 8
jb 0x49340b
mov eax, dword [esp + 0x24]
push eax
call fcn.004b29fa
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