Function at 0x10021019
Capabilities:
Contain obfuscated stackstrings
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e2eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x378
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x1ec], 0
mov dword [ebp - 0x98], 8
push 3
lea ecx, [ebp - 0x20c]
call fcn.1000e8c4
and dword [ebp - 4], 0
mov dword [ebp - 0x1b8], 0xbb8bffb
mov dword [ebp - 0x1f4], 0x56574b60
mov dword [ebp - 0x234], 0xfffffffc
mov dword [ebp - 0x1f0], 5
mov dword [ebp - 0x2b4], 0x3bbb66ef
mov dword [ebp - 0x134], 0xeab3ae5d
mov dword [ebp - 0x1b0], 8
mov dword [ebp - 0x20], 0
jmp 0x100210b6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x100210d2
push dword [ebp - 0x20]
lea ecx, [ebp - 0x20c]
call fcn.1000e93c
mov dword [eax], 1
jmp 0x100210af
mov dword [ebp - 0x20], 0
jmp 0x100210e2
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x100210f8
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x320], 0xfe737448
jmp 0x100210db
mov dword [ebp - 0x98], 0x15
jmp 0x10021111
mov eax, dword [ebp - 0x98]
dec eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 3
jl 0x100213ff
mov dword [ebp - 0x1c], 0x2b57e8b7
mov dword [ebp - 0x130], 0xd63d2c82
mov dword [ebp - 0x90], 0
jmp 0x10021148
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 2
jge 0x10021164
mov eax, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0x2bc], 0x50678e04
jmp 0x1002113b
mov dword [ebp - 0x1c], 0
jmp 0x10021174
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xfffffff1
jg 0x10021242
mov dword [ebp - 0x24], 0xfffffff7
mov dword [ebp - 0x24], 0
jmp 0x10021195
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jg 0x1002123d
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20c]
call fcn.1000e93c
cmp dword [eax], 0
jne 0x100211e1
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20c]
call fcn.1000e93c
cmp dword [eax], 0
jne 0x100211e1
push dword [ebp - 0x24]
lea ecx, [ebp - 0x20c]
call fcn.1000e93c
cmp dword [eax], 0
jne 0x100211e1
and dword [ebp - 0x14c], 0
jmp 0x100211eb
mov dword [ebp - 0x14c], 1
cmp dword [ebp - 0x24], 0
je 0x10021204
xor eax, eax
sub eax, dword [ebp - 0x24]
je 0x10021204
mov dword [ebp - 0x1fc], 1
jmp 0x1002120b
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x14c]
cmp eax, dword [ebp - 0x1fc]
je 0x10021225
mov dword [ebp - 0x1a8], 1
jmp 0x1002122c
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1b8], eax
jmp 0x1002118e
jmp 0x1002116d
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0x150], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x150]
mov dword [ebp + eax - 0x2bc], ecx
mov eax, dword [ebp - 0x1f4]
cmp eax, dword [ebp - 0x150]
jg 0x100212d5
mov eax, dword [ebp - 0x130]
inc eax
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x2b4]
test eax, eax
jne 0x100212a8
cmp dword [ebp - 0x130], 0
jne 0x100212a8
and dword [ebp - 0x1d8], 0
jmp 0x100212b2
mov dword [ebp - 0x1d8], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x320]
imul eax, dword [ebp - 0x1d8]
test eax, eax
je 0x100212d5
mov dword [ebp - 0x158], 1
jmp 0x100212dc
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x1b0], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2bc]
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0x134]
dec eax
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1f0]
cmp dword [ebp - 0x134], eax
jge 0x10021331
mov dword [ebp - 0x160], 1
jmp 0x10021338
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x160]
cmp eax, dword [ebp - 0x1f0]
je 0x10021355
mov dword [ebp - 0x168], 1
jmp 0x1002135c
and dword [ebp - 0x168], 0
push 2
lea ecx, [ebp - 0x20c]
call fcn.1000e93c
mov ecx, dword [ebp - 0x168]
cmp ecx, dword [eax]
je 0x1002137f
mov dword [ebp - 0x170], 1
jmp 0x10021386
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x1b8]
cmp dword [ebp - 0x170], eax
jg 0x100213a0
mov dword [ebp - 0x1e0], 1
jmp 0x100213a7
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x1c]
neg eax
cmp eax, dword [ebp - 0x1e0]
je 0x100213c0
mov dword [ebp - 0x178], 1
jmp 0x100213c7
and dword [ebp - 0x178], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x178]
shl ecx, 1
cmp ecx, dword [ebp + eax - 0x320]
jne 0x100213ea
mov dword [ebp - 0x1c0], 1
jmp 0x100213f1
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c], eax
jmp 0x10021104
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20c]
call fcn.1000e920
mov byte [ebp - 0x12c], 0x18
mov byte [ebp - 0x12b], 0xf5
mov byte [ebp - 0x12a], 1
mov byte [ebp - 0x129], 0x1b
mov byte [ebp - 0x128], 3
mov byte [ebp - 0x127], 6
mov byte [ebp - 0x126], 0xf
mov byte [ebp - 0x125], 0x14
mov byte [ebp - 0x124], 0x14
mov byte [ebp - 0x123], 5
mov byte [ebp - 0x122], 0x16
mov byte [ebp - 0x121], 2
mov byte [ebp - 0x120], 8
mov byte [ebp - 0x11f], 0x1e
mov byte [ebp - 0x11e], 0xb
mov byte [ebp - 0x11d], 5
mov byte [ebp - 0x11c], 0x13
mov byte [ebp - 0x11b], 0x18
mov byte [ebp - 0x11a], 7
mov byte [ebp - 0x119], 0x1c
mov byte [ebp - 0x118], 6
mov byte [ebp - 0x117], 0xf
mov byte [ebp - 0x116], 0x12
mov byte [ebp - 0x115], 0x14
mov byte [ebp - 0x114], 0x11
mov byte [ebp - 0x113], 1
mov byte [ebp - 0x112], 0xc
mov byte [ebp - 0x111], 0x1f
mov byte [ebp - 0x110], 9
mov byte [ebp - 0x10f], 7
mov byte [ebp - 0x10e], 0xe
mov byte [ebp - 0x10d], 5
mov byte [ebp - 0x10c], 2
mov byte [ebp - 0x10b], 0xc
mov byte [ebp - 0x10a], 0x10
mov byte [ebp - 0x109], 0x12
mov byte [ebp - 0x108], 0x17
mov byte [ebp - 0x107], 9
mov byte [ebp - 0x106], 0x15
mov byte [ebp - 0x105], 0xe
mov byte [ebp - 0x104], 0
mov byte [ebp - 0x103], 0x17
mov byte [ebp - 0x102], 4
mov byte [ebp - 0x101], 4
mov byte [ebp - 0x100], 0xd
mov byte [ebp - 0xff], 0xb
mov byte [ebp - 0xfe], 0xa
mov byte [ebp - 0xfd], 5
mov byte [ebp - 0xfc], 5
mov byte [ebp - 0xfb], 0xd
mov byte [ebp - 0xfa], 0x3b
mov byte [ebp - 0xf9], 0xcf
mov byte [ebp - 0xf8], 0x3a
mov byte [ebp - 0xf7], 0xee
mov byte [ebp - 0xf6], 3
mov byte [ebp - 0xf5], 0xc1
mov byte [ebp - 0xf4], 0x32
mov byte [ebp - 0xf3], 0xcd
mov byte [ebp - 0xf2], 0x8a
mov byte [ebp - 0xf1], 0xd2
mov byte [ebp - 0xf0], 0x3c
mov byte [ebp - 0xef], 0xc3
mov byte [ebp - 0xee], 0xf9
mov byte [ebp - 0xed], 0x6b
mov byte [ebp - 0xec], 0x25
mov byte [ebp - 0xeb], 0x24
mov byte [ebp - 0xea], 0x64
mov byte [ebp - 0xe9], 0x66
mov byte [ebp - 0xe8], 0x71
mov byte [ebp - 0xe7], 0x6d
mov byte [ebp - 0xe6], 0x7f
mov byte [ebp - 0xe5], 0x62
mov byte [ebp - 0xe4], 0xb1
mov byte [ebp - 0xe3], 0x4a
mov byte [ebp - 0xe2], 0xd1
mov byte [ebp - 0xe1], 0x50
mov byte [ebp - 0xe0], 0xbb
mov byte [ebp - 0xdf], 0x10
mov byte [ebp - 0xde], 0x2c
mov byte [ebp - 0xdd], 0xa3
mov byte [ebp - 0xdc], 0xda
mov byte [ebp - 0xdb], 0x2c
mov byte [ebp - 0xda], 0xa0
mov byte [ebp - 0xd9], 0x64
mov byte [ebp - 0xd8], 0xed
mov byte [ebp - 0xd7], 0x5c
mov byte [ebp - 0xd6], 0x97
mov byte [ebp - 0xd5], 0x14
mov byte [ebp - 0xd4], 0x86
mov byte [ebp - 0xd3], 0x62
mov byte [ebp - 0xd2], 0xad
mov byte [ebp - 0xd1], 0x18
mov byte [ebp - 0xd0], 0x81
mov byte [ebp - 0xcf], 0x51
mov byte [ebp - 0xce], 0xef
mov byte [ebp - 0xcd], 0x1d
mov byte [ebp - 0xcc], 0x20
mov byte [ebp - 0xcb], 0xc2
mov byte [ebp - 0xca], 0xad
mov byte [ebp - 0xc9], 0xa9
mov byte [ebp - 0xc8], 0xa8
mov byte [ebp - 0xc7], 0x99
mov byte [ebp - 0xc6], 0x6e
mov byte [ebp - 0xc5], 0x56
mov byte [ebp - 0xc4], 0xf
mov byte [ebp - 0xc3], 0x84
mov byte [ebp - 0xc2], 0xc6
mov byte [ebp - 0xc1], 0x55
mov byte [ebp - 0xc0], 0xa6
mov byte [ebp - 0xbf], 0x7b
mov byte [ebp - 0xbe], 0x19
mov byte [ebp - 0xbd], 0x1c
mov dword [ebp - 0x38], 0x399841b3
push 2
lea ecx, [ebp - 0x2c8]
call fcn.1000e8c4
mov dword [ebp - 4], 1
push 1
lea ecx, [ebp - 0x2d4]
call fcn.1000e8c4
mov byte [ebp - 4], 2
mov dword [ebp - 0x210], 0xb4b72b41
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.100171df
pop ecx
pop ecx
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.10020c0c
pop ecx
pop ecx
mov dword [ebp - 0x38], 0x10
jmp 0x1002178e
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffe3
jne 0x10021810
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x218], 0xbc8f9611
mov dword [ebp - 0x44], 0
jmp 0x100217b5
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jg 0x1002180b
mov dword [ebp - 0x274], 0xffffffff
mov dword [ebp - 0x220], 4
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.10020c54
add esp, 0x20
jmp 0x100217ae
jmp 0x10021787
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2d4]
call fcn.1000e920
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c8]
call fcn.1000e920
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x12c]
and eax, 0x8c
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x12c]
or ecx, 0x8c
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x12c]
mov byte [ebp + eax - 0x2f0], cl
mov dword [ebp - 0x14], 2
and dword [ebp - 0x48], 0
jmp 0x10021881
mov eax, dword [ebp - 0x14]
inc eax
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x70
jae 0x100223bd
mov dword [ebp - 0x180], 0x2a14
mov dword [ebp - 0x2b0], 0x10008964
cmp dword [ebp - 0x180], 0x2b8e
jle 0x10021972
call dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x60], 0
jmp 0x100218c2
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x2abc
jge 0x10021961
and dword [ebp - 0x70], 0
jmp 0x100218dc
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x1b71
jge 0x1002195c
and dword [ebp - 0x58], 0
jmp 0x100218f2
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x6f07
jge 0x10021957
and dword [ebp - 0xa8], 0
jmp 0x10021911
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x3155
jge 0x10021955
mov eax, dword [ebp - 0x58]
xor eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x70]
sar edx, cl
or eax, edx
cdq
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], edx
push dword [ebp - 0x23c]
push dword [ebp - 0x240]
mov ecx, 0x10607538
call fcn.1000e7af
jmp 0x10021904
jmp 0x100218eb
jmp 0x100218d5
jmp 0x100218bb
push 0
push 0xec1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x12c]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x14], eax
jne 0x100219b2
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x12c]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x12c]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x14], eax
jmp 0x10021879
mov dword [ebp - 4], 3
cmp dword [ebp - 0x180], 0x272f
jge 0x100219d5
mov edx, dword [ebp - 0x2b0]
mov ecx, 0x10607538
call fcn.1001021f
jmp 0x100219f1
or dword [ebp - 4], 0xffffffff
jmp 0x100219fb
mov dword [ebp - 0x200], 0x30a1
mov dword [ebp - 0x228], 0x100089b0
cmp dword [ebp - 0x200], 0x312c
jle 0x10021ab1
and dword [ebp - 0x68], 0
jmp 0x10021a2c
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0x39a4
jge 0x10021ab1
and dword [ebp - 0x74], 0
jmp 0x10021a42
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x1090
jge 0x10021aac
and dword [ebp - 0x4c], 0
jmp 0x10021a58
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x6ade
jge 0x10021aaa
and dword [ebp - 0x7c], 0
jmp 0x10021a6e
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x69f0
jge 0x10021aa8
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x7c]
cdq
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], edx
push dword [ebp - 0x248]
push dword [ebp - 0x24c]
mov ecx, 0x10607538
call fcn.1000e7af
jmp 0x10021a67
jmp 0x10021a51
jmp 0x10021a3b
jmp 0x10021a25
push 2
lea ecx, [ebp - 0x140]
call fcn.1000e8c4
mov dword [ebp - 4], 5
mov byte [ebp - 4], 6
cmp dword [ebp - 0x200], 0x2f62
jge 0x10021ae5
mov edx, dword [ebp - 0x228]
mov ecx, 0x10607538
call fcn.1001021f
jmp 0x10021b01
mov dword [ebp - 4], 5
jmp 0x10021b11
mov dword [ebp - 0x18], 0xeef20fe6
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.100175c7
pop ecx
pop ecx
mov dword [ebp - 0x18], 1
jmp 0x10021b44
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x10021f6a
mov esi, dword [ebp - 0x18]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x140]
call fcn.1000e93c
cmp dword [eax], esi
je 0x10021b6f
mov dword [ebp - 0x1a0], 1
jmp 0x10021b76
and dword [ebp - 0x1a0], 0
cmp dword [ebp - 0x18], 0
jne 0x10021c03
push dword [ebp - 0x18]
lea ecx, [ebp - 0x140]
call fcn.1000e93c
cmp dword [eax], 4
jge 0x10021b9f
mov dword [ebp - 0x188], 1
jmp 0x10021ba6
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
add eax, 0x5a2c821b
jne 0x10021bc2
cmp dword [ebp - 0x18], 0
jne 0x10021bc2
and dword [ebp - 0x1c8], 0
jmp 0x10021bcc
mov dword [ebp - 0x1c8], 1
mov esi, dword [ebp - 0x18]
imul esi, dword [ebp - 0x1c8]
push 0
lea ecx, [ebp - 0x140]
call fcn.1000e93c
cmp esi, dword [eax]
jge 0x10021bf3
mov dword [ebp - 0x190], 1
jmp 0x10021bfa
and dword [ebp - 0x190], 0
cmp dword [ebp - 0x190], 0
je 0x10021c22
push dword [ebp - 0x18]
lea ecx, [ebp - 0x140]
call fcn.1000e93c
cmp dword [eax], 0
je 0x10021c22
mov dword [ebp - 0x280], 1
jmp 0x10021c29
and dword [ebp - 0x280], 0
cmp dword [ebp - 0x2c], 0x8af066b7
je 0x10021c3e
mov dword [ebp - 0x1e8], 1
jmp 0x10021c45
and dword [ebp - 0x1e8], 0
cmp dword [ebp - 0x1e8], 0xb6890635
jbe 0x10021c5d
mov dword [ebp - 0x198], 1
jmp 0x10021c64
and dword [ebp - 0x198], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x140]
call fcn.1000e93c
mov ecx, dword [ebp - 0x198]
cmp ecx, dword [eax]
je 0x10021c88
mov dword [ebp - 0x1d0], 1
jmp 0x10021c8f
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp - 0x2c]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x140]
call fcn.1000e93c
cmp esi, dword [eax]
jne 0x10021cb9
mov dword [ebp - 0x1f8], 1
jmp 0x10021cc0
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x1a0]
cmp eax, dword [ebp - 0x1f8]
jg 0x10021cda
mov dword [ebp - 0x148], 1
jmp 0x10021ce1
and dword [ebp - 0x148], 0
cmp dword [ebp - 0x148], 0x8877
jle 0x10021cf9
mov dword [ebp - 0x144], 1
jmp 0x10021d00
and dword [ebp - 0x144], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x140]
call fcn.1000e93c
mov ecx, dword [ebp - 0x144]
cmp ecx, dword [eax]
je 0x10021d5e
mov dword [ebp - 0x230], 0xf3c88fed
mov dword [ebp - 0x2a8], 0
mov dword [ebp - 0x238], 0x2500428
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2a8]
push eax
call fcn.10017634
pop ecx
pop ecx
cmp dword [ebp - 0x238], 0
je 0x10021d59
jmp 0x10021f6a
jmp 0x10021f65
mov dword [ebp - 0x250], 0xfffffffe
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x2c], 1
jmp 0x10021d82
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x10021f65
mov dword [ebp - 0x3c], 0xbf0bb9a6
mov dword [ebp - 0x3c], 0
jmp 0x10021da3
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jg 0x10021f60
mov dword [ebp - 0x154], 0x4155
mov dword [ebp - 0x244], 0x10008a38
cmp dword [ebp - 0x154], 0x4354
jle 0x10021e85
push 0x123a
push 0x788
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
and dword [ebp - 0x78], 0
jmp 0x10021df0
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x768b
jge 0x10021e74
and dword [ebp - 0xb8], 0
jmp 0x10021e0f
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0x6bf7
jge 0x10021e6f
mov eax, dword [ebp - 0x78]
and eax, dword [ebp - 0xb8]
cdq
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], edx
push dword [ebp - 0x254]
push dword [ebp - 0x258]
lea ecx, [ebp - 0x388]
call fcn.1000d330
pop ecx
pop ecx
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x28c]
call fcn.1000e78f
push eax
call fcn.10048556
pop ecx
lea ecx, [ebp - 0x388]
call fcn.1000e785
jmp 0x10021e02
jmp 0x10021de9
push 0x1146
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CombineRgn]
mov dword [ebp - 0x29c], 0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x154], 0x4141
jge 0x10021eab
push dword [ebp - 0x244]
call fcn.10048556
pop ecx
jmp 0x10021ec7
mov dword [ebp - 4], 5
jmp 0x10021ed7
push dword [ebp - 0x18]
lea ecx, [ebp - 0x140]
call fcn.1000e93c
and dword [eax], 0
xor eax, eax
cmp eax, 1
jne 0x10021efb
mov dword [ebp - 0x15c], 1
jmp 0x10021f02
and dword [ebp - 0x15c], 0
cmp dword [ebp - 0x15c], 0
jle 0x10021f17
mov dword [ebp - 0x164], 1
jmp 0x10021f1e
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x164]
cmp eax, dword [ebp - 0x29c]
je 0x10021f3b
mov dword [ebp - 0x16c], 1
jmp 0x10021f42
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x298]
push eax
call fcn.10020ea9
pop ecx
jmp 0x10021d9c
jmp 0x10021d7b
jmp 0x10021b3d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.1000e920
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x48]
movzx eax, byte [ebp + eax - 0x12e]
movsx eax, byte [ebp + eax - 0x2f0]
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ebp + ecx - 0x12b]
and ecx, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x48]
movzx eax, byte [ebp + eax - 0x12e]
movsx eax, byte [ebp + eax - 0x2f0]
mov edx, dword [ebp - 0x14]
movzx edx, byte [ebp + edx - 0x12b]
and edx, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x48]
movzx eax, byte [ebp + eax - 0x12e]
movsx eax, byte [ebp + eax - 0x2f0]
mov esi, dword [ebp - 0x14]
movzx ebx, byte [ebp + esi - 0x12b]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x14]
movzx eax, byte [ebp + eax - 0x12c]
mov byte [ebp + eax - 0x2f0], bl
mov dword [ebp - 0x34], 0x874b
mov dword [ebp - 0xa0], 0xffffffff
mov dword [ebp - 0x40], 0xd373ee76
mov dword [ebp - 0x184], 0xd4752e4a
mov dword [ebp - 0x88], 0xcdc0f1fa
mov dword [ebp - 0x80], 0
jmp 0x10022034
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 2
jge 0x1002204a
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x264], 1
jmp 0x1002202d
mov dword [ebp - 0x34], 0x54db
mov eax, dword [ebp - 0x34]
neg eax
mov ecx, 0x3c40
sub ecx, eax
mov dword [ebp - 0xa0], ecx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xa0]
add eax, dword [ebp - 0x34]
cmp eax, 0xf7bd
jge 0x10022088
mov dword [ebp - 0x174], 1
jmp 0x1002208f
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x174]
jne 0x100220a6
mov dword [ebp - 0x17c], 1
jmp 0x100220ad
and dword [ebp - 0x17c], 0
cmp dword [ebp - 0x17c], 0x407374fd
jge 0x100220c9
push 0xfffffffffffffffe
pop eax
test eax, eax
jne 0x100220c9
and dword [ebp - 0x25c], 0
jmp 0x100220d3
mov dword [ebp - 0x25c], 1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x300], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x184], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x184]
cmp ecx, dword [ebp + eax - 0x264]
jg 0x1002211b
mov dword [ebp - 0x18c], 1
jmp 0x10022122
and dword [ebp - 0x18c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x264]
cmp dword [ebp - 0x18c], eax
je 0x10022143
mov dword [ebp - 0x194], 1
jmp 0x1002214a
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x194]
neg eax
cmp eax, 0x4f16
jg 0x10022165
mov dword [ebp - 0x19c], 1
jmp 0x1002216c
and dword [ebp - 0x19c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x19c]
mov dword [ebp + eax - 0x264], ecx
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x88]
cmp eax, 0xffffffff
je 0x10022199
mov dword [ebp - 0x1a4], 1
jmp 0x100221a0
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x1a4], eax
jne 0x100221ba
mov dword [ebp - 0x1ac], 1
jmp 0x100221c1
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x1ac], eax
je 0x100221db
mov dword [ebp - 0x1b4], 1
jmp 0x100221e2
and dword [ebp - 0x1b4], 0
cmp dword [ebp - 0x1b4], 0
je 0x100221f1
cmp dword [ebp - 0x34], 0
jne 0x100221f5
cmp dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x1bc], 0x7d72
mov dword [ebp - 0x2a4], 0x10008a88
cmp dword [ebp - 0x1bc], 0x80a9
jle 0x100222b1
and dword [ebp - 0x54], 0
jmp 0x1002222f
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x46ae
jge 0x100222a6
and dword [ebp - 0xb0], 0
jmp 0x1002224e
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x88e
jge 0x100222a4
and dword [ebp - 0x50], 0
jmp 0x10022267
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x2001
jge 0x100222a2
mov eax, dword [ebp - 0xb0]
imul eax, dword [ebp - 0x50]
and eax, dword [ebp - 0x54]
cdq
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], edx
push dword [ebp - 0x26c]
push dword [ebp - 0x270]
mov ecx, 0x10607538
call fcn.1000e7af
jmp 0x10022260
jmp 0x10022241
jmp 0x10022228
push 0x2553
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
push 0x7ec8
push 0x2b37
lea eax, [ebp - 0x48]
push eax
push 0
push 0x165e
call fcn.10022944
add esp, 0x14
mov dword [ebp - 4], 0xa
cmp dword [ebp - 0x1bc], 0x7ab6
jge 0x100222f1
mov edx, dword [ebp - 0x2a4]
mov ecx, 0x10607538
call fcn.1001021f
jmp 0x1002230d
or dword [ebp - 4], 0xffffffff
jmp 0x10022317
mov dword [ebp - 0x28], 6
mov dword [ebp - 0x5c], 0
jmp 0x1002232e
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 2
jge 0x10022344
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x358], 0xcff0ea75
jmp 0x10022327
mov dword [ebp - 0x28], 0
jmp 0x10022354
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jg 0x10022373
mov dword [ebp - 0x268], 0
lea eax, [ebp - 0x268]
push eax
call fcn.10020ec0
pop ecx
jmp 0x1002234d
mov dword [ebp - 0x28], 0
jmp 0x10022383
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jg 0x100223b8
mov dword [ebp - 0x64], 2
mov dword [ebp - 0x64], 0
jmp 0x100223a0
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jg 0x100223b6
mov byte [ebp - 0x2f], 0
lea eax, [ebp - 0x2f]
push eax
call fcn.1001760f
pop ecx
jmp 0x10022399
jmp 0x1002237c
jmp 0x10021879
xor eax, eax
inc eax
imul eax, eax, 0x1a
mov byte [ebp + eax - 0x2f0], 0
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x350]
call fcn.1001aa73
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x1c4], 0xe49
mov dword [ebp - 0x2ac], 0x10008aa0
cmp dword [ebp - 0x1c4], 0x1029
jle 0x100224a3
and dword [ebp - 0x6c], 0
jmp 0x10022415
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x509
jge 0x100224a3
and dword [ebp - 0x84], 0
jmp 0x10022438
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x1df1
jge 0x1002249e
and dword [ebp - 0x8c], 0
jmp 0x1002245a
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0xcce
jge 0x1002249c
mov eax, dword [ebp - 0x6c]
imul eax, dword [ebp - 0x84]
imul eax, dword [ebp - 0x8c]
cdq
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], edx
push dword [ebp - 0x278]
push dword [ebp - 0x27c]
mov ecx, 0x10607538
call fcn.1000e7af
jmp 0x1002244d
jmp 0x1002242b
jmp 0x1002240e
and dword [ebp - 0x94], 0
jmp 0x100224b9
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x1b
jae 0x100224d2
mov eax, dword [ebp - 0x94]
mov byte [ebp + eax - 0x2f0], 0
jmp 0x100224ac
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x1c4], 0xd03
jge 0x100224f2
mov edx, dword [ebp - 0x2ac]
mov ecx, 0x10607538
call fcn.1001021f
jmp 0x1002250e
mov dword [ebp - 4], 0xc
jmp 0x1002251e
push 0x100075d9
lea ecx, [ebp - 0x338]
call fcn.1001aa73
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x338]
push eax
push 0
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x310]
push eax
push 0x4bf
lea eax, [ebp + 0xc]
push eax
push 0x44bf
call fcn.10022900
add esp, 0x1c
mov dword [ebp - 0x1cc], 0x4885
mov dword [ebp - 0x214], 0x10008b30
cmp dword [ebp - 0x1cc], 0x4bf3
jle 0x100225fe
and dword [ebp - 0x9c], 0
jmp 0x10022595
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x7993
jge 0x100225f6
and dword [ebp - 0xa4], 0
jmp 0x100225b7
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x1cb9
jge 0x100225f4
mov eax, dword [ebp - 0x9c]
or eax, dword [ebp - 0xa4]
cdq
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], edx
push dword [ebp - 0x284]
push dword [ebp - 0x288]
mov ecx, 0x10607538
call fcn.1000e7af
jmp 0x100225aa
jmp 0x10022588
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x1cc], 0x466a
jge 0x1002261e
mov edx, dword [ebp - 0x214]
mov ecx, 0x10607538
call fcn.1001021f
jmp 0x1002263a
mov dword [ebp - 4], 0xf
jmp 0x1002264a
mov dword [ebp - 0x1dc], 0xfffc
mov dword [ebp - 0x22c], 0xc203
mov dword [ebp - 0x1e4], 0xfffffffb
cmp dword [ebp - 0x1dc], 0
je 0x100227e7
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x100227d0
call fcn.10017189
mov dword [ebp - 0x1d4], 0x3024
mov dword [ebp - 0x224], 0x10008b88
cmp dword [ebp - 0x1d4], 0x33ec
jle 0x10022788
and dword [ebp - 0xac], 0
jmp 0x100226c4
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x7cf0
jge 0x10022788
and dword [ebp - 0xb4], 0
jmp 0x100226ea
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x50a1
jge 0x10022783
and dword [ebp - 0xbc], 0
jmp 0x10022710
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0x1e1f
jge 0x1002277e
mov eax, dword [ebp - 0xac]
cdq
idiv dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xbc]
shl edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x290], edx
push dword [ebp - 0x290]
push dword [ebp - 0x294]
lea ecx, [ebp - 0x370]
call fcn.1000d330
pop ecx
pop ecx
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
call fcn.1000e78f
push eax
call fcn.10048556
pop ecx
lea ecx, [ebp - 0x370]
call fcn.1000e785
jmp 0x10022703
jmp 0x100226dd
jmp 0x100226b7
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x1d4], 0x2f8a
jge 0x100227a4
push dword [ebp - 0x224]
call fcn.10048556
pop ecx
jmp 0x100227c0
mov dword [ebp - 4], 0xf
jmp 0x100227d0
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x1e4]
push eax
call fcn.10020ed7
pop ecx
pop ecx
jmp 0x100227f5
mov byte [ebp - 0x2d], 0
lea eax, [ebp - 0x2d]
push eax
call fcn.10020ff9
pop ecx
lea eax, [ebp - 0x1dc]
push eax
lea eax, [ebp - 0x1e4]
push eax
call fcn.100171b7
pop ecx
pop ecx
lea eax, [ebp - 0x338]
push eax
mov ecx, dword [ebp + 8]
call fcn.10014848
mov eax, dword [ebp - 0x1ec]
or eax, 1
mov dword [ebp - 0x1ec], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x338]
call fcn.100148a1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x350]
call fcn.100148a1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret