Function at 0x1002d512
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082e19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push esi
jmp 0x1002d54d
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x1002e302
mov dword [ebp - 0x34], 0xebaeef20
mov dword [ebp - 0x50], 0
jmp 0x1002d572
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 3
jge 0x1002d588
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x230], 0xffffffff
jmp 0x1002d56b
mov dword [ebp - 0x34], 0
jmp 0x1002d598
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jg 0x1002d5cd
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1002d5bc
push 0
push 0x171a
push 0x1109
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
mov eax, dword [ebp - 0x34]
cmp dword [ebp + eax*4 - 0x230], 0
je 0x1002d5cb
jmp 0x1002d5cd
jmp 0x1002d591
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0x80000000
je 0x1002d689
mov dword [ebp - 0x190], 0x1b18d408
mov dword [ebp - 0x1d4], 0xffffffff
mov dword [ebp - 0x1dc], 0xfffffffc
mov dword [ebp - 0x1f8], 0x62751c76
mov dword [ebp - 0x200], 1
mov dword [ebp - 0x214], 2
mov dword [ebp - 0xdc], 6
mov dword [ebp - 0x70], 0
jmp 0x1002d635
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 2
jge 0x1002d64b
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x244], 0xbab59342
jmp 0x1002d62e
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0xffff
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0x13057
push 0x111eb
call fcn.10024a8a
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x1002d8de
push 3
lea ecx, [ebp - 0x18c]
call fcn.100169ca
and dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x44], 0
jmp 0x1002d6b1
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x1002d6cd
push dword [ebp - 0x44]
lea ecx, [ebp - 0x18c]
call fcn.10016a56
mov dword [eax], 0x9841b3c6
jmp 0x1002d6aa
mov dword [ebp - 0x2c], 2
jmp 0x1002d6dd
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x1002d855
mov dword [ebp - 0x24], 0xfffffffd
mov dword [ebp - 0xd4], 0x81479b69
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1002d718
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetBkColor]
mov dword [ebp - 0x24], 0
jmp 0x1002d728
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jg 0x1002d850
push 2
lea ecx, [ebp - 0x160]
call fcn.100169ca
mov byte [ebp - 4], 1
mov dword [ebp - 0x78], 0
jmp 0x1002d753
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 2
jge 0x1002d76f
push dword [ebp - 0x78]
lea ecx, [ebp - 0x160]
call fcn.10016a56
mov dword [eax], 0xfffffffc
jmp 0x1002d74c
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x1002d787
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
push 1
lea ecx, [ebp - 0x160]
call fcn.10016a56
and dword [eax], 0
jmp 0x1002d7bd
push 1
lea ecx, [ebp - 0x160]
call fcn.10016a56
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x128]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x160]
call fcn.10016a56
cmp dword [eax], 2
jg 0x1002d83c
push dword [ebp - 0x24]
lea ecx, [ebp - 0x18c]
call fcn.10016a56
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1e8], eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x18c]
call fcn.10016a56
mov eax, dword [eax]
add eax, 0x3a34
cmp eax, dword [ebp - 0x2c]
jne 0x1002d821
mov dword [ebp - 0xa0], 1
jmp 0x1002d828
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0xd4], eax
jmp 0x1002d799
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.10016a51
jmp 0x1002d721
jmp 0x1002d6d6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18c]
call fcn.10016a51
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax]
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x3c], 0x2c03342e
mov dword [ebp - 0x3c], 0
jmp 0x1002d88b
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x13
jge 0x1002d89b
cmp dword [ebp - 0x3c], 0
je 0x1002d899
jmp 0x1002d89b
jmp 0x1002d884
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1002d8b6
push 0
push 0x2663
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov eax, dword [ebp - 0x164]
inc eax
inc eax
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0x13057
push 0x111eb
call fcn.10024a8a
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov dword [ebp - 0x1a0], 0x1b18d408
mov dword [ebp - 0x1f0], 0xffffffff
mov dword [ebp - 0x1a8], 0xfffffffc
mov dword [ebp - 0x1ec], 0x62751c76
mov dword [ebp - 0x1b0], 1
mov dword [ebp - 0x20c], 2
mov dword [ebp - 0xb4], 6
mov dword [ebp - 0x58], 0
jmp 0x1002d934
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jge 0x1002d94a
mov eax, dword [ebp - 0x58]
mov dword [ebp + eax*4 - 0x24c], 0xbab59342
jmp 0x1002d92d
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp dword [eax], 0
jne 0x1002e2fd
mov dword [ebp - 0x1b8], 0x45625132
mov dword [ebp - 0x1f4], 0x7747bb7a
mov dword [ebp - 0x1c0], 0xe3e7631
mov dword [ebp - 0x6c], 0
jmp 0x1002d993
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 2
jge 0x1002d9a9
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x154], 0xae355683
jmp 0x1002d98c
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x154], 0
jmp 0x1002d9d7
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x154]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x154], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x154], 2
jg 0x1002db1d
mov dword [ebp - 0x38], 0x738ab659
mov dword [ebp - 0x210], 0x61c71bc7
mov dword [ebp - 0x1c8], 0xfffffff9
mov dword [ebp - 0x60], 0
jmp 0x1002da16
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jge 0x1002da2c
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x23c], 0xfffffff6
jmp 0x1002da0f
mov dword [ebp - 0x38], 0
jmp 0x1002da3c
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jg 0x1002db18
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x1fc], 0xfbc9fa8b
mov dword [ebp - 0x1d0], 1
mov eax, dword [ebp - 0x38]
cmp dword [ebp + eax*4 - 0x23c], 0
je 0x1002dae1
mov dword [ebp - 0x204], 0xf0720718
mov dword [ebp - 0x14], 0
jmp 0x1002da88
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x1002da9e
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x258], 0x443e
jmp 0x1002da81
mov dword [ebp - 0x14], 0
jmp 0x1002daae
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x1002dac4
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x224], 4
jmp 0x1002daa7
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x224]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x224], eax
jmp 0x1002db13
mov dword [ebp - 0x74], 2
jmp 0x1002daf1
mov eax, dword [ebp - 0x74]
dec eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jl 0x1002db13
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x1002db11
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
jmp 0x1002daea
jmp 0x1002da35
jmp 0x1002d9bc
mov eax, dword [ebp + 0x18]
and dword [eax], 0
mov dword [ebp - 0x10], 0xea75
mov dword [ebp - 0x5c], 0x7858f9c
mov dword [ebp - 0x48], 0xfffffff7
mov dword [ebp - 0x54], 0xbdd48407
mov dword [ebp - 0x1d8], 1
mov dword [ebp - 0x100], 0xfffffffb
mov dword [ebp - 0x64], 0xda8db884
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x1e4], 4
mov dword [ebp - 0x94], 0xb1f1
mov dword [ebp - 0x68], 0
jmp 0x1002db85
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 2
jge 0x1002db9b
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x14c], 0xd86e6af5
jmp 0x1002db7e
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
jne 0x1002dbb4
push 8
pop eax
test eax, eax
jne 0x1002dbb4
and dword [ebp - 0xf0], 0
jmp 0x1002dbbe
mov dword [ebp - 0xf0], 1
or eax, 0xffffffff
je 0x1002dbfe
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jle 0x1002dbd7
mov dword [ebp - 0xb0], 1
jmp 0x1002dbde
and dword [ebp - 0xb0], 0
imul eax, dword [ebp - 0xb0], 0x2a83
imul eax, eax, 0xc17e
test eax, eax
je 0x1002dbfe
mov dword [ebp - 0x168], 1
jmp 0x1002dc05
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0xf0]
sub eax, dword [ebp - 0x10]
je 0x1002de98
mov dword [ebp - 0x7c], 0xe568
mov dword [ebp - 0x194], 1
mov dword [ebp - 0x90], 0x4b5e4957
mov dword [ebp - 0x170], 0x5741311e
mov dword [ebp - 0x174], 0xebbd4856
mov dword [ebp - 0x19c], 0x8963ec58
mov dword [ebp - 0xe8], 0xc57f39ce
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x88], 0x7a0d7c8a
mov dword [ebp - 0x178], 0xfffffffc
mov dword [ebp - 0xe0], 0x62b4
mov eax, dword [ebp - 0x7c]
dec eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x80]
dec eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
je 0x1002dcc5
or eax, 0xffffffff
je 0x1002dcc5
mov dword [ebp - 0xf8], 1
jmp 0x1002dccc
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1c], 0
je 0x1002dcdf
cmp dword [ebp - 0x7c], 0
cmp dword [ebp - 0x5c], 0
jae 0x1002dcf1
mov dword [ebp - 0xb8], 1
jmp 0x1002dcf8
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
sub eax, 0xc114
sub eax, dword [ebp - 0x5c]
cmp eax, 0x76a4
jle 0x1002dd19
mov dword [ebp - 0x110], 1
jmp 0x1002dd20
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x90]
imul eax, dword [ebp - 0x110]
cmp eax, dword [ebp - 0x64]
jg 0x1002dd3e
mov dword [ebp - 0xc0], 1
jmp 0x1002dd45
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x170]
add eax, dword [ebp - 0xc0]
je 0x1002dd68
cmp dword [ebp - 0x178], 0
je 0x1002dd68
mov dword [ebp - 0x180], 1
jmp 0x1002dd6f
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xa600ac80
ja 0x1002dd93
mov dword [ebp - 0xc8], 1
jmp 0x1002dd9a
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xf8]
cmp eax, dword [ebp - 0xc8]
jl 0x1002ddb4
mov dword [ebp - 0x120], 1
jmp 0x1002ddbb
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0x120], eax
je 0x1002ddd5
mov dword [ebp - 0xd0], 1
jmp 0x1002dddc
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
je 0x1002de06
mov eax, 0xffff
test eax, eax
je 0x1002de06
mov dword [ebp - 0xd8], 1
jmp 0x1002de0d
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0x174]
cmp dword [ebp - 0xd8], eax
jle 0x1002de27
mov dword [ebp - 0x118], 1
jmp 0x1002de2e
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0xe8]
add eax, dword [ebp - 0x118]
cmp eax, 0xffffffff
jle 0x1002de4b
mov dword [ebp - 0x16c], 1
jmp 0x1002de52
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x54]
sub eax, 7
cmp eax, 0x5767
jge 0x1002de80
mov dword [ebp - 0x108], 1
jmp 0x1002de87
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xe8], eax
jmp 0x1002e2fb
mov dword [ebp - 0x40], 9
push 1
lea ecx, [ebp - 0x138]
call fcn.100169ca
mov dword [ebp - 4], 2
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x4c], 0
push 1
lea ecx, [ebp - 0x144]
call fcn.100169ca
mov byte [ebp - 4], 3
mov dword [ebp - 0x12c], 0xad294528
mov dword [ebp - 0x18], 0
jmp 0x1002deef
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1002df0b
push dword [ebp - 0x18]
lea ecx, [ebp - 0x138]
call fcn.10016a56
mov dword [eax], 0xfffffff6
jmp 0x1002dee8
mov dword [ebp - 0x18], 0
jmp 0x1002df1b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1002df37
push dword [ebp - 0x18]
lea ecx, [ebp - 0x144]
call fcn.10016a56
mov dword [eax], 0xfffffffe
jmp 0x1002df14
mov dword [ebp - 0x1c], 0
jmp 0x1002df47
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xfffffff8
jg 0x1002df6b
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x1002df61
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp dword [ebp - 0x10], 0
je 0x1002df69
jmp 0x1002df6b
jmp 0x1002df40
cmp dword [ebp - 0x40], 0
jne 0x1002e2b5
cmp dword [ebp - 0x40], 0
je 0x1002df8d
push 0
lea ecx, [ebp - 0x138]
call fcn.10016a56
cmp dword [eax], 0
jne 0x1002df9c
cmp dword [ebp - 0x48], 0
jne 0x1002df9c
and dword [ebp - 0xa8], 0
jmp 0x1002dfa6
mov dword [ebp - 0xa8], 1
push 0
lea ecx, [ebp - 0x138]
call fcn.10016a56
mov ecx, dword [ebp - 0xa8]
cmp ecx, dword [eax]
jg 0x1002dfc9
mov dword [ebp - 0xac], 1
jmp 0x1002dfd0
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0xac], eax
jle 0x1002dfe7
mov dword [ebp - 0xa4], 1
jmp 0x1002dfee
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0xa4], eax
jne 0x1002e008
mov dword [ebp - 0xbc], 1
jmp 0x1002e00f
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xd8b2
jg 0x1002e02d
mov dword [ebp - 0xc4], 1
jmp 0x1002e034
and dword [ebp - 0xc4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x14c]
cmp dword [ebp - 0xc4], eax
jg 0x1002e055
mov dword [ebp - 0xcc], 1
jmp 0x1002e05c
and dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0x144]
call fcn.10016a56
mov ecx, dword [ebp - 0xcc]
cmp ecx, dword [eax]
jle 0x1002e07f
mov dword [ebp - 0x9c], 1
jmp 0x1002e086
and dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0
jbe 0x1002e0ad
push 0
lea ecx, [ebp - 0x138]
call fcn.10016a56
cmp dword [eax], 0
je 0x1002e0ad
mov dword [ebp - 0x98], 1
jmp 0x1002e0b4
and dword [ebp - 0x98], 0
push 0
lea ecx, [ebp - 0x144]
call fcn.10016a56
mov ecx, dword [ebp - 0x98]
cmp ecx, dword [eax]
jl 0x1002e0cf
cmp dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x8c]
lea eax, [eax + ecx + 4]
cmp eax, dword [ebp - 0x1c]
je 0x1002e0ed
mov dword [ebp - 0xe4], 1
jmp 0x1002e0f4
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0xe4]
je 0x1002e111
cmp dword [ebp - 0x40], 0
je 0x1002e111
mov dword [ebp - 0xec], 1
jmp 0x1002e118
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0xec], eax
je 0x1002e12f
mov dword [ebp - 0xf4], 1
jmp 0x1002e136
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0xf4], eax
jge 0x1002e14d
mov dword [ebp - 0x17c], 1
jmp 0x1002e154
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1cc], eax
push 0
lea ecx, [ebp - 0x144]
call fcn.10016a56
cmp dword [eax], 0xd267
je 0x1002e17e
mov dword [ebp - 0xfc], 1
jmp 0x1002e185
and dword [ebp - 0xfc], 0
push 0
lea ecx, [ebp - 0x144]
call fcn.10016a56
mov ecx, dword [ebp - 0xfc]
cmp ecx, dword [eax]
jne 0x1002e1a8
mov dword [ebp - 0x104], 1
jmp 0x1002e1af
and dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0
jae 0x1002e1c4
mov dword [ebp - 0x84], 1
jmp 0x1002e1cb
and dword [ebp - 0x84], 0
push 0
lea ecx, [ebp - 0x138]
call fcn.10016a56
mov ecx, dword [ebp - 0x84]
mov dword [eax], ecx
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x84]
cmp dword [ebp - 0x8c], eax
jl 0x1002e200
cmp dword [ebp - 0x54], 0
jne 0x1002e200
and dword [ebp - 0x10c], 0
jmp 0x1002e20a
mov dword [ebp - 0x10c], 1
mov eax, dword [ebp - 0x10c]
add eax, 0x60936dd
mov dword [ebp - 0x5c], eax
push 4
pop eax
imul eax, eax, 0
mov esi, dword [ebp + eax - 0x14c]
imul esi, dword [ebp - 0x64]
push 0
lea ecx, [ebp - 0x144]
call fcn.10016a56
cmp esi, dword [eax]
jg 0x1002e24c
cmp dword [ebp - 0x1c], 0
je 0x1002e24c
mov dword [ebp - 0x114], 1
jmp 0x1002e253
and dword [ebp - 0x114], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x114]
sub ecx, dword [ebp + eax - 0x14c]
add ecx, dword [ebp - 0x10]
jne 0x1002e27a
cmp dword [ebp - 0x10], 0
jne 0x1002e27a
and dword [ebp - 0x11c], 0
jmp 0x1002e284
mov dword [ebp - 0x11c], 1
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x11c], eax
jle 0x1002e29b
mov dword [ebp - 0x124], 1
jmp 0x1002e2a2
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x94]
dec eax
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
push 0
lea ecx, [ebp - 0x138]
call fcn.10016a56
mov eax, dword [eax]
mov dword [ebp - 0x12c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x12c]
mov dword [ebp + eax - 0x14c], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x144]
call fcn.10016a51
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.10016a51
jmp 0x1002e302
jmp 0x1002d533
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret