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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f9e99
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
mov eax, dword [esi + 0x98]
lea edi, [esi + 0x94]
cmp eax, ebp
je 0x494b30
mov ecx, dword [edi + 8]
sub ecx, eax
test ecx, 0xfffffff8
jne 0x494b64
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x34]
push edx
mov edx, dword [esi + 0x30]
push eax
push ecx
push edx
push edi
call fcn.00495280
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x98]
add esp, 0x14
cmp ecx, eax
je 0x494b64
push ebp
push eax
push ecx
call fcn.004966e0
add esp, 0xc
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x34]
mov ebx, eax
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0x30]
push ecx
push edx
push eax
mov dword [esp + 0x24], ebx
call fcn.00468350
mov edx, dword [esi + 0xa4]
mov ecx, eax
mov eax, ebx
add esp, 0x10
sub eax, edx
xor edx, edx
imul eax, ecx
div dword [esi + 0x20]
mov ebx, eax
cmp ebx, ecx
jbe 0x494ba4
mov ebx, ecx
mov ecx, dword [esp + 0x14]
mov dl, byte [esp + 0x13]
mov dword [esi + 0xa4], ecx
mov byte [esp + 0x74], dl
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x134], ebp
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x494c1e
mov ecx, dword [edi + 8]
sub ecx, eax
test ecx, 0xfffffff8
je 0x494c1e
cmp ebx, ebp
je 0x494c1e
mov edx, dword [esi + 0x9c]
sub edx, 8
mov eax, dword [edx]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [edx + 4]
lea edx, [esp + 0x28]
mov dword [esp + 0x2c], ecx
push edx
push eax
lea ecx, [esp + 0x7c]
call fcn.004960f0
mov ecx, dword [edi + 8]
sub ecx, 8
push ecx
mov ecx, edi
call fcn.004962a0
dec ebx
jmp 0x494bcc
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
push 0xa
lea ecx, [esp + 0xf0]
call fcn.0048fc70
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe8], ebx
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
push 0xa
lea ecx, [esp + 0xbc]
mov byte [esp + 0x138], 1
call fcn.0048fc70
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], ebx
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
push 0xa
lea ecx, [esp + 0x114]
mov byte [esp + 0x138], 2
call fcn.0048fc70
mov dword [esp + 0x108], edi
mov dword [esp + 0x10c], ebx
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
push 0xa
lea ecx, [esp + 0x5c]
mov byte [esp + 0x138], 3
call fcn.0048fc70
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebx
lea edx, [esp + 0x50]
lea eax, [esp + 0x74]
push edx
push eax
mov byte [esp + 0x13c], 4
call fcn.00495490
mov cl, byte [esp + 0x1b]
xor edx, edx
mov byte [esp + 0x20], cl
xor ecx, ecx
add esp, 8
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebp
mov edi, dword [esi + 0x88]
mov eax, dword [esi + 0x8c]
cmp edi, eax
mov byte [esp + 0x134], 5
je 0x494d31
mov edx, dword [edi + 8]
mov ebx, dword [esi + 0x24]
mov eax, dword [esp + 0x14]
add edx, ebx
cmp eax, edx
jae 0x494d20
push edi
push 1
push ecx
lea ecx, [esp + 0x24]
call fcn.004962e0
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x8c]
add edi, 0x10
cmp edi, eax
jne 0x494cff
mov edx, dword [esp + 0x1c]
lea ebx, [esi + 0x84]
lea eax, [esp + 0x18]
cmp ebx, eax
je 0x494e4a
cmp edx, ebp
jne 0x494d4b
xor edi, edi
jmp 0x494d52
sub ecx, edx
sar ecx, 4
mov edi, ecx
mov ecx, ebx
call fcn.0040c0f0
cmp edi, eax
ja 0x494d98
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.00496620
mov ecx, dword [ebx + 8]
add esp, 0xc
push ecx
push eax
mov ecx, ebx
call fcn.0042ff70
lea ecx, [esp + 0x18]
call fcn.0040c0f0
mov ecx, dword [ebx + 4]
shl eax, 4
add eax, ecx
mov dword [ebx + 8], eax
jmp 0x494e4a
mov ecx, ebx
call fcn.00496060
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.0040c0f0
cmp eax, edi
ja 0x494df9
mov ebp, dword [esp + 0x1c]
mov ecx, ebx
call fcn.0040c0f0
mov edx, dword [ebx + 4]
mov edi, eax
mov eax, dword [esp + 0x1c]
push edx
shl edi, 4
add edi, ebp
push edi
push eax
call fcn.00496620
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x2c]
add esp, 0xc
push ecx
push edx
push edi
mov ecx, ebx
call fcn.00496080
lea ecx, [esp + 0x18]
call fcn.0040c0f0
mov ecx, dword [ebx + 4]
shl eax, 4
add eax, ecx
mov dword [ebx + 8], eax
jmp 0x494e4a
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
push eax
push ecx
mov ecx, ebx
call fcn.0042ff70
mov eax, dword [ebx + 4]
push eax
call fcn.004dae3e
add esp, 4
lea ecx, [esp + 0x18]
call fcn.0040c0f0
cmp eax, ebp
jge 0x494e23
xor eax, eax
shl eax, 4
push eax
call fcn.004dae15
mov edx, dword [esp + 0x24]
add esp, 4
mov dword [ebx + 4], eax
mov ecx, ebx
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.00496080
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov edi, dword [esi + 0x88]
mov eax, dword [esi + 0x8c]
cmp edi, eax
je 0x494e7c
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0xc]
cmp eax, ecx
ja 0x494e6f
push edi
lea ecx, [esp + 0x54]
call fcn.004697d0
mov eax, dword [esi + 0x8c]
add edi, 0x10
cmp edi, eax
jne 0x494e5a
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.user32.dll_GetCursorPos]
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0xc]
cdq
idiv ecx
imul eax, ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
cdq
idiv ecx
imul eax, ecx
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x54]
call fcn.004697d0
lea ecx, [esp + 0xe4]
push ecx
lea ecx, [esp + 0x54]
call fcn.004699f0
mov edi, dword [esi + 0xc]
mov ebp, dword [esi + 0x10]
push 0xa
lea ecx, [esp + 0x98]
call fcn.0048fc70
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], ebp
mov dl, byte [esp + 0x13]
xor ebp, ebp
mov byte [esp + 0x38], dl
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov eax, dword [esp + 0x64]
mov byte [esp + 0x134], 7
cmp eax, ebp
je 0x495038
mov edi, dword [esp + 0x174]
mov ebp, dword [esp + 0x170]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.004954d0
mov edx, dword [esp + 0x174]
mov eax, dword [esp + 0x170]
mov ecx, dword [esp + 0x16c]
add esp, 8
push edi
push ebp
push edx
mov edx, dword [esp + 0x164]
push eax
mov eax, dword [esp + 0x170]
push ecx
mov ecx, dword [esp + 0x170]
push edx
mov edx, dword [esp + 0x16c]
push eax
mov eax, dword [esp + 0x164]
push ecx
mov ecx, dword [esp + 0x164]
push edx
mov edx, dword [esp + 0x164]
push eax
push ecx
lea eax, [esp + 0x64]
push edx
push eax
mov ecx, esi
call fcn.004946b0
lea ecx, [esp + 0x8c]
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.00495490
add esp, 8
lea eax, [esp + 0x50]
lea ecx, [esp + 0xe4]
push eax
call fcn.00469900
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0xb4]
call fcn.00469900
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x50]
push edx
call fcn.004699f0
lea eax, [esp + 0x50]
lea ecx, [esp + 0x108]
push eax
call fcn.00469900
lea ecx, [esp + 0x50]
call fcn.00469b70
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x54]
call fcn.00469900
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x30]
push edx
push eax
lea ecx, [esp + 0x58]
call fcn.00469c60
lea ecx, [esp + 0xe4]
push ecx
lea ecx, [esp + 0x54]
call fcn.004699f0
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x494f22
xor ebp, ebp
mov edx, dword [esp + 0x13c]
lea eax, [esp + 0xb0]
push edx
push eax
call fcn.004954d0
mov edi, dword [esi + 0x88]
mov eax, dword [esi + 0x8c]
add esp, 8
cmp edi, eax
je 0x49509a
push edi
lea ecx, [esp + 0xb4]
call fcn.00469770
test eax, eax
je 0x49507d
mov eax, dword [esp + 0x14]
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
jmp 0x49508d
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x14]
sub ecx, eax
shr ecx, 1
add ecx, eax
mov dword [edi + 0xc], ecx
mov eax, dword [esi + 0x8c]
add edi, 0x10
cmp edi, eax
jne 0x495060
lea ecx, [esp + 0x8c]
call fcn.00469b70
mov edi, dword [esi + 0x88]
mov eax, dword [esi + 0x8c]
cmp edi, eax
je 0x4950d0
push edi
lea ecx, [esp + 0x90]
call fcn.004697d0
mov eax, dword [esi + 0x8c]
add edi, 0x10
cmp edi, eax
jne 0x4950b6
lea edx, [esp + 0x8c]
lea ecx, [esp + 0xb0]
push edx
call fcn.004699f0
lea eax, [esp + 0xb8]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xc4]
neg eax
sbb eax, eax
mov dword [esp + 0x48], eax
cmp eax, ebp
je 0x495166
lea ecx, [esp + 0x28]
lea edx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.004362b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xd4]
mov dword [esp + 0xd4], ecx
mov ecx, dword [ebx + 8]
push eax
push 1
push ecx
mov ecx, ebx
mov dword [esp + 0xe4], edx
call fcn.004962e0
mov eax, dword [esp + 0x48]
jmp 0x4950fe
mov edx, dword [esp + 0x3c]
push edx
call fcn.004dae3e
lea eax, [esp + 0x98]
mov esi, 0x50354c
add esp, 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x94], esi
lea ecx, [esp + 0x94]
mov byte [esp + 0x134], 8
call fcn.00496690
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004dae3e
lea edx, [esp + 0x5c]
add esp, 4
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x58], esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x134], 9
call fcn.00496690
lea eax, [esp + 0x110]
mov dword [esp + 0x110], esi
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x110]
mov byte [esp + 0x134], 0xa
call fcn.00496690
lea ecx, [esp + 0xb8]
mov dword [esp + 0xb8], esi
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0xb8]
mov byte [esp + 0x134], 0xb
call fcn.00496690
lea edx, [esp + 0xec]
mov dword [esp + 0xec], esi
mov dword [esp + 0x28], edx
lea ecx, [esp + 0xec]
mov byte [esp + 0x134], 0xc
call fcn.00496690
mov eax, dword [esp + 0x78]
push eax
call fcn.004dae3e
mov ecx, dword [esp + 0x130]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret 0x3c