Function at 0x4050a0
Capabilities:
Check for software breakpoints
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x464cdc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x47c0f8]
mov ecx, dword [esp + 0x20]
push ebx
push ebp
push esi
mov esi, dword [eax + ecx*4]
push edi
push esi
xor ebx, ebx
xor ebp, ebp
call fcn.00408380
add esp, 4
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x4050e3
mov ebp, dword [eax + 0xb94]
cmp dword [esi + 0x208], ebx
je 0x4050f5
cmp eax, ebx
jne 0x4050f5
mov dword [esi + 0x208], ebx
mov ecx, dword [esi + 0x578]
xor eax, eax
cmp ecx, ebx
mov dword [esi + 0xba4], ebx
mov dword [esi + 0xb9c], ebx
jle 0x405133
lea ecx, [esi + 0x4d0]
test dword [ecx], 0x2000000
je 0x405125
mov dword [esi + 0xb9c], 1
mov edx, dword [esi + 0x578]
inc eax
add ecx, 4
cmp eax, edx
jl 0x405113
push 0x108
call fcn.00444aad
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
cmp edi, ebx
mov dword [esp + 0x28], ebx
je 0x40517e
push 1
mov ecx, edi
call fcn.0042fd30
mov dword [edi], 0x4668c0
mov dword [edi + 0xc], 0x10000
mov dword [edi + 0xf0], ebx
mov dword [edi + 0xf4], ebx
mov dword [edi + 0xec], ebx
mov dword [edi + 0x104], ebx
jmp 0x405180
xor edi, edi
mov dword [esi + 0xb94], edi
mov dword [edi + 0xe8], esi
mov edx, dword [esi + 0xb94]
mov eax, dword [esi + 0x2ac]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0xb94]
mov edx, dword [esi + 0x2b0]
or ebx, 0xffffffff
test eax, eax
mov dword [esp + 0x28], ebx
mov dword [ecx + 0x14], edx
je 0x4051f9
mov eax, dword [esi + 0x208]
test eax, eax
jne 0x405203
mov ecx, dword [0x47c990]
cmp ecx, 0xcc
jge 0x4051f9
mov al, byte [esi + 0x200]
cmp al, 0x20
je 0x4051f9
cmp al, 0x21
je 0x4051f9
push ecx
push 1
push esi
call fcn.0040a4a0
mov eax, dword [0x47c990]
push eax
push 0
push esi
call fcn.0040a4a0
add esp, 0x18
mov eax, dword [esi + 0x208]
test eax, eax
je 0x40520e
test ebp, ebp
je 0x40520e
mov eax, 1
jmp 0x405210
xor eax, eax
xor ebp, ebp
push ebp
push eax
push esi
call fcn.00404730
mov eax, dword [esi + 0x20c]
add esp, 0xc
cmp eax, ebx
jne 0x40522d
mov dword [esi + 0x20c], ebp
cmp dword [esi + 0x20c], 1
je 0x405245
push esi
call fcn.00408960
add esp, 4
mov dword [esi + 0x20c], eax
mov ecx, esi
call fcn.00402000
mov ecx, dword [esi + 0xb94]
mov dword [ecx + 8], eax
mov edx, dword [esi + 0xb94]
mov eax, dword [edx + 0xac]
xor edi, edi
cmp eax, ebp
jle 0x4052b5
mov ebx, 0x10110
lea esp, [esp]
mov ecx, dword [esi + 0xb94]
mov eax, dword [ecx + 0xa8]
mov eax, dword [eax + edi*4]
cmp dword [eax + 4], ebp
je 0x4052a4
cmp dword [eax + 0x4c], 1
jne 0x4052a4
cmp dword [ecx + 8], ebx
jne 0x4052a4
mov ecx, dword [eax + 0x10]
cmp ecx, 1
je 0x40529c
cmp ecx, 4
jne 0x4052a4
mov ecx, dword [eax + 0x78]
call fcn.00428450
mov ecx, dword [esi + 0xb94]
mov eax, dword [ecx + 0xac]
inc edi
cmp edi, eax
jl 0x405270
mov edx, dword [esp + 0x14]
push edx
push esi
call fcn.00404fc0
mov eax, dword [esi + 0xb94]
mov ecx, dword [esi + 0x1e0]
mov dword [eax + 0xbc], ecx
mov eax, dword [esp + 0x3c]
add esp, 8
cmp eax, ebp
je 0x4052fb
cmp dword [esi + 0x208], ebp
jne 0x4052fb
mov edx, dword [0x47c990]
mov eax, dword [esp + 0x30]
push ebp
push edx
push eax
push esi
call fcn.0040a750
add esp, 0x10
mov edi, dword [esi + 0xb94]
fld dword [esi + 0x7a8]
mov ebx, dword [edi]
call fcn.0044541c
fld dword [esi + 0x7a4]
push eax
call fcn.0044541c
push eax
mov ecx, edi
call dword [ebx + 0x34]
mov eax, dword [esi + 0x7e4]
mov edx, dword [esi + 0xb94]
xor ecx, ecx
cmp eax, ebp
sete cl
lea eax, [esp + 0x10]
push 0x466aec
push eax
mov dword [edx + 0x60], ecx
mov dword [esp + 0x18], ebp
call fcn.00422140
mov eax, dword [esi + 4]
add esp, 8
cmp eax, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
je 0x405373
push eax
call ebp
test eax, eax
je 0x405373
mov ecx, dword [esi + 4]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00422140
add esp, 8
jmp 0x405383
mov eax, dword [esp + 0x10]
push 0x10
push eax
push esi
call fcn.004453e1
add esp, 0xc
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esi + 0xb94]
call fcn.004302a0
mov ecx, dword [esi + 0xb94]
lea edx, [esi + 0x214]
push edx
call fcn.004301d0
push str.Mouse_away
push esi
call fcn.00408000
add esp, 8
test eax, eax
je 0x4053c0
push 1
push str.Mouse_away
jmp 0x405423
push str.Show
push esi
call fcn.00408000
add esp, 8
test eax, eax
je 0x4053e6
mov ecx, dword [esi + 0xb94]
push 1
push str.Show
call fcn.00432d00
jmp 0x40542c
mov ecx, dword [esi + 0x260]
xor eax, eax
test ecx, ecx
jle 0x40542c
mov edx, dword [esi + 0x25c]
lea ecx, [edx + 0x54]
jmp 0x405400
cmp dword [ecx], 0
jne 0x405418
mov edi, dword [esi + 0x260]
inc eax
add ecx, 0x12c
cmp eax, edi
jl 0x405400
jmp 0x40542c
imul eax, eax, 0x12c
push 1
add eax, edx
push eax
push esi
call fcn.004042e0
add esp, 0xc
mov ecx, dword [esi + 0xb94]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [esi + 0xbc8]
test eax, eax
je 0x4054ad
mov eax, dword [esi + 0x2ac]
cmp eax, 1
jne 0x405464
mov ecx, dword [esi + 0xb94]
mov eax, dword [ecx + 0x28]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
jmp 0x405472
cmp eax, 2
jne 0x40547e
mov edx, dword [esi + 0xb94]
fild dword [edx + 0x28]
fadd dword [esi + 0x7a4]
fstp dword [esi + 0x7a4]
mov edi, dword [esi + 0xb94]
fld dword [esi + 0x7a8]
mov ebx, dword [edi]
call fcn.0044541c
fld dword [esi + 0x7a4]
push eax
call fcn.0044541c
push eax
mov ecx, edi
call dword [ebx + 0x34]
mov dword [esi + 0xbc8], 0
mov ecx, dword [esi + 0xbcc]
test ecx, ecx
je 0x405558
test cl, 2
je 0x4054d8
mov eax, dword [esi + 0xb94]
mov eax, dword [eax + 0x28]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
jmp 0x4054e6
test cl, 1
je 0x4054f2
mov edx, dword [esi + 0xb94]
fild dword [edx + 0x28]
fsubr dword [esi + 0x7a4]
fstp dword [esi + 0x7a4]
test cl, 0x20
je 0x40550f
mov eax, dword [esi + 0xb94]
mov eax, dword [eax + 0x2c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
jmp 0x40551d
test cl, 0x10
je 0x405529
mov ecx, dword [esi + 0xb94]
fild dword [ecx + 0x2c]
fsubr dword [esi + 0x7a8]
fstp dword [esi + 0x7a8]
mov edi, dword [esi + 0xb94]
fld dword [esi + 0x7a8]
mov ebx, dword [edi]
call fcn.0044541c
fld dword [esi + 0x7a4]
push eax
call fcn.0044541c
push eax
mov ecx, edi
call dword [ebx + 0x34]
mov dword [esi + 0xbcc], 0
push 0x466ae8
lea ebx, [esi + 0x808]
push ebx
call dword [sym.imp.SHLWAPI.dll_StrTrimW]
push ebx
call ebp
test eax, eax
je 0x4057a4
push 0xec
call fcn.00444aad
mov edi, eax
add esp, 4
mov dword [esp + 0x34], edi
test edi, edi
mov ebp, 1
mov dword [esp + 0x28], ebp
je 0x4055b9
mov edx, dword [esi + 0xb94]
mov eax, dword [edx + 8]
dec eax
neg eax
sbb eax, eax
and eax, 0x1010f
inc eax
push eax
mov ecx, edi
call fcn.0042fd30
mov dword [edi], 0x466980
jmp 0x4055bb
xor edi, edi
mov dword [esi + 0xb98], edi
mov dword [edi + 0xe8], esi
mov eax, dword [esi + 0xb94]
mov ecx, dword [esi + 0xb98]
mov edx, dword [eax + 0x5c]
mov dword [ecx + 0x5c], edx
mov eax, dword [esi + 0xb94]
cmp dword [eax + 8], ebp
mov dword [esp + 0x28], 0xffffffff
jne 0x4055fb
mov eax, dword [eax + 0x74]
mov ecx, dword [esi + 0xb98]
push eax
call fcn.00430310
mov ecx, dword [esi + 0xb94]
mov eax, dword [ecx + 0x60]
mov edx, dword [esi + 0xb98]
mov dword [edx + 0x60], eax
mov ecx, dword [esi + 0xb98]
mov dword [ecx + 0x10], ebp
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0xb98]
push edx
call fcn.00430240
push 0x8c
call fcn.00444aad
mov edi, eax
add esp, 4
mov dword [esp + 0x34], edi
test edi, edi
mov dword [esp + 0x28], 2
je 0x405678
mov eax, dword [esi + 0x1e4]
cmp eax, 0xffffffff
jne 0x405655
mov eax, dword [0x47c368]
push pe_nt_image_headers32
push 0
push 0
push 2
push eax
call fcn.00407e70
push eax
push ebx
push str.Normal
mov ecx, edi
call fcn.00434580
mov ebp, eax
jmp 0x40567a
xor ebp, ebp
push 0x8c
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x1c], ebp
call fcn.00444aad
mov edi, eax
add esp, 4
mov dword [esp + 0x34], edi
test edi, edi
mov dword [esp + 0x28], 3
je 0x4056d8
mov eax, dword [esi + 0x1e8]
cmp eax, 0xffffffff
jne 0x4056b5
mov eax, dword [0x47c36c]
push pe_nt_image_headers32
push 0
push 0
push 2
push eax
call fcn.00407e70
push eax
push ebx
push str.Selected
mov ecx, edi
call fcn.00434580
mov edi, eax
jmp 0x4056da
xor edi, edi
mov ecx, dword [esi + 0xb98]
push 1
push ebp
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x24], edi
call fcn.00432ba0
mov ecx, dword [esi + 0xb98]
push edi
call fcn.00433600
xor edi, edi
mov ebp, dword [esp + edi + 0x18]
push 0x180
push 5
push 2
push 2
mov ecx, ebp
call fcn.00434490
push 1
mov ecx, ebp
call fcn.00435190
add edi, 4
cmp edi, 8
jl 0x405702
mov ecx, dword [esi + 0xb98]
push str.Normal
call fcn.00432d20
mov edi, dword [esi + 0xb94]
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x2c]
mov ebp, dword [edi + 0x20]
mov ecx, dword [esi + 0xb98]
mov ebx, dword [ecx]
lea eax, [eax + edx + 5]
push eax
mov eax, dword [edi + 0x28]
cdq
sub eax, edx
sar eax, 1
add eax, ebp
push eax
call dword [ebx + 0x34]
mov ecx, dword [esi + 0xb98]
mov edx, dword [ecx]
call dword [edx + 0x28]
mov eax, dword [esi + 0xb98]
mov eax, dword [eax + 0x94]
test eax, eax
je 0x40578f
push 0x85
push str.DXHDL
push eax
call dword [sym.imp.USER32.dll_SetPropW]
mov eax, dword [esi + 0xb74]
test eax, eax
je 0x4057a4
mov ecx, dword [esi + 0xb98]
mov edx, dword [ecx]
call dword [edx + 0x40]
lea eax, [esp + 0x10]
push eax
call fcn.004221f0
mov ecx, dword [esi + 0x578]
add esp, 4
xor eax, eax
test ecx, ecx
jle 0x4057e9
lea ecx, [esi + 0x4d0]
cmp byte [ecx], 0
js 0x4057d8
mov edx, dword [esi + 0x578]
inc eax
add ecx, 4
cmp eax, edx
jl 0x4057c3
jmp 0x4057e9
mov ecx, dword [esi + 0xb94]
push esi
push 0x404680
call fcn.00432aa0
mov eax, dword [esi + 0x784]
test eax, eax
mov ebx, 1
mov dword [esi + 0x79c], ebx
je 0x405809
push 0xffffffffffffffff
push esi
call fcn.00419220
add esp, 8
mov eax, dword [esi + 0xb8c]
cmp eax, 0xffffffff
je 0x40581e
push eax
push esi
call fcn.00418850
add esp, 8
mov eax, dword [esi + 0x578]
xor edi, edi
test eax, eax
jle 0x40584d
lea ebx, [ebx]
cmp dword [esi + 0xb8c], edi
je 0x405842
push edi
push esi
call fcn.00418850
add esp, 8
mov eax, dword [esi + 0x578]
inc edi
cmp edi, eax
jl 0x405830
cmp dword [esi + 0x794], 3
mov dword [esi + 0x7a0], ebx
jne 0x405865
push esi
call fcn.00418db0
add esp, 4
mov eax, dword [esi + 0xb74]
test eax, eax
je 0x40587a
mov ecx, dword [esi + 0xb94]
mov edx, dword [ecx]
call dword [edx + 0x40]
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret