Function at 0x1004d366
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008594f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x534
push esi
push edi
mov dword [ebp - 0x18], 5
mov dword [ebp - 0x148], 6
mov dword [ebp - 0x330], 0x5761ac7e
mov dword [ebp - 0x8c], 0
jmp 0x1004d3ba
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 4
jge 0x1004d3d6
mov eax, dword [ebp - 0x8c]
mov dword [ebp + eax*4 - 0x314], 0xe0cf
jmp 0x1004d3ad
mov dword [ebp - 0x18], 0
jmp 0x1004d3e6
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jg 0x1004d669
mov dword [ebp - 0x140], 0xffffffff
push 2
lea ecx, [ebp - 0x430]
call fcn.1001854e
and dword [ebp - 4], 0
mov dword [ebp - 0xc8], 0
jmp 0x1004d424
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 2
jge 0x1004d446
push dword [ebp - 0xc8]
lea ecx, [ebp - 0x430]
call fcn.100185ec
mov dword [eax], 6
jmp 0x1004d417
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x314]
mov dword [ebp - 0x498], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x314], 0
jne 0x1004d4cd
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ebp + ecx*4 - 0x314]
cmp dword [ebp + eax*4 - 0x314], ecx
je 0x1004d485
mov dword [ebp - 0x2d4], 1
jmp 0x1004d48c
and dword [ebp - 0x2d4], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x2d4], eax
jl 0x1004d4a3
mov dword [ebp - 0x2e8], 1
jmp 0x1004d4aa
and dword [ebp - 0x2e8], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x2e8]
sub ecx, dword [ebp + eax - 0x314]
imul ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x1004d4cd
and dword [ebp - 0x2f0], 0
jmp 0x1004d4d7
mov dword [ebp - 0x2f0], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x314]
cmp dword [ebp - 0x2f0], eax
jge 0x1004d4f8
mov dword [ebp - 0x280], 1
jmp 0x1004d4ff
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x280]
add eax, 0xfffd
cmp eax, dword [ebp - 0x18]
jge 0x1004d51b
mov dword [ebp - 0x130], 1
jmp 0x1004d522
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x314]
cmp dword [ebp - 0x130], eax
jg 0x1004d540
mov dword [ebp - 0x288], 1
jmp 0x1004d547
and dword [ebp - 0x288], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x314]
cmp dword [ebp - 0x288], eax
jl 0x1004d565
mov dword [ebp - 0x138], 1
jmp 0x1004d56c
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0x8722
jl 0x1004d584
mov dword [ebp - 0x290], 1
jmp 0x1004d58b
and dword [ebp - 0x290], 0
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x298], eax
push 0
lea ecx, [ebp - 0x430]
call fcn.100185ec
mov ecx, dword [ebp - 0x298]
mov dword [eax], ecx
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
shl eax, 3
cmp eax, 0xfffffff8
je 0x1004d5de
mov dword [ebp - 0x2a0], 1
jmp 0x1004d5e5
and dword [ebp - 0x2a0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x2a0], eax
jne 0x1004d5fc
mov dword [ebp - 0x150], 1
jmp 0x1004d603
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x150], eax
jg 0x1004d61a
mov dword [ebp - 0x2a8], 1
jmp 0x1004d621
and dword [ebp - 0x2a8], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x314]
cmp dword [ebp - 0x2a8], eax
jg 0x1004d63f
mov dword [ebp - 0x158], 1
jmp 0x1004d646
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x158]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x330], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x430]
call fcn.100185d0
jmp 0x1004d3df
mov dword [ebp - 0x58], 0xf2ee
mov dword [ebp - 0x38], 0xf89b546
mov dword [ebp - 0x44c], 0xffffffff
mov dword [ebp - 0x448], 0xffffffff
mov dword [ebp - 0x444], 0xffffffff
mov dword [ebp - 0x440], 0xffffffff
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x38], 0
jmp 0x1004d6b5
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jg 0x1004d845
mov dword [ebp - 0xac], 0xc6d21cd4
mov dword [ebp - 0x58], 3
jmp 0x1004d6d9
mov eax, dword [ebp - 0x58]
dec eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jl 0x1004d835
mov dword [ebp - 0x84], 0x35a23e86
mov dword [ebp - 0x84], 3
jmp 0x1004d706
mov eax, dword [ebp - 0x84]
dec eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
jl 0x1004d830
cmp dword [ebp - 0xac], 0x40e1
jg 0x1004d72b
mov dword [ebp - 0x2b0], 1
jmp 0x1004d732
and dword [ebp - 0x2b0], 0
cmp dword [ebp - 0x2b0], 0x64d6
jne 0x1004d74a
mov dword [ebp - 0x160], 1
jmp 0x1004d751
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x160], eax
jne 0x1004d768
mov dword [ebp - 0x2b8], 1
jmp 0x1004d76f
and dword [ebp - 0x2b8], 0
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x2b8]
sub eax, ecx
cmp eax, 1
je 0x1004d791
mov dword [ebp - 0x168], 1
jmp 0x1004d798
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x168], eax
jle 0x1004d7af
mov dword [ebp - 0x2c0], 1
jmp 0x1004d7b6
and dword [ebp - 0x2c0], 0
cmp dword [ebp - 0x2c0], 0xffffffff
jle 0x1004d7cb
mov dword [ebp - 0x170], 1
jmp 0x1004d7d2
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp + eax*4 - 0x44c]
cmp eax, dword [ebp - 0x170]
jne 0x1004d7f0
mov dword [ebp - 0x380], 1
jmp 0x1004d7f7
and dword [ebp - 0x380], 0
mov eax, 0x1540ee1d
cmp eax, 0x5a2e712c
jg 0x1004d818
mov eax, 0x978e
test eax, eax
jne 0x1004d818
mov dword [ebp - 0x2c8], 1
jmp 0x1004d81f
and dword [ebp - 0x2c8], 0
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0xac], eax
jmp 0x1004d6f9
jmp 0x1004d6d2
cmp dword [ebp - 0xac], 0
je 0x1004d840
jmp 0x1004d845
jmp 0x1004d6ae
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x120], 0xb64b5c6f
mov dword [ebp - 0x178], 0x2ba75a59
mov dword [ebp - 0x180], 1
mov dword [ebp - 0x398], 0
mov dword [ebp - 0x3a0], 0x50678e0
mov dword [ebp - 0x494], 0xfffffffe
mov dword [ebp - 0x94], 0
jmp 0x1004d8a1
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 1
jge 0x1004d8bd
mov eax, dword [ebp - 0x94]
mov dword [ebp + eax*4 - 0x390], 0xffffffff
jmp 0x1004d894
xor eax, eax
inc eax
je 0x1004d8d4
cmp dword [ebp - 0x60], 0
je 0x1004d8d4
mov dword [ebp - 0x388], 1
jmp 0x1004d8db
and dword [ebp - 0x388], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x4a8], eax
mov dword [ebp - 0x120], 0xfffffffd
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x4e4], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x4ac], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0xfffffff8
je 0x1004d924
mov dword [ebp - 0x2d0], 1
jmp 0x1004d92b
and dword [ebp - 0x2d0], 0
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
imul eax, dword [ebp - 0x60]
imul eax, dword [ebp - 0x60]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x390]
cmp eax, dword [ebp - 0x398]
jle 0x1004d967
mov dword [ebp - 0x2d8], 1
jmp 0x1004d96e
and dword [ebp - 0x2d8], 0
mov eax, dword [ebp - 0x2d8]
sub eax, dword [ebp - 0x60]
mov dword [ebp - 0x3a0], eax
mov byte [ebp - 0x5b], 0
movzx eax, byte [ebp - 0x5b]
test eax, eax
je 0x1004d998
push 0
push 0x2b1
push 0
call dword [sym.imp.ADVAPI32.dll_ControlService]
push 2
lea ecx, [ebp - 0xdc]
call fcn.1001854e
mov dword [ebp - 4], 1
mov dword [ebp - 0x2e0], 0x51d69f42
mov dword [ebp - 0x2ac], 0x85613717
mov dword [ebp - 0x33c], 0x9d010789
mov dword [ebp - 0x18c], 0xfff8
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x1004d9f2
push 0x1893
push 0xdcd
push 0
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x2ac]
add eax, dword [ebp - 0x33c]
imul eax, eax, 0xfffffff8
cmp eax, 0xffff
jne 0x1004da1a
mov eax, 0xd9d75405
test eax, eax
jne 0x1004da1a
and dword [ebp - 0x378], 0
jmp 0x1004da24
mov dword [ebp - 0x378], 1
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x4e8], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x2e0], 0x8900fdb6
jae 0x1004da54
mov dword [ebp - 0x24c], 1
jmp 0x1004da5b
and dword [ebp - 0x24c], 0
mov eax, dword [ebp - 0x18c]
cmp dword [ebp - 0x24c], eax
jg 0x1004da75
mov dword [ebp - 0x194], 1
jmp 0x1004da7c
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x29c], 0x98311173
mov dword [ebp - 0x364], 0xffffffff
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x19c], 0x1eb32a83
mov dword [ebp - 0x348], 1
mov byte [ebp - 0x51], 0
movzx eax, byte [ebp - 0x51]
test eax, eax
je 0x1004dad2
push 0xd74
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x40], 0
jmp 0x1004dae2
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xfffffff2
jle 0x1004dbb8
mov dword [ebp - 0xbc], 0x8b10
cmp dword [ebp - 0xbc], 0
je 0x1004db04
jmp 0x1004dbb8
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x19c], 0xb132
cmp dword [ebp - 0x19c], 0
jne 0x1004db3b
cmp dword [ebp - 0x40], 0
jne 0x1004db3b
cmp dword [ebp - 0xbc], 0
jne 0x1004db3b
and dword [ebp - 0x254], 0
jmp 0x1004db45
mov dword [ebp - 0x254], 1
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0x254], eax
jle 0x1004db5f
mov dword [ebp - 0x1a4], 1
jmp 0x1004db66
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x1a4], eax
jge 0x1004db7d
mov dword [ebp - 0x2dc], 1
jmp 0x1004db84
and dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0x2dc]
add eax, 0x54db
cmp eax, dword [ebp - 0x40]
je 0x1004dba0
mov dword [ebp - 0x1ac], 1
jmp 0x1004dba7
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x348], eax
jmp 0x1004dadb
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0xa4], 0x89b1ab44
mov dword [ebp - 0x11c], 0x637c5b15
mov dword [ebp - 0x344], 0xe905687c
mov dword [ebp - 0x1ec], 1
mov dword [ebp - 0x3c4], 0xfffffff7
mov dword [ebp - 0x34c], 0xffffffff
cmp dword [ebp - 0x28], 0
jne 0x1004dc0d
mov dword [ebp - 0x264], 1
jmp 0x1004dc14
and dword [ebp - 0x264], 0
cmp dword [ebp - 0x28], 0
je 0x1004dc4e
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x28], eax
jl 0x1004dc2e
mov dword [ebp - 0x25c], 1
jmp 0x1004dc35
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x25c]
add eax, 0x44b55263
je 0x1004dc4e
mov dword [ebp - 0x1b4], 1
jmp 0x1004dc55
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
je 0x1004dc85
cmp dword [ebp - 0x28], 0
je 0x1004dc85
cmp dword [ebp - 0xa4], 0
je 0x1004dc85
mov dword [ebp - 0x2b4], 1
jmp 0x1004dc8c
and dword [ebp - 0x2b4], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
imul ecx, dword [ebp - 0x2b4]
sub eax, ecx
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x11c], eax
jl 0x1004dcb8
mov dword [ebp - 0x1bc], 1
jmp 0x1004dcbf
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x1bc]
sub eax, 3
je 0x1004dcda
xor eax, eax
je 0x1004dcda
mov dword [ebp - 0x1c4], 1
jmp 0x1004dce1
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x264]
cmp eax, dword [ebp - 0x1c4]
jle 0x1004df56
mov dword [ebp - 0xb4], 0xfffffff6
mov dword [ebp - 0x38c], 0xffffffff
mov dword [ebp - 0x1f4], 0xd3c095b6
mov dword [ebp - 0x80], 0x6df3e2e1
mov dword [ebp - 0xcc], 0x4a788afb
mov dword [ebp - 0x394], 0
mov dword [ebp - 0x9c], 0
jmp 0x1004dd45
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 3
jge 0x1004dd61
mov eax, dword [ebp - 0x9c]
mov dword [ebp + eax*4 - 0x4c0], 8
jmp 0x1004dd38
cmp dword [ebp - 0xb4], 0
je 0x1004dd7f
cmp dword [ebp - 0xb4], 0
je 0x1004dd7f
mov dword [ebp - 0x1d4], 1
jmp 0x1004dd86
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xb4], eax
jge 0x1004dd9d
mov dword [ebp - 0x2f4], 1
jmp 0x1004dda4
and dword [ebp - 0x2f4], 0
cmp dword [ebp - 0x2f4], 0xca0c
jne 0x1004ddbc
mov dword [ebp - 0x1cc], 1
jmp 0x1004ddc3
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x38c]
cmp eax, dword [ebp - 0x1cc]
jne 0x1004dddd
mov dword [ebp - 0x26c], 1
jmp 0x1004dde4
and dword [ebp - 0x26c], 0
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x26c]
inc ecx
sub eax, ecx
imul eax, dword [ebp - 0x1f4]
cmp dword [ebp - 0x1d4], eax
jge 0x1004de0e
mov dword [ebp - 0x2bc], 1
jmp 0x1004de15
and dword [ebp - 0x2bc], 0
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x344]
cmp dword [ebp - 0x80], eax
jg 0x1004de35
mov dword [ebp - 0x1dc], 1
jmp 0x1004de3c
and dword [ebp - 0x1dc], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1dc]
sub ecx, dword [ebp + eax - 0x4c0]
cmp ecx, dword [ebp - 0x1ec]
jg 0x1004de63
mov dword [ebp - 0x274], 1
jmp 0x1004de6a
and dword [ebp - 0x274], 0
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0xcc], eax
jne 0x1004de8d
mov dword [ebp - 0x1e4], 1
jmp 0x1004de94
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0xcc], eax
mov eax, 0x3c53
test eax, eax
je 0x1004debe
cmp dword [ebp - 0xa4], 0
je 0x1004debe
mov dword [ebp - 0x2e4], 1
jmp 0x1004dec5
and dword [ebp - 0x2e4], 0
mov eax, dword [ebp - 0x3c4]
imul eax, dword [ebp - 0x2e4]
neg eax
cmp eax, 7
je 0x1004deee
cmp dword [ebp - 0x1ec], 0
je 0x1004deee
mov dword [ebp - 0x27c], 1
jmp 0x1004def5
and dword [ebp - 0x27c], 0
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x80], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x4c0]
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x478], eax
cmp dword [ebp - 0x11c], 0xd6b8
jne 0x1004df37
cmp dword [ebp - 0x34c], 0
jne 0x1004df37
and dword [ebp - 0x2c4], 0
jmp 0x1004df41
mov dword [ebp - 0x2c4], 1
mov eax, dword [ebp - 0x1f4]
imul eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x394], eax
jmp 0x1004df7b
mov byte [ebp - 0x41], 0
movzx eax, byte [ebp - 0x41]
test eax, eax
je 0x1004df7b
push 0
push 0x1733
push 0
push 0x1157
push 0x1ae7
call dword [sym.imp.GDI32.dll_ExtCreatePen]
mov dword [ebp - 0xc4], 0
jmp 0x1004df94
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 2
jge 0x1004dfb6
push dword [ebp - 0xc4]
lea ecx, [ebp - 0xdc]
call fcn.100185ec
mov dword [eax], 1
jmp 0x1004df87
mov dword [ebp - 0x424], 0x703d9b95
mov dword [ebp - 0x420], 0x703d9b95
mov dword [ebp - 0x41c], 0x703d9b95
mov dword [ebp - 0x418], 0x703d9b95
lea ecx, [ebp - 0x115]
call fcn.1000b803
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x524]
call fcn.100185fb
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x4d0]
call fcn.100185aa
mov byte [ebp - 4], 2
mov dword [ebp - 0x354], 0xffffffff
mov dword [ebp - 0x480], 0x15b01d9
mov dword [ebp - 0x488], 0xfffffff8
mov dword [ebp - 0x88], 0
jmp 0x1004e04e
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 2
jge 0x1004e06a
mov eax, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0x4a0], 0xcbadbefc
jmp 0x1004e041
push 1
lea ecx, [ebp - 0x4d0]
call fcn.100185ec
cmp dword [eax], 1
jl 0x1004e088
mov dword [ebp - 0x1fc], 1
jmp 0x1004e08f
and dword [ebp - 0x1fc], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp + eax - 0x4a0], ecx
mov dword [ebp - 0x354], 0xc5265879
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4d0]
call fcn.100185d0
push 0
lea ecx, [ebp - 0xdc]
call fcn.100185ec
mov esi, eax
push 0
lea ecx, [ebp - 0xdc]
call fcn.100185ec
mov ecx, dword [esi]
cmp ecx, dword [eax]
jl 0x1004e0e9
mov dword [ebp - 0x284], 1
jmp 0x1004e0f0
and dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x29c], eax
push 2
lea ecx, [ebp - 0x320]
call fcn.1001854e
mov byte [ebp - 4], 3
mov dword [ebp - 0x64], 0x9d010789
mov dword [ebp - 0xf4], 0x5732aa61
mov dword [ebp - 0x304], 1
mov dword [ebp - 0x35c], 0xe5f88592
mov dword [ebp - 0x30], 0
jmp 0x1004e142
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jge 0x1004e158
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0xe4], 0x4a8c6a53
jmp 0x1004e13b
mov dword [ebp - 0x30], 0
jmp 0x1004e168
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x1004e184
push dword [ebp - 0x30]
lea ecx, [ebp - 0x320]
call fcn.100185ec
mov dword [eax], 0x16df251d
jmp 0x1004e161
push 0
lea ecx, [ebp - 0x320]
call fcn.100185ec
and dword [eax], 0
jmp 0x1004e1ba
push 0
lea ecx, [ebp - 0x320]
call fcn.100185ec
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x204]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x204]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x320]
call fcn.100185ec
cmp dword [eax], 0
jl 0x1004e3ee
mov dword [ebp - 0x20], 0xccb03629
mov dword [ebp - 0x3d4], 0x2b000cd9
mov dword [ebp - 0x20], 0
jmp 0x1004e1f1
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1004e3cb
mov dword [ebp - 0x104], 0xc1da7bc9
mov dword [ebp - 0xec], 0
mov dword [ebp - 0x114], 0x818264d9
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x490], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x304], eax
cmp dword [ebp - 0x304], 1
jae 0x1004e243
mov dword [ebp - 0x20c], 1
jmp 0x1004e24a
and dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0xe4]
imul eax, dword [ebp - 0x20c]
test eax, eax
jne 0x1004e26b
mov dword [ebp - 0x28c], 1
jmp 0x1004e272
and dword [ebp - 0x28c], 0
cmp dword [ebp - 0x28c], 0xfffffff6
jne 0x1004e287
mov dword [ebp - 0x214], 1
jmp 0x1004e28e
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x214]
neg eax
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0xe4]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x460], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4b0], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0x323f
jg 0x1004e2e2
mov dword [ebp - 0x2cc], 1
jmp 0x1004e2e9
and dword [ebp - 0x2cc], 0
cmp dword [ebp - 0x2cc], 0xa44198d7
jb 0x1004e301
mov dword [ebp - 0x21c], 1
jmp 0x1004e308
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x21c]
neg ecx
cmp dword [ebp + eax*4 - 0xe4], ecx
jl 0x1004e328
mov dword [ebp - 0x294], 1
jmp 0x1004e32f
and dword [ebp - 0x294], 0
push 0
lea ecx, [ebp - 0x320]
call fcn.100185ec
mov ecx, dword [ebp - 0x294]
cmp ecx, dword [eax]
jl 0x1004e352
mov dword [ebp - 0x224], 1
jmp 0x1004e359
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x4f4], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x508], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x510], eax
mov eax, dword [ebp - 0xec]
dec eax
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x4a4], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x3d4], eax
jge 0x1004e3b3
mov dword [ebp - 0x2ec], 1
jmp 0x1004e3ba
and dword [ebp - 0x2ec], 0
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x35c], eax
jmp 0x1004e1ea
mov byte [ebp - 0x52], 0
movzx eax, byte [ebp - 0x52]
test eax, eax
je 0x1004e3e9
push 0x1ed1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
jmp 0x1004e196
mov dword [ebp - 0x64], 0xffffffea
jmp 0x1004e3fe
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xfffffff9
jg 0x1004e437
mov dword [ebp - 0x39c], 0xf5ab
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x53], 0
movzx eax, byte [ebp - 0x53]
test eax, eax
je 0x1004e435
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetMenu]
jmp 0x1004e3f7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x320]
call fcn.100185d0
push 0
lea ecx, [ebp - 0xdc]
call fcn.100185ec
push 0
lea ecx, [ebp - 0xdc]
call fcn.100185ec
mov esi, eax
push 0
lea ecx, [ebp - 0xdc]
call fcn.100185ec
mov ecx, dword [esi]
imul ecx, dword [eax]
test ecx, ecx
jne 0x1004e493
push 1
lea ecx, [ebp - 0xdc]
call fcn.100185ec
cmp dword [eax], 0
jne 0x1004e493
and dword [ebp - 0x22c], 0
jmp 0x1004e49d
mov dword [ebp - 0x22c], 1
push 1
lea ecx, [ebp - 0xdc]
call fcn.100185ec
mov esi, eax
push 0
lea ecx, [ebp - 0xdc]
call fcn.100185ec
mov ecx, dword [esi]
imul ecx, dword [eax]
sub ecx, dword [ebp - 0x22c]
je 0x1004e4e4
push 1
lea ecx, [ebp - 0xdc]
call fcn.100185ec
cmp dword [eax], 0
je 0x1004e4e4
mov dword [ebp - 0x234], 1
jmp 0x1004e4eb
and dword [ebp - 0x234], 0
mov eax, dword [ebp - 0x29c]
cmp eax, dword [ebp - 0x234]
jge 0x1004e505
mov dword [ebp - 0x124], 1
jmp 0x1004e50c
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x364]
cmp dword [ebp - 0x124], eax
jne 0x1004e9b5
mov dword [ebp - 0x48], 0xf2ee
mov dword [ebp - 0x50], 0xf89b546
mov dword [ebp - 0x45c], 0xffffffff
mov dword [ebp - 0x458], 0xffffffff
mov dword [ebp - 0x454], 0xffffffff
mov dword [ebp - 0x450], 0xffffffff
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x50], 0
jmp 0x1004e56a
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 3
jg 0x1004e6fa
mov dword [ebp - 0x98], 0xc6d21cd4
mov dword [ebp - 0x48], 3
jmp 0x1004e58e
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x1004e6ea
mov dword [ebp - 0x90], 0x35a23e86
mov dword [ebp - 0x90], 3
jmp 0x1004e5bb
mov eax, dword [ebp - 0x90]
dec eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jl 0x1004e6e5
cmp dword [ebp - 0x98], 0x40e1
jg 0x1004e5e0
mov dword [ebp - 0x23c], 1
jmp 0x1004e5e7
and dword [ebp - 0x23c], 0
cmp dword [ebp - 0x23c], 0x64d6
jne 0x1004e5ff
mov dword [ebp - 0x2a4], 1
jmp 0x1004e606
and dword [ebp - 0x2a4], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x2a4], eax
jne 0x1004e61d
mov dword [ebp - 0x244], 1
jmp 0x1004e624
and dword [ebp - 0x244], 0
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x244]
sub eax, ecx
cmp eax, 1
je 0x1004e646
mov dword [ebp - 0x184], 1
jmp 0x1004e64d
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x184], eax
jle 0x1004e664
mov dword [ebp - 0x188], 1
jmp 0x1004e66b
and dword [ebp - 0x188], 0
cmp dword [ebp - 0x188], 0xffffffff
jle 0x1004e680
mov dword [ebp - 0x190], 1
jmp 0x1004e687
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp + eax*4 - 0x45c]
cmp eax, dword [ebp - 0x190]
jne 0x1004e6a5
mov dword [ebp - 0x3d0], 1
jmp 0x1004e6ac
and dword [ebp - 0x3d0], 0
mov eax, 0x1540ee1d
cmp eax, 0x5a2e712c
jg 0x1004e6cd
mov eax, 0x978e
test eax, eax
jne 0x1004e6cd
mov dword [ebp - 0x198], 1
jmp 0x1004e6d4
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x98], eax
jmp 0x1004e5ae
jmp 0x1004e587
cmp dword [ebp - 0x98], 0
je 0x1004e6f5
jmp 0x1004e6fa
jmp 0x1004e563
push 2
lea ecx, [ebp - 0x3b0]
call fcn.1001854e
mov byte [ebp - 4], 4
mov dword [ebp - 0x74], 0x622ba394
mov dword [ebp - 0x1b0], 0xfffffffd
push 2
lea ecx, [ebp - 0x3e0]
call fcn.1001854e
mov byte [ebp - 4], 5
mov dword [ebp - 0x10c], 0x9733
mov dword [ebp - 0xfc], 0x67656540
mov dword [ebp - 0x2c], 0
jmp 0x1004e751
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1004e76d
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x3b0]
call fcn.100185ec
mov dword [eax], 0xfffffffe
jmp 0x1004e74a
mov dword [ebp - 0x2c], 0
jmp 0x1004e77d
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1004e799
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x3e0]
call fcn.100185ec
mov dword [eax], 0x8fb0b44c
jmp 0x1004e776
mov dword [ebp - 0x74], 1
jmp 0x1004e7a9
mov eax, dword [ebp - 0x74]
dec eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jl 0x1004e984
mov dword [ebp - 0x1c8], 1
mov dword [ebp - 0x1b8], 0xfffffffb
mov dword [ebp - 0x3a4], 0x55ebda18
mov dword [ebp - 0x24], 0
jmp 0x1004e7e1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1004e7f7
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0xd0], 0xc3fbb4eb
jmp 0x1004e7da
mov dword [ebp - 0x24], 0
jmp 0x1004e807
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x1004e81d
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x4e0], 0x9cf13e1
jmp 0x1004e800
mov eax, dword [ebp - 0x10c]
dec eax
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x1a0], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp + eax - 0x4e0], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd0]
cmp eax, dword [ebp - 0x1a0]
jne 0x1004e8ca
mov eax, dword [ebp - 0xfc]
dec eax
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x4b4], eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0x3b0]
call fcn.100185ec
mov dword [ebp - 0x1a8], eax
push 1
lea ecx, [ebp - 0x3b0]
call fcn.100185ec
mov ecx, dword [ebp - 0x1a8]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1a8]
mov eax, dword [eax]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
sub eax, 9
mov dword [ebp - 0x1b8], eax
jne 0x1004e8ca
and dword [ebp - 0x36c], 0
jmp 0x1004e8d4
mov dword [ebp - 0x36c], 1
mov eax, dword [ebp - 0x3a4]
mov dword [ebp - 0x46c], eax
push 0
lea ecx, [ebp - 0x3b0]
call fcn.100185ec
cmp dword [eax], 0xffffffff
jle 0x1004e90e
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x4e0], 0
je 0x1004e90e
mov dword [ebp - 0x1c0], 1
jmp 0x1004e915
and dword [ebp - 0x1c0], 0
push 1
lea ecx, [ebp - 0x3e0]
call fcn.100185ec
mov ecx, dword [ebp - 0x1c0]
sub ecx, dword [eax]
mov dword [ebp - 0x1c8], ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd0]
cmp eax, dword [ebp - 0x1c8]
jle 0x1004e951
mov dword [ebp - 0x1d0], 1
jmp 0x1004e958
and dword [ebp - 0x1d0], 0
push 0
lea ecx, [ebp - 0x3e0]
call fcn.100185ec
mov ecx, dword [ebp - 0x1d0]
mov dword [eax], ecx
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xd0], 0
je 0x1004e97f
jmp 0x1004e984
jmp 0x1004e7a2
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3e0]
call fcn.100185d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3b0]
call fcn.100185d0
mov byte [ebp - 0x5a], 0
lea eax, [ebp - 0x5a]
push eax
call fcn.1004a317
pop ecx
jmp 0x1004f074
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0xa8], 0xa394643c
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x384], 0xed40a165
mov dword [ebp - 0x1f8], 0x8628405c
push 1
lea ecx, [ebp - 0x32c]
call fcn.1001854e
mov byte [ebp - 4], 6
mov dword [ebp - 0xf0], 0xfffffff7
mov dword [ebp - 0xe8], 0x4d
mov dword [ebp - 0xe0], 0xfff8
mov dword [ebp - 0x200], 0xa332a5b4
mov dword [ebp - 0x208], 0
mov dword [ebp - 0xa0], 0
jmp 0x1004ea40
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 1
jge 0x1004ea62
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x32c]
call fcn.100185ec
mov dword [eax], 0xbde64f6c
jmp 0x1004ea33
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x374], eax
mov esi, dword [ebp - 0x200]
push 0
lea ecx, [ebp - 0x32c]
call fcn.100185ec
imul esi, dword [eax]
mov dword [ebp - 0x3c8], esi
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x374]
cmp eax, dword [ebp - 0x3c8]
jg 0x1004eaba
mov dword [ebp - 0x37c], 1
jmp 0x1004eac1
and dword [ebp - 0x37c], 0
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0xf0], eax
je 0x1004ead8
mov dword [ebp - 0x1d8], 1
jmp 0x1004eadf
and dword [ebp - 0x1d8], 0
cmp dword [ebp - 0x1d8], 0x9991
jge 0x1004eaf7
mov dword [ebp - 0x3b4], 1
jmp 0x1004eafe
and dword [ebp - 0x3b4], 0
push 0
lea ecx, [ebp - 0x32c]
call fcn.100185ec
cmp dword [eax], 0xb4ff
je 0x1004eb1f
mov dword [ebp - 0x1e0], 1
jmp 0x1004eb26
and dword [ebp - 0x1e0], 0
push 0
lea ecx, [ebp - 0x32c]
call fcn.100185ec
mov ecx, dword [ebp - 0x1e0]
add ecx, dword [eax]
cmp ecx, dword [ebp - 0x384]
jle 0x1004eb4f
mov dword [ebp - 0x1e8], 1
jmp 0x1004eb56
and dword [ebp - 0x1e8], 0
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x1e8], eax
jl 0x1004eb6d
mov dword [ebp - 0x1f0], 1
jmp 0x1004eb74
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x1f8]
mov ecx, dword [ebp - 0xe8]
lea eax, [ecx + eax + 0xfcfb]
cmp eax, dword [ebp - 0xa8]
je 0x1004ebb4
mov dword [ebp - 0x3cc], 1
jmp 0x1004ebbb
and dword [ebp - 0x3cc], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x4ec], eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x474], eax
cmp dword [ebp - 0x200], 0xfffffffa
jge 0x1004ebe5
mov dword [ebp - 0x210], 1
jmp 0x1004ebec
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x208]
cmp dword [ebp - 0x210], eax
jg 0x1004ec0a
push 0xfffffffffffffffe
pop eax
test eax, eax
je 0x1004ec0a
mov eax, 0xfff9
test eax, eax
jne 0x1004ec17
xor eax, eax
jne 0x1004ec17
and dword [ebp - 0x218], 0
jmp 0x1004ec21
mov dword [ebp - 0x218], 1
imul eax, dword [ebp - 0x218], 0x161e
test eax, eax
jne 0x1004ec41
mov eax, 0xffff
test eax, eax
jne 0x1004ec41
and dword [ebp - 0x220], 0
jmp 0x1004ec4b
mov dword [ebp - 0x220], 1
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x47c], eax
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0xa8], eax
jge 0x1004ec86
mov dword [ebp - 0x228], 1
jmp 0x1004ec8d
and dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x228]
add eax, 0x5794198e
mov dword [ebp - 0x230], eax
mov esi, dword [ebp - 0x230]
push 0
lea ecx, [ebp - 0x32c]
call fcn.100185ec
mov dword [eax], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x32c]
call fcn.100185d0
mov dword [ebp - 0x334], 0x76a
push 4
lea ecx, [ebp - 0x3c0]
call fcn.1001854e
mov byte [ebp - 4], 7
mov dword [ebp - 0x340], 0x80ebbd48
push 1
lea ecx, [ebp - 0x404]
call fcn.1001854e
mov byte [ebp - 4], 8
mov dword [ebp - 0x14], 0
jmp 0x1004ed08
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x1004ed24
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c0]
call fcn.100185ec
mov dword [eax], 2
jmp 0x1004ed01
mov dword [ebp - 0x14], 0
jmp 0x1004ed34
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1004ed47
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x6c], 6
jmp 0x1004ed2d
mov dword [ebp - 0x14], 0
jmp 0x1004ed57
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x1004ed70
push dword [ebp - 0x14]
lea ecx, [ebp - 0x404]
call fcn.100185ec
or dword [eax], 0xffffffff
jmp 0x1004ed50
mov dword [ebp - 0x14], 0
jmp 0x1004ed80
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x1004ed96
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x534], 0xffffffff
jmp 0x1004ed79
push 2
lea ecx, [ebp - 0x3c0]
call fcn.100185ec
mov dword [eax], 9
jmp 0x1004edcf
push 2
lea ecx, [ebp - 0x3c0]
call fcn.100185ec
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x238]
mov dword [ecx], eax
push 2
lea ecx, [ebp - 0x3c0]
call fcn.100185ec
cmp dword [eax], 7
jle 0x1004f02e
mov dword [ebp - 0x10], 0x9ef72d4e
mov dword [ebp - 0x10], 0
jmp 0x1004edfc
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x1004f029
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp + ecx*4 - 0x6c]
cmp dword [ebp + eax*4 - 0x6c], ecx
je 0x1004ee22
mov dword [ebp - 0x260], 1
jmp 0x1004ee29
and dword [ebp - 0x260], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x6c], 0
jne 0x1004ee42
mov dword [ebp - 0x250], 1
jmp 0x1004ee49
and dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x6c], 0
jne 0x1004ee6c
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x6c], 0
jne 0x1004ee6c
cmp dword [ebp - 0x10], 0
jne 0x1004ee6c
and dword [ebp - 0x240], 0
jmp 0x1004ee76
mov dword [ebp - 0x240], 1
cmp dword [ebp - 0x240], 0x14383674
je 0x1004ee91
cmp dword [ebp - 0x10], 0
jne 0x1004ee91
and dword [ebp - 0x248], 0
jmp 0x1004ee9b
mov dword [ebp - 0x248], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x248], eax
jne 0x1004eeb2
mov dword [ebp - 0x258], 1
jmp 0x1004eeb9
and dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x250]
cmp eax, dword [ebp - 0x258]
je 0x1004eecb
cmp dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x260], eax
je 0x1004eee2
mov dword [ebp - 0x338], 1
jmp 0x1004eee9
and dword [ebp - 0x338], 0
mov eax, dword [ebp - 0x340]
mov dword [ebp - 0x4f0], eax
push 0
lea ecx, [ebp - 0x404]
call fcn.100185ec
or dword [eax], 0xffffffff
cmp dword [ebp - 0x10], 0x8407
jge 0x1004ef1a
mov dword [ebp - 0x278], 1
jmp 0x1004ef21
and dword [ebp - 0x278], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x6c], 0
jne 0x1004efc4
cmp dword [ebp - 0x10], 0
jne 0x1004ef48
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x6c], 0
jne 0x1004ef48
and dword [ebp - 0xf8], 0
jmp 0x1004ef52
mov dword [ebp - 0xf8], 1
push 0
lea ecx, [ebp - 0x404]
call fcn.100185ec
mov ecx, dword [ebp - 0xf8]
mov dword [eax], ecx
mov eax, dword [ebp - 0xf8]
dec eax
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ebp + ecx*4 - 0x6c]
jge 0x1004ef83
mov dword [ebp - 0x268], 1
jmp 0x1004ef8a
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x6c]
cmp dword [ebp - 0x268], eax
jle 0x1004efa5
mov dword [ebp - 0x270], 1
jmp 0x1004efac
and dword [ebp - 0x270], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x6c]
add eax, dword [ebp - 0x270]
jne 0x1004efc4
and dword [ebp - 0x128], 0
jmp 0x1004efce
mov dword [ebp - 0x128], 1
mov eax, dword [ebp - 0x278]
cmp eax, dword [ebp - 0x128]
jne 0x1004efe8
mov dword [ebp - 0x12c], 1
jmp 0x1004efef
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x6c]
cmp dword [ebp - 0x12c], eax
jne 0x1004f00a
mov dword [ebp - 0x134], 1
jmp 0x1004f011
and dword [ebp - 0x134], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x134]
mov dword [ebp + eax - 0x534], ecx
jmp 0x1004edf5
jmp 0x1004edab
mov byte [ebp - 0x49], 0
movzx eax, byte [ebp - 0x49]
test eax, eax
je 0x1004f04c
push 0x1bd4
push 0x2c0
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x404]
call fcn.100185d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c0]
call fcn.100185d0
mov dword [ebp - 0x334], 0x661fbc9f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.100185d0
push 2
lea ecx, [ebp - 0x300]
call fcn.1001854e
mov dword [ebp - 4], 9
mov dword [ebp - 0xb8], 0xfffffff6
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x110], 0xd0811fc8
push 4
lea ecx, [ebp - 0x3f8]
call fcn.1001854e
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x108], 0xfffffffe
mov dword [ebp - 0x1c], 0
jmp 0x1004f0dd
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1004f0f9
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x300]
call fcn.100185ec
mov dword [eax], 0xdb58e469
jmp 0x1004f0d6
mov dword [ebp - 0x1c], 0
jmp 0x1004f109
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x1004f11f
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x504], 0x985a9576
jmp 0x1004f102
mov dword [ebp - 0x1c], 0
jmp 0x1004f12f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 4
jge 0x1004f14b
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x3f8]
call fcn.100185ec
mov dword [eax], 0x31e7
jmp 0x1004f128
push 0
lea ecx, [ebp - 0x300]
call fcn.100185ec
mov esi, eax
push 0
lea ecx, [ebp - 0x300]
call fcn.100185ec
mov ecx, dword [esi]
mov dword [eax], ecx
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x504], 0
jne 0x1004f194
mov eax, 0xa77b69c9
test eax, eax
jne 0x1004f194
and dword [ebp - 0x350], 0
jmp 0x1004f19e
mov dword [ebp - 0x350], 1
push 3
lea ecx, [ebp - 0x3f8]
call fcn.100185ec
mov ecx, dword [ebp - 0x110]
cmp dword [eax], ecx
jle 0x1004f1c1
mov dword [ebp - 0x13c], 1
jmp 0x1004f1c8
and dword [ebp - 0x13c], 0
push 0
lea ecx, [ebp - 0x300]
call fcn.100185ec
mov ecx, dword [ebp - 0x13c]
cmp ecx, dword [eax]
jg 0x1004f1eb
mov dword [ebp - 0x144], 1
jmp 0x1004f1f2
and dword [ebp - 0x144], 0
push 0
lea ecx, [ebp - 0x300]
call fcn.100185ec
mov eax, dword [eax]
cmp eax, dword [ebp - 0x144]
jg 0x1004f215
mov dword [ebp - 0x14c], 1
jmp 0x1004f21c
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x4d4], eax
push 0
lea ecx, [ebp - 0x300]
call fcn.100185ec
mov ecx, dword [ebp - 0x110]
sub ecx, 0x2157
cmp dword [eax], ecx
jle 0x1004f2cf
push 3
lea ecx, [ebp - 0x43c]
call fcn.1001854e
mov byte [ebp - 4], 0xb
mov dword [ebp - 0xb0], 0
jmp 0x1004f287
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 3
jge 0x1004f2a9
push dword [ebp - 0xb0]
lea ecx, [ebp - 0x43c]
call fcn.100185ec
mov dword [eax], 0xc6dcff2f
jmp 0x1004f27a
mov esi, dword [ebp - 0x70]
push 1
lea ecx, [ebp - 0x43c]
call fcn.100185ec
mov dword [eax], esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x43c]
call fcn.100185d0
jmp 0x1004f54e
mov dword [ebp - 0x34], 0x1839
mov dword [ebp - 0x360], 0x82eddaad
mov dword [ebp - 0x78], 0x66fc9e27
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jbe 0x1004f300
mov dword [ebp - 0x15c], 1
jmp 0x1004f307
and dword [ebp - 0x15c], 0
cmp dword [ebp - 0x34], 0
je 0x1004f35e
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48c], eax
or eax, 0xffffffff
jne 0x1004f32a
cmp dword [ebp - 0x34], 0
jne 0x1004f32a
and dword [ebp - 0x100], 0
jmp 0x1004f334
mov dword [ebp - 0x100], 1
push 0
lea ecx, [ebp - 0x300]
call fcn.100185ec
mov ecx, dword [ebp - 0x100]
mov dword [eax], ecx
cmp dword [ebp - 0x100], 0
je 0x1004f35e
mov dword [ebp - 0x154], 1
jmp 0x1004f365
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x154]
jge 0x1004f37c
mov dword [ebp - 0x164], 1
jmp 0x1004f383
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
imul eax, dword [ebp - 0x164]
test eax, eax
je 0x1004f3bd
or eax, 0xffffffff
je 0x1004f3bd
mov dword [ebp - 0x358], 1
jmp 0x1004f3c4
and dword [ebp - 0x358], 0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x70]
jle 0x1004f52c
push 4
lea ecx, [ebp - 0x3ec]
call fcn.1001854e
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x370], 0x1cb69acb
mov dword [ebp - 0xc0], 0
jmp 0x1004f408
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 4
jge 0x1004f42a
push dword [ebp - 0xc0]
lea ecx, [ebp - 0x3ec]
call fcn.100185ec
mov dword [eax], 2
jmp 0x1004f3fb
cmp dword [ebp - 0x360], 0
jle 0x1004f43f
mov dword [ebp - 0x16c], 1
jmp 0x1004f446
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x110]
cmp dword [ebp - 0x16c], eax
jne 0x1004f460
mov dword [ebp - 0x368], 1
jmp 0x1004f467
and dword [ebp - 0x368], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x504]
mov dword [ebp - 0x50c], eax
push 3
lea ecx, [ebp - 0x3f8]
call fcn.100185ec
push 2
lea ecx, [ebp - 0x3ec]
call fcn.100185ec
push 3
lea ecx, [ebp - 0x3ec]
call fcn.100185ec
mov ecx, dword [ebp - 0x78]
cmp dword [eax], ecx
jle 0x1004f4b4
mov dword [ebp - 0x174], 1
jmp 0x1004f4bb
and dword [ebp - 0x174], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x504]
cmp dword [ebp - 0x174], eax
je 0x1004f4dc
mov dword [ebp - 0x17c], 1
jmp 0x1004f4e3
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x78], 0xfffffffc
jmp 0x1004f4ff
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x15
je 0x1004f51b
mov byte [ebp - 0x54], 0
movzx eax, byte [ebp - 0x54]
test eax, eax
je 0x1004f519
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x1004f4f8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x3ec]
call fcn.100185d0
jmp 0x1004f54e
mov byte [ebp - 0x59], 0
movzx eax, byte [ebp - 0x59]
test eax, eax
je 0x1004f54e
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3f8]
call fcn.100185d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x300]
call fcn.100185d0
push 1
lea eax, [ebp - 0x540]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.10049b6d
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x51c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x51c]
lea edi, [ebp - 0x410]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x410], 0
je 0x1004f5b8
push 5
push dword [ebp - 0x408]
push dword [ebp - 0x40c]
call dword [ebp - 0x410]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret