Function at 0x10021688
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f5d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x448
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10023550
mov eax, dword [ebp + 8]
mov dword [ebp - 0x248], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x260]
movzx eax, byte [eax]
test eax, eax
je 0x10021735
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax]
movzx eax, word [eax]
sar eax, 0xc
mov ecx, dword [ebp - 0x274]
mov dword [ecx], eax
jmp 0x1002354e
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0x80], 0xfffffff7
mov dword [ebp - 0x24], 0
jmp 0x10021758
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1002176e
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x218], 0xa6318529
jmp 0x10021751
mov dword [ebp - 0x24], 0
jmp 0x1002177e
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x10021794
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x250], 4
jmp 0x10021777
mov dword [ebp - 0x24], 0
jmp 0x100217a4
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x100217ba
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x308], 0xb2fa
jmp 0x1002179d
mov byte [ebp - 0x48], 0
movzx eax, byte [ebp - 0x48]
test eax, eax
je 0x100217dd
push 0x1937
push 0x2493
push 0
push 0xe55
call dword [sym.imp.USER32.dll_CreateCaret]
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x218], 0
jmp 0x1002180b
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x218]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x218], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x218], 0xfffffff9
jl 0x100219d0
mov dword [ebp - 0x60], 0xb3e90a62
mov dword [ebp - 0x2b0], 9
mov dword [ebp - 0x16c], 0xca779041
mov dword [ebp - 0x220], 0xf30b
mov dword [ebp - 0x90], 0
jmp 0x1002185d
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 2
jge 0x10021879
mov eax, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0x360], 1
jmp 0x10021850
mov dword [ebp - 0x60], 0
jmp 0x10021889
mov eax, dword [ebp - 0x60]
dec eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xffffffe2
je 0x10021898
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
jmp 0x10021882
cmp dword [ebp - 0x60], 0
je 0x100218b3
cmp dword [ebp - 0x2b0], 0
je 0x100218b3
mov dword [ebp - 0x22c], 1
jmp 0x100218ba
and dword [ebp - 0x22c], 0
mov dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x3a4], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x390], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x3c4], eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x398], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x218]
mov dword [ebp - 0x3d8], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x250]
sub eax, 0x9744
sub eax, dword [ebp - 0x220]
cmp eax, 0x6af9031e
jl 0x1002192c
mov dword [ebp - 0x228], 1
jmp 0x10021933
and dword [ebp - 0x228], 0
cmp dword [ebp - 0x228], 5
jl 0x1002194e
cmp dword [ebp - 0x80], 0
je 0x1002194e
mov dword [ebp - 0x20c], 1
jmp 0x10021955
and dword [ebp - 0x20c], 0
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
shl ecx, 0
imul edx, dword [ebp - 0x20c], 0xbe58
mov esi, dword [ebp - 0x22c]
sub esi, edx
sub esi, dword [ebp + ecx - 0x360]
cmp esi, dword [ebp + eax - 0x308]
je 0x1002198f
mov dword [ebp - 0x130], 1
jmp 0x10021996
and dword [ebp - 0x130], 0
cmp dword [ebp - 0x130], 0xffffffff
jne 0x100219b8
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x308], 0
jne 0x100219b8
and dword [ebp - 0x1b0], 0
jmp 0x100219c2
mov dword [ebp - 0x1b0], 1
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x60], eax
jmp 0x100217f0
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0xe0]
mov ecx, dword [ecx]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x104], 0
jmp 0x10021a0a
mov eax, dword [ebp - 0x104]
inc eax
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x2c]
add eax, 0x28
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x104], eax
jge 0x1002354e
mov dword [ebp - 0x50], 0xc75b57fd
mov dword [ebp - 0x2c8], 0xeec80f21
mov dword [ebp - 0x3a0], 0x8fb8
mov dword [ebp - 0x50], 0xa
jmp 0x10021a4d
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x18
jle 0x10021ba9
mov dword [ebp - 0x2c4], 0x7c8a6b95
mov dword [ebp - 0x2c0], 0x7c8a6b95
mov dword [ebp - 0x2bc], 0x7c8a6b95
mov dword [ebp - 0x2b8], 0x7c8a6b95
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0x2c4], 1
cmp dword [ebp - 0x50], 0x8abc
je 0x10021aa5
mov dword [ebp - 0x148], 1
jmp 0x10021aac
and dword [ebp - 0x148], 0
cmp dword [ebp - 0x50], 0
je 0x10021ac8
mov eax, dword [ebp - 0x50]
sub eax, 0x6fe835b2
je 0x10021ac8
mov dword [ebp - 0x138], 1
jmp 0x10021acf
and dword [ebp - 0x138], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x2c4]
imul eax, dword [ebp - 0x138]
test eax, eax
je 0x10021afc
mov eax, 0xe49a2f38
test eax, eax
je 0x10021afc
mov dword [ebp - 0x1f0], 1
jmp 0x10021b03
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x1f0]
neg eax
mov dword [ebp - 0x140], eax
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x140]
mov dword [ebp + eax - 0x2c4], ecx
cmp dword [ebp - 0x140], 0
je 0x10021b49
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x2c4], 0
je 0x10021b49
mov dword [ebp - 0x1b8], 1
jmp 0x10021b50
and dword [ebp - 0x1b8], 0
cmp dword [ebp - 0x1b8], 0x1f3403ca
jg 0x10021b68
mov dword [ebp - 0x210], 1
jmp 0x10021b6f
and dword [ebp - 0x210], 0
push 0xfffffffffffffffa
pop eax
sub eax, dword [ebp - 0x148]
cmp eax, dword [ebp - 0x210]
jne 0x10021b8c
mov dword [ebp - 0x150], 1
jmp 0x10021b93
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x150]
sub eax, 0x63a74adf
mov dword [ebp - 0x2c8], eax
jmp 0x10021a46
push 1
lea ecx, [ebp - 0xfc]
call fcn.1001ab0d
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 1
push 0
push 0x1153
lea eax, [ebp - 0x3e4]
push eax
push 0x1bff
lea eax, [ebp - 0xfc]
push eax
call fcn.1002e0b3
add esp, 0x14
mov dword [ebp - 0x18], 0
jmp 0x10021bf3
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x10021cb5
mov dword [ebp - 0x78], 0xf84b8114
push dword [ebp - 0x18]
lea ecx, [ebp - 0xfc]
call fcn.1001abab
cmp dword [eax], 0
je 0x10021c1c
jmp 0x10021cb5
mov dword [ebp - 0x78], 0
jmp 0x10021c2c
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jg 0x10021cb0
push 2
lea ecx, [ebp - 0x328]
call fcn.1001ab0d
mov byte [ebp - 4], 1
mov dword [ebp - 0xf0], 0
jmp 0x10021c5c
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 2
jge 0x10021c7e
push dword [ebp - 0xf0]
lea ecx, [ebp - 0x328]
call fcn.1001abab
mov dword [eax], 0xfffffffa
jmp 0x10021c4f
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x328]
push eax
push 1
push 1
call fcn.1002044b
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x328]
call fcn.1001ab8f
jmp 0x10021c25
jmp 0x10021bec
mov dword [ebp - 0x18], 0
jmp 0x10021cc5
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x10021efd
mov dword [ebp - 0x58], 0xfffffffc
mov dword [ebp - 0x70], 0x62d50c85
mov dword [ebp - 0x98], 0
jmp 0x10021cf6
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 3
jge 0x10021d12
mov eax, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0x3fc], 0xfff9
jmp 0x10021ce9
push dword [ebp - 0x18]
lea ecx, [ebp - 0xfc]
call fcn.1001abab
cmp dword [eax], 0
jne 0x10021e8e
push 0
lea ecx, [ebp - 0xfc]
call fcn.1001abab
cmp dword [eax], 0
jne 0x10021d47
mov dword [ebp - 0x1c8], 1
jmp 0x10021d4e
and dword [ebp - 0x1c8], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0xfc]
call fcn.1001abab
mov esi, eax
push 0
lea ecx, [ebp - 0xfc]
call fcn.1001abab
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x10021d7d
mov dword [ebp - 0x1c0], 1
jmp 0x10021d84
and dword [ebp - 0x1c0], 0
cmp dword [ebp - 0x1c0], 0xd5feaf86
jne 0x10021d9c
mov dword [ebp - 0x158], 1
jmp 0x10021da3
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x158], eax
je 0x10021dca
push dword [ebp - 0x18]
lea ecx, [ebp - 0xfc]
call fcn.1001abab
cmp dword [eax], 0
jne 0x10021dca
and dword [ebp - 0x1f8], 0
jmp 0x10021dd4
mov dword [ebp - 0x1f8], 1
cmp dword [ebp - 0x1f8], 5
jle 0x10021de9
mov dword [ebp - 0x160], 1
jmp 0x10021df0
and dword [ebp - 0x160], 0
push 0
lea ecx, [ebp - 0xfc]
call fcn.1001abab
mov ecx, dword [ebp - 0x160]
cmp ecx, dword [eax]
je 0x10021e13
mov dword [ebp - 0x100], 1
jmp 0x10021e1a
and dword [ebp - 0x100], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x100]
mov dword [ebp + eax - 0x3fc], ecx
mov eax, dword [ebp - 0x1c8]
cmp eax, dword [ebp - 0x100]
jle 0x10021e47
mov dword [ebp - 0x168], 1
jmp 0x10021e4e
and dword [ebp - 0x168], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0xfc]
call fcn.1001abab
mov ecx, dword [ebp - 0x168]
add ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x37c], eax
push 0
lea ecx, [ebp - 0xfc]
call fcn.1001abab
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x18]
jne 0x10021e8e
and dword [ebp - 0x224], 0
jmp 0x10021e98
mov dword [ebp - 0x224], 1
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x58], 0
jmp 0x10021eb1
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jg 0x10021ef8
mov dword [ebp - 0x70], 0
jmp 0x10021ec7
mov eax, dword [ebp - 0x70]
dec eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jl 0x10021ef6
mov byte [ebp - 0x5b], 0
movzx eax, byte [ebp - 0x5b]
test eax, eax
je 0x10021ef4
push 0x50f
push 0
push 0x7134
push 0x34fc
push 1
call fcn.1002146e
add esp, 0x14
jmp 0x10021ec0
jmp 0x10021eaa
jmp 0x10021cbe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.1001ab8f
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x10021f25
mov dword [ebp - 0x170], 1
jmp 0x10021f2c
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x1d0], 0x28e2
mov dword [ebp - 0x258], 0x100096a8
cmp dword [ebp - 0x1d0], 0x2aa4
jle 0x10021fd6
and dword [ebp - 0xd0], 0
jmp 0x10021f75
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0x2ec6
jge 0x10021fd6
and dword [ebp - 0xa0], 0
jmp 0x10021f97
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0x19e0
jge 0x10021fd4
mov eax, dword [ebp - 0xd0]
add eax, dword [ebp - 0xa0]
cdq
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], edx
push dword [ebp - 0x284]
push dword [ebp - 0x288]
mov ecx, 0x106086b8
call fcn.1001a8dc
jmp 0x10021f8a
jmp 0x10021f68
push 3
lea ecx, [ebp - 0x114]
call fcn.1001ab0d
mov dword [ebp - 4], 2
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1d0], 0x2533
jge 0x1002200a
mov edx, dword [ebp - 0x258]
mov ecx, 0x106086b8
call fcn.1001cde7
jmp 0x10022026
mov dword [ebp - 4], 2
jmp 0x10022036
mov dword [ebp - 0x188], 0xfffffff6
mov dword [ebp - 0x384], 5
mov dword [ebp - 0xe4], 0
jmp 0x10022063
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 3
jge 0x10022085
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x114]
call fcn.1001abab
mov dword [eax], 0x4571
jmp 0x10022056
mov dword [ebp - 0x6c], 0
jmp 0x10022095
mov eax, dword [ebp - 0x6c]
dec eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xffffffea
jle 0x100222ce
mov dword [ebp - 0x178], 0xfffffff9
push 3
lea ecx, [ebp - 0x300]
call fcn.1001ab0d
mov byte [ebp - 4], 5
lea eax, [ebp - 0x300]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
call fcn.1002609f
add esp, 0xc
mov dword [ebp - 0x74], 0
jmp 0x100220df
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jge 0x100220f2
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x7c], 0xffffffff
jmp 0x100220d8
push 0x341f
lea eax, [ebp - 0x178]
push eax
push 1
push 1
push 0x4f86
lea eax, [ebp - 0x6c]
push eax
push 0xb4
push 0x4322
push 0x70f0
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
call fcn.1002fec2
add esp, 0x30
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x38c], eax
xor eax, eax
inc eax
je 0x10022173
push 0
lea ecx, [ebp - 0x114]
call fcn.1001abab
cmp dword [eax], 0
je 0x10022173
push 1
lea ecx, [ebp - 0x300]
call fcn.1001abab
cmp dword [eax], 0
je 0x10022173
mov dword [ebp - 0x200], 1
jmp 0x1002217a
and dword [ebp - 0x200], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7c]
cmp dword [ebp - 0x200], eax
jl 0x10022198
mov dword [ebp - 0x180], 1
jmp 0x1002219f
and dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 0xfffffffa
jne 0x100221b4
mov dword [ebp - 0x1d8], 1
jmp 0x100221bb
and dword [ebp - 0x1d8], 0
push 1
lea ecx, [ebp - 0x114]
call fcn.1001abab
mov ecx, dword [ebp - 0x1d8]
cmp ecx, dword [eax]
jg 0x100221e4
cmp dword [ebp - 0x188], 0
jne 0x100221e4
and dword [ebp - 0x21c], 0
jmp 0x100221ee
mov dword [ebp - 0x21c], 1
push 0
lea ecx, [ebp - 0x114]
call fcn.1001abab
mov eax, dword [eax]
cmp eax, dword [ebp - 0x21c]
jle 0x10022211
mov dword [ebp - 0x190], 1
jmp 0x10022218
and dword [ebp - 0x190], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7c]
cmp dword [ebp - 0x190], eax
jle 0x10022236
mov dword [ebp - 0x2d0], 1
jmp 0x1002223d
and dword [ebp - 0x2d0], 0
push 2
lea ecx, [ebp - 0x114]
call fcn.1001abab
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x7c], 0
jne 0x10022265
xor eax, eax
inc eax
jne 0x10022265
and dword [ebp - 0x1e0], 0
jmp 0x1002226f
mov dword [ebp - 0x1e0], 1
push 1
lea ecx, [ebp - 0x300]
call fcn.1001abab
mov ecx, dword [ebp - 0x1e0]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x114]
call fcn.1001abab
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x7c]
mov dword [ebp - 0x394], eax
push 4
pop eax
imul esi, eax, 0
push 1
lea ecx, [ebp - 0x114]
call fcn.1001abab
mov eax, dword [eax]
mov dword [ebp + esi - 0x7c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x300]
call fcn.1001ab8f
jmp 0x1002208e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.1001ab8f
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x100222f6
mov dword [ebp - 0x198], 1
jmp 0x100222fd
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x2f4], eax
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], 0x53494abc
mov dword [ebp - 0x164], 0xdb756fd8
mov dword [ebp - 0x34], 0x6552ded1
mov dword [ebp - 0xa8], 0
jmp 0x10022348
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 1
jge 0x10022364
mov eax, dword [ebp - 0xa8]
mov dword [ebp + eax*4 - 0x39c], 0x444c
jmp 0x1002233b
cmp dword [ebp - 0x28], 0
jne 0x1002237c
mov eax, 0xb772
test eax, eax
jne 0x1002237c
and dword [ebp - 0x208], 0
jmp 0x10022386
mov dword [ebp - 0x208], 1
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
neg eax
cmp eax, dword [ebp - 0x30]
jge 0x100223a5
mov dword [ebp - 0x1a0], 1
jmp 0x100223ac
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x20]
add ecx, eax
je 0x100223ce
cmp dword [ebp - 0x28], 0
je 0x100223ce
mov dword [ebp - 0x1e8], 1
jmp 0x100223d5
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1e8], eax
jl 0x100223ec
mov dword [ebp - 0x1a8], 1
jmp 0x100223f3
and dword [ebp - 0x1a8], 0
cmp dword [ebp - 0x1a8], 0
jle 0x10022408
mov dword [ebp - 0x11c], 1
jmp 0x1002240f
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x11c], eax
jg 0x10022426
mov dword [ebp - 0x12c], 1
jmp 0x1002242d
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x12c]
jle 0x10022444
mov dword [ebp - 0x134], 1
jmp 0x1002244b
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x134], eax
jge 0x10022462
mov dword [ebp - 0x13c], 1
jmp 0x10022469
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x13c], eax
je 0x10022480
mov dword [ebp - 0x144], 1
jmp 0x10022487
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x144], eax
jge 0x100224a1
cmp dword [ebp - 0x28], 0
jne 0x100224a1
and dword [ebp - 0x14c], 0
jmp 0x100224ab
mov dword [ebp - 0x14c], 1
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x14c], eax
jne 0x100224c2
mov dword [ebp - 0x154], 1
jmp 0x100224c9
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x154], eax
jge 0x100224e0
mov dword [ebp - 0x15c], 1
jmp 0x100224e7
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
cmp eax, dword [ebp - 0x30]
jl 0x1002250a
mov dword [ebp - 0x118], 1
jmp 0x10022511
and dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 0x90707e2
je 0x10022529
mov dword [ebp - 0x174], 1
jmp 0x10022530
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x174], eax
jle 0x10022547
mov dword [ebp - 0x17c], 1
jmp 0x1002254e
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x17c], eax
jle 0x10022565
mov dword [ebp - 0x184], 1
jmp 0x1002256c
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], 0x42e5f0e7
cmp dword [ebp - 0x20], 0
je 0x1002262a
mov dword [ebp - 0x344], 0
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x358], 0xe74bb9ce
mov dword [ebp - 0x20], 0
jmp 0x100225c8
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1c
jne 0x10022628
mov dword [ebp - 0x23c], 3
mov dword [ebp - 0x28], 3
jmp 0x100225e8
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x10022600
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.100308b8
pop ecx
pop ecx
jmp 0x100225e1
mov dword [ebp - 0x34], 0
jmp 0x10022610
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 4
jge 0x10022626
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x344], 0
jmp 0x10022609
jmp 0x100225c1
jmp 0x10022697
mov dword [ebp - 0x30], 0
jmp 0x1002263a
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jg 0x10022697
mov dword [ebp - 0x34], 0
jmp 0x10022650
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x10022695
mov dword [ebp - 0x20], 0
jmp 0x10022666
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jg 0x10022693
mov byte [ebp - 0x51], 0
movzx eax, byte [ebp - 0x51]
test eax, eax
je 0x10022691
push 0x52b4
push 0x6078
push 0
push 0x4e0f
call fcn.10026242
add esp, 0x10
jmp 0x1002265f
jmp 0x10022649
jmp 0x10022633
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x100226b0
mov dword [ebp - 0x18c], 1
jmp 0x100226b7
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x10022a75
push 0x4000
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x2c]
push dword [eax + 8]
push 0x4c79
push 0x6fbf
call fcn.100418d6
pop ecx
pop ecx
call eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x3ac], 0
mov dword [ebp - 0x3e0], 0xe294b58f
push 1
lea ecx, [ebp - 0x3bc]
call fcn.1001ab0d
mov dword [ebp - 4], 6
mov dword [ebp - 0x278], 0xa4b1f059
mov dword [ebp - 0x1c], 0
jmp 0x10022741
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x10022757
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x238], 0
jmp 0x1002273a
mov dword [ebp - 0x1c], 0
jmp 0x10022767
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1002277d
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x36c], 0x9b03be46
jmp 0x10022760
mov dword [ebp - 0x1c], 0
jmp 0x1002278d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x100227a9
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x3bc]
call fcn.1001abab
mov dword [eax], 2
jmp 0x10022786
mov dword [ebp - 0x44], 0
jmp 0x100227b9
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jg 0x10022a18
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xd8], 0
jmp 0x100227e3
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 3
jge 0x100227ff
mov eax, dword [ebp - 0xd8]
mov dword [ebp + eax*4 - 0x408], 0x611fb8eb
jmp 0x100227d6
mov dword [ebp - 0x14], 0
jmp 0x1002280f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x10022a03
mov dword [ebp - 0x3d4], 0xfffffff8
mov dword [ebp - 0x3d0], 0xfffffff8
mov dword [ebp - 0x3cc], 0xfffffff8
mov dword [ebp - 0x3c8], 0xfffffff8
mov byte [ebp - 0x47], 0
movzx eax, byte [ebp - 0x47]
test eax, eax
je 0x10022860
push 0x5e3d
push 1
push 0
push 1
call fcn.10029f3d
add esp, 0x10
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp + ecx*4 - 0x238]
cmp ecx, dword [ebp + eax*4 - 0x238]
jne 0x10022882
mov dword [ebp - 0x2ec], 1
jmp 0x10022889
and dword [ebp - 0x2ec], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x238], 0
jne 0x100228a5
cmp dword [ebp - 0x14], 0
jne 0x100228a5
and dword [ebp - 0x268], 0
jmp 0x100228af
mov dword [ebp - 0x268], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp + eax*4 - 0x238]
jne 0x100228ca
mov dword [ebp - 0x194], 1
jmp 0x100228d1
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x194], eax
jle 0x100228e8
mov dword [ebp - 0x19c], 1
jmp 0x100228ef
and dword [ebp - 0x19c], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x19c]
sub ecx, dword [ebp + eax - 0x238]
cmp ecx, dword [ebp - 0x14]
jle 0x10022912
mov dword [ebp - 0x1a4], 1
jmp 0x10022919
and dword [ebp - 0x1a4], 0
cmp dword [ebp - 0x1a4], 0
je 0x10022934
cmp dword [ebp - 0x14], 0
je 0x10022934
mov dword [ebp - 0x2cc], 1
jmp 0x1002293b
and dword [ebp - 0x2cc], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x238]
mov dword [ebp - 0x3e8], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x238]
mov dword [ebp - 0x3f0], eax
or eax, 0xffffffff
jne 0x1002296d
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x238], 0
je 0x100229ea
mov dword [ebp - 0x364], 0x3240
mov dword [ebp - 0x374], 0
mov dword [ebp - 0x3a8], 0xfffffffc
mov dword [ebp - 0x370], 0xd8c65816
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 0x378], 0xfffffff7
mov dword [ebp - 0x3b0], 0
mov dword [ebp - 0x270], 0x9bb643c8
lea eax, [ebp - 0x270]
push eax
push 0
push 0x74f6
call fcn.100316ea
add esp, 0xc
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x408], 0
je 0x100229e8
jmp 0x10022808
jmp 0x100229fe
mov dword [ebp - 0x2e4], 0xfffffffa
mov dword [ebp - 0x2e4], 0
jmp 0x10022808
mov eax, dword [ebp - 0x14]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x36c], eax
jmp 0x100227b2
mov dword [ebp - 0x44], 8
jmp 0x10022a28
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x1c
jl 0x10022a61
push 0x4306
push 1
push 0x3b5
push 0x5015
push 0x48ed
push 0x21c0
lea eax, [ebp - 0x278]
push eax
push 1
push 0x2050
call fcn.100209b4
add esp, 0x24
jmp 0x10022a21
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3bc]
call fcn.1001ab8f
jmp 0x100219f4
push 0
push 0x938
lea eax, [ebp - 0x2d4]
push eax
push 0x7cb0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x280]
push eax
push 0x3cfe
lea eax, [ebp - 0x2f4]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.1002d145
add esp, 0x24
push 2
lea ecx, [ebp - 0x128]
call fcn.1001ab0d
mov dword [ebp - 4], 7
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x1cc], 1
mov dword [ebp - 0x31c], 0x4486cae8
mov dword [ebp - 0x318], 0x4486cae8
mov dword [ebp - 0x314], 0x4486cae8
mov dword [ebp - 0x310], 0x4486cae8
lea ecx, [ebp - 0x105]
call fcn.1001abba
push eax
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x410]
call fcn.1001abbd
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x334]
call fcn.1001ab69
mov byte [ebp - 4], 8
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 0
lea eax, [ebp - 0x128]
push eax
push 0
push 0x40ec
lea eax, [ebp - 0x380]
push eax
push 0x5274
call fcn.1003a55c
add esp, 0x14
mov dword [ebp - 0x64], 0
jmp 0x10022b8e
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jg 0x10022f80
mov dword [ebp - 0x1ac], 0x36ee
mov dword [ebp - 0x2dc], 0x10009738
cmp dword [ebp - 0x1ac], 0x3a27
jle 0x10022cd0
push 0x1fbb
call dword [sym.imp.USER32.dll_GetKeyboardType]
and dword [ebp - 0xb8], 0
jmp 0x10022bdd
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0x2ba2
jge 0x10022cd0
and dword [ebp - 0x88], 0
jmp 0x10022c03
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x7ef
jge 0x10022ccb
and dword [ebp - 0xb0], 0
jmp 0x10022c29
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x498
jge 0x10022cc6
and dword [ebp - 0xe8], 0
jmp 0x10022c4f
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0x65a1
jge 0x10022cc1
mov ecx, dword [ebp - 0xb0]
imul ecx, dword [ebp - 0xe8]
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0x88]
sar eax, cl
cdq
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x290], edx
push dword [ebp - 0x290]
push dword [ebp - 0x294]
lea ecx, [ebp - 0x440]
call fcn.1000d6fa
pop ecx
pop ecx
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x28c]
call fcn.1001a8bc
push eax
call fcn.10049b86
pop ecx
lea ecx, [ebp - 0x440]
call fcn.1001a8b2
jmp 0x10022c42
jmp 0x10022c1c
jmp 0x10022bf6
jmp 0x10022bd0
mov dword [ebp - 0x3c], 0xf2000252
mov byte [ebp - 4], 9
cmp dword [ebp - 0x1ac], 0x33e8
jge 0x10022cf3
push dword [ebp - 0x2dc]
call fcn.10049b86
pop ecx
jmp 0x10022d0f
mov dword [ebp - 4], 8
jmp 0x10022d1f
mov dword [ebp - 0x68], 0xfffffff7
mov dword [ebp - 0xc0], 0
jmp 0x10022d3f
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 1
jge 0x10022d5b
mov eax, dword [ebp - 0xc0]
mov dword [ebp + eax*4 - 0x2b4], 0x94e8fe75
jmp 0x10022d32
mov dword [ebp - 0x3c], 1
jmp 0x10022d6b
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x10022f7b
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x38], 1
jmp 0x10022d8c
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jl 0x10022f44
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x128]
call fcn.1001abab
cmp dword [eax], 0xd177cce4
jne 0x10022db8
mov dword [ebp - 0x1b4], 1
jmp 0x10022dbf
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x1b4], eax
jge 0x10022dd6
mov dword [ebp - 0x1bc], 1
jmp 0x10022ddd
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x1bc], eax
jne 0x10022df4
mov dword [ebp - 0x1c4], 1
jmp 0x10022dfb
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x1cc]
sub eax, 0x18d3cb34
je 0x10022e33
push dword [ebp - 0x38]
lea ecx, [ebp - 0x128]
call fcn.1001abab
cmp dword [eax], 0
je 0x10022e33
mov dword [ebp - 0x1d4], 1
jmp 0x10022e3a
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x1d4]
sub eax, dword [ebp - 0x3c]
jne 0x10022e54
cmp dword [ebp - 0x64], 0
jne 0x10022e54
and dword [ebp - 0x298], 0
jmp 0x10022e5e
mov dword [ebp - 0x298], 1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3ec], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1dc], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1dc]
mov dword [ebp + eax - 0x2b4], ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x128]
call fcn.1001abab
mov ecx, dword [ebp - 0x1dc]
add ecx, dword [eax]
cmp ecx, 4
jl 0x10022eaa
mov dword [ebp - 0x1e4], 1
jmp 0x10022eb1
and dword [ebp - 0x1e4], 0
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x128]
call fcn.1001abab
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x388], eax
push 1
lea ecx, [ebp - 0x334]
call fcn.1001abab
mov ecx, dword [ebp - 0x1e4]
mov dword [eax], ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x128]
call fcn.1001abab
push 1
lea ecx, [ebp - 0x334]
call fcn.1001abab
mov esi, eax
push dword [ebp - 0x38]
lea ecx, [ebp - 0x128]
call fcn.1001abab
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x10022f22
cmp dword [ebp - 0x64], 0
jne 0x10022f22
and dword [ebp - 0x1ec], 0
jmp 0x10022f2c
mov dword [ebp - 0x1ec], 1
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x1ec]
mov dword [ebp + eax - 0x354], ecx
jmp 0x10022d85
mov dword [ebp - 0x68], 0
jmp 0x10022f54
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xa
jne 0x10022f76
mov byte [ebp - 0x5a], 0
movzx eax, byte [ebp - 0x5a]
test eax, eax
je 0x10022f74
push 0
push 0x675d
call fcn.1002d0ba
pop ecx
pop ecx
jmp 0x10022f4d
jmp 0x10022d64
jmp 0x10022b87
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x334]
call fcn.1001ab8f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.1001ab8f
lea eax, [ebp - 0x204]
push eax
push 0x4d34
push 0x29e8
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.1002cdd2
add esp, 0x18
cmp dword [ebp - 0x204], 0
jbe 0x10023549
mov dword [ebp - 0x40], 5
mov dword [ebp - 0xc8], 0
jmp 0x10022ff1
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 1
jge 0x1002300d
mov eax, dword [ebp - 0xc8]
mov dword [ebp + eax*4 - 0x240], 1
jmp 0x10022fe4
mov dword [ebp - 0x40], 0
jmp 0x1002301d
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x10023489
mov dword [ebp - 0x8c], 0
jmp 0x10023040
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 1
jge 0x1002305c
mov eax, dword [ebp - 0x8c]
mov dword [ebp + eax*4 - 0x84], 0x4074dd03
jmp 0x10023033
mov dword [ebp - 0x1fc], 0x496c
mov dword [ebp - 0x254], 0x100097c0
cmp dword [ebp - 0x1fc], 0x4b77
jle 0x10023174
push 0
push 0
push 0x1fa
push 0
push 0x1152
push 0
push 0x6f3
push 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
and dword [ebp - 0x94], 0
jmp 0x100230b5
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x2dce
jge 0x10023174
and dword [ebp - 0x9c], 0
jmp 0x100230db
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x37c3
jge 0x1002316f
and dword [ebp - 0xa4], 0
jmp 0x10023101
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x5404
jge 0x1002316a
mov eax, dword [ebp - 0x94]
add eax, dword [ebp - 0x9c]
xor eax, dword [ebp - 0xa4]
cdq
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x29c], edx
push dword [ebp - 0x29c]
push dword [ebp - 0x2a0]
lea ecx, [ebp - 0x428]
call fcn.1000d6fa
pop ecx
pop ecx
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x2a4]
call fcn.1001a8bc
push eax
call fcn.10049b86
pop ecx
lea ecx, [ebp - 0x428]
call fcn.1001a8b2
jmp 0x100230f4
jmp 0x100230ce
jmp 0x100230a8
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x84], 0
jmp 0x100231a2
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x84]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x84], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x84], 0
jl 0x1002343f
mov dword [ebp - 0xac], 8
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x84]
cmp dword [ebp + eax*4 - 0x240], 0
je 0x100231dc
jmp 0x1002343f
mov dword [ebp - 0xac], 0
jmp 0x100231f5
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jg 0x1002343a
mov dword [ebp - 0xb4], 0
jmp 0x1002321b
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 1
jge 0x10023237
mov eax, dword [ebp - 0xb4]
mov dword [ebp + eax*4 - 0xbc], 0x307d7c11
jmp 0x1002320e
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xbc], 0
jmp 0x10023265
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xbc]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xbc], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xbc], 0
jl 0x10023293
mov byte [ebp - 0x46], 0
movzx eax, byte [ebp - 0x46]
test eax, eax
je 0x10023291
push 0xd4d
push 0x1206
call dword [sym.imp.USER32.dll_GetWindowLongA]
jmp 0x1002324a
mov byte [ebp - 0x49], 0
mov dword [ebp - 0x1f4], 0x3c75
mov dword [ebp - 0x24c], 0x10009820
cmp dword [ebp - 0x1f4], 0x3f82
jle 0x100233d4
and dword [ebp - 0xd4], 0
jmp 0x100232d1
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0x3f77
jge 0x100233ca
and dword [ebp - 0xdc], 0
jmp 0x100232f7
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0x55e
jge 0x100233c5
and dword [ebp - 0xc4], 0
jmp 0x1002331d
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0x6d04
jge 0x100233c0
and dword [ebp - 0xcc], 0
jmp 0x10023343
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0x67b0
jge 0x100233bb
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xcc]
shl eax, cl
mov edx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xdc]
shl edx, cl
xor eax, edx
cdq
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x2a8], edx
push dword [ebp - 0x2a8]
push dword [ebp - 0x2ac]
lea ecx, [ebp - 0x458]
call fcn.1000d6fa
pop ecx
pop ecx
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x244]
call fcn.1001a8bc
push eax
call fcn.10049b86
pop ecx
lea ecx, [ebp - 0x458]
call fcn.1001a8b2
jmp 0x10023336
jmp 0x10023310
jmp 0x100232ea
jmp 0x100232c4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
movzx eax, byte [ebp - 0x49]
test eax, eax
je 0x100233f0
push 0x61e4
push 0x5fee
push 0
call fcn.1002fa27
add esp, 0xc
mov dword [ebp - 4], 0xb
cmp dword [ebp - 0x1f4], 0x38fa
jge 0x1002340f
push dword [ebp - 0x24c]
call fcn.10049b86
pop ecx
jmp 0x1002342b
or dword [ebp - 4], 0xffffffff
jmp 0x10023435
jmp 0x100231e8
jmp 0x10023187
mov dword [ebp - 4], 0xd
cmp dword [ebp - 0x1fc], 0x47bd
jge 0x1002345e
push dword [ebp - 0x254]
call fcn.10049b86
pop ecx
jmp 0x1002347a
or dword [ebp - 4], 0xffffffff
jmp 0x10023484
jmp 0x10023016
mov dword [ebp - 0x40], 0
jmp 0x10023499
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x1002351d
mov dword [ebp - 0xec], 0x3ab1943c
mov dword [ebp - 0xec], 0
jmp 0x100234c2
mov eax, dword [ebp - 0xec]
dec eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jl 0x100234fc
mov byte [ebp - 0x59], 0
movzx eax, byte [ebp - 0x59]
test eax, eax
je 0x100234fa
push 0x3d51
push 0x7c7c
push 0x2257
push 0
push 0x7b14
push 0x479d
call fcn.1002d2b3
add esp, 0x18
jmp 0x100234b5
mov byte [ebp - 0x45], 0
push 0
lea eax, [ebp - 0x45]
push eax
push 0x172c
push 0x1a15
call fcn.1002a8e6
add esp, 0x10
jmp 0x10023492
lea eax, [ebp - 0x3c0]
push eax
push dword [ebp - 0x25c]
push dword [ebp - 0x204]
mov eax, dword [ebp - 0x2c]
push dword [eax + 8]
push 0x4c79
push 0x4698
call fcn.100418d6
pop ecx
pop ecx
call eax
jmp 0x100219f4
jmp 0x10023582
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x26c], eax
push dword [ebp - 0x264]
push dword [ebp - 0x26c]
push 1
push 0x6422
push 0x6bdc
call fcn.100214e6
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret