Function at 0x10053357
Capabilities:
Enumerate gui resources
Get file attributes
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100838f2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x298
push esi
mov dword [ebp - 0x16c], 0xffffffff
mov dword [ebp - 0x26c], 0xfffffffa
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x260], 0x5e3d1aa1
mov dword [ebp - 0x268], 1
mov dword [ebp - 0x270], 0xffffffff
mov dword [ebp - 0x278], 0xffffffff
mov dword [ebp - 0x280], 0x99da9727
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x290], 0x4d8142c7
mov dword [ebp - 0xc8], 0x67c8
mov dword [ebp - 0x18], 0
jmp 0x100533f4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1005340a
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x1a0], 8
jmp 0x100533ed
mov dword [ebp - 0x18], 0
jmp 0x1005341a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x10053430
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x2a4], 0xbbfad0d7
jmp 0x10053413
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x10053444
push 0
call dword [sym.imp.KERNEL32.dll_EncodePointer]
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x1a0], 0
jmp 0x1005346f
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1a0]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x1a0], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1a0], 0x17
jl 0x10053620
mov dword [ebp - 0x88], 0x3ccd2466
mov dword [ebp - 0x80], 0
jmp 0x1005349c
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 1
jge 0x100534af
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x50], 0xe1d925b0
jmp 0x10053495
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x50], 0
jmp 0x100534d4
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x50]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x50], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x50], 0xfffffff1
jg 0x1005360e
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x34], 0
jmp 0x100534fc
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffec
jne 0x10053609
mov dword [ebp - 0x178], 0xf5b1b6fd
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x1a0], 0
je 0x10053524
jmp 0x10053609
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x1a0]
cmp dword [ebp - 0x178], eax
jl 0x10053544
mov dword [ebp - 0xd0], 1
jmp 0x1005354b
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x88], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x50]
cmp eax, dword [ebp - 0x88]
jg 0x10053575
mov dword [ebp - 0x1bc], 1
jmp 0x1005357c
and dword [ebp - 0x1bc], 0
mov dword [ebp - 0x16c], 0x5fe4
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x230], eax
xor eax, eax
inc eax
je 0x100535b5
cmp dword [ebp - 0x88], 0
je 0x100535b5
mov dword [ebp - 0xb8], 1
jmp 0x100535bc
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0xb8]
jle 0x100535d3
mov dword [ebp - 0x170], 1
jmp 0x100535da
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x170], eax
jne 0x100535f1
mov dword [ebp - 0xc0], 1
jmp 0x100535f8
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x178], eax
jmp 0x100534f5
jmp 0x100534bf
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
jmp 0x10053456
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1005396a
mov dword [ebp - 0x70], 0xf6af1124
mov dword [ebp - 0x70], 0
jmp 0x10053643
mov eax, dword [ebp - 0x70]
dec eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xffffffee
jg 0x10053677
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x10053661
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
mov byte [ebp - 0x3d], 0
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x10053675
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1005363c
mov dword [ebp - 0x44], 0x6579763
mov dword [ebp - 0x10], 0x94543beb
cmp dword [ebp - 0x44], 0
je 0x10053907
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0x44], 0
jmp 0x100536a9
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x18
jle 0x10053905
mov dword [ebp - 0x1e4], 0xd89e1771
push 3
lea ecx, [ebp - 0x220]
call fcn.10018cbc
and dword [ebp - 4], 0
mov dword [ebp - 0x64], 0
jmp 0x100536de
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 3
jge 0x100536fa
push dword [ebp - 0x64]
lea ecx, [ebp - 0x220]
call fcn.10018d20
mov dword [eax], 9
jmp 0x100536d7
mov dword [ebp - 0x10], 0x4696a485
mov dword [ebp - 0x10], 0
jmp 0x10053711
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xfffffff8
jg 0x100538f1
mov dword [ebp - 0x54], 0xa0734f09
mov dword [ebp - 0x54], 0
jmp 0x10053732
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xfffffff8
je 0x100538ec
mov dword [ebp - 0x3c], 0x6887e0
mov dword [ebp - 0x9c], 0x888a
mov dword [ebp - 0x3c], 0
jmp 0x1005375d
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x100538e7
mov dword [ebp - 0x1ec], 0x12ef
cmp dword [ebp - 0xe4], 0
je 0x1005377f
jmp 0x100538e7
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x248], eax
imul eax, dword [ebp - 0x54], 0xe5a9
cmp eax, 0x15bb0028
jge 0x100537b4
mov dword [ebp - 0x180], 1
jmp 0x100537bb
and dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 0xfffb
jne 0x100537d3
mov dword [ebp - 0x188], 1
jmp 0x100537da
and dword [ebp - 0x188], 0
cmp dword [ebp - 0x188], 0
jge 0x100537ef
mov dword [ebp - 0x1dc], 1
jmp 0x100537f6
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x1e4], 2
ja 0x10053817
mov dword [ebp - 0xd4], 1
jmp 0x1005381e
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x1ec]
cmp dword [ebp - 0xd4], eax
jle 0x1005383e
mov eax, 0x41bd43d9
test eax, eax
je 0x1005383e
and dword [ebp - 0x13c], 0
jmp 0x10053848
mov dword [ebp - 0x13c], 1
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x13c]
je 0x1005385f
mov dword [ebp - 0xdc], 1
jmp 0x10053866
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0xdc], eax
je 0x10053880
mov dword [ebp - 0x190], 1
jmp 0x10053887
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x190], eax
jle 0x100538a1
mov dword [ebp - 0x1e8], 1
jmp 0x100538a8
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0xe4], 1
jl 0x100538c6
mov dword [ebp - 0x144], 1
jmp 0x100538cd
and dword [ebp - 0x144], 0
push 0
lea ecx, [ebp - 0x220]
call fcn.10018d20
mov ecx, dword [ebp - 0x144]
mov dword [eax], ecx
jmp 0x10053756
jmp 0x1005372b
jmp 0x1005370a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.10018d1b
jmp 0x100536a2
jmp 0x10053953
mov dword [ebp - 0x74], 0
jmp 0x10053917
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jge 0x1005392d
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x1d4], 0
jmp 0x10053910
mov dword [ebp - 0x10], 0
jmp 0x1005393d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x10053953
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x1d4], 2
jmp 0x10053936
push 0xc35
push 0x1fde
push 0
call dword [sym.imp.GDI32.dll_PtInRegion]
jmp 0x100544b6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x1c], 0
jmp 0x10053991
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xfffffffb
jl 0x10053e28
push 2
lea ecx, [ebp - 0x1b8]
call fcn.10018cbc
mov dword [ebp - 4], 1
push 3
lea ecx, [ebp - 0x1ac]
call fcn.10018cbc
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], 0
jmp 0x100539d0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x100539ec
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1b8]
call fcn.10018d20
mov dword [eax], 0x6d444182
jmp 0x100539c9
mov dword [ebp - 0x20], 0
jmp 0x100539fc
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x10053a15
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1ac]
call fcn.10018d20
and dword [eax], 0
jmp 0x100539f5
push 1
lea ecx, [ebp - 0x1b8]
call fcn.10018d20
and dword [eax], 0
jmp 0x10053a4b
push 1
lea ecx, [ebp - 0x1b8]
call fcn.10018d20
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xec]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x1b8]
call fcn.10018d20
cmp dword [eax], 4
jle 0x10053e05
mov dword [ebp - 0x2c], 0x9949dfcf
mov dword [ebp - 0x94], 9
mov dword [ebp - 0x194], 1
push 3
lea ecx, [ebp - 0x208]
call fcn.10018cbc
mov byte [ebp - 4], 3
mov dword [ebp - 0x6c], 0
jmp 0x10053a9d
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x10053ab9
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x208]
call fcn.10018d20
mov dword [eax], 0x869e7721
jmp 0x10053a96
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10053adb
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_SetTextColor]
mov dword [ebp - 0x2c], 0
jmp 0x10053aeb
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xf
jge 0x10053df1
mov dword [ebp - 0x14], 0x8abc106e
mov dword [ebp - 0x1c8], 0xffffffff
cmp dword [ebp - 0x2c], 0
je 0x10053b11
jmp 0x10053df1
mov dword [ebp - 0x14], 2
jmp 0x10053b21
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10053dec
mov dword [ebp - 0x174], 0x1f3403ca
mov dword [ebp - 0x104], 0xd574417f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
cmp dword [ebp - 0x1c], eax
je 0x10053b5f
mov dword [ebp - 0x154], 1
jmp 0x10053b66
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x2c]
sub eax, 0x192ab139
mov dword [ebp - 0x7c], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1ac]
call fcn.10018d20
cmp dword [eax], 0xffffffff
jne 0x10053b90
mov dword [ebp - 0xf4], 1
jmp 0x10053b97
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x6689
jle 0x10053bbb
mov dword [ebp - 0x14c], 1
jmp 0x10053bc2
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x14c], eax
jne 0x10053bd9
mov dword [ebp - 0xfc], 1
jmp 0x10053be0
and dword [ebp - 0xfc], 0
push 0
lea ecx, [ebp - 0x1ac]
call fcn.10018d20
mov ecx, dword [ebp - 0xfc]
cmp ecx, dword [eax]
jle 0x10053c00
cmp dword [ebp - 0x94], 0
je 0x10053c12
cmp dword [ebp - 0x7c], 0
je 0x10053c12
mov dword [ebp - 0x18c], 1
jmp 0x10053c19
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x154]
neg eax
cmp eax, dword [ebp - 0x7c]
jge 0x10053c5c
mov dword [ebp - 0x10c], 1
jmp 0x10053c63
and dword [ebp - 0x10c], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1ac]
call fcn.10018d20
mov esi, dword [eax]
neg esi
push 2
lea ecx, [ebp - 0x1ac]
call fcn.10018d20
mov ecx, dword [ebp - 0x10c]
add ecx, dword [eax]
cmp esi, ecx
jg 0x10053c9a
mov dword [ebp - 0x17c], 1
jmp 0x10053ca1
and dword [ebp - 0x17c], 0
cmp dword [ebp - 0x17c], 1
jne 0x10053cb6
mov dword [ebp - 0x114], 1
jmp 0x10053cbd
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x194]
cmp dword [ebp - 0x114], eax
jg 0x10053cd7
mov dword [ebp - 0x15c], 1
jmp 0x10053cde
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x15c], eax
je 0x10053cf5
mov dword [ebp - 0x11c], 1
jmp 0x10053cfc
and dword [ebp - 0x11c], 0
mov esi, dword [ebp - 0x2c]
add esi, dword [ebp - 0x11c]
push 2
lea ecx, [ebp - 0x208]
call fcn.10018d20
mov dword [eax], esi
push 1
lea ecx, [ebp - 0x1b8]
call fcn.10018d20
cmp dword [eax], 0
jne 0x10053db6
push 2
lea ecx, [ebp - 0x208]
call fcn.10018d20
cmp dword [eax], 0x4f5c6f0d
jg 0x10053d4b
mov dword [ebp - 0x124], 1
jmp 0x10053d52
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x194]
mov ecx, dword [ebp - 0x124]
neg ecx
cmp eax, ecx
jle 0x10053d74
mov dword [ebp - 0x164], 1
jmp 0x10053d7b
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x164], eax
jle 0x10053d98
cmp dword [ebp - 0x1c8], 0
jne 0x10053d98
and dword [ebp - 0x12c], 0
jmp 0x10053da2
mov dword [ebp - 0x12c], 1
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x12c]
jl 0x10053db6
and dword [ebp - 0x184], 0
jmp 0x10053dc0
mov dword [ebp - 0x184], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x184], eax
jge 0x10053dd7
mov dword [ebp - 0x134], 1
jmp 0x10053dde
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x7c], eax
jmp 0x10053b1a
jmp 0x10053ae4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x208]
call fcn.10018d1b
jmp 0x10053a27
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1ac]
call fcn.10018d1b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1b8]
call fcn.10018d1b
jmp 0x1005398a
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1fc], eax
mov dword [ebp - 0xb0], 0x8e5ccc90
push 3
lea ecx, [ebp - 0x214]
call fcn.10018cbc
mov dword [ebp - 4], 4
mov dword [ebp - 0x1f4], 0xa4bedcc5
mov dword [ebp - 0x1f0], 0xfffffffc
mov dword [ebp - 0x24], 0
jmp 0x10053e73
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x10053e8f
push dword [ebp - 0x24]
lea ecx, [ebp - 0x214]
call fcn.10018d20
mov dword [eax], 0x15747814
jmp 0x10053e6c
mov dword [ebp - 0x24], 0
jmp 0x10053e9f
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x10053eb5
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x1d0], 0xfffffffe
jmp 0x10053e98
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x264], eax
push 0
lea ecx, [ebp - 0x214]
call fcn.10018d20
cmp dword [eax], 0
jne 0x10053eee
push 0
lea ecx, [ebp - 0x214]
call fcn.10018d20
cmp dword [eax], 0
jne 0x10053eee
and dword [ebp - 0xcc], 0
jmp 0x10053ef8
mov dword [ebp - 0xcc], 1
mov eax, dword [ebp - 0x1f4]
cmp dword [ebp - 0xcc], eax
jle 0x10053f12
mov dword [ebp - 0xd8], 1
jmp 0x10053f19
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xd8]
je 0x10053f33
mov dword [ebp - 0x8c], 1
jmp 0x10053f3a
and dword [ebp - 0x8c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp + eax - 0x1d0], ecx
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x1f0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x214]
call fcn.10018d1b
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x84]
mov dword [eax], 0xfffffff9
jmp 0x10053f9f
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x84]
mov dword [ecx], eax
mov eax, dword [ebp - 0x84]
cmp dword [eax], 0xffffffff
jne 0x10053fb9
mov eax, dword [ebp - 0x1e0]
cmp dword [eax], 0
je 0x10053fb7
jmp 0x10053fb9
jmp 0x10053f8e
mov dword [ebp - 0x28], 0xfffffffc
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x58], 0
jmp 0x10053fd7
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 4
jge 0x10053fed
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0xac], 0xe57ad95e
jmp 0x10053fd0
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xac], 0xc204e2db
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xac]
push 4
pop ecx
imul ecx, ecx, 3
imul eax, dword [ebp + ecx - 0xac]
cmp eax, 0xfffffff7
je 0x1005402a
mov dword [ebp - 0xe0], 1
jmp 0x10054031
and dword [ebp - 0xe0], 0
imul eax, dword [ebp - 0xe0], 0x6baf
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 3
cmp eax, dword [ebp + ecx - 0xac]
jl 0x100541f1
mov dword [ebp - 0x90], 0x361a
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x128], 0x6a5b5cf0
mov dword [ebp - 0x78], 0
jmp 0x1005407f
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 2
jge 0x10054095
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x250], 0xcadfb1af
jmp 0x10054078
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x28], 0xffff
mov eax, dword [ebp - 0x28]
neg eax
mov ecx, dword [ebp - 0x90]
sub ecx, eax
mov dword [ebp - 0xe8], ecx
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xe8]
mov dword [ebp + eax - 0x250], ecx
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0xe8], eax
je 0x100540e8
mov dword [ebp - 0xf0], 1
jmp 0x100540ef
and dword [ebp - 0xf0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xac]
imul eax, dword [ebp - 0xf0]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0xac]
je 0x1005411d
mov dword [ebp - 0xf8], 1
jmp 0x10054124
and dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0xb90f
jne 0x1005413c
mov dword [ebp - 0x100], 1
jmp 0x10054143
and dword [ebp - 0x100], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xac]
cmp dword [ebp - 0x100], eax
jle 0x10054164
mov dword [ebp - 0x108], 1
jmp 0x1005416b
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x110], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xac]
cmp dword [ebp - 0x110], eax
je 0x10054198
mov dword [ebp - 0x118], 1
jmp 0x1005419f
and dword [ebp - 0x118], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xac]
imul eax, dword [ebp - 0x118]
cmp eax, 0xffff
jae 0x100541c6
mov dword [ebp - 0x120], 1
jmp 0x100541cd
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x128], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x128]
mov dword [ebp + eax - 0xac], ecx
jmp 0x100544b6
mov dword [ebp - 0x60], 0xdee94ccb
mov dword [ebp - 0x48], 0x5e3970c0
mov dword [ebp - 0x68], 0x744fa755
cmp dword [ebp - 0x60], 0xfff9
je 0x1005421b
mov dword [ebp - 0x130], 1
jmp 0x10054222
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x130], eax
jle 0x1005423f
mov eax, 0xdcfe
test eax, eax
jne 0x1005423f
and dword [ebp - 0x98], 0
jmp 0x10054249
mov dword [ebp - 0x98], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x98]
mov dword [ebp + eax - 0xac], ecx
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x98], eax
jg 0x10054273
mov dword [ebp - 0x138], 1
jmp 0x1005427a
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x28]
neg eax
cmp eax, dword [ebp - 0x68]
jne 0x10054299
mov dword [ebp - 0x1f8], 1
jmp 0x100542a0
and dword [ebp - 0x1f8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xac]
cmp dword [ebp - 0x28], eax
jl 0x100542be
mov dword [ebp - 0x140], 1
jmp 0x100542c5
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 0
ja 0x100542da
mov dword [ebp - 0x148], 1
jmp 0x100542e1
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x148], eax
jg 0x100542f8
mov dword [ebp - 0x150], 1
jmp 0x100542ff
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x150], eax
je 0x10054316
mov dword [ebp - 0x158], 1
jmp 0x1005431d
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
sub eax, 0xd0294e
cmp eax, dword [ebp - 0x4c]
jg 0x10054339
mov dword [ebp - 0x160], 1
jmp 0x10054340
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jae 0x1005435b
mov dword [ebp - 0x1c0], 1
jmp 0x10054362
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x4c]
je 0x10054382
mov dword [ebp - 0x168], 1
jmp 0x10054389
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x168]
jle 0x100543a0
mov dword [ebp - 0x1c4], 1
jmp 0x100543a7
and dword [ebp - 0x1c4], 0
cmp dword [ebp - 0x4c], 0
je 0x100544a0
mov dword [ebp - 0x5c], 0
jmp 0x100543c1
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x100543d7
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x22c], 0x6abe
jmp 0x100543ba
cmp dword [ebp - 0x60], 0
je 0x1005448a
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xac], 0x4b5a
jle 0x10054400
mov dword [ebp - 0xbc], 1
jmp 0x10054407
and dword [ebp - 0xbc], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x22c]
mov dword [ebp - 0x23c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
cmp dword [ebp + eax - 0x22c], ecx
je 0x10054437
mov dword [ebp - 0x1cc], 1
jmp 0x1005443e
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x244], eax
mov eax, 0x6db78960
test eax, eax
ja 0x1005445c
mov dword [ebp - 0xb4], 1
jmp 0x10054463
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x60]
imul eax, dword [ebp - 0xb4]
test eax, eax
jne 0x10054483
cmp dword [ebp - 0x48], 0
je 0x10054483
mov dword [ebp - 0xc4], 1
jmp 0x1005448a
and dword [ebp - 0xc4], 0
push 4
pop eax
imul eax, eax, 0
imul eax, dword [ebp + eax - 0x22c], 0xaf71
mov dword [ebp - 0x68], eax
jmp 0x100544b6
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x100544b6
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret