Function at 0x10049db9
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077a8f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x37c
push esi
push edi
mov dword [ebp - 0x94], 0
jmp 0x10049df2
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 2
jge 0x10049e0e
mov eax, dword [ebp - 0x94]
mov dword [ebp + eax*4 - 0x248], 0xffffffff
jmp 0x10049de5
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x248], 0xd
jmp 0x10049e3c
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x248]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x248], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x248], 0xc
je 0x10049e70
mov byte [ebp - 0x50], 0
movzx eax, byte [ebp - 0x50]
test eax, eax
je 0x10049e6e
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x10049e21
mov dword [ebp - 0x70], 0xfffffffc
push 2
lea ecx, [ebp - 0xb4]
call fcn.100214a3
and dword [ebp - 4], 0
mov dword [ebp - 0x270], 0x7de7e859
mov dword [ebp - 0xa8], 0
jmp 0x10049eab
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 2
jge 0x10049ecd
push dword [ebp - 0xa8]
lea ecx, [ebp - 0xb4]
call fcn.10021541
mov dword [eax], 0x12e1dfe0
jmp 0x10049e9e
mov dword [ebp - 0x70], 0x11
jmp 0x10049edd
mov eax, dword [ebp - 0x70]
dec eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 3
jl 0x1004a3ae
mov dword [ebp - 0x20], 0xfa75c19c
mov dword [ebp - 0x90], 0xa3d88101
mov dword [ebp - 0x104], 0x93506f8a
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x20], 0xfffffff7
jmp 0x10049f19
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x16
jl 0x1004a3a9
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x18], 0
jmp 0x10049f3a
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfffffffc
jne 0x1004a1f0
mov dword [ebp - 0x64], 0xd7839892
mov dword [ebp - 0x64], 1
jmp 0x10049f5b
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jl 0x1004a1eb
mov dword [ebp - 0x4c], 0xfffffffa
mov dword [ebp - 0xa4], 0
jmp 0x10049f85
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 2
jge 0x10049fa1
mov eax, dword [ebp - 0xa4]
mov dword [ebp + eax*4 - 0x2e0], 0xd3ec93cc
jmp 0x10049f78
mov dword [ebp - 0x4c], 1
jmp 0x10049fb1
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x1004a1e6
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0x58], 1
jmp 0x10049fd2
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jl 0x1004a178
push dword [ebp - 0x4c]
lea ecx, [ebp - 0xb4]
call fcn.10021541
push 0
lea ecx, [ebp - 0xb4]
call fcn.10021541
cmp dword [ebp - 0x20], 0
je 0x1004a12f
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2e0]
mov dword [ebp - 0x30c], eax
push dword [ebp - 0x4c]
lea ecx, [ebp - 0xb4]
call fcn.10021541
mov esi, 0xb9a31c0a
sub esi, dword [eax]
push dword [ebp - 0x4c]
lea ecx, [ebp - 0xb4]
call fcn.10021541
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0xb4]
call fcn.10021541
cmp esi, dword [eax]
jle 0x1004a056
mov dword [ebp - 0x1a0], 1
jmp 0x1004a05d
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x90], eax
mov esi, dword [ebp - 0x90]
push dword [ebp - 0x4c]
lea ecx, [ebp - 0xb4]
call fcn.10021541
cmp esi, dword [eax]
jne 0x1004a08d
mov dword [ebp - 0x230], 1
jmp 0x1004a094
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x230], eax
jle 0x1004a0ab
mov dword [ebp - 0x24c], 1
jmp 0x1004a0b2
and dword [ebp - 0x24c], 0
push 0
lea ecx, [ebp - 0xb4]
call fcn.10021541
push 0xfffffffffffffffb
pop eax
test eax, eax
jae 0x1004a0d2
mov dword [ebp - 0x238], 1
jmp 0x1004a0d9
and dword [ebp - 0x238], 0
cmp dword [ebp - 0x238], 0xe5de2cae
jbe 0x1004a0f1
mov dword [ebp - 0x240], 1
jmp 0x1004a0f8
and dword [ebp - 0x240], 0
mov eax, dword [ebp - 0x240]
add eax, 0xa4a2
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
jmp 0x1004a111
push 1
lea ecx, [ebp - 0xb4]
call fcn.10021541
cmp dword [eax], 0
je 0x1004a12f
mov dword [ebp - 0x234], 1
jmp 0x1004a136
and dword [ebp - 0x234], 0
push 1
lea ecx, [ebp - 0xb4]
call fcn.10021541
mov ecx, dword [ebp - 0x234]
cmp ecx, dword [eax]
jl 0x1004a159
mov dword [ebp - 0x208], 1
jmp 0x1004a160
and dword [ebp - 0x208], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x208]
mov dword [ebp + eax - 0x2e0], ecx
jmp 0x10049fcb
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x58], eax
je 0x1004a18f
mov dword [ebp - 0xfc], 1
jmp 0x1004a196
and dword [ebp - 0xfc], 0
imul eax, dword [ebp - 0x64], 0
cmp eax, 0x4adc
jle 0x1004a1ad
mov dword [ebp - 0x25c], 1
jmp 0x1004a1b4
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0xfc]
cmp dword [ebp - 0x64], eax
jne 0x1004a1cf
mov dword [ebp - 0x1c4], 1
jmp 0x1004a1d6
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x1c4]
neg eax
mov dword [ebp - 0x58], eax
jmp 0x10049faa
jmp 0x10049f54
jmp 0x10049f33
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
jne 0x1004a20f
cmp dword [ebp - 0x18], 0
push 1
lea ecx, [ebp - 0xb4]
call fcn.10021541
cmp dword [eax], 0
jne 0x1004a22d
mov dword [ebp - 0x1cc], 1
jmp 0x1004a234
and dword [ebp - 0x1cc], 0
push 1
lea ecx, [ebp - 0xb4]
call fcn.10021541
mov ecx, dword [ebp - 0x1cc]
cmp ecx, dword [eax]
jne 0x1004a257
mov dword [ebp - 0x10c], 1
jmp 0x1004a25e
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x10c]
jne 0x1004a275
mov dword [ebp - 0x1d4], 1
jmp 0x1004a27c
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1d4], eax
jle 0x1004a293
mov dword [ebp - 0x114], 1
jmp 0x1004a29a
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x114], eax
jne 0x1004a2b1
mov dword [ebp - 0x1dc], 1
jmp 0x1004a2b8
and dword [ebp - 0x1dc], 0
cmp dword [ebp - 0x1dc], 0x47bfe1a2
jne 0x1004a2d0
mov dword [ebp - 0x11c], 1
jmp 0x1004a2d7
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x11c], eax
jge 0x1004a2ee
mov dword [ebp - 0x1e4], 1
jmp 0x1004a2f5
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1e4], eax
jle 0x1004a30c
mov dword [ebp - 0x124], 1
jmp 0x1004a313
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x124]
jne 0x1004a32c
or eax, 0xffffffff
jne 0x1004a32c
and dword [ebp - 0x1ec], 0
jmp 0x1004a336
mov dword [ebp - 0x1ec], 1
cmp dword [ebp - 0x1ec], 0xe5bd571e
je 0x1004a34e
mov dword [ebp - 0x12c], 1
jmp 0x1004a355
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
sub eax, dword [ebp - 0x18]
neg eax
dec eax
cmp eax, dword [ebp - 0x270]
jg 0x1004a375
mov dword [ebp - 0x1f4], 1
jmp 0x1004a37c
and dword [ebp - 0x1f4], 0
cmp dword [ebp - 0x1f4], 0xa8b0
jne 0x1004a394
mov dword [ebp - 0x134], 1
jmp 0x1004a39b
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x18], eax
jmp 0x10049f12
jmp 0x10049ed6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.10021525
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x20c], 0xa9d19ac1
mov dword [ebp - 0x1fc], 0x2ba75a59
mov dword [ebp - 0x278], 0x6c0e263
mov dword [ebp - 0x68], 0xfffffffd
jmp 0x1004a3f2
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xb
jl 0x1004a4e6
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xc8], 0xffffffff
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0
jne 0x1004a434
cmp dword [ebp - 0xa0], 0
jne 0x1004a434
and dword [ebp - 0x204], 0
jmp 0x1004a43e
mov dword [ebp - 0x204], 1
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x1fc], eax
jg 0x1004a462
mov dword [ebp - 0x13c], 1
jmp 0x1004a469
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x13c], eax
jne 0x1004a483
mov dword [ebp - 0x144], 1
jmp 0x1004a48a
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x204]
add eax, dword [ebp - 0x144]
je 0x1004a4ad
mov eax, 0xfc3
test eax, eax
je 0x1004a4ad
mov dword [ebp - 0x14c], 1
jmp 0x1004a4b4
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x20c]
imul eax, dword [ebp - 0x14c]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0xc8], 0
je 0x1004a4e1
jmp 0x1004a3eb
jmp 0x1004a3eb
movzx eax, byte [0x10681479]
test eax, eax
je 0x1004a504
mov esi, 0x1061df3c
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
jmp 0x1004b87b
mov dword [ebp - 0x308], 0x1061df3c
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x158], 0xc04ccb63
push 1
lea ecx, [ebp - 0x2cc]
call fcn.100214a3
mov dword [ebp - 4], 1
mov dword [ebp - 0x21c], 0x8e10e5e5
mov dword [ebp - 0x3c], 0
jmp 0x1004a54d
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x1004a569
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x2cc]
call fcn.10021541
mov dword [eax], 0x4a0426a7
jmp 0x1004a546
mov dword [ebp - 0x3c], 0
jmp 0x1004a579
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 3
jge 0x1004a58f
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x358], 0x9a9b8fa4
jmp 0x1004a572
mov byte [ebp - 0x59], 0
movzx eax, byte [ebp - 0x59]
test eax, eax
je 0x1004a5a3
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x60], 0xb5486b6
je 0x1004a5b0
cmp dword [ebp - 0x60], 0
mov eax, 0x215256ee
cmp eax, 1
jne 0x1004a5c6
mov dword [ebp - 0x214], 1
jmp 0x1004a5cd
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 0x60]
jle 0x1004a5e7
mov dword [ebp - 0xb8], 1
jmp 0x1004a5ee
and dword [ebp - 0xb8], 0
push 0
lea ecx, [ebp - 0x2cc]
call fcn.10021541
mov ecx, dword [ebp - 0xb8]
mov dword [eax], ecx
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x1004a636
push 0
lea ecx, [ebp - 0x2cc]
call fcn.10021541
cmp dword [eax], 0
je 0x1004a636
mov dword [ebp - 0x1d0], 1
jmp 0x1004a63d
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
cmp eax, dword [ebp - 0x1d0]
jle 0x1004a660
mov dword [ebp - 0x160], 1
jmp 0x1004a667
and dword [ebp - 0x160], 0
cmp dword [ebp - 0x160], 0
jne 0x1004a67c
mov dword [ebp - 0x228], 1
jmp 0x1004a683
and dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x228]
jle 0x1004a69a
mov dword [ebp - 0x168], 1
jmp 0x1004a6a1
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x168], eax
jle 0x1004a6be
mov eax, 0xfffe
test eax, eax
jne 0x1004a6be
and dword [ebp - 0x1d8], 0
jmp 0x1004a6c8
mov dword [ebp - 0x1d8], 1
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp + eax - 0x358], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2cc]
call fcn.10021525
mov dword [ebp - 0x33c], 0x1061df40
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x74], 0x2758e92e
mov dword [ebp - 0x98], 1
push 1
lea ecx, [ebp - 0x2c0]
call fcn.100214a3
mov dword [ebp - 4], 2
mov dword [ebp - 0xd8], 0xaafa
mov dword [ebp - 0x218], 0x9236f914
mov dword [ebp - 0x2a8], 0x919139f4
mov dword [ebp - 0x30], 0
jmp 0x1004a74d
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x1004a766
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c0]
call fcn.10021541
and dword [eax], 0
jmp 0x1004a746
mov dword [ebp - 0x30], 0
jmp 0x1004a776
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x1004a78c
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x314], 0
jmp 0x1004a76f
cmp dword [ebp - 0x48], 0
jne 0x1004a81a
mov eax, dword [ebp - 0x48]
inc eax
sub eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x48]
jl 0x1004a7ae
mov dword [ebp - 0x280], 1
jmp 0x1004a7b5
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x31c], eax
mov eax, 0x187
cmp eax, 0x6284
jle 0x1004a7d6
mov dword [ebp - 0x170], 1
jmp 0x1004a7dd
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x170], eax
jg 0x1004a7fa
mov eax, 0x6cbcb1a7
test eax, eax
jne 0x1004a7fa
and dword [ebp - 0x210], 0
jmp 0x1004a804
mov dword [ebp - 0x210], 1
mov eax, dword [ebp - 0x210]
sub eax, 0xfff9
jne 0x1004a81a
and dword [ebp - 0x178], 0
jmp 0x1004a824
mov dword [ebp - 0x178], 1
cmp dword [ebp - 0x178], 0xfffffff7
je 0x1004a839
mov dword [ebp - 0x1e0], 1
jmp 0x1004a840
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x1e0]
jge 0x1004a857
mov dword [ebp - 0x180], 1
jmp 0x1004a85e
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x74], 0
je 0x1004a922
cmp dword [ebp - 0x48], 0
je 0x1004a922
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x48], eax
jle 0x1004a896
push 0xfffffffffffffff8
pop eax
test eax, eax
jne 0x1004a896
and dword [ebp - 0x22c], 0
jmp 0x1004a8a0
mov dword [ebp - 0x22c], 1
cmp dword [ebp - 0x22c], 1
jl 0x1004a8b5
mov dword [ebp - 0x188], 1
jmp 0x1004a8bc
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x188]
jne 0x1004a8d6
mov dword [ebp - 0x1e8], 1
jmp 0x1004a8dd
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x74]
imul eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x98], eax
mov esi, dword [ebp - 0x98]
push 0
lea ecx, [ebp - 0x2c0]
call fcn.10021541
mov dword [eax], esi
push 0
lea ecx, [ebp - 0x2c0]
call fcn.10021541
mov eax, dword [eax]
sub eax, dword [ebp - 0x74]
je 0x1004a922
mov dword [ebp - 0x190], 1
jmp 0x1004a929
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
sub eax, 0x3d2cf3e
jne 0x1004a948
mov eax, 0xe158
test eax, eax
jne 0x1004a948
and dword [ebp - 0x288], 0
jmp 0x1004a952
mov dword [ebp - 0x288], 1
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x34c], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0xffffffff
jbe 0x1004a97f
mov dword [ebp - 0x198], 1
jmp 0x1004a986
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0xd8]
cmp dword [ebp - 0x198], eax
jl 0x1004a9a0
mov dword [ebp - 0x1f0], 1
jmp 0x1004a9a7
and dword [ebp - 0x1f0], 0
cmp dword [ebp - 0x1f0], 0x32a5
je 0x1004a9bf
mov dword [ebp - 0xf4], 1
jmp 0x1004a9c6
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x2a8]
cmp dword [ebp - 0xf4], eax
je 0x1004a9e0
mov dword [ebp - 0x23c], 1
jmp 0x1004a9e7
and dword [ebp - 0x23c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x23c]
mov dword [ebp + eax - 0x314], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c0]
call fcn.10021525
mov byte [0x10681479], 1
push 2
lea ecx, [ebp - 0xf0]
call fcn.100214a3
mov dword [ebp - 4], 3
mov dword [ebp - 0x8c], 0x6d44418
mov dword [ebp - 0x88], 0
jmp 0x1004aa47
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 2
jge 0x1004aa69
push dword [ebp - 0x88]
lea ecx, [ebp - 0xf0]
call fcn.10021541
mov dword [eax], 0x57fd5464
jmp 0x1004aa3a
mov dword [ebp - 0x8c], 1
jmp 0x1004aa82
mov eax, dword [ebp - 0x8c]
dec eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jl 0x1004acc8
mov dword [ebp - 0x24], 0xbf2b2994
push 2
lea ecx, [ebp - 0x2d8]
call fcn.100214a3
mov byte [ebp - 4], 4
mov dword [ebp - 0x6c], 0xfa014801
mov dword [ebp - 0x220], 0x124380d3
mov dword [ebp - 0x38], 0
jmp 0x1004aac8
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 2
jge 0x1004aae4
push dword [ebp - 0x38]
lea ecx, [ebp - 0x2d8]
call fcn.10021541
mov dword [eax], 9
jmp 0x1004aac1
mov dword [ebp - 0x38], 0
jmp 0x1004aaf4
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x1004ab0a
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x388], 1
jmp 0x1004aaed
mov dword [ebp - 0x24], 0
jmp 0x1004ab1a
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jg 0x1004acb4
mov dword [ebp - 0x1f8], 0xfffffffa
mov dword [ebp - 0x324], 0xffffffff
push dword [ebp - 0x24]
lea ecx, [ebp - 0xf0]
call fcn.10021541
mov dword [eax], 0x9d786592
push dword [ebp - 0x24]
lea ecx, [ebp - 0xf0]
call fcn.10021541
cmp dword [eax], 0x7001
je 0x1004ab6e
mov dword [ebp - 0x254], 1
jmp 0x1004ab75
and dword [ebp - 0x254], 0
push dword [ebp - 0x24]
lea ecx, [ebp - 0xf0]
call fcn.10021541
push 0
lea ecx, [ebp - 0x2d8]
call fcn.10021541
mov dword [ebp - 0x1a8], eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0xf0]
call fcn.10021541
mov ecx, dword [ebp - 0x1a8]
mov eax, dword [eax]
mov dword [ecx], eax
xor eax, eax
inc eax
neg eax
mov ecx, dword [ebp - 0x1a8]
mov esi, dword [ecx]
add esi, eax
push 1
lea ecx, [ebp - 0xf0]
call fcn.10021541
add esi, dword [eax]
cmp dword [ebp - 0x24], esi
je 0x1004abdd
mov dword [ebp - 0x258], 1
jmp 0x1004abe4
and dword [ebp - 0x258], 0
push dword [ebp - 0x24]
lea ecx, [ebp - 0xf0]
call fcn.10021541
push 0
lea ecx, [ebp - 0xf0]
call fcn.10021541
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x340], eax
push 0
lea ecx, [ebp - 0x2d8]
call fcn.10021541
mov eax, dword [eax]
mov dword [ebp - 0x1f8], eax
mov esi, dword [ebp - 0x1f8]
push dword [ebp - 0x24]
lea ecx, [ebp - 0xf0]
call fcn.10021541
cmp esi, dword [eax]
jne 0x1004ac41
mov dword [ebp - 0x1b0], 1
jmp 0x1004ac48
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x1004ac8e
mov dword [ebp - 0x6c], 0
jmp 0x1004ac67
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 4
jge 0x1004ac8c
mov byte [ebp - 0x4d], 0
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x1004ac8a
push 0
push 0x1a
push 0
push 0x799
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
jmp 0x1004ac60
jmp 0x1004acaf
mov dword [ebp - 0x32c], 0xb7be74fd
mov dword [ebp - 0x344], 0x19f8c517
mov eax, dword [ebp - 0x220]
dec eax
mov dword [ebp - 0x220], eax
jmp 0x1004ab13
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2d8]
call fcn.10021525
jmp 0x1004aa75
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.10021525
xor eax, eax
inc eax
imul eax, eax, 0x148
add eax, 0x1061dfc0
mov dword [ebp - 0x1bc], eax
push 3
lea ecx, [ebp - 0xd4]
call fcn.100214a3
mov dword [ebp - 4], 5
mov dword [ebp - 0x28], 0
push 1
lea ecx, [ebp - 0x2b4]
call fcn.100214a3
mov byte [ebp - 4], 6
mov dword [ebp - 0x34], 0
jmp 0x1004ad27
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x1004ad43
push dword [ebp - 0x34]
lea ecx, [ebp - 0xd4]
call fcn.10021541
mov dword [eax], 1
jmp 0x1004ad20
mov dword [ebp - 0x34], 0
jmp 0x1004ad53
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x1004ad6f
push dword [ebp - 0x34]
lea ecx, [ebp - 0x2b4]
call fcn.10021541
mov dword [eax], 0xd9ba5f27
jmp 0x1004ad4c
mov dword [ebp - 0x28], 0
jmp 0x1004ad7f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jg 0x1004b19c
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x1c], 0xffffffff
push 4
lea ecx, [ebp - 0x2ec]
call fcn.100214a3
mov byte [ebp - 4], 7
mov dword [ebp - 0x26c], 0xf6dae1d
mov dword [ebp - 0x44], 0
jmp 0x1004adc2
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x1004add8
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x364], 9
jmp 0x1004adbb
mov dword [ebp - 0x44], 0
jmp 0x1004ade8
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 4
jge 0x1004ae04
push dword [ebp - 0x44]
lea ecx, [ebp - 0x2ec]
call fcn.10021541
mov dword [eax], 1
jmp 0x1004ade1
mov byte [ebp - 0x51], 0
movzx eax, byte [ebp - 0x51]
test eax, eax
je 0x1004ae20
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov dword [ebp - 0x2c], 0
jmp 0x1004ae30
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jg 0x1004b15a
mov dword [ebp - 0x2fc], 0xb4d258d0
mov dword [ebp - 0x2f8], 0xb4d258d0
mov dword [ebp - 0x2f4], 0xb4d258d0
mov dword [ebp - 0x2f0], 0xb4d258d0
mov dword [ebp - 0x84], 0
jmp 0x1004ae7b
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 4
jge 0x1004ae97
mov eax, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x374], 1
jmp 0x1004ae6e
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], eax
je 0x1004aeab
mov dword [ebp - 0x290], 1
jmp 0x1004aeb2
and dword [ebp - 0x290], 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0xd4]
call fcn.10021541
cmp dword [eax], 1
jl 0x1004aed1
mov dword [ebp - 0x260], 1
jmp 0x1004aed8
and dword [ebp - 0x260], 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0xd4]
call fcn.10021541
mov esi, dword [ebp - 0x28]
push 1
lea ecx, [ebp - 0xd4]
call fcn.10021541
imul esi, dword [eax]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0xd4]
call fcn.10021541
cmp esi, dword [eax]
jge 0x1004af17
mov dword [ebp - 0x1b8], 1
jmp 0x1004af1e
and dword [ebp - 0x1b8], 0
cmp dword [ebp - 0x1b8], 0x1c587c7a
jg 0x1004af36
mov dword [ebp - 0x200], 1
jmp 0x1004af3d
and dword [ebp - 0x200], 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0xd4]
call fcn.10021541
mov esi, dword [eax]
imul esi, dword [ebp - 0x200]
push 0
lea ecx, [ebp - 0x2b4]
call fcn.10021541
imul esi, dword [eax]
sub esi, dword [ebp - 0x2c]
jne 0x1004af8a
push dword [ebp - 0x28]
lea ecx, [ebp - 0xd4]
call fcn.10021541
cmp dword [eax], 0
jne 0x1004af8a
xor eax, eax
inc eax
jne 0x1004af8a
and dword [ebp - 0x1c0], 0
jmp 0x1004af94
mov dword [ebp - 0x1c0], 1
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], 0
jmp 0x1004afad
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jg 0x1004b155
mov byte [ebp - 0x4e], 0
movzx eax, byte [ebp - 0x4e]
test eax, eax
je 0x1004afcf
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorOwner]
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x2fc], 0x6082f4e5
push dword [ebp - 0x28]
lea ecx, [ebp - 0xd4]
call fcn.10021541
mov eax, dword [eax]
sub eax, dword [ebp - 0x1c]
cmp eax, 0x6082f4e5
jle 0x1004b006
mov dword [ebp - 0x224], 1
jmp 0x1004b00d
and dword [ebp - 0x224], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x374]
cmp dword [ebp - 0x224], eax
je 0x1004b02e
mov dword [ebp - 0x264], 1
jmp 0x1004b035
and dword [ebp - 0x264], 0
push 4
pop eax
shl eax, 0
lea eax, [ebp + eax - 0x364]
mov dword [ebp - 0x1c8], eax
push 0
lea ecx, [ebp - 0x2b4]
call fcn.10021541
mov ecx, dword [ebp - 0x1c8]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c8]
cmp dword [ecx], eax
jg 0x1004b078
mov dword [ebp - 0x150], 1
jmp 0x1004b07f
and dword [ebp - 0x150], 0
cmp dword [ebp - 0x150], 0xfffffff6
jbe 0x1004b094
mov dword [ebp - 0x154], 1
jmp 0x1004b09b
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x154], eax
jg 0x1004b0c2
push dword [ebp - 0x28]
lea ecx, [ebp - 0xd4]
call fcn.10021541
cmp dword [eax], 0
jne 0x1004b0c2
and dword [ebp - 0x15c], 0
jmp 0x1004b0cc
mov dword [ebp - 0x15c], 1
cmp dword [ebp - 0x15c], 1
jl 0x1004b0e1
mov dword [ebp - 0x268], 1
jmp 0x1004b0e8
and dword [ebp - 0x268], 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0xd4]
call fcn.10021541
mov ecx, dword [ebp - 0x1c]
cmp dword [eax], ecx
jl 0x1004b109
mov dword [ebp - 0x164], 1
jmp 0x1004b110
and dword [ebp - 0x164], 0
cmp dword [ebp - 0x164], 0xe96f77d9
jbe 0x1004b128
mov dword [ebp - 0xc0], 1
jmp 0x1004b12f
and dword [ebp - 0xc0], 0
push 1
lea ecx, [ebp - 0x2ec]
call fcn.10021541
mov ecx, dword [ebp - 0xc0]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x26c], eax
jmp 0x1004afa6
jmp 0x1004ae29
mov dword [ebp - 0x1c], 2
jmp 0x1004b16a
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1004b188
mov byte [ebp - 0x4f], 0
movzx eax, byte [ebp - 0x4f]
test eax, eax
je 0x1004b186
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
jmp 0x1004b163
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2ec]
call fcn.10021525
jmp 0x1004ad78
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2b4]
call fcn.10021525
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.10021525
xor eax, eax
inc eax
imul eax, eax, 0x1c
add eax, 0x1061dfc0
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x304], 0xffffffff
mov dword [ebp - 0x300], 0x318d5816
push 1
lea ecx, [ebp - 0x338]
call fcn.100214a3
mov dword [ebp - 4], 8
mov dword [ebp - 0x318], 1
mov dword [ebp - 0x16c], 0x8e1b8814
mov dword [ebp - 0x40], 0
jmp 0x1004b217
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x1004b22d
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x37c], 0xfffffffd
jmp 0x1004b210
mov dword [ebp - 0x40], 0
jmp 0x1004b23d
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jge 0x1004b259
push dword [ebp - 0x40]
lea ecx, [ebp - 0x338]
call fcn.10021541
mov dword [eax], 0x23ed15d
jmp 0x1004b236
mov eax, dword [ebp - 0x16c]
dec eax
mov dword [ebp - 0x16c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x338]
call fcn.10021525
mov eax, dword [ebp - 0x1bc]
mov dword [0x1061df3c], eax
mov eax, dword [ebp - 0xbc]
mov dword [0x1061df40], eax
push 3
lea ecx, [ebp - 0x2a4]
call fcn.100214a3
mov dword [ebp - 4], 9
mov dword [ebp - 0xc4], 0x4f9a0237
mov dword [ebp - 0x1b4], 0x5e04a276
mov dword [ebp - 0x10], 0
jmp 0x1004b2c3
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1004b2d9
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xe4], 0x648261f9
jmp 0x1004b2bc
mov dword [ebp - 0x10], 0
jmp 0x1004b2e9
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1004b2fc
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x14], 0x9be1d925
jmp 0x1004b2e2
mov dword [ebp - 0x10], 0
jmp 0x1004b30c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x1004b328
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2a4]
call fcn.10021541
mov dword [eax], 5
jmp 0x1004b305
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x14], 2
jmp 0x1004b34d
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x14], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x14], 0
jl 0x1004b563
mov dword [ebp - 0x18c], 0xd77cccae
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp dword [ebp + eax*4 - 0xe4], 0x285faafe
jge 0x1004b38b
mov dword [ebp - 0x19c], 1
jmp 0x1004b392
and dword [ebp - 0x19c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x14]
mov ecx, dword [ebp + ecx*4 - 0xe4]
cmp dword [ebp + eax*4 - 0xe4], ecx
jl 0x1004b3c2
mov dword [ebp - 0x174], 1
jmp 0x1004b3c9
and dword [ebp - 0x174], 0
cmp dword [ebp - 0x174], 0x66e9
jg 0x1004b3e1
mov dword [ebp - 0x17c], 1
jmp 0x1004b3e8
and dword [ebp - 0x17c], 0
push 2
lea ecx, [ebp - 0x2a4]
call fcn.10021541
mov ecx, dword [ebp - 0x17c]
cmp ecx, dword [eax]
jg 0x1004b428
mov eax, 0xffff
test eax, eax
je 0x1004b428
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
cmp dword [ebp + eax*4 - 0xe4], 0
je 0x1004b428
mov dword [ebp - 0x184], 1
jmp 0x1004b42f
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0xfffffffa
jge 0x1004b45c
mov dword [ebp - 0x194], 1
jmp 0x1004b463
and dword [ebp - 0x194], 0
cmp dword [ebp - 0x194], 0xd64bda99
jae 0x1004b47b
mov dword [ebp - 0x298], 1
jmp 0x1004b482
and dword [ebp - 0x298], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
mov eax, dword [ebp + eax*4 - 0xe4]
mov dword [ebp - 0x320], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
mov dword [ebp - 0x328], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
mov dword [ebp - 0x348], eax
push 2
lea ecx, [ebp - 0x2a4]
call fcn.10021541
push 2
lea ecx, [ebp - 0x2a4]
call fcn.10021541
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x14]
mov ecx, dword [ebp + ecx*4 - 0xe4]
cmp dword [ebp + eax*4 - 0xe4], ecx
jge 0x1004b510
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0xe4], 0
jne 0x1004b510
and dword [ebp - 0x1a4], 0
jmp 0x1004b51a
mov dword [ebp - 0x1a4], 1
mov eax, dword [ebp - 0x19c]
cmp eax, dword [ebp - 0x1a4]
jge 0x1004b534
mov dword [ebp - 0x1ac], 1
jmp 0x1004b53b
and dword [ebp - 0x1ac], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x14]
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp + eax*4 - 0xe4], ecx
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x1b4], eax
jmp 0x1004b338
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xe4]
mov dword [ebp - 0x1b4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a4]
call fcn.10021525
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 0xbc]
mov edx, dword [edx + eax]
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [eax + ecx]
call fcn.10049d78
mov dword [ebp - 0x274], eax
push dword [ebp - 0xbc]
mov edx, 0x1061df6c
mov ecx, dword [ebp - 0x274]
call fcn.10049d84
pop ecx
push 2
lea ecx, [ebp - 0x80]
call fcn.100214a3
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x130], 0x3e141b6b
mov dword [ebp - 0x27c], 0xfffa
mov dword [ebp - 0x284], 0x44bb323f
mov dword [ebp - 0x140], 0xeb94
mov dword [ebp - 0x250], 0x3aa9c1c7
mov dword [ebp - 0x9c], 0
jmp 0x1004b62b
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 2
jge 0x1004b647
push dword [ebp - 0x9c]
lea ecx, [ebp - 0x80]
call fcn.10021541
and dword [eax], 0
jmp 0x1004b61e
mov byte [ebp - 0x52], 0
movzx eax, byte [ebp - 0x52]
test eax, eax
je 0x1004b663
push 0x2c2
push 0xea6
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0
lea ecx, [ebp - 0x80]
call fcn.10021541
cmp dword [eax], 1
jg 0x1004b67e
mov dword [ebp - 0xf8], 1
jmp 0x1004b685
and dword [ebp - 0xf8], 0
push 1
lea ecx, [ebp - 0x80]
call fcn.10021541
mov ecx, dword [ebp - 0xf8]
cmp ecx, dword [eax]
jg 0x1004b6a5
mov dword [ebp - 0x100], 1
jmp 0x1004b6ac
and dword [ebp - 0x100], 0
cmp dword [ebp - 0x100], 3
jb 0x1004b6c1
mov dword [ebp - 0x108], 1
jmp 0x1004b6c8
and dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0
jae 0x1004b6dd
mov dword [ebp - 0x110], 1
jmp 0x1004b6e4
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
add eax, 9
jne 0x1004b716
push 1
lea ecx, [ebp - 0x80]
call fcn.10021541
cmp dword [eax], 0
jne 0x1004b716
push 0
lea ecx, [ebp - 0x80]
call fcn.10021541
cmp dword [eax], 0
jne 0x1004b716
and dword [ebp - 0x118], 0
jmp 0x1004b720
mov dword [ebp - 0x118], 1
mov esi, dword [ebp - 0x118]
add esi, 0x2e4e
push 0
lea ecx, [ebp - 0x80]
call fcn.10021541
cmp esi, dword [eax]
jle 0x1004b746
mov dword [ebp - 0x120], 1
jmp 0x1004b74d
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
sub eax, 4
jne 0x1004b770
push 1
lea ecx, [ebp - 0x80]
call fcn.10021541
cmp dword [eax], 0
jne 0x1004b770
and dword [ebp - 0x294], 0
jmp 0x1004b77a
mov dword [ebp - 0x294], 1
push 1
lea ecx, [ebp - 0x80]
call fcn.10021541
mov dword [ebp - 0x128], 0x81c5
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x130], eax
mov esi, dword [ebp - 0x130]
neg esi
neg esi
push 1
lea ecx, [ebp - 0x80]
call fcn.10021541
add esi, dword [eax]
push 1
lea ecx, [ebp - 0x80]
call fcn.10021541
sub esi, dword [eax]
imul esi, dword [ebp - 0x27c]
test esi, esi
je 0x1004b7e2
push 1
lea ecx, [ebp - 0x80]
call fcn.10021541
cmp dword [eax], 0
je 0x1004b7e2
mov dword [ebp - 0x138], 1
jmp 0x1004b7e9
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x138]
dec eax
cmp eax, 0xae055a24
ja 0x1004b803
mov dword [ebp - 0x28c], 1
jmp 0x1004b80a
and dword [ebp - 0x28c], 0
push 1
lea ecx, [ebp - 0x80]
call fcn.10021541
push 1
lea ecx, [ebp - 0x80]
call fcn.10021541
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
jne 0x1004b84b
push 1
lea ecx, [ebp - 0x80]
call fcn.10021541
cmp dword [eax], 0
jne 0x1004b84b
and dword [ebp - 0x148], 0
jmp 0x1004b855
mov dword [ebp - 0x148], 1
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x250], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.10021525
mov esi, 0x1061df3c
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret