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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
push edi
mov edi, ecx
mov dword [esp + 0x5c], edx
xor eax, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], eax
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
cmp dword [edi + 0x24], 0
mov eax, dword [edi]
mov dword [esp + 0x70], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x3c], 0
movq qword [esp + 0x78], xmm0
mov dword [esp + 0x40], eax
jne 0x4957e7
cmp byte [eax + 0x51], 0
jne 0x4957e7
call fcn.00494b30
mov esi, eax
mov dword [esp + 0xc], esi
test esi, esi
je 0x4957e7
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x44], edx
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x494f51
mov edx, esi
mov ecx, edi
call fcn.004b0030
mov dword [esp + 0x44], eax
xor edx, edx
jmp 0x494f53
xor eax, eax
mov ecx, eax
test eax, eax
je 0x494f77
nop dword [eax]
cmp byte [ecx + 8], 0x7e
jne 0x494f6c
movzx eax, byte [ecx + 9]
or edx, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x494f60
mov eax, dword [esp + 0x44]
xor ecx, ecx
test edx, edx
cmovne ecx, eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
test ecx, ecx
jne 0x494fa7
push ecx
push ecx
mov edx, esi
mov ecx, edi
call fcn.0049ae30
add esp, 8
mov dword [esp + 0x14], 0
test eax, eax
je 0x494faf
mov dword [esp + 0x14], 1
mov edx, esi
mov ecx, edi
call fcn.00490910
test eax, eax
jne 0x4957e7
cmp dword [esp + 0x60], eax
mov edx, esi
mov ecx, edi
setne al
push eax
call fcn.00494c40
add esp, 4
test eax, eax
jne 0x4957e7
mov edx, dword [esi + 0x48]
mov ecx, dword [esp + 0x40]
call fcn.004a4d00
mov ecx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
add ecx, ecx
mov edx, 9
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, edi
push 0
push dword [esi]
call fcn.0048d290
add esp, 0xc
mov dword [esp + 0x48], eax
cmp eax, 1
je 0x4957e7
mov ecx, dword [esp + 0x5c]
xor edx, edx
mov eax, dword [edi + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], edx
mov dword [ecx + 0x34], eax
inc dword [edi + 0x28]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x28]
test eax, eax
je 0x495050
nop dword [eax + eax]
inc ecx
inc edx
mov dword [edi + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x495040
mov dword [esp + 0x54], edx
cmp dword [esp + 0x68], 0
je 0x49506f
mov eax, dword [edi + 0xf4]
mov dword [esp + 0x30], eax
mov eax, dword [esi]
mov dword [esp + 0x2c], edi
mov dword [edi + 0xf4], eax
jmp 0x49507f
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x30], eax
mov esi, dword [edi + 8]
mov dword [esp + 0x64], esi
test esi, esi
jne 0x4950b0
cmp dword [edi + 0x74], esi
jne 0x49509b
mov eax, dword [edi]
test byte [eax + 0x4c], 8
jne 0x49509b
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.0046a6e0
mov esi, eax
mov dword [esp + 0x64], eax
test esi, esi
je 0x495407
cmp byte [edi + 0x12], 0
jne 0x4950bd
or dword [esi + 0x98], 0x10
push dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.00493710
add esp, 4
cmp dword [esp + 0x68], 0
je 0x4950fb
push dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, edi
push 0
push 0
push dword [ebp + 8]
call fcn.00494c90
mov eax, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x70], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x80]
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], eax
call fcn.00480140
test eax, eax
jne 0x495407
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x49516f
cmp byte [edi + 0x12], 0
jne 0x49516f
cmp dword [edi + 0x78], 0
jne 0x49516f
inc dword [edi + 0x2c]
mov edx, 0x45
mov eax, dword [edi + 0x2c]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x60], eax
call fcn.0046abb0
add esp, 8
cmp dword [esp + 0x48], 0
jne 0x495226
cmp dword [ebp + 8], 0
jne 0x495226
cmp dword [esp + 0x14], 0
jne 0x495226
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x38], 0
jne 0x495226
push dword [eax]
mov edx, dword [esp + 0x20]
mov ecx, edi
push 1
push dword [eax + 0x1c]
call fcn.0048d320
mov ecx, dword [esp + 0x18]
add esp, 0xc
test byte [ecx + 0x24], 0x80
jne 0x4951e7
mov edx, dword [esp + 0x58]
or eax, 0xffffffff
push 0xffffffffffffffff
push dword [ecx]
test edx, edx
cmovne eax, edx
mov edx, 0x89
push eax
push dword [esp + 0x28]
push dword [ecx + 0x1c]
mov ecx, esi
call fcn.0046aea0
mov ecx, dword [esp + 0x20]
add esp, 0x14
mov eax, dword [ecx + 8]
mov dword [esp + 0x60], eax
test eax, eax
je 0x49578d
mov edi, eax
nop dword [eax + eax]
push dword [esp + 0x1c]
mov edx, 0x89
mov ecx, esi
push dword [edi + 0x2c]
call fcn.0046abb0
mov edi, dword [edi + 0x14]
add esp, 8
test edi, edi
jne 0x495200
mov edi, dword [esp + 0x10]
jmp 0x49578d
test byte [esp + 0x98], 0x40
mov eax, 1
cmove eax, dword [esp + 0x14]
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 0x41c
movzx eax, ax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xc]
test byte [eax + 0x24], 0x80
jne 0x495283
inc dword [edi + 0x2c]
mov edx, 0x48
mov eax, dword [edi + 0x2c]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 1
mov dword [esp + 0x74], eax
call fcn.0046abb0
add esp, 8
jmp 0x4952d5
mov ecx, eax
call fcn.0048e500
mov dword [esp + 0x14], eax
movzx ecx, word [eax + 0x32]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x1c], ecx
movsx ecx, cx
push ecx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x50], edx
mov ecx, esi
mov edx, dword [edi + 0x28]
mov dword [edi + 0x2c], eax
mov dword [esp + 0x3c], edx
push edx
lea eax, [edx + 1]
mov edx, 0x64
mov dword [edi + 0x28], eax
call fcn.0046abb0
mov edx, dword [esp + 0x1c]
add esp, 8
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.0046ba00
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x5c]
inc eax
push eax
push dword [esp + 0x4c]
push 0
push 0
push dword [ebp + 8]
call fcn.004c23c0
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x495407
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x48], eax
movzx eax, byte [ecx + 0x2e]
mov dword [esp + 0x28], eax
cmp eax, 1
je 0x49532b
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov eax, dword [esp + 0x58]
test eax, eax
je 0x495345
push 1
push eax
mov edx, 0x52
mov ecx, esi
call fcn.0046abb0
add esp, 8
mov edx, dword [esp + 0x14]
test edx, edx
je 0x4953a5
mov eax, dword [esp + 0x1c]
xor ecx, ecx
cwde
mov dword [esp + 0x34], ecx
test eax, eax
jle 0x49539b
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x4c]
add eax, ecx
push eax
mov eax, dword [edx + 4]
mov edx, edi
movsx eax, word [eax + ecx*2]
mov ecx, esi
push eax
push dword [esp + 0x20]
call fcn.00485400
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x1c]
inc ecx
movsx eax, dx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
cmp ecx, eax
jl 0x495360
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
jmp 0x4953c8
inc dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [edi + 0x2c]
mov edx, dword [esp + 0xc]
push eax
push 0xffffffffffffffff
push dword [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.00485400
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [esp + 0x28], 0
je 0x4954ad
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
movzx eax, ax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
add eax, 2
cdq
push edx
push eax
call fcn.0044ba80
mov ecx, eax
add esp, 8
mov dword [esp + 0x50], ecx
test ecx, ecx
jne 0x49544f
mov ecx, dword [esp + 0x44]
call fcn.004c2ec0
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x495419
mov dword [eax + 0xf4], ecx
mov esi, dword [esp + 0x40]
mov ecx, esi
mov edx, dword [esp + 0x5c]
call fcn.00492f90
mov eax, dword [ebp + 8]
test eax, eax
je 0x495438
mov edx, eax
mov ecx, esi
call fcn.00481520
mov eax, dword [esp + 0x50]
test eax, eax
je 0x495449
mov edx, eax
mov ecx, esi
call fcn.0044b7f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x54]
inc eax
push eax
push 1
push ecx
call fcn.0059d550
mov eax, dword [esp + 0x60]
add esp, 0xc
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
mov byte [eax + edx + 1], 0
mov eax, dword [esp + 0x78]
test eax, eax
js 0x49547f
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x48]
test eax, eax
js 0x49548d
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x49549e
mov edx, eax
mov ecx, esi
call fcn.0046b800
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x74], eax
jmp 0x49553e
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x495519
inc dword [edi + 0x2c]
mov edx, ecx
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
movsx esi, ax
push esi
push ecx
mov ecx, dword [edi]
mov dword [esp + 0x3c], 0
call fcn.0049b900
mov ecx, dword [esp + 0x6c]
add esp, 4
mov edx, 0x5b
push eax
push dword [esp + 0x18]
push esi
push dword [esp + 0x5c]
call fcn.0046aea0
add esp, 0x14
mov edx, 0x82
push esi
push dword [esp + 0x50]
mov esi, dword [esp + 0x6c]
mov ecx, esi
push dword [esp + 0x18]
push dword [esp + 0x44]
call fcn.0046b140
add esp, 0x10
jmp 0x495535
push eax
push dword [esp + 0x70]
mov edx, 0x93
mov dword [esp + 0x3c], 1
mov ecx, esi
call fcn.0046abb0
add esp, 8
mov ecx, dword [esp + 0x44]
call fcn.004c2ec0
cmp dword [esp + 0x68], 0
jne 0x49559e
cmp dword [esp + 0x28], 2
mov dword [esp + 0x24], 0
jne 0x495564
mov edx, 0x11
mov ecx, esi
call fcn.0046aaf0
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x24]
mov ecx, edi
push eax
push dword [esp + 0x58]
push dword [esp + 0x24]
push 8
push 0x61
call fcn.0049f4c0
mov eax, dword [esp + 0x40]
add esp, 0x18
cmp eax, 2
jne 0x4955a2
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.0046b550
jmp 0x4955a6
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4955ea
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
cmp dword [ecx + 0x38], 0
jne 0x49566a
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x18]
cmp byte [eax + edx], 0
je 0x495660
mov eax, dword [esp + 0x34]
mov ecx, esi
cwde
push eax
push dword [esp + 0x14]
push dword [esp + 0x7c]
push edx
mov edx, 0x1d
call fcn.0046b140
add esp, 0x10
jmp 0x495658
cmp dword [esp + 0x14], 0
mov ecx, esi
je 0x49563d
push dword [esp + 0x38]
mov edx, 0x25
call fcn.0046ab50
mov dword [esp + 0x40], eax
add esp, 4
mov eax, dword [esp + 0xc]
mov ecx, esi
push dword [esp + 0x10]
cmp dword [eax + 0x38], 0
je 0x49562a
push 0
push dword [esp + 0x40]
mov edx, 0x59
call fcn.0046aa80
jmp 0x495655
push dword [esp + 0x3c]
mov edx, 0x7e
call fcn.0046abb0
add esp, 8
jmp 0x495658
push dword [esp + 0x10]
mov edx, 0x2a
push 0
push dword [esp + 0x74]
call fcn.0046aa80
mov dword [esp + 0x48], eax
add esp, 0xc
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x38], 0
je 0x495702
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x24], eax
test eax, eax
je 0x49568f
mov ecx, dword [esp + 0x40]
nop dword [eax]
cmp dword [eax], ecx
je 0x49568b
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x495680
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0xc]
mov ecx, edi
call fcn.004b6ff0
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
cmp dword [esp + 0x28], 1
mov byte [ecx + 0x15], 1
jne 0x4956cc
push dword [esp + 0x18]
mov edx, 0x74
mov ecx, esi
call fcn.0046ab50
add esp, 4
cmp dword [edi + 0x74], 0
jne 0x4956cc
mov byte [edi + 0x14], 0
push 0xfffffffffffffff4
push dword [esp + 0x28]
mov edx, 0xa
mov ecx, esi
push dword [esp + 0x18]
push 1
push 0
call fcn.0046aea0
mov eax, dword [esi + 0x6c]
add esp, 0x14
test eax, eax
jle 0x49573c
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x49573c
push dword [esp + 0x48]
cmp byte [edi + 0x12], 0
mov ecx, edi
push dword [esp + 0x2c]
sete al
push 0xb
movzx eax, al
push eax
push dword [esp + 0x44]
push dword [esp + 0x24]
push dword [esp + 0x88]
push edx
push dword [esp + 0x80]
mov edx, dword [esp + 0x30]
call fcn.00495800
add esp, 0x24
cmp dword [esp + 0x28], 0
mov ecx, esi
je 0x495759
mov edx, dword [esp + 0x74]
call fcn.0046b2b0
mov ecx, dword [esp + 0x44]
call fcn.004c2ec0
jmp 0x49578d
cmp dword [esp + 0x14], 0
je 0x495779
mov eax, dword [esp + 0x3c]
mov edx, 5
inc eax
push eax
push dword [esp + 0x3c]
call fcn.0046abb0
add esp, 8
jmp 0x495782
mov edx, dword [esp + 0x3c]
call fcn.0046ac20
mov edx, dword [esp + 0x3c]
mov ecx, esi
call fcn.0046b520
cmp byte [edi + 0x12], 0
jne 0x4957a6
cmp dword [edi + 0x78], 0
jne 0x4957a6
cmp dword [edi + 0x70], 0
je 0x4957a6
mov ecx, edi
call fcn.0049c000
mov eax, dword [esp + 0x58]
test eax, eax
je 0x495407
push 1
push eax
mov edx, 0x50
mov ecx, esi
call fcn.0046abb0
mov edx, 1
mov ecx, esi
call fcn.0046cb90
push 0
push 0x63c738
push 0
xor edx, edx
mov ecx, esi
call fcn.0046cc20
add esp, 0x14
jmp 0x495407
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
jmp 0x49540f