Function at 0x100292b5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x100292f8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
movzx eax, byte [eax]
test eax, eax
je 0x100292f3
push 0x137a
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x10029c35
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x128], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x144], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x12c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x140], 0x34e2
mov dword [ebp - 0x2c], 0
jmp 0x1002933c
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jge 0x1002934f
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x24], 0
jmp 0x10029335
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x24], 0
jmp 0x10029374
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x24]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x24], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x24], 0xfffffff2
je 0x10029555
mov dword [ebp - 0xb4], 0xc7153413
mov dword [ebp - 0x50], 7
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x24]
mov dword [ebp - 0x158], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x24]
neg eax
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x24]
je 0x100293c9
mov dword [ebp - 0x9c], 1
jmp 0x100293d0
and dword [ebp - 0x9c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x24]
mov dword [ebp - 0x15c], eax
mov eax, 0x3b16aac8
add eax, 0x40552487
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x150], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x24]
cmp dword [ebp - 0x9c], eax
jg 0x10029417
mov dword [ebp - 0x60], 1
jmp 0x1002941b
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0x9cbc
jg 0x10029430
mov dword [ebp - 0xb8], 1
jmp 0x10029437
and dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 0xb07f
jne 0x1002944c
mov dword [ebp - 0x68], 1
jmp 0x10029450
and dword [ebp - 0x68], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x24]
mov ecx, dword [ebp - 0x68]
lea eax, [ecx + eax - 7]
cmp eax, dword [ebp - 0x50]
jne 0x10029471
mov dword [ebp - 0xc0], 1
jmp 0x10029478
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 0xe3585ca2
jne 0x1002948d
mov dword [ebp - 0x70], 1
jmp 0x10029491
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x70], eax
jle 0x100294a5
mov dword [ebp - 0xc8], 1
jmp 0x100294ac
and dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 0xd77dfcc8
ja 0x100294c1
mov dword [ebp - 0x78], 1
jmp 0x100294c5
and dword [ebp - 0x78], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x24]
add eax, dword [ebp - 0x78]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x24]
je 0x100294e9
mov dword [ebp - 0xd0], 1
jmp 0x100294f0
and dword [ebp - 0xd0], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x24]
cmp dword [ebp - 0xd0], eax
jg 0x1002950a
mov dword [ebp - 0x80], 1
jmp 0x1002950e
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 6
jbe 0x10029520
mov dword [ebp - 0xd8], 1
jmp 0x10029527
and dword [ebp - 0xd8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x24]
cmp dword [ebp - 0xd8], eax
jle 0x10029544
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x24], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x24]
mov dword [ebp - 0x50], eax
jmp 0x1002935f
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x24]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0xa4], 2
mov dword [ebp - 8], 0
jmp 0x100295b5
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x100295cb
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x18c], 0xfffffffa
jmp 0x100295ae
mov dword [ebp - 8], 0
jmp 0x100295db
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x100295f1
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x148], 0xb566e66b
jmp 0x100295d4
mov dword [ebp - 0x18], 0x12
jmp 0x10029601
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xa
jl 0x100299ea
mov dword [ebp - 0x54], 0x19c9214a
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0x10], 0x402da3c3
mov dword [ebp - 0x34], 0
jmp 0x10029633
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 4
jge 0x10029649
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x10c], 1
jmp 0x1002962c
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0x10c], 3
jmp 0x10029677
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x10c]
dec eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0x10c], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x10c], 0
jl 0x100297a8
mov dword [ebp - 0x38], 0
jmp 0x1002969b
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x100296b1
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x90], 4
jmp 0x10029694
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x10c]
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0xc4], 0x58905b8b
jge 0x100296dc
mov dword [ebp - 0x88], 1
jmp 0x100296e3
and dword [ebp - 0x88], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x90]
cmp dword [ebp - 0x88], eax
jle 0x10029704
mov dword [ebp - 0xe0], 1
jmp 0x1002970b
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x160], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xe0]
sub ecx, dword [ebp + eax - 0x10c]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x54], 0x64d64ea3
jne 0x1002974f
mov dword [ebp - 0xe8], 1
jmp 0x10029756
and dword [ebp - 0xe8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x90]
cmp dword [ebp - 0xe8], eax
jne 0x10029777
mov dword [ebp - 0xf0], 1
jmp 0x1002977e
and dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 1
jge 0x10029793
mov dword [ebp - 0x98], 1
jmp 0x1002979a
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x10], eax
jmp 0x1002965c
mov dword [ebp - 0x10], 0
jmp 0x100297b8
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jg 0x100299e5
mov dword [ebp - 0x130], 0xfffb
mov dword [ebp - 0x28], 0
jmp 0x100297dc
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x100297f2
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0xfc], 0
jmp 0x100297d5
cmp dword [ebp - 0xa4], 0
je 0x10029905
mov dword [ebp - 0x30], 0xe1289ed5
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x124]
cmp eax, dword [ebp - 0x30]
jg 0x10029833
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x124], 0
je 0x10029833
mov dword [ebp - 0xcc], 1
jmp 0x1002983a
and dword [ebp - 0xcc], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x148]
cmp dword [ebp - 0xcc], eax
jg 0x1002985e
cmp dword [ebp - 0xa4], 0
jne 0x1002985e
and dword [ebp - 0x3c], 0
jmp 0x10029865
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x10c], ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xfc]
cmp dword [ebp - 0x3c], eax
jge 0x10029890
mov dword [ebp - 0xe4], 1
jmp 0x10029897
and dword [ebp - 0xe4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xfc]
cmp eax, dword [ebp - 0xe4]
jg 0x100298b8
mov dword [ebp - 0xac], 1
jmp 0x100298bf
and dword [ebp - 0xac], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xfc]
cmp dword [ebp - 0xac], eax
jl 0x100298e0
mov dword [ebp - 0xd4], 1
jmp 0x100298e7
and dword [ebp - 0xd4], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xfc]
cmp dword [ebp - 0xd4], eax
jl 0x10029905
mov dword [ebp - 0x58], 1
jmp 0x10029909
and dword [ebp - 0x58], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xfc]
cmp dword [ebp - 0x58], eax
jge 0x10029927
mov dword [ebp - 0xf4], 1
jmp 0x1002992e
and dword [ebp - 0xf4], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x124]
sub eax, dword [ebp - 0xf4]
jne 0x10029959
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x10c], 0
jne 0x10029959
and dword [ebp - 0xbc], 0
jmp 0x10029963
mov dword [ebp - 0xbc], 1
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x124]
cmp dword [ebp - 0xbc], eax
jge 0x10029984
mov dword [ebp - 0xdc], 1
jmp 0x1002998b
and dword [ebp - 0xdc], 0
cmp dword [ebp - 0xdc], 0x349b
jle 0x100299a3
mov dword [ebp - 0xec], 1
jmp 0x100299aa
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0xec], eax
jl 0x100299cd
mov eax, 0xb1dcede6
test eax, eax
je 0x100299cd
mov dword [ebp - 0x94], 1
jmp 0x100299d4
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x130], eax
jmp 0x100297b1
jmp 0x100295fa
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
shl eax, 4
mov ecx, dword [ebp - 0x12c]
mov ecx, dword [ecx]
lea eax, [eax + ecx*8 + 0x10088848]
mov ecx, dword [ebp - 0x13c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x4c]
mov eax, dword [eax + ecx*4]
mov dword [edx], eax
mov dword [ebp - 0x48], 0xae7b
mov dword [ebp - 0xc], 0xfffffffb
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x114], 0xd1d8475
mov dword [ebp - 4], 0
jmp 0x10029a46
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x10029a5c
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x16c], 0x33a79cc0
jmp 0x10029a3f
mov dword [ebp - 4], 0
jmp 0x10029a6c
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jge 0x10029a82
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x17c], 0x153413f0
jmp 0x10029a65
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10029aa7
push 0
push 0x54bf
push 0x44f0
push 0x5b3f
call fcn.10031421
add esp, 0x10
cmp dword [ebp - 0x48], 0
jne 0x10029ab9
mov dword [ebp - 0xa8], 1
jmp 0x10029ac0
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x164], eax
mov eax, 0xf58382bd
test eax, eax
je 0x10029ae4
cmp dword [ebp - 0xc], 0
je 0x10029ae4
mov dword [ebp - 0xa0], 1
jmp 0x10029aeb
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0xa0]
je 0x10029b08
cmp dword [ebp - 0xc], 0
je 0x10029b08
mov dword [ebp - 0xb0], 1
jmp 0x10029b0f
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xb0]
jl 0x10029b26
mov dword [ebp - 0x5c], 1
jmp 0x10029b2a
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x5c], eax
jl 0x10029b3b
mov dword [ebp - 0x40], 1
jmp 0x10029b3f
and dword [ebp - 0x40], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x40]
mov dword [ebp + eax - 0x16c], ecx
cmp dword [ebp - 0x40], 0
je 0x10029b64
cmp dword [ebp - 0xc], 0
je 0x10029b64
mov dword [ebp - 0x64], 1
jmp 0x10029b68
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x64], eax
jg 0x10029b79
mov dword [ebp - 0x6c], 1
jmp 0x10029b7d
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x6c]
je 0x10029b94
cmp dword [ebp - 0xc], 0
je 0x10029b94
mov dword [ebp - 0x44], 1
jmp 0x10029b98
and dword [ebp - 0x44], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp + eax - 0x17c], ecx
cmp dword [ebp - 0x44], 0xfffffffd
jge 0x10029bb7
mov dword [ebp - 0x74], 1
jmp 0x10029bbb
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0xfffffff6
je 0x10029bca
mov dword [ebp - 0x7c], 1
jmp 0x10029bce
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x7c], eax
jge 0x10029be2
mov dword [ebp - 0x84], 1
jmp 0x10029be9
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x134]
cmp dword [ebp - 0x84], eax
jg 0x10029c03
mov dword [ebp - 0x8c], 1
jmp 0x10029c0a
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 0x24]
and eax, 0x4000000
je 0x10029c35
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
or eax, 0x200
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret