Function at 0x1003f0e5
Capabilities:
Query service status
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c742
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c0
push esi
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1003f22e
lea eax, [ebp + 0x10]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x1c4]
movzx eax, byte [eax]
test eax, eax
je 0x1003f1f0
mov dword [ebp - 0xa4], 0x62d5e48d
mov dword [ebp - 0x23c], 0x83c8fc55
mov dword [ebp - 0x22c], 3
push 1
lea ecx, [ebp - 0x254]
call fcn.100126dc
and dword [ebp - 4], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0x84], 0
jmp 0x1003f185
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 1
jge 0x1003f1a4
push dword [ebp - 0x84]
lea ecx, [ebp - 0x254]
call fcn.10012743
and dword [eax], 0
jmp 0x1003f178
mov dword [ebp - 0xa4], 0
jmp 0x1003f1bd
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x10
jg 0x1003f1df
mov dword [ebp - 0x234], 0x2e6e7f73
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
jmp 0x1003f1b0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.1001273e
jmp 0x1003f229
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xb8]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov eax, dword [eax]
add eax, dword [ecx + 4]
mov ecx, dword [ebp - 0xb8]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x100403c0
lea eax, [ebp + 0x14]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x8c], 0x1928c176
mov dword [ebp - 0x8c], 0
jmp 0x1003f27e
mov eax, dword [ebp - 0x8c]
dec eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0xfffffffe
je 0x1003f319
mov dword [ebp - 0x40], 0xcfe04822
mov dword [ebp - 0xac], 0
jmp 0x1003f2ab
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 4
jge 0x1003f2c7
mov eax, dword [ebp - 0xac]
mov dword [ebp + eax*4 - 0x29c], 0xfffffff8
jmp 0x1003f29e
mov dword [ebp - 0x40], 3
jmp 0x1003f2d7
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x1003f314
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp + eax*4 - 0x29c]
mov dword [ebp + ecx*4 - 0x29c], eax
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1003f312
push 0
push 0x71f
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x1003f2d0
jmp 0x1003f271
mov eax, dword [ebp - 0x17c]
movzx eax, byte [eax]
test eax, eax
je 0x1003f8a7
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0xc4], 0xfffffffd
mov dword [ebp - 0x2c], 5
mov dword [ebp - 0x38], 0x95e3b372
mov dword [ebp - 0x68], 0x8d9a2b82
mov dword [ebp - 0x18c], 0
cmp dword [ebp - 0xc4], 0
jne 0x1003f385
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x214], eax
imul eax, dword [ebp - 0x2c], 0xcda2
test eax, eax
jne 0x1003f385
and dword [ebp - 0x16c], 0
jmp 0x1003f38f
mov dword [ebp - 0x16c], 1
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x16c], eax
jg 0x1003f3a6
mov dword [ebp - 0xe8], 1
jmp 0x1003f3ad
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0x25a80e35
jg 0x1003f3c5
mov dword [ebp - 0x128], 1
jmp 0x1003f3cc
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x128]
dec eax
cmp eax, dword [ebp - 0xc4]
je 0x1003f3e7
mov dword [ebp - 0xf0], 1
jmp 0x1003f3ee
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xf0]
lea eax, [eax + ecx - 1]
test eax, eax
je 0x1003f414
cmp dword [ebp - 0x2c], 0
je 0x1003f414
mov dword [ebp - 0x148], 1
jmp 0x1003f41b
and dword [ebp - 0x148], 0
cmp dword [ebp - 0x148], 0xe83
jle 0x1003f433
mov dword [ebp - 0xf8], 1
jmp 0x1003f43a
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x68], 0
jmp 0x1003f453
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x14
jne 0x1003f51a
mov dword [ebp - 0x184], 0
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1003f484
push 0
push 0x1e86
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
mov dword [ebp - 0x2c], 0
jmp 0x1003f494
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xfffffffc
jg 0x1003f515
mov dword [ebp - 0x1d8], 1
cmp dword [ebp - 0x184], 0
je 0x1003f4c0
push 0xfffffffffffffffc
pop eax
test eax, eax
je 0x1003f4c0
mov dword [ebp - 0x130], 1
jmp 0x1003f4c7
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x38], 0
jmp 0x1003f4e3
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x2d
jg 0x1003f510
cmp dword [ebp - 0x38], 1
je 0x1003f4fb
mov dword [ebp - 0x100], 1
jmp 0x1003f502
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x18c], eax
jmp 0x1003f4dc
jmp 0x1003f48d
jmp 0x1003f44c
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0xd4], 0xfffffff7
mov dword [ebp - 0x118], 0xc2e9378f
mov dword [ebp - 0x150], 0x5a9390df
mov dword [ebp - 0x94], 0
jmp 0x1003f564
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 3
jge 0x1003f580
mov eax, dword [ebp - 0x94]
mov dword [ebp + eax*4 - 0x2cc], 0xfffffffc
jmp 0x1003f557
mov dword [ebp - 0x20], 0
jmp 0x1003f590
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xfffffff3
jg 0x1003f6e4
mov dword [ebp - 0x60], 0xb7161ab6
mov dword [ebp - 0x244], 0x7e0d1b71
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x224], 0xa60915bb
push 2
lea ecx, [ebp - 0x264]
call fcn.100126dc
mov dword [ebp - 4], 1
mov dword [ebp - 0xb4], 0
jmp 0x1003f5ec
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 2
jge 0x1003f60e
push dword [ebp - 0xb4]
lea ecx, [ebp - 0x264]
call fcn.10012743
mov dword [eax], 0x2f34e401
jmp 0x1003f5df
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x60], eax
jl 0x1003f637
cmp dword [ebp - 0x20], 0
jne 0x1003f637
and dword [ebp - 0x158], 0
jmp 0x1003f641
mov dword [ebp - 0x158], 1
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x158]
jl 0x1003f658
mov dword [ebp - 0x108], 1
jmp 0x1003f65f
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
add eax, 6
je 0x1003f66e
cmp dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xd4], eax
imul eax, dword [ebp - 0xd4], 0xe1d8
cmp eax, dword [ebp - 0x60]
jne 0x1003f692
mov dword [ebp - 0x138], 1
jmp 0x1003f699
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x138], eax
jge 0x1003f6b0
mov dword [ebp - 0x110], 1
jmp 0x1003f6b7
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x150]
inc eax
mov dword [ebp - 0x150], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.1001273e
jmp 0x1003f589
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x6c], 0x2f9d
mov dword [ebp - 0xf4], 0x4ccfd66c
mov dword [ebp - 0x9c], 0
jmp 0x1003f72a
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 3
jge 0x1003f746
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0x2c0], 0
jmp 0x1003f71d
mov dword [ebp - 0x48], 0
jmp 0x1003f756
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jg 0x1003f7a5
mov dword [ebp - 0xb0], 0xb51dba33
mov dword [ebp - 0xb0], 0
jmp 0x1003f77f
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 2
jg 0x1003f7a3
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x1003f7a1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
jmp 0x1003f772
jmp 0x1003f74f
cmp dword [ebp - 0x48], 0
jne 0x1003f7b7
mov dword [ebp - 0x140], 1
jmp 0x1003f7be
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x6c], 0x4204
jne 0x1003f7d3
mov dword [ebp - 0x120], 1
jmp 0x1003f7da
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x140]
cmp eax, dword [ebp - 0x120]
jne 0x1003f7f4
mov dword [ebp - 0xe0], 1
jmp 0x1003f7fb
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x6c]
sub ecx, 0xd0b0
add eax, ecx
cmp dword [ebp - 0xe0], eax
jg 0x1003f820
cmp dword [ebp - 0x6c], 0
jne 0x1003f820
and dword [ebp - 0xdc], 0
jmp 0x1003f82a
mov dword [ebp - 0xdc], 1
mov eax, dword [ebp - 0xdc]
add eax, 7
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xf4]
cmp dword [ebp - 0x6c], eax
jl 0x1003f84d
mov dword [ebp - 0xec], 1
jmp 0x1003f854
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x70]
mov dword [eax], 0
jmp 0x1003f882
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x70]
mov dword [ecx], eax
mov eax, dword [ebp - 0x70]
cmp dword [eax], 1
jge 0x1003f8a2
mov eax, dword [ebp - 0x70]
push dword [eax]
mov ecx, dword [ebp - 0x19c]
call fcn.10012743
mov dword [eax], 0xda11525
jmp 0x1003f877
jmp 0x100403c0
push 1
lea ecx, [ebp - 0x1f8]
call fcn.100126dc
mov dword [ebp - 4], 2
push 1
lea ecx, [ebp - 0x204]
call fcn.100126dc
mov byte [ebp - 4], 3
mov dword [ebp - 0xfc], 1
mov dword [ebp - 0x1c], 0
jmp 0x1003f8e6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1003f902
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1f8]
call fcn.10012743
mov dword [eax], 0xda11525
jmp 0x1003f8df
mov dword [ebp - 0x1c], 0
jmp 0x1003f912
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x1003f92e
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x204]
call fcn.10012743
mov dword [eax], 0x182eac45
jmp 0x1003f90b
push 0
lea ecx, [ebp - 0x1f8]
call fcn.10012743
push 0
lea ecx, [ebp - 0x204]
call fcn.10012743
mov eax, dword [eax]
inc eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xfc], 0xa9565e08
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x204]
call fcn.1001273e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f8]
call fcn.1001273e
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1ec], 0xfffffff8
mov dword [ebp - 0x1e8], 0xfffffff8
mov dword [ebp - 0x1e4], 0xfffffff8
mov dword [ebp - 0x1e0], 0xfffffff8
lea ecx, [ebp - 0xc9]
call fcn.10012752
push eax
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.10012755
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x168]
call fcn.10012718
mov dword [ebp - 4], 4
mov dword [ebp - 0x90], 0xffffffff
mov dword [ebp - 0xd0], 0xa2324015
mov dword [ebp - 0x190], 0xffffffff
mov dword [ebp - 0x228], 0xfffffff9
mov dword [ebp - 0x28c], 0xfffffff7
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x258], 0xffffffff
mov dword [ebp - 0x238], 0x3b3bbbb5
mov dword [ebp - 0x7c], 0
jmp 0x1003fa61
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 1
jge 0x1003fa77
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x278], 0xa7160c63
jmp 0x1003fa5a
push 0
lea ecx, [ebp - 0x168]
call fcn.10012743
and dword [eax], 0
jmp 0x1003faad
push 0
lea ecx, [ebp - 0x168]
call fcn.10012743
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x104]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x168]
call fcn.10012743
cmp dword [eax], 0x11
jne 0x1004027e
mov dword [ebp - 0x10c], 0xb63e8e1b
mov dword [ebp - 0xd8], 0x3cfce294
mov dword [ebp - 0x240], 0xffffffff
mov dword [ebp - 0x288], 0xffffffff
mov dword [ebp - 0x284], 0xffffffff
mov dword [ebp - 0x280], 0xffffffff
mov dword [ebp - 0x27c], 0xffffffff
push 1
lea ecx, [ebp - 0x210]
call fcn.100126dc
mov byte [ebp - 4], 5
mov dword [ebp - 0xa8], 0
jmp 0x1003fb33
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 1
jge 0x1003fb55
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x210]
call fcn.10012743
mov dword [eax], 6
jmp 0x1003fb26
cmp dword [ebp - 0x10c], 0
jne 0x1003fb6b
push 0
lea ecx, [ebp - 0x168]
call fcn.10012743
push 0
lea ecx, [ebp - 0x168]
call fcn.10012743
cmp dword [eax], 0
je 0x1003fbdb
cmp dword [ebp - 0x10c], 0x93d0b548
ja 0x1003fb95
mov dword [ebp - 0x114], 1
jmp 0x1003fb9c
and dword [ebp - 0x114], 0
mov dword [ebp - 0xd8], 0xeb77278f
mov eax, dword [ebp - 0xd8]
cmp eax, dword [ebp - 0x114]
jne 0x1003fbbd
mov eax, 0x2215
test eax, eax
jne 0x1003fbcf
push 0
lea ecx, [ebp - 0x168]
call fcn.10012743
cmp dword [eax], 0
je 0x1003fbdb
mov dword [ebp - 0x11c], 1
jmp 0x1003fbe2
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
add eax, 0x415
je 0x1003fc23
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x1003fc05
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1003fc1e
push 0xd3a
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
jmp 0x1004026a
mov dword [ebp - 0x124], 0xfffffff8
mov dword [ebp - 0x12c], 0xb2455f99
mov dword [ebp - 0x198], 9
mov dword [ebp - 0x218], 5
mov dword [ebp - 0x21c], 0
push 1
lea ecx, [ebp - 0x274]
call fcn.100126dc
mov byte [ebp - 4], 6
mov dword [ebp - 0x1ac], 0x169f
cmp dword [ebp - 0x1ac], 0x1283
jge 0x10040163
lea eax, [ebp - 0x174]
push eax
push 0x1000df8c
call fcn.1005030b
pop ecx
pop ecx
mov dword [ebp - 0xbc], 1
jmp 0x1003fcac
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0x174]
jg 0x10040163
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1000dfbc
call fcn.1005030b
add esp, 0xc
and dword [ebp - 0x78], 0
jmp 0x1003fce3
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x8a
jge 0x1003fd1c
and dword [ebp - 0x178], 0
lea eax, [ebp - 0x178]
push eax
imul edx, dword [ebp - 0x78], 0x228
add edx, 0x10cfae20
imul ecx, dword [ebp - 0x78], 0x228
add ecx, 0x10cfabf8
call fcn.100464b1
pop ecx
jmp 0x1003fcdc
and dword [ebp - 0xc0], 0
jmp 0x1003fd32
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x180]
jge 0x1003fd86
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x64]
push eax
push 0x1000dc2c
call fcn.1005030b
add esp, 0x10
imul eax, dword [ebp - 0x64], 0x228
mov ecx, dword [ebp - 0x5c]
mov eax, dword [eax + ecx*4 + 0x10cfabf8]
add eax, dword [ebp - 0x188]
imul ecx, dword [ebp - 0x64], 0x228
mov edx, dword [ebp - 0x5c]
mov dword [ecx + edx*4 + 0x10cfabf8], eax
jmp 0x1003fd25
and dword [ebp - 0x14], 0
jmp 0x1003fd93
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x8a
jge 0x1003ff34
mov eax, 0x228
imul eax, eax, 0
mov ecx, dword [ebp - 0x14]
and dword [eax + ecx*4 + 0x10ce7c40], 0
and dword [ebp - 0xa0], 0
jmp 0x1003fdc9
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x10]
jg 0x1003fe0e
mov eax, 0x228
imul eax, eax, 0
imul ecx, dword [ebp - 0xa0], 0x228
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*4 + 0x10ce7c40]
mov edx, dword [ebp - 0x14]
add eax, dword [ecx + edx*4 + 0x10cfabf8]
mov ecx, 0x228
imul ecx, ecx, 0
mov edx, dword [ebp - 0x14]
mov dword [ecx + edx*4 + 0x10ce7c40], eax
jmp 0x1003fdbc
mov dword [ebp - 0x58], 1
jmp 0x1003fe1e
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x10]
jg 0x1003fe63
mov eax, dword [ebp - 0x58]
dec eax
imul eax, eax, 0x228
mov ecx, dword [ebp - 0x58]
add ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x228
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*4 + 0x10ce7c40]
mov edx, dword [ebp - 0x14]
add eax, dword [ecx + edx*4 + 0x10cfabf8]
imul ecx, dword [ebp - 0x58], 0x228
mov edx, dword [ebp - 0x14]
mov dword [ecx + edx*4 + 0x10ce7c40], eax
jmp 0x1003fe17
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x24], eax
jmp 0x1003fe73
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, 0x8a
sub eax, dword [ebp - 0x10]
cmp dword [ebp - 0x24], eax
jge 0x1003fed4
mov eax, dword [ebp - 0x24]
dec eax
imul eax, eax, 0x228
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x228
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*4 + 0x10ce7c40]
mov edx, dword [ebp - 0x14]
add eax, dword [ecx + edx*4 + 0x10cfabf8]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x10]
dec ecx
imul ecx, ecx, 0x228
mov edx, dword [ebp - 0x14]
sub eax, dword [ecx + edx*4 + 0x10cfabf8]
imul ecx, dword [ebp - 0x24], 0x228
mov edx, dword [ebp - 0x14]
mov dword [ecx + edx*4 + 0x10ce7c40], eax
jmp 0x1003fe6c
mov eax, 0x8a
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
jmp 0x1003fee8
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x8a
jge 0x1003ff2f
mov eax, dword [ebp - 0x50]
dec eax
imul eax, eax, 0x228
mov ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x10]
dec ecx
imul ecx, ecx, 0x228
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov eax, dword [eax + edx*4 + 0x10ce7c40]
sub eax, dword [ecx + esi*4 + 0x10cfabf8]
imul ecx, dword [ebp - 0x50], 0x228
mov edx, dword [ebp - 0x14]
mov dword [ecx + edx*4 + 0x10ce7c40], eax
jmp 0x1003fee1
jmp 0x1003fd8c
and dword [ebp - 0x18], 0
jmp 0x1003ff41
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x8a
jge 0x100400c6
imul eax, dword [ebp - 0x18], 0x228
push 4
pop ecx
imul ecx, ecx, 0
and dword [eax + ecx + 0x10d0d730], 0
and dword [ebp - 0x80], 0
jmp 0x1003ff70
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x10]
jg 0x1003ffb3
imul eax, dword [ebp - 0x18], 0x228
push 4
pop ecx
imul ecx, ecx, 0
imul edx, dword [ebp - 0x18], 0x228
mov eax, dword [eax + ecx + 0x10d0d730]
mov ecx, dword [ebp - 0x80]
add eax, dword [edx + ecx*4 + 0x10ce7c40]
push 4
pop ecx
imul ecx, ecx, 0
imul edx, dword [ebp - 0x18], 0x228
mov dword [edx + ecx + 0x10d0d730], eax
jmp 0x1003ff69
mov dword [ebp - 0x3c], 1
jmp 0x1003ffc3
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x10]
jg 0x10040003
imul eax, dword [ebp - 0x18], 0x228
imul ecx, dword [ebp - 0x18], 0x228
mov edx, dword [ebp - 0x3c]
add edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x3c]
mov eax, dword [eax + esi*4 + 0x10d0d72c]
add eax, dword [ecx + edx*4 + 0x10ce7c40]
imul ecx, dword [ebp - 0x18], 0x228
mov edx, dword [ebp - 0x3c]
mov dword [ecx + edx*4 + 0x10d0d730], eax
jmp 0x1003ffbc
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x34], eax
jmp 0x10040013
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov eax, 0x8a
sub eax, dword [ebp - 0x10]
cmp dword [ebp - 0x34], eax
jge 0x1004006c
imul eax, dword [ebp - 0x18], 0x228
imul ecx, dword [ebp - 0x18], 0x228
mov edx, dword [ebp - 0x34]
add edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x34]
mov eax, dword [eax + esi*4 + 0x10d0d72c]
add eax, dword [ecx + edx*4 + 0x10ce7c40]
imul ecx, dword [ebp - 0x18], 0x228
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x10]
sub eax, dword [ecx + edx*4 + 0x10ce7c3c]
imul ecx, dword [ebp - 0x18], 0x228
mov edx, dword [ebp - 0x34]
mov dword [ecx + edx*4 + 0x10d0d730], eax
jmp 0x1004000c
mov eax, 0x8a
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
jmp 0x10040080
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x8a
jge 0x100400c1
imul eax, dword [ebp - 0x18], 0x228
imul ecx, dword [ebp - 0x18], 0x228
mov edx, dword [ebp - 0x44]
sub edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x44]
mov eax, dword [eax + esi*4 + 0x10d0d72c]
sub eax, dword [ecx + edx*4 + 0x10ce7c3c]
imul ecx, dword [ebp - 0x18], 0x228
mov edx, dword [ebp - 0x44]
mov dword [ecx + edx*4 + 0x10d0d730], eax
jmp 0x10040079
jmp 0x1003ff3a
or dword [ebp - 0x5c], 0xffffffff
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc8], eax
and dword [ebp - 0x4c], 0
jmp 0x100400e6
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x8a
jge 0x10040145
and dword [ebp - 0x54], 0
jmp 0x100400fc
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x8a
jge 0x10040143
imul eax, dword [ebp - 0x4c], 0x228
mov ecx, dword [ebp - 0x54]
mov eax, dword [eax + ecx*4 + 0x10d0d730]
cmp eax, dword [ebp - 0xc8]
jle 0x10040141
imul eax, dword [ebp - 0x4c], 0x228
mov ecx, dword [ebp - 0x54]
mov eax, dword [eax + ecx*4 + 0x10d0d730]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
jmp 0x100400f5
jmp 0x100400df
push dword [ebp - 0xc8]
push dword [ebp - 0x5c]
push dword [ebp - 0x64]
push 0x1000e21c
call fcn.10050c2e
add esp, 0x10
jmp 0x1003fc9f
mov dword [ebp - 0x88], 0
jmp 0x1004017c
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 1
jge 0x1004019e
push dword [ebp - 0x88]
lea ecx, [ebp - 0x274]
call fcn.10012743
mov dword [eax], 0xcadcda6a
jmp 0x1004016f
mov dword [ebp - 0x90], 1
push 0
lea ecx, [ebp - 0x168]
call fcn.10012743
mov eax, dword [eax]
neg eax
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
sub eax, 8
mov ecx, dword [ebp - 0x90]
imul ecx, eax
test ecx, ecx
je 0x1004021a
mov dword [ebp - 0x124], 0xce35
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0xd0]
je 0x1004021a
cmp dword [ebp - 0xd8], 0
je 0x1004021a
mov dword [ebp - 0x134], 1
jmp 0x10040221
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x198], 0xffffffff
push 0
lea ecx, [ebp - 0x210]
call fcn.10012743
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x13c]
mov dword [ecx], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x274]
call fcn.1001273e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x210]
call fcn.1001273e
jmp 0x1003fa89
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.1001273e
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x1a8], 0x9d5fac12
mov dword [ebp - 0x1b0], 0x31eb
mov dword [ebp - 0x98], 0
jmp 0x100402cd
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 4
jge 0x100402e9
mov eax, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0x2b4], 0xfffffffd
jmp 0x100402c0
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x10040312
push 0
push 0x2316
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x74], eax
jl 0x10040326
mov dword [ebp - 0x144], 1
jmp 0x1004032d
and dword [ebp - 0x144], 0
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x2b4], 0xfffb
imul eax, dword [ebp - 0x74], 0xfffb
cmp eax, dword [ebp - 0x144]
jge 0x10040358
mov dword [ebp - 0x14c], 1
jmp 0x1004035f
and dword [ebp - 0x14c], 0
cmp dword [ebp - 0x14c], 0
jl 0x10040374
mov dword [ebp - 0x154], 1
jmp 0x1004037b
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
imul eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b8]
cmp dword [eax], 1
je 0x100403ab
mov dword [ebp - 0x15c], 1
jmp 0x100403b2
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x15c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret