Function at 0x420ca0
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43388e
mov eax, dword fs:[0]
push eax
sub esp, 0x984
mov eax, dword [0x43d064]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x974], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x978], eax
cmp dword [ebp - 0x978], 0x101
ja 0x420d29
cmp dword [ebp - 0x978], 0x101
je 0x42203d
mov ecx, dword [ebp - 0x978]
sub ecx, 2
mov dword [ebp - 0x978], ecx
cmp dword [ebp - 0x978], 0xa3
ja case.0x420dd7.6
mov edx, dword [ebp - 0x978]
movzx eax, byte [edx + 0x4220d8]
jmp dword [eax*4 + 0x4220a0]
cmp dword [ebp - 0x978], 0x464
ja 0x420dab
cmp dword [ebp - 0x978], 0x464
je 0x4211ff
cmp dword [ebp - 0x978], 0x216
ja 0x420d86
cmp dword [ebp - 0x978], 0x216
je 0x422007
cmp dword [ebp - 0x978], 0x111
je 0x420eae
cmp dword [ebp - 0x978], 0x113
je 0x421fd2
jmp case.0x420dd7.6
cmp dword [ebp - 0x978], 0x2a0
je 0x421bab
cmp dword [ebp - 0x978], 0x2a2
je 0x421b1b
jmp case.0x420dd7.6
mov ecx, dword [ebp - 0x978]
sub ecx, 0x466
mov dword [ebp - 0x978], ecx
cmp dword [ebp - 0x978], 0x14
ja case.0x420dd7.6
mov edx, dword [ebp - 0x978]
movzx eax, byte [edx + 0x4221a4]
jmp dword [eax*4 + 0x42217c]
mov eax, 2
jmp 0x422082
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x974]
mov dword [ecx + 0x3e44], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
sub eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x974]
mov dword [edx + 0x3e40], eax
mov eax, dword [ebp - 0x974]
mov ecx, dword [eax + 0x3e40]
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x974]
mov dword [edx + 0x3e48], ecx
push 0xc
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x974]
add eax, dword [ecx + 0x3e44]
mov edx, dword [ebp - 0x974]
mov dword [edx + 0x3e4c], eax
mov eax, dword [ebp - 0x974]
add eax, 0x3e40
push eax
mov ecx, dword [ebp - 0x974]
add ecx, 0x40b4
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x974]
add eax, 0x40b4
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x42206c
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x97c], edx
cmp dword [ebp - 0x97c], 0x271e
jg 0x420f07
cmp dword [ebp - 0x97c], 0x271a
jge 0x421089
mov eax, dword [ebp - 0x97c]
sub eax, 0x2710
mov dword [ebp - 0x97c], eax
cmp dword [ebp - 0x97c], 6
ja case.0x420f00.1
mov ecx, dword [ebp - 0x97c]
jmp dword [ecx*4 + 0x4221bc]
cmp dword [ebp - 0x97c], 0x27d8
jg 0x420f40
cmp dword [ebp - 0x97c], 0x27d8
je 0x420f61
cmp dword [ebp - 0x97c], 0x271f
je 0x421123
cmp dword [ebp - 0x97c], 0x2774
je 0x420f51
jmp case.0x420f00.1
cmp dword [ebp - 0x97c], 0x283c
je 0x420f71
jmp case.0x420f00.1
mov ecx, dword [ebp - 0x974]
call fcn.00417840
jmp 0x4211fa
mov ecx, dword [ebp - 0x974]
call fcn.00417790
jmp 0x4211fa
mov ecx, dword [ebp - 0x974]
call fcn.004175e0
jmp 0x4211fa
push 0x208
push 0
lea edx, [ebp - 0x22c]
push edx
call fcn.00401f60
add esp, 0xc
push 0x104
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jbe 0x420fba
lea ecx, [ebp - 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 1
lea edx, [ebp - 0x22c]
push edx
push 0
push str.http:__www.kyoceramita.com_
push 0x437c00
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4211fa
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x974]
add ecx, 0x45f8
call fcn.0042dba0
xor ecx, ecx
cmp dword [ebp - 0x230], 0
sete cl
mov dword [ebp - 0x230], ecx
lea edx, [ebp - 0x230]
push edx
mov ecx, dword [ebp - 0x974]
add ecx, 0x45f8
call fcn.004010b0
mov eax, dword [ebp - 0x974]
mov ecx, dword [eax + 0x6e4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x421075
mov edx, dword [ebp - 0x974]
mov eax, dword [edx + 0x6e4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x43
push 0
push 0
push 0
push 0
xor ecx, ecx
cmp dword [ebp - 0x230], 0
setne cl
add ecx, 0xfffffffe
push ecx
mov edx, dword [ebp - 0x974]
mov eax, dword [edx + 0x6e4]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x974]
call fcn.00417590
jmp 0x4211fa
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movzx eax, dx
sub eax, 0x271a
imul eax, eax, 0x14
add eax, 0x14
mov dword [ebp - 0x234], eax
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp - 0x974]
add ecx, 0x45f8
call fcn.004010d0
mov edx, dword [ebp - 0x974]
mov eax, dword [edx + 0x6e4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42110f
mov eax, dword [ebp - 0x234]
imul eax, eax, 0xff
xor edx, edx
mov ecx, 0x64
div ecx
mov byte [ebp - 0x235], al
push 3
movzx edx, byte [ebp - 0x235]
push edx
push 0
mov eax, dword [ebp - 0x974]
mov ecx, dword [eax + 0x6e4]
push ecx
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x974]
call fcn.00417590
jmp 0x4211fa
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp - 0x974]
add ecx, 0x45f8
call fcn.0042dc80
xor ecx, ecx
cmp dword [ebp - 0x23c], 0
sete cl
mov dword [ebp - 0x23c], ecx
lea edx, [ebp - 0x23c]
push edx
mov ecx, dword [ebp - 0x974]
add ecx, 0x45f8
call fcn.00401090
mov ecx, dword [ebp - 0x974]
call fcn.00417b10
mov eax, dword [ebp - 0x974]
mov ecx, dword [eax + 0x6e4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x421196
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x974]
call fcn.00417ee0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x974]
call fcn.00417590
jmp 0x4211fa
mov ecx, dword [ebp - 0x974]
call fcn.00420bf0
jmp 0x4211fa
mov ecx, dword [ebp - 0x974]
call fcn.00416810
test eax, eax
jne 0x4211d5
push 0
push 0
push 0x10
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4211dd
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x4211fa
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x422082
jmp 0x42206c
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x980], ecx
mov edx, dword [ebp - 0x980]
sub edx, 0x2716
mov dword [ebp - 0x980], edx
cmp dword [ebp - 0x980], 9
ja case.0x42123c.1
mov eax, dword [ebp - 0x980]
movzx ecx, byte [eax + 0x4221e8]
jmp dword [ecx*4 + 0x4221d8]
lea edx, [ebp - 0x240]
push edx
mov ecx, dword [ebp - 0x974]
add ecx, 0x45f8
call fcn.0042dba0
cmp dword [ebp - 0x240], 0
je 0x4212aa
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [ebp - 0x974]
cmp eax, dword [ecx + 0x6e4]
je 0x4212aa
mov edx, dword [ebp - 0x974]
mov eax, dword [edx + 0x6e4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x23
push 0
push 0
push 0
push 0
push 1
mov ecx, dword [ebp - 0x974]
mov edx, dword [ecx + 0x6e4]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x974]
mov ecx, dword [eax + 0x6e4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x421301
mov edx, dword [ebp - 0x974]
mov eax, dword [edx + 0x6e4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0x43
push 0
push 0
push 0
push 0
xor ecx, ecx
cmp dword [ebp - 0x240], 0
setne cl
add ecx, 0xfffffffe
push ecx
mov edx, dword [ebp - 0x974]
mov eax, dword [edx + 0x6e4]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp case.0x42123c.1
mov ecx, dword [ebp - 0x974]
mov edx, dword [ecx + 0x6e4]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x421359
push 3
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movzx eax, ax
sub eax, 0x271a
imul eax, eax, 0x14
add eax, 0x14
imul eax, eax, 0xff
cdq
mov ecx, 0x64
idiv ecx
push eax
push 0
mov edx, dword [ebp - 0x974]
mov eax, dword [edx + 0x6e4]
push eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
jmp case.0x42123c.1
mov ecx, dword [ebp - 0x974]
call fcn.00417b10
mov ecx, dword [ebp - 0x974]
mov edx, dword [ecx + 0x6e4]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je case.0x42123c.1
push 0
push 0
mov eax, dword [ebp - 0x974]
mov ecx, dword [eax + 0x6e4]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x42206c
mov ecx, dword [ebp - 0x974]
call fcn.004175e0
jmp 0x42206c
mov ecx, dword [ebp - 0x974]
call fcn.00416930
mov ecx, dword [ebp - 0x974]
call fcn.004168b0
mov ecx, dword [ebp - 0x974]
call fcn.00417dc0
jmp 0x42206c
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x974]
call fcn.00418520
jmp 0x42206c
mov eax, dword [ebp - 0x974]
cmp dword [eax + 0xb10], 0
je 0x421409
mov ecx, dword [ebp - 0x974]
mov edx, dword [ecx + 0xb10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp - 0x974]
add ecx, 8
push ecx
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x421446
mov eax, dword [ebp - 0x974]
mov dword [eax + 0x4a2c], 1
mov ecx, dword [ebp - 0x974]
call fcn.00417790
jmp 0x421450
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, 1
jmp 0x422082
mov ecx, dword [ebp - 0x974]
call fcn.004171d0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x42206c
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x984], edx
cmp dword [ebp - 0x984], 0x202
jl 0x4214eb
cmp dword [ebp - 0x984], 0x203
jle 0x4214a1
cmp dword [ebp - 0x984], 0x205
je 0x4214dc
jmp 0x4214eb
mov eax, dword [ebp - 0x974]
mov ecx, dword [eax + 0x6e4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4214c5
mov ecx, dword [ebp - 0x974]
call fcn.00417790
jmp 0x4214da
mov ecx, dword [ebp - 0x974]
call fcn.00417840
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x4214eb
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x974]
call fcn.00418520
jmp 0x42206c
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x988], edx
cmp dword [ebp - 0x988], 0xfffffdee
je 0x42152a
cmp dword [ebp - 0x988], 0xfffffdf6
je 0x4215aa
cmp dword [ebp - 0x988], 0xfffffff4
je 0x4216f0
jmp 0x4217f8
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x244]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x98c], edx
cmp dword [ebp - 0x98c], 1
je 0x421556
cmp dword [ebp - 0x98c], 2
je 0x42156c
jmp 0x4215a5
mov eax, dword [ebp - 0x974]
add eax, 0x3714
mov ecx, dword [ebp - 0x244]
mov dword [ecx + 0xc], eax
jmp 0x4215a5
mov edx, dword [ebp - 0x974]
add edx, 0x3be0
mov eax, dword [ebp - 0x244]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x974]
cmp dword [ecx + 0x40a8], 0
je 0x4215a5
mov edx, dword [ebp - 0x974]
add edx, 0x3e50
mov eax, dword [ebp - 0x244]
mov dword [eax + 0xc], edx
jmp 0x4217f8
mov ecx, dword [ebp - 0x974]
call fcn.004168b0
mov ecx, dword [ebp - 0x974]
cmp dword [ecx + 0x40a8], 0
je 0x4215d4
mov edx, dword [ebp - 0x974]
mov dword [edx + 0x40a8], 0
mov eax, dword [ebp - 0x974]
cmp dword [eax + 0x4a14], 0
je 0x421613
mov ecx, dword [ebp - 0x974]
mov edx, dword [ecx + 0x4a14]
push edx
mov eax, dword [ebp - 0x974]
mov ecx, dword [eax + 0x6e4]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [ebp - 0x974]
mov dword [edx + 0x4a14], 0
mov eax, dword [ebp - 0x974]
cmp dword [eax + 0x4a18], 0
je 0x4216ac
mov ecx, dword [ebp - 0x974]
mov edx, dword [ecx + 0x4a18]
push edx
mov eax, dword [ebp - 0x974]
mov ecx, dword [eax + 0x6e4]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [ebp - 0x974]
mov dword [edx + 0x4a18], 0
mov ecx, dword [ebp - 0x974]
call fcn.00417b10
test eax, eax
jl 0x4216ac
mov eax, dword [ebp - 0x974]
cmp dword [eax + 0x299c], 0
jne 0x4216ac
mov ecx, dword [ebp - 0x974]
mov dword [ecx + 0x29a0], 0
push 0
push 0x32
push 0x88
mov edx, dword [ebp - 0x974]
mov eax, dword [edx + 0x6e4]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 0x974]
mov dword [ecx + 0x299c], eax
mov edx, dword [ebp - 0x974]
cmp dword [edx + 0x397c], 0
je 0x4216eb
mov eax, dword [ebp - 0x974]
mov ecx, dword [eax + 0x397c]
push ecx
mov edx, dword [ebp - 0x974]
mov eax, dword [edx + 0x6e4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp - 0x974]
mov dword [ecx + 0x397c], 0
jmp 0x4217f8
mov edx, dword [ebp - 0x974]
cmp dword [edx + 0x40a8], 0
je 0x4217f8
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
cmp dword [ecx + 4], 2
jne 0x4217f8
mov edx, dword [ebp - 0x248]
cmp dword [edx + 0xc], 1
jne 0x4217b3
mov eax, dword [ebp - 0x974]
cmp dword [eax + 0x40a8], 0
je 0x4217aa
mov dword [ebp - 0x24c], 0xf
push 0x3c
push 0
lea ecx, [ebp - 0x288]
push ecx
call fcn.00401f60
add esp, 0xc
lea edx, [ebp - 0x288]
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test eax, eax
je 0x42177f
mov edx, dword [ebp - 0x288]
mov dword [ebp - 0x24c], edx
mov eax, dword [ebp - 0x974]
mov ecx, dword [eax + 0x29c4]
imul ecx, dword [ebp - 0x24c]
add ecx, 0x24
mov edx, dword [ebp - 0x248]
mov dword [edx + 0x20], ecx
mov eax, 0x10
jmp 0x422082
xor eax, eax
jmp 0x422082
mov eax, dword [ebp - 0x248]
cmp dword [eax + 0xc], 2
jne 0x4217f8
mov ecx, dword [ebp - 0x248]
add ecx, 0x14
sub esp, 0x10
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x974]
call fcn.00419f80
jmp 0x42206c
mov ecx, dword [ebp - 0x974]
call fcn.00416790
jmp 0x42206c
mov ecx, dword [ebp - 0x974]
call fcn.00416760
mov ecx, dword [ebp - 0x974]
cmp dword [ecx + 0xb20], 0
je 0x421847
mov edx, dword [ebp - 0x974]
mov eax, dword [edx + 0xb20]
push eax
mov ecx, dword [ebp - 0x974]
mov edx, dword [ecx + 0x6e4]
push edx
call dword [sym.imp.USER32.dll_KillTimer]
jmp 0x42206c
mov ecx, dword [ebp - 0x974]
call fcn.00416790
cmp dword [ebp + 0x14], 1
jne 0x421909
mov eax, dword [ebp - 0x974]
cmp dword [eax + 0xb08], 0
je 0x4218de
mov ecx, dword [ebp - 0x974]
mov ecx, dword [ecx + 0xb08]
call fcn.004144d0
mov edx, dword [ebp - 0x974]
mov eax, dword [edx + 0xb08]
mov dword [ebp - 0x970], eax
mov ecx, dword [ebp - 0x970]
mov dword [ebp - 0x96c], ecx
cmp dword [ebp - 0x96c], 0
je 0x4218c4
push 1
mov edx, dword [ebp - 0x96c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x96c]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x990], eax
jmp 0x4218ce
mov dword [ebp - 0x990], 0
mov eax, dword [ebp - 0x974]
mov dword [eax + 0xb08], 0
push 0
push 0x1388
push 0x87
mov ecx, dword [ebp - 0x974]
mov edx, dword [ecx + 0x6e4]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 0x974]
mov dword [ecx + 0xb20], eax
push 0x12c
mov edx, dword [ebp - 0x974]
add edx, 0x3264
push edx
push 0x437c0c
mov ecx, dword [ebp - 0x974]
add ecx, 0x40c8
call fcn.0042e720
mov eax, dword [ebp - 0x974]
mov dword [eax + 0x14], 4
push 1
push 0x80
mov ecx, dword [ebp - 0x974]
add ecx, 0x20
push ecx
mov ecx, dword [ebp - 0x974]
call fcn.00418240
mov edx, dword [ebp - 0x974]
add edx, 8
push edx
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov eax, dword [ebp - 0x974]
mov dword [eax + 0xb28], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x974]
sub eax, dword [ecx + 0xb24]
cmp eax, 0xea60
jbe 0x421a0d
mov edx, dword [ebp - 0x974]
cmp dword [edx + 0xb24], 0
jbe 0x421a0d
mov eax, dword [ebp - 0x974]
mov ecx, dword [eax + 0x6e4]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, 1
jne 0x421a0d
push 0x12c
mov edx, dword [ebp - 0x974]
add edx, 0x3264
push edx
push 0x437c3c
mov ecx, dword [ebp - 0x974]
add ecx, 0x40c8
call fcn.0042e720
push 0x437c6c
push 0x437c98
push 1
push 6
mov ecx, dword [ebp - 0x974]
call fcn.0041d620
mov eax, dword [ebp - 0x974]
mov dword [eax + 0xb24], 0
jmp 0x42206c
mov ecx, dword [ebp - 0x974]
cmp dword [ecx + 0xb28], 0
jne 0x421a6c
mov edx, dword [ebp - 0x974]
mov dword [edx + 0x14], 4
push 0
push 0x80
mov eax, dword [ebp - 0x974]
add eax, 0x20
push eax
mov ecx, dword [ebp - 0x974]
call fcn.00418240
mov ecx, dword [ebp - 0x974]
add ecx, 8
push ecx
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov edx, dword [ebp - 0x974]
mov dword [edx + 0xb28], 1
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x974]
call fcn.004207d0
jmp 0x42206c
jmp 0x42206c
cmp dword [ebp + 0x10], 0x20
je 0x421acf
mov edx, dword [ebp - 0x974]
mov eax, dword [edx + 0x4a10]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.00422430
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x4a4]
call fcn.00422350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4a4]
call fcn.00422410
jmp 0x42206c
push 0
mov edx, dword [ebp - 0x974]
add edx, 0x3988
push edx
mov eax, dword [ebp - 0x974]
mov ecx, dword [eax + 0x3e38]
push ecx
mov ecx, dword [ebp - 0x974]
call fcn.00417970
jmp 0x42206c
mov ecx, dword [ebp - 0x974]
call fcn.004168b0
mov ecx, dword [ebp - 0x974]
call fcn.00417dc0
jmp 0x42206c
mov ecx, dword [ebp - 0x974]
call fcn.00416930
mov edx, dword [ebp - 0x974]
cmp dword [edx + 0x3e3c], 0
je 0x421b5e
mov eax, dword [ebp - 0x974]
mov dword [eax + 0x3e3c], 0
push 0
mov ecx, dword [ebp - 0x974]
add ecx, 0x3e40
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 0x974]
cmp dword [eax + 0x40b0], 0
je 0x421b96
mov ecx, dword [ebp - 0x974]
mov dword [ecx + 0x40b0], 0
push 0
mov edx, dword [ebp - 0x974]
add edx, 0x40b4
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0x974]
mov dword [ecx + 0x3260], 0
jmp 0x42206c
mov ecx, dword [ebp - 0x974]
call fcn.00418e80
jmp 0x42206c
mov edx, dword [ebp - 0x974]
cmp dword [edx + 0x3984], 0
jne 0x421bed
mov eax, dword [ebp - 0x974]
mov dword [eax + 0x3970], 0x13
mov ecx, dword [ebp - 0x974]
add ecx, 0x396c
push ecx
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov edx, dword [ebp - 0x974]
cmp dword [edx + 0x3e3c], 0
jne 0x421c4c
mov eax, dword [ebp - 0x974]
cmp dword [eax + 0x3984], 0
jne 0x421c4c
mov ecx, dword [ebp - 0x974]
add ecx, 0x3be0
push ecx
call fcn.00402006
add esp, 4
test eax, eax
jbe 0x421c4c
mov edx, dword [ebp - 0x974]
mov dword [edx + 0x3e3c], 1
push 0
mov eax, dword [ebp - 0x974]
add eax, 0x3e40
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [ebp - 0x974]
cmp dword [edx + 0x40b0], 0
jne 0x421cce
mov eax, dword [ebp - 0x974]
cmp dword [eax + 0x3984], 0
jne 0x421cce
mov ecx, dword [ebp - 0x974]
cmp dword [ecx + 0x29b8], 0
jg 0x421ca6
mov edx, dword [ebp - 0x974]
cmp dword [edx + 0x29bc], 0
jg 0x421ca6
mov eax, dword [ebp - 0x974]
cmp dword [eax + 0x29c0], 0
jg 0x421ca6
mov ecx, dword [ebp - 0x974]
cmp dword [ecx + 0x29b4], 0
jl 0x421cce
mov edx, dword [ebp - 0x974]
mov dword [edx + 0x40b0], 1
push 0
mov eax, dword [ebp - 0x974]
add eax, 0x40b4
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [ebp + 0x14]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x4ac], eax
mov ecx, dword [ebp + 0x14]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x4a8], edx
lea eax, [ebp - 0x4ac]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x974]
cmp dword [edx + 0x3e3c], 1
jne 0x421d3a
mov eax, dword [ebp - 0x4a8]
push eax
mov ecx, dword [ebp - 0x4ac]
push ecx
mov edx, dword [ebp - 0x974]
add edx, 0x3e40
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x421d6d
mov eax, dword [ebp - 0x974]
cmp dword [eax + 0x40b0], 1
jne 0x421d81
mov ecx, dword [ebp - 0x4a8]
push ecx
mov edx, dword [ebp - 0x4ac]
push edx
mov eax, dword [ebp - 0x974]
add eax, 0x40b4
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x421d81
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x42206c
mov ecx, dword [ebp - 0x974]
call fcn.00416930
mov ecx, dword [ebp - 0x974]
call fcn.004168b0
mov ecx, dword [ebp - 0x974]
call fcn.00417dc0
mov ecx, dword [ebp + 0x14]
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x4b4], edx
mov eax, dword [ebp + 0x14]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x4b0], ecx
lea edx, [ebp - 0x4b4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x974]
cmp dword [ecx + 0x3e3c], 0
je 0x421e3f
mov edx, dword [ebp - 0x4b0]
push edx
mov eax, dword [ebp - 0x4b4]
push eax
mov ecx, dword [ebp - 0x974]
add ecx, 0x3e40
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x421e3f
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x974]
add eax, 0x3988
push eax
mov ecx, dword [ebp - 0x974]
mov edx, dword [ecx + 0x3e38]
push edx
mov ecx, dword [ebp - 0x974]
call fcn.00417970
jmp 0x421fcd
mov eax, dword [ebp - 0x974]
cmp dword [eax + 0x40b0], 0
je 0x421fcd
mov ecx, dword [ebp - 0x4b0]
push ecx
mov edx, dword [ebp - 0x4b4]
push edx
mov eax, dword [ebp - 0x974]
add eax, 0x40b4
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x421fcd
push 0x12c
lea ecx, [ebp - 0x964]
push ecx
push 0x437cc8
mov ecx, dword [ebp - 0x974]
add ecx, 0x40c8
call fcn.0042e720
push 0x258
push 0
lea edx, [ebp - 0x70c]
push edx
call fcn.00401f60
add esp, 0xc
mov eax, dword [ebp - 0x974]
cmp dword [eax + 0x29b8], 0
jg 0x421ef2
mov ecx, dword [ebp - 0x974]
cmp dword [ecx + 0x29bc], 0
jg 0x421ef2
mov edx, dword [ebp - 0x974]
cmp dword [edx + 0x29c0], 0
jg 0x421ef2
mov eax, dword [ebp - 0x974]
cmp dword [eax + 0x29b4], 0
jl 0x421fcd
push 0x437cf4
push 0x12c
mov ecx, dword [ebp - 0x974]
add ecx, 0x3e50
push ecx
call fcn.004023ae
add esp, 0xc
mov dword [ebp - 0x968], 0
jmp 0x421f2c
mov edx, dword [ebp - 0x968]
add edx, 1
mov dword [ebp - 0x968], edx
cmp dword [ebp - 0x968], 0x3c
jge 0x421f55
push 0x437cf8
push 0x12c
mov eax, dword [ebp - 0x974]
add eax, 0x3e50
push eax
call fcn.00402588
add esp, 0xc
jmp 0x421f1d
mov dword [ebp - 0x968], 0
jmp 0x421f70
mov ecx, dword [ebp - 0x968]
add ecx, 1
mov dword [ebp - 0x968], ecx
mov edx, dword [ebp - 0x974]
mov eax, dword [ebp - 0x968]
cmp eax, dword [edx + 0x29c4]
jge 0x421fa5
push 0x437cfc
push 0x12c
mov ecx, dword [ebp - 0x974]
add ecx, 0x3e50
push ecx
call fcn.00402588
add esp, 0xc
jmp 0x421f61
mov edx, dword [ebp - 0x974]
mov dword [edx + 0x40a8], 1
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x964]
push ecx
push 0
mov ecx, dword [ebp - 0x974]
call fcn.00417970
jmp 0x42206c
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x974]
call fcn.00419480
jmp 0x42206c
mov eax, 1
jmp 0x422082
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x974]
call fcn.00417ee0
jmp 0x42206c
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x974]
call fcn.00416ca0
mov eax, 1
jmp 0x422082
cmp dword [ebp + 0x10], 2
jne 0x42203b
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x42206c
cmp dword [ebp + 0x10], 0x5d
jne 0x422052
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x974]
call fcn.00418520
jmp 0x42206c
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x422082
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00401f44
mov esp, ebp
pop ebp
ret 0x10