Function at 0x10031913
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073d74
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x318
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100319b7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1b0], eax
push dword [ebp - 0x198]
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a8]
push dword [ebp - 0x1b0]
push dword [ebp - 0x1b8]
push 0
push 0x67a9
push dword [ebp - 0x120]
push dword [ebp - 0x12c]
call fcn.10035b35
add esp, 0x24
jmp 0x100328fe
lea eax, [ebp + 0x10]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x13c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
movzx eax, byte [eax]
test eax, eax
je 0x100319f7
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x100328fe
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1ac]
add ecx, dword [eax]
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x28], 0xb0647dc4
mov dword [ebp - 0x30], 0xa1245c81
mov dword [ebp - 0xd0], 0x32f3f608
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x1f4], 0xea4c5706
mov dword [ebp - 0x228], 0xc3f30b9
mov dword [ebp - 0x1f8], 0xf15cc7c4
mov dword [ebp - 0x200], 2
mov dword [ebp - 0x208], 0xbebf3b8c
mov dword [ebp - 0x14c], 0x23c5ad05
mov dword [ebp - 0x44], 0
jmp 0x10031a99
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x10031aaf
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x264], 0xffffffff
jmp 0x10031a92
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x28], eax
jg 0x10031ac3
mov dword [ebp - 0xd4], 1
jmp 0x10031aca
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x30]
cmp dword [ebp - 0x28], eax
jl 0x10031aef
mov dword [ebp - 0xfc], 1
jmp 0x10031af6
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xfc], eax
jle 0x10031b0d
mov dword [ebp - 0x104], 1
jmp 0x10031b14
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
sub eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
jge 0x10031b2e
mov dword [ebp - 0xf8], 1
jmp 0x10031b35
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0x710dd01
jge 0x10031b59
mov dword [ebp - 0x90], 1
jmp 0x10031b60
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x90], eax
jge 0x10031b77
mov dword [ebp - 0x84], 1
jmp 0x10031b7e
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x84], eax
jg 0x10031b95
mov dword [ebp - 0x98], 1
jmp 0x10031b9c
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0xd4]
sub eax, 0x2850d366
je 0x10031beb
mov dword [ebp - 0x18c], 0x2894ff54
push 0x2458
lea eax, [ebp - 0x18c]
push eax
push 0
call fcn.10031452
add esp, 0xc
push 0x25fa
push 0x438e
push 0
call fcn.10034228
add esp, 0xc
jmp 0x10031bf9
push 0x3a8c
push 0
call fcn.1003141d
pop ecx
pop ecx
push 0x3e8
push 1
lea eax, [ebp - 0x14c]
push eax
push 0
push 0x798e
call fcn.1002d0e7
add esp, 0x14
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
add eax, 8
mov dword [ebp - 0x5c], eax
and dword [ebp - 0x60], 0
jmp 0x10031c36
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
inc eax
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
cmp dword [ebp - 0x60], eax
jae 0x100328d3
push 2
lea ecx, [ebp - 0x58]
call fcn.10027044
and dword [ebp - 4], 0
mov dword [ebp - 0x8c], 0xfffffff8
push 3
lea ecx, [ebp - 0x110]
call fcn.10027044
mov byte [ebp - 4], 1
push 2
lea ecx, [ebp - 0x1e4]
call fcn.10027044
mov byte [ebp - 4], 2
push 0x61ee
push 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100381cf
add esp, 0x10
mov dword [ebp - 0x18], 0
jmp 0x10031cad
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x10031cc9
push dword [ebp - 0x18]
lea ecx, [ebp - 0x110]
call fcn.100270e2
mov dword [eax], 0xb400
jmp 0x10031ca6
mov dword [ebp - 0x18], 0
jmp 0x10031cd9
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10031cf5
push dword [ebp - 0x18]
lea ecx, [ebp - 0x1e4]
call fcn.100270e2
mov dword [eax], 0x42f2aa78
jmp 0x10031cd2
push 1
lea ecx, [ebp - 0x58]
call fcn.100270e2
and dword [eax], 0
jmp 0x10031d25
push 1
lea ecx, [ebp - 0x58]
call fcn.100270e2
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xa0]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x58]
call fcn.100270e2
cmp dword [eax], 0xfffffffd
jle 0x1003210b
push 2
lea ecx, [ebp - 0x11c]
call fcn.10027044
mov byte [ebp - 4], 3
mov dword [ebp - 0x1a4], 0xfd8f2714
mov dword [ebp - 0x154], 0x716e
mov dword [ebp - 0x15c], 0xb4e3
push 3
lea ecx, [ebp - 0x184]
call fcn.10027044
mov byte [ebp - 4], 4
mov dword [ebp - 0x2c], 0
jmp 0x10031d88
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x10031d9b
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x48], 5
jmp 0x10031d81
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x11c]
push eax
push 1
call fcn.1002c261
add esp, 0x10
push 0
push 0x2e62
push 0x61be
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x6c1c
call fcn.10042fed
add esp, 0x18
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x48]
push 1
lea ecx, [ebp - 0x11c]
call fcn.100270e2
cmp esi, dword [eax]
jle 0x10031e0f
mov eax, 0xfffb
test eax, eax
je 0x10031e0f
cmp dword [ebp - 0x1a4], 0
je 0x10031e0f
mov dword [ebp - 0xd8], 1
jmp 0x10031e16
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x8c], eax
push 1
lea ecx, [ebp - 0x58]
call fcn.100270e2
mov esi, eax
push 1
lea ecx, [ebp - 0x58]
call fcn.100270e2
mov ecx, dword [esi]
cmp ecx, dword [eax]
jl 0x10031e4a
mov dword [ebp - 0xa8], 1
jmp 0x10031e51
and dword [ebp - 0xa8], 0
push 1
lea ecx, [ebp - 0x58]
call fcn.100270e2
mov eax, dword [eax]
cmp eax, dword [ebp - 0xa8]
jg 0x10031e71
mov dword [ebp - 0xf0], 1
jmp 0x10031e78
and dword [ebp - 0xf0], 0
push 0
lea ecx, [ebp - 0x110]
call fcn.100270e2
mov ecx, dword [ebp - 0xf0]
cmp ecx, dword [eax]
jne 0x10031e9b
mov dword [ebp - 0xb0], 1
jmp 0x10031ea2
and dword [ebp - 0xb0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
add eax, dword [ebp - 0xb0]
jne 0x10031ecc
push 0
lea ecx, [ebp - 0x58]
call fcn.100270e2
cmp dword [eax], 0
jne 0x10031ecc
and dword [ebp - 0xe0], 0
jmp 0x10031ed6
mov dword [ebp - 0xe0], 1
cmp dword [ebp - 0xe0], 0x6ce028f4
jne 0x10031eee
mov dword [ebp - 0xb8], 1
jmp 0x10031ef5
and dword [ebp - 0xb8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
cmp dword [ebp - 0xb8], eax
jle 0x10031f13
mov dword [ebp - 0x100], 1
jmp 0x10031f1a
and dword [ebp - 0x100], 0
push 0
lea ecx, [ebp - 0x58]
call fcn.100270e2
mov ecx, dword [ebp - 0x154]
mov edx, dword [ebp - 0x100]
lea ecx, [edx + ecx - 0xceb2be5]
cmp dword [eax], ecx
jg 0x10031f47
mov dword [ebp - 0xc0], 1
jmp 0x10031f4e
and dword [ebp - 0xc0], 0
push 1
lea ecx, [ebp - 0x58]
call fcn.100270e2
mov ecx, dword [ebp - 0xc0]
cmp ecx, dword [eax]
jl 0x10031f6e
mov dword [ebp - 0xe8], 1
jmp 0x10031f75
and dword [ebp - 0xe8], 0
push 2
lea ecx, [ebp - 0x110]
call fcn.100270e2
mov ecx, dword [ebp - 0xe8]
cmp ecx, dword [eax]
jge 0x10031f98
mov dword [ebp - 0x194], 1
jmp 0x10031f9f
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x218], eax
push 1
lea ecx, [ebp - 0x58]
call fcn.100270e2
push 1
lea ecx, [ebp - 0x58]
call fcn.100270e2
mov esi, eax
push 0
lea ecx, [ebp - 0x110]
call fcn.100270e2
mov ecx, dword [esi]
cmp ecx, dword [eax]
je 0x10031fe0
mov dword [ebp - 0xc8], 1
jmp 0x10031fe7
and dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 0xfffa
jae 0x10031fff
mov dword [ebp - 0x88], 1
jmp 0x10032006
and dword [ebp - 0x88], 0
push 0
lea ecx, [ebp - 0x184]
call fcn.100270e2
mov ecx, dword [ebp - 0x88]
cmp ecx, dword [eax]
jg 0x1003202f
cmp dword [ebp - 0x8c], 0
je 0x1003202f
mov dword [ebp - 0x68], 1
jmp 0x10032033
and dword [ebp - 0x68], 0
push 1
lea ecx, [ebp - 0x1e4]
call fcn.100270e2
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
cmp dword [ebp - 0x68], 0xe85c68ab
je 0x10032069
push 1
lea ecx, [ebp - 0x58]
call fcn.100270e2
cmp dword [eax], 0
je 0x10032069
mov dword [ebp - 0x94], 1
jmp 0x10032070
and dword [ebp - 0x94], 0
push 1
lea ecx, [ebp - 0x110]
call fcn.100270e2
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [eax]
je 0x100320bb
push 1
lea ecx, [ebp - 0x11c]
call fcn.100270e2
cmp dword [eax], 0
je 0x100320b9
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x184]
call fcn.100270c6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x11c]
call fcn.100270c6
jmp 0x1003210b
jmp 0x100320e8
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x48], 0
je 0x100320e8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x184]
call fcn.100270c6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x11c]
call fcn.100270c6
jmp 0x1003210b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x184]
call fcn.100270c6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x11c]
call fcn.100270c6
jmp 0x10031d04
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1e4]
call fcn.100270c6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x110]
call fcn.100270c6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.100270c6
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0xe7ad53a3
mov dword [ebp - 0x6c], 9
mov dword [ebp - 0x130], 0x22354120
mov dword [ebp - 0x174], 0xfffffffe
mov dword [ebp - 0x4c], 0xf33bc6c2
push 4
lea ecx, [ebp - 0x1c4]
call fcn.10027044
mov dword [ebp - 4], 5
mov dword [ebp - 0x124], 8
mov dword [ebp - 0x3c], 0
jmp 0x10032193
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x100321a6
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x80], 0x57863718
jmp 0x1003218c
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x67f7
push 0x3259
push 0
call fcn.10034019
add esp, 0x14
cmp dword [ebp - 0x10], 0xfffffff6
jne 0x100321d7
mov dword [ebp - 0xb4], 1
jmp 0x100321de
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x224], eax
xor eax, eax
cmp eax, 0x93bd
jl 0x100321f9
mov dword [ebp - 0x78], 1
jmp 0x100321fd
and dword [ebp - 0x78], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x78]
mov dword [ebp + eax - 0x80], ecx
cmp dword [ebp - 0x78], 1
jge 0x10032225
mov eax, 0xcf5aa05
test eax, eax
je 0x10032225
mov dword [ebp - 0x9c], 1
jmp 0x1003222c
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10032246
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x80], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x10]
cmp dword [ebp + eax - 0x80], ecx
jg 0x10032261
mov dword [ebp - 0xa4], 1
jmp 0x10032268
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xa4]
cmp eax, 0xffffffff
jge 0x10032282
mov dword [ebp - 0xac], 1
jmp 0x10032289
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xac], eax
je 0x100322a0
mov dword [ebp - 0xbc], 1
jmp 0x100322a7
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x6c]
jge 0x100322c7
mov dword [ebp - 0xc4], 1
jmp 0x100322ce
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0xc4], eax
jg 0x100322f8
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x80], 0
je 0x100322f8
cmp dword [ebp - 0x20], 0
je 0x100322f8
mov dword [ebp - 0xcc], 1
jmp 0x100322ff
and dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 0x8c17
je 0x10032679
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0xec], 4
mov dword [ebp - 0x238], 0xffffffff
mov dword [ebp - 0x10], 0
jmp 0x10032344
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x1003265a
push 1
push 0x3e
push 0
push 0x2cbc
push 1
call fcn.1003a52f
add esp, 0x14
mov dword [ebp - 0x20], 1
jmp 0x10032373
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x10032655
mov dword [ebp - 0x1d8], 0x9d707d8e
mov dword [ebp - 0x1d4], 0x9d707d8e
mov dword [ebp - 0x1d0], 0x9d707d8e
mov dword [ebp - 0x1cc], 0x9d707d8e
lea ecx, [ebp - 0x71]
call fcn.100270f1
push eax
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0x258]
call fcn.100270f4
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1f0]
call fcn.100270a0
mov byte [ebp - 4], 6
mov dword [ebp - 0x16c], 0x3fd90538
mov dword [ebp - 0x1b4], 0x1659
cmp dword [ebp - 0x1b4], 0xfce
jge 0x1003259c
mov dword [ebp - 0x70], 1
xor eax, eax
inc eax
je 0x1003259c
push 0x1061bb44
push 0x1000e1fc
call fcn.10058aab
pop ecx
pop ecx
cmp dword [0x1061bb44], 0
jne 0x1003242e
jmp 0x1003259c
and dword [ebp - 0x38], 0
jmp 0x1003243b
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [0x1061bb44]
jge 0x1003246b
mov eax, dword [ebp - 0x38]
lea eax, [ebp + eax*8 - 0x2c4]
push eax
mov eax, dword [ebp - 0x38]
lea eax, [ebp + eax*8 - 0x324]
push eax
push 0x1000e730
call fcn.10058aab
add esp, 0xc
jmp 0x10032434
and dword [ebp - 0x14], 0
jmp 0x10032478
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x1061bb44]
jge 0x10032549
imul eax, dword [ebp - 0x14], 0xc
mov ecx, dword [ebp - 0x14]
mov byte [eax + ecx + 0x1061bb48], 0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x100324a6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [0x1061bb44]
jge 0x10032544
mov eax, dword [ebp - 0x1c]
lea eax, [ebp + eax*8 - 0x2c4]
push eax
mov eax, dword [ebp - 0x1c]
lea eax, [ebp + eax*8 - 0x324]
push eax
mov eax, dword [ebp - 0x14]
lea eax, [ebp + eax*8 - 0x2c4]
push eax
mov eax, dword [ebp - 0x14]
lea eax, [ebp + eax*8 - 0x324]
push eax
call fcn.100317a0
add esp, 0x10
fstp qword [ebp - 0x220]
movsd xmm0, qword [0x1000f600]
comisd xmm0, xmmword [ebp - 0x220]
jb 0x10032521
imul eax, dword [ebp - 0x1c], 0xc
mov ecx, dword [ebp - 0x14]
mov byte [eax + ecx + 0x1061bb48], 1
imul eax, dword [ebp - 0x14], 0xc
mov ecx, dword [ebp - 0x1c]
mov byte [eax + ecx + 0x1061bb48], 1
jmp 0x1003253f
imul eax, dword [ebp - 0x1c], 0xc
mov ecx, dword [ebp - 0x14]
mov byte [eax + ecx + 0x1061bb48], 0
imul eax, dword [ebp - 0x14], 0xc
mov ecx, dword [ebp - 0x1c]
mov byte [eax + ecx + 0x1061bb48], 0
jmp 0x1003249f
jmp 0x10032471
push 4
pop eax
imul eax, eax, 0
mov dword [eax + 0x1061bbe0], 1
mov eax, dword [0x1061bb44]
mov dword [0x1061bb40], eax
push 1
push 0
call fcn.1003184f
pop ecx
pop ecx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x164], eax
push dword [0x1061bb40]
push dword [ebp - 0x164]
push 0x1000e738
call fcn.10058cdf
add esp, 0xc
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
jmp 0x10032406
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x80], 3
jb 0x10032637
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x80]
cmp dword [ebp - 0x64], eax
jge 0x100325dd
mov dword [ebp - 0x19c], 1
jmp 0x100325e4
and dword [ebp - 0x19c], 0
mov esi, dword [ebp - 0xdc]
push 1
lea ecx, [ebp - 0x1f0]
call fcn.100270e2
mov dword [eax], esi
cmp dword [ebp - 0x64], 0
je 0x1003261d
push 3
lea ecx, [ebp - 0x1f0]
call fcn.100270e2
cmp dword [eax], 0
je 0x1003261d
mov dword [ebp - 0xe4], 1
jmp 0x10032624
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
mov dword [ebp - 0x16c], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1f0]
call fcn.100270c6
jmp 0x1003236c
jmp 0x1003233d
push 1
push 0
push 0x4491
lea eax, [ebp - 0x1c4]
push eax
push 0x2e15
call fcn.1002d04c
add esp, 0x14
jmp 0x100326ed
mov dword [ebp - 0x140], 0xffffffff
mov dword [ebp - 0x148], 0xffffffff
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x138], 0x741179d7
push 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x174]
push eax
push 0
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.1002ea6d
add esp, 0x30
mov dword [ebp - 0x4c], 0
jmp 0x100326fd
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffe6
jne 0x10032737
mov byte [ebp - 0x21], 0
push 0x4fb5
push 0
lea eax, [ebp - 0x21]
push eax
push 0
push 0x2119
push 0x3793
push 0x7533
push 0x6325
push 0x4382
call fcn.1002d9c2
add esp, 0x24
jmp 0x100326f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c4]
call fcn.100270c6
push 0
push 0x2adc
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0xea6
push 1
call fcn.1002daf4
add esp, 0x18
push 0
push 0x6155
call fcn.1003a6d6
pop ecx
pop ecx
push 0x45b7
push 0x5af3
push 1
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x168]
push eax
push 1
call fcn.1002b11c
add esp, 0x18
mov dword [ebp - 0x230], 0xbeaa32b1
mov dword [ebp - 0x204], 0xfffffffb
mov dword [ebp - 0x23c], 0xebb6748f
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x234], 6
push 3
lea ecx, [ebp - 0x248]
call fcn.10027044
mov dword [ebp - 4], 7
mov dword [ebp - 0x214], 0x2b483718
mov dword [ebp - 0xf4], 0xfffffffd
push 0x5486
lea eax, [ebp - 0x40]
push eax
push 0x609
push 0x5327
lea eax, [ebp - 0x248]
push eax
push 0
call fcn.100399e2
add esp, 0x18
mov dword [ebp - 0x40], 0
jmp 0x10032824
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x1003283a
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x250], 0x434392f2
jmp 0x1003281d
mov byte [ebp - 0x22], 0
movzx eax, byte [ebp - 0x22]
test eax, eax
je 0x1003284e
push 0
call fcn.10034043
pop ecx
mov eax, dword [ebp - 0xf4]
dec eax
mov dword [ebp - 0xf4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.100270c6
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 3
je 0x10032883
jmp 0x100328ce
mov eax, dword [ebp - 0x160]
add eax, dword [ebp - 0x168]
mov dword [ebp - 0x170], eax
push 0x5e38
push 0x7f7a
push 0
push 0x44ba
push 0x60d6
push 1
push 1
lea eax, [ebp - 0x170]
push eax
push 0x68b6
push 0x1ff
push dword [ebp - 0x190]
call fcn.1002c13c
add esp, 0x2c
jmp 0x10031c27
push 0
push 0x75a7
push 0x156
push 0x7a1
call fcn.1002e8c9
add esp, 0x10
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx]
add ecx, dword [eax + 4]
mov eax, dword [ebp - 0x34]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret