Function at 0x1004ae91
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007ea8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x368
push esi
push edi
mov dword [ebp - 0x4c], 0x2afe01bd
mov dword [ebp - 0x6c], 0
jmp 0x1004aec8
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x1004aede
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x2cc], 0xa4a9bdba
jmp 0x1004aec1
mov dword [ebp - 0x4c], 0
jmp 0x1004aeee
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jg 0x1004af3f
mov dword [ebp - 0x58], 6
mov dword [ebp - 0x58], 0
jmp 0x1004af0b
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jg 0x1004af3d
mov dword [ebp - 0x1cc], 0x76d6092f
mov eax, dword [ebp - 0x58]
mov eax, dword [ebp + eax*4 - 0x2cc]
neg eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp + ecx*4 - 0x2cc], eax
mov dword [ebp - 0x1cc], 1
jmp 0x1004af04
jmp 0x1004aee7
mov dword [ebp - 0x14], 0x60b4ffb8
push 4
lea ecx, [ebp - 0x20c]
call fcn.10015a80
and dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
jmp 0x1004af67
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x1004af7d
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x19c], 0xfffffff6
jmp 0x1004af60
mov dword [ebp - 0x20], 0
jmp 0x1004af8d
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x1004afa9
push dword [ebp - 0x20]
lea ecx, [ebp - 0x20c]
call fcn.10015b1e
mov dword [eax], 0x31f145ba
jmp 0x1004af86
mov dword [ebp - 0x14], 2
jmp 0x1004afb9
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1004b117
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x19c]
mov dword [ebp - 0x324], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x19c]
mov dword [ebp - 0x318], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x19c], 0
jge 0x1004b001
mov dword [ebp - 0x118], 1
jmp 0x1004b008
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x118]
sub esi, dword [ebp + eax*4 - 0x19c]
push 0
lea ecx, [ebp - 0x20c]
call fcn.10015b1e
add esi, dword [eax]
je 0x1004b047
push 3
lea ecx, [ebp - 0x20c]
call fcn.10015b1e
cmp dword [eax], 0
je 0x1004b047
mov dword [ebp - 0x154], 1
jmp 0x1004b04e
and dword [ebp - 0x154], 0
push 0
lea ecx, [ebp - 0x20c]
call fcn.10015b1e
mov ecx, dword [ebp - 0x154]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x14]
cmp ecx, dword [ebp + eax*4 - 0x19c]
jle 0x1004b07b
mov dword [ebp - 0xd0], 1
jmp 0x1004b082
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
sub eax, 0xffff
cmp eax, 0xe6bb
jle 0x1004b0a0
mov dword [ebp - 0xd4], 1
jmp 0x1004b0a7
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xd4]
jl 0x1004b0be
mov dword [ebp - 0x12c], 1
jmp 0x1004b0c5
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x12c], eax
jne 0x1004b0dc
mov dword [ebp - 0xdc], 1
jmp 0x1004b0e3
and dword [ebp - 0xdc], 0
cmp dword [ebp - 0xdc], 0x4325
jne 0x1004b0fb
mov dword [ebp - 0x16c], 1
jmp 0x1004b102
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x16c]
mov dword [ebp + eax*4 - 0x19c], ecx
jmp 0x1004afb2
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1004b130
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20c]
call fcn.10015b02
mov dword [ebp - 0x84], 0xf6af1124
push 2
lea ecx, [ebp - 0x27c]
call fcn.10015a80
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], 0xfffffffd
mov dword [ebp - 0x1ac], 1
mov dword [ebp - 0xa0], 0
jmp 0x1004b187
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 4
jge 0x1004b1a3
mov eax, dword [ebp - 0xa0]
mov dword [ebp + eax*4 - 0x334], 3
jmp 0x1004b17a
mov dword [ebp - 0x2c], 0
jmp 0x1004b1b3
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
jg 0x1004b325
mov dword [ebp - 0xe4], 0x22a149ce
mov dword [ebp - 0x74], 0
jmp 0x1004b1d7
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 2
jge 0x1004b1ed
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x1dc], 0
jmp 0x1004b1d0
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x1004b204
push 0x1549
call dword [sym.imp.USER32.dll_GetKeyboardType]
cmp dword [ebp - 0x2c], 0
je 0x1004b221
mov eax, dword [ebp - 0xe4]
cmp dword [ebp - 0x2c], eax
jg 0x1004b221
mov dword [ebp - 0xf4], 1
jmp 0x1004b228
and dword [ebp - 0xf4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1dc]
cmp dword [ebp - 0xe4], eax
jl 0x1004b249
mov dword [ebp - 0x134], 1
jmp 0x1004b250
and dword [ebp - 0x134], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x334]
cmp dword [ebp - 0x134], eax
je 0x1004b271
mov dword [ebp - 0xec], 1
jmp 0x1004b278
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xec], eax
jne 0x1004b28f
mov dword [ebp - 0x15c], 1
jmp 0x1004b296
and dword [ebp - 0x15c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x334]
cmp dword [ebp - 0x15c], eax
je 0x1004b2b6
mov dword [ebp - 0x1fc], 1
jmp 0x1004b2bd
and dword [ebp - 0x1fc], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1dc]
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x314], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1dc]
mov dword [ebp - 0x2e4], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x334]
cmp dword [ebp - 0xf4], eax
jl 0x1004b30d
mov dword [ebp - 0x13c], 1
jmp 0x1004b314
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x1ac], eax
jmp 0x1004b1ac
mov dword [ebp - 0x9c], 0
jmp 0x1004b33e
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 2
jge 0x1004b360
push dword [ebp - 0x9c]
lea ecx, [ebp - 0x27c]
call fcn.10015b1e
mov dword [eax], 0xfa75
jmp 0x1004b331
mov dword [ebp - 0x7c], 1
mov byte [ebp - 0x36], 0
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x1004b380
push 0
push 0x1299
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x7c], 0x17
jmp 0x1004b390
mov eax, dword [ebp - 0x7c]
dec eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xffffffec
jne 0x1004b3ac
mov dword [ebp - 0x1d0], 0xfff8
mov dword [ebp - 0x1d0], 0xfffffffc
jmp 0x1004b389
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x290], 0x26d2e858
mov dword [ebp - 0x94], 0
jmp 0x1004b3d9
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 5
je 0x1004b436
mov dword [ebp - 0x3c], 0xfffffff9
cmp dword [ebp - 0x3c], 0
je 0x1004b3f1
jmp 0x1004b436
mov dword [ebp - 0x3c], 0
jmp 0x1004b401
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x36
jge 0x1004b434
cmp dword [ebp - 0x3c], 0
je 0x1004b40f
jmp 0x1004b434
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x1004b432
push 0xdb8
push 0x2e6
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
jmp 0x1004b3fa
jmp 0x1004b3cc
mov byte [ebp - 0x35], 0
lea eax, [ebp - 0x35]
push eax
push 0
call fcn.1004a05d
pop ecx
pop ecx
mov dword [ebp - 0x18], 0
jmp 0x1004b457
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1004b46a
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x48], 0xffffffff
jmp 0x1004b450
mov dword [ebp - 0x18], 0
jmp 0x1004b47a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1004b490
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x340], 1
jmp 0x1004b473
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x48], 0xfffffff7
jmp 0x1004b4b5
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x48], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x48], 0xa
jl 0x1004b4e4
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x48], 0
je 0x1004b4d1
jmp 0x1004b4e4
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x340], 3
jmp 0x1004b4a0
mov dword [ebp - 0x84], 0
jmp 0x1004b4fd
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x16
je 0x1004bbfb
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xbc], 0xfffffff6
mov dword [ebp - 0x200], 0xffffffff
mov dword [ebp - 0x294], 0x15a8df04
mov dword [ebp - 0x60], 0
jmp 0x1004b53f
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 4
jge 0x1004b555
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x190], 0xdc85
jmp 0x1004b538
mov dword [ebp - 0x10], 3
jmp 0x1004b565
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1004b751
mov dword [ebp - 0x8c], 0
jmp 0x1004b588
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 2
jge 0x1004b5a4
mov eax, dword [ebp - 0x8c]
mov dword [ebp + eax*4 - 0x2d4], 0xa90c6d21
jmp 0x1004b57b
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1004b5bf
push 0xce0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x190]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x10], 0
je 0x1004b5f1
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x190], 0
je 0x1004b5f1
mov dword [ebp - 0xfc], 1
jmp 0x1004b5f8
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
sub eax, 0x1e616a2f
push 4
pop ecx
shl ecx, 0
imul eax, dword [ebp + ecx - 0x190]
mov dword [ebp - 0x17c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x17c]
mov dword [ebp + eax - 0x2d4], ecx
cmp dword [ebp - 0x17c], 0
je 0x1004b654
cmp dword [ebp - 0xbc], 0
je 0x1004b654
mov dword [ebp - 0x104], 1
jmp 0x1004b65b
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x104], eax
jge 0x1004b67f
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x190], 0
je 0x1004b67f
mov dword [ebp - 0x144], 1
jmp 0x1004b686
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x190]
cmp dword [ebp - 0x144], eax
je 0x1004b6a4
mov dword [ebp - 0x1b8], 1
jmp 0x1004b6ab
and dword [ebp - 0x1b8], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ebp + ecx*4 - 0x190]
cmp dword [ebp + eax - 0x190], ecx
jne 0x1004b6d0
mov dword [ebp - 0x10c], 1
jmp 0x1004b6d7
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x190]
cmp dword [ebp - 0x10c], eax
je 0x1004b6f5
mov dword [ebp - 0x164], 1
jmp 0x1004b6fc
and dword [ebp - 0x164], 0
cmp dword [ebp - 0x164], 0x21462ccd
jl 0x1004b714
mov dword [ebp - 0x114], 1
jmp 0x1004b71b
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x190]
cmp eax, dword [ebp - 0x114]
jne 0x1004b739
mov dword [ebp - 0x14c], 1
jmp 0x1004b740
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x200], eax
jmp 0x1004b55e
mov dword [ebp - 0x40], 0xddd3f467
mov dword [ebp - 0x40], 0
jmp 0x1004b768
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jg 0x1004bba0
mov dword [ebp - 0x54], 0xfffffff9
mov dword [ebp - 0x1f4], 1
mov dword [ebp - 0xd8], 0xfffffff7
push 2
lea ecx, [ebp - 0x21c]
call fcn.10015a80
mov byte [ebp - 4], 2
mov dword [ebp - 0xcc], 0xfffffff8
mov dword [ebp - 0x1c], 0
jmp 0x1004b7b8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1004b7d4
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x21c]
call fcn.10015b1e
mov dword [eax], 7
jmp 0x1004b7b1
mov dword [ebp - 0x1c], 0
jmp 0x1004b7e4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x1004b7fa
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x23c], 0xffff
jmp 0x1004b7dd
mov dword [ebp - 0x54], 0
jmp 0x1004b80a
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffe5
jl 0x1004bb77
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1f0], 0xfffffffd
mov dword [ebp - 0x1a0], 0xfffffff9
mov dword [ebp - 0xf0], 0xffffffff
mov dword [ebp - 0x98], 0
jmp 0x1004b852
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 1
jge 0x1004b86e
mov eax, dword [ebp - 0x98]
mov dword [ebp + eax*4 - 0x110], 0xfffffffc
jmp 0x1004b845
mov dword [ebp - 0x24], 0
jmp 0x1004b87e
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffee
jne 0x1004bb64
mov dword [ebp - 0x1c4], 0x6bc044b0
push 3
lea ecx, [ebp - 0x234]
call fcn.10015a80
mov byte [ebp - 4], 3
mov dword [ebp - 0x64], 0
jmp 0x1004b8b3
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 3
jge 0x1004b8cf
push dword [ebp - 0x64]
lea ecx, [ebp - 0x234]
call fcn.10015b1e
mov dword [eax], 0x5cd3860a
jmp 0x1004b8ac
cmp dword [ebp - 0xd8], 0
jne 0x1004b981
push 0
lea ecx, [ebp - 0x21c]
call fcn.10015b1e
mov ecx, dword [ebp - 0xcc]
add ecx, dword [eax]
cmp ecx, dword [ebp - 0x24]
jg 0x1004b902
mov dword [ebp - 0x11c], 1
jmp 0x1004b909
and dword [ebp - 0x11c], 0
cmp dword [ebp - 0x11c], 7
jl 0x1004b91e
mov dword [ebp - 0xb0], 1
jmp 0x1004b925
and dword [ebp - 0xb0], 0
push 1
lea ecx, [ebp - 0x21c]
call fcn.10015b1e
mov ecx, dword [ebp - 0xb0]
mov dword [eax], ecx
cmp dword [ebp - 0xb0], 0
je 0x1004b961
push 0
lea ecx, [ebp - 0x21c]
call fcn.10015b1e
cmp dword [eax], 0
je 0x1004b961
mov dword [ebp - 0x174], 1
jmp 0x1004b968
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
add eax, 0x5c7de38a
jne 0x1004b981
mov dword [ebp - 0x124], 1
jmp 0x1004b988
and dword [ebp - 0x124], 0
cmp dword [ebp - 0x124], 0x739425a3
jl 0x1004b9a0
mov dword [ebp - 0x1b4], 1
jmp 0x1004b9a7
and dword [ebp - 0x1b4], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x1ec], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1ec]
mov dword [ebp + eax - 0x110], ecx
cmp dword [ebp - 0x24], 0x7bab6ea1
je 0x1004b9db
mov dword [ebp - 0xc8], 1
jmp 0x1004b9e2
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xc8], eax
jl 0x1004b9f9
mov dword [ebp - 0xb8], 1
jmp 0x1004ba00
and dword [ebp - 0xb8], 0
push 0
lea ecx, [ebp - 0x234]
call fcn.10015b1e
mov ecx, dword [ebp - 0xb8]
mov dword [eax], ecx
cmp dword [ebp - 0xb8], 0
je 0x1004ba2e
xor eax, eax
je 0x1004ba2e
mov dword [ebp - 0x1bc], 1
jmp 0x1004ba35
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x2a4], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x23c]
dec eax
mov dword [ebp - 0xe0], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xe0]
mov dword [ebp + eax - 0x23c], ecx
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0xe0], eax
jne 0x1004ba7f
mov dword [ebp - 0xe8], 1
jmp 0x1004ba86
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
sub eax, 0x24cacc50
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x2b4], eax
push 1
lea ecx, [ebp - 0x234]
call fcn.10015b1e
mov ecx, dword [ebp - 0x1c4]
cmp dword [eax], ecx
jge 0x1004bad2
mov dword [ebp - 0xf8], 1
jmp 0x1004bad9
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0xf8]
jne 0x1004baf0
mov dword [ebp - 0x100], 1
jmp 0x1004baf7
and dword [ebp - 0x100], 0
cmp dword [ebp - 0x100], 0xfff9
jb 0x1004bb0f
mov dword [ebp - 0x108], 1
jmp 0x1004bb16
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x108]
jg 0x1004bb3a
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x110], 0
jne 0x1004bb3a
and dword [ebp - 0xc4], 0
jmp 0x1004bb44
mov dword [ebp - 0xc4], 1
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x1f4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
call fcn.10015b02
jmp 0x1004b877
cmp dword [ebp - 0x1a0], 0
je 0x1004bb72
jmp 0x1004b803
jmp 0x1004b803
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x21c]
call fcn.10015b02
push dword [ebp - 0x40]
lea ecx, [ebp - 0x27c]
call fcn.10015b1e
cmp dword [eax], 0
je 0x1004bb9b
jmp 0x1004bba0
jmp 0x1004b761
mov dword [ebp - 0x68], 1
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x1004bbc0
push 0
push 0x1299
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x68], 0x17
jmp 0x1004bbd0
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xffffffec
jne 0x1004bbec
mov dword [ebp - 0x1f8], 0xfff8
mov dword [ebp - 0x1f8], 0xfffffffc
jmp 0x1004bbc9
lea eax, [ebp - 0x40]
push eax
call fcn.10049e8f
pop ecx
jmp 0x1004b4f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.10015b02
mov dword [ebp - 0x1d4], 6
push 1
lea ecx, [ebp - 0x288]
call fcn.10015a80
mov dword [ebp - 4], 4
push 1
lea ecx, [ebp - 0x2e0]
call fcn.10015a80
mov byte [ebp - 4], 5
mov dword [ebp - 0x120], 1
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x28], 0
jmp 0x1004bc5d
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x1004bc79
push dword [ebp - 0x28]
lea ecx, [ebp - 0x288]
call fcn.10015b1e
mov dword [eax], 0xd837
jmp 0x1004bc56
mov dword [ebp - 0x28], 0
jmp 0x1004bc89
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x1004bca5
push dword [ebp - 0x28]
lea ecx, [ebp - 0x2e0]
call fcn.10015b1e
mov dword [eax], 0x976ff55e
jmp 0x1004bc82
mov esi, dword [ebp - 0x1d4]
push 0
lea ecx, [ebp - 0x288]
call fcn.10015b1e
mov dword [eax], esi
mov eax, dword [ebp - 0x120]
inc eax
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2e0]
call fcn.10015b02
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x288]
call fcn.10015b02
push 1
lea eax, [ebp - 0x374]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.100496f4
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x358]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x358]
lea edi, [ebp - 0x228]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x264], 0xffff
mov dword [ebp - 0x260], 0xffff
mov dword [ebp - 0x25c], 0xffff
mov dword [ebp - 0x258], 0xffff
lea ecx, [ebp - 0xb1]
call fcn.10008e13
push eax
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x368]
call fcn.10015b2d
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x2f4]
call fcn.10015adc
mov dword [ebp - 4], 6
mov dword [ebp - 0x320], 0xb8bc588e
mov dword [ebp - 0x31c], 0x934215e1
mov dword [ebp - 0x2e8], 1
mov dword [ebp - 0x70], 0
jmp 0x1004bda6
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jge 0x1004bdb9
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x5c], 0xd4081c29
jmp 0x1004bd9f
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x5c], 0
jmp 0x1004bdde
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x5c]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x5c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x5c], 3
jg 0x1004beb5
mov dword [ebp - 0x1a8], 1
mov dword [ebp - 0x78], 0
jmp 0x1004be09
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 3
jge 0x1004be1f
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x270], 1
jmp 0x1004be02
push 4
pop eax
imul eax, eax, 0
push dword [ebp + eax - 0x5c]
lea ecx, [ebp - 0x2f4]
call fcn.10015b1e
cmp dword [eax], 0
jae 0x1004be45
mov dword [ebp - 0x128], 1
jmp 0x1004be4c
and dword [ebp - 0x128], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x270]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x1e0], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x270]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x270], eax
mov eax, dword [ebp - 0x210]
cmp eax, dword [ebp - 0x1e0]
jg 0x1004be9d
mov dword [ebp - 0x130], 1
jmp 0x1004bea4
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x1a8], eax
jmp 0x1004bdc9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2f4]
call fcn.10015b02
mov dword [ebp - 0x44], 0xda439beb
mov dword [ebp - 0x250], 0xd546
mov dword [ebp - 0x24c], 0xd546
mov dword [ebp - 0x248], 0xd546
mov dword [ebp - 0x244], 0xd546
lea ecx, [ebp - 0xa9]
call fcn.10008e13
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x360]
call fcn.10015b2d
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x34c]
call fcn.10015adc
mov dword [ebp - 4], 7
mov dword [ebp - 0x88], 0xd444182b
mov dword [ebp - 0x28c], 0x7865925e
mov dword [ebp - 0x298], 0x44d1878a
mov dword [ebp - 0x2f8], 1
mov dword [ebp - 0x2a0], 4
mov dword [ebp - 0x30c], 0xffffffff
mov dword [ebp - 0x2a8], 0x8b47
mov dword [ebp - 0x308], 0xffff
mov dword [ebp - 0x80], 0
jmp 0x1004bf8f
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 1
jge 0x1004bfa5
mov eax, dword [ebp - 0x80]
mov dword [ebp + eax*4 - 0x2b0], 1
jmp 0x1004bf88
mov dword [ebp - 0x88], 3
jmp 0x1004bfbe
mov eax, dword [ebp - 0x88]
dec eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jl 0x1004c065
mov dword [ebp - 0x310], 6
push 3
lea ecx, [ebp - 0x304]
call fcn.10015a80
mov byte [ebp - 4], 8
mov dword [ebp - 0x2b8], 0x9a2f3817
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x90], 0
jmp 0x1004c013
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 3
jge 0x1004c032
push dword [ebp - 0x90]
lea ecx, [ebp - 0x304]
call fcn.10015b1e
and dword [eax], 0
jmp 0x1004c006
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1004c044
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov eax, dword [ebp - 0x138]
inc eax
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x304]
call fcn.10015b02
jmp 0x1004bfb1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34c]
call fcn.10015b02
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x1c8], 6
mov dword [ebp - 0xa8], 0
jmp 0x1004c09e
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 2
jge 0x1004c0ba
mov eax, dword [ebp - 0xa8]
mov dword [ebp + eax*4 - 0x1e8], 0x7ab3921d
jmp 0x1004c091
cmp dword [ebp - 0x44], 0
je 0x1004c0c4
cmp dword [ebp - 0x44], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp + eax - 0x1e8], ecx
mov dword [ebp - 0x50], 0x45559507
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x50]
je 0x1004c230
mov dword [ebp - 0x140], 0x2c9a
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0x1c0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1e8]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x140], eax
jne 0x1004c132
mov dword [ebp - 0x148], 1
jmp 0x1004c139
and dword [ebp - 0x148], 0
cmp dword [ebp - 0x148], 0xfffffff6
jle 0x1004c14e
mov dword [ebp - 0x150], 1
jmp 0x1004c155
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x150], eax
jne 0x1004c16f
mov dword [ebp - 0xc0], 1
jmp 0x1004c176
and dword [ebp - 0xc0], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc0]
mov dword [ebp + eax - 0x1e8], ecx
cmp dword [ebp - 0xc0], 1
jne 0x1004c19e
mov dword [ebp - 0x158], 1
jmp 0x1004c1a5
and dword [ebp - 0x158], 0
cmp dword [ebp - 0x158], 0x58aae07e
jne 0x1004c1bd
mov dword [ebp - 0x1b0], 1
jmp 0x1004c1c4
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0xa4], eax
je 0x1004c1db
mov dword [ebp - 0x160], 1
jmp 0x1004c1e2
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x160]
jg 0x1004c1f9
mov dword [ebp - 0x168], 1
jmp 0x1004c200
and dword [ebp - 0x168], 0
cmp dword [ebp - 0x168], 2
jl 0x1004c21b
cmp dword [ebp - 0xa4], 0
jne 0x1004c21b
and dword [ebp - 0x1a4], 0
jmp 0x1004c225
mov dword [ebp - 0x1a4], 1
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x50], eax
jmp 0x1004c277
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x1004c24a
push 0x5a17
push 1
call fcn.1004a05d
pop ecx
pop ecx
mov byte [ebp - 0x34], 0
movzx eax, byte [ebp - 0x34]
test eax, eax
je 0x1004c277
push 0x2444
push 0
push 0
push 0x38
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_CreateDIBitmap]
xor eax, eax
sub eax, dword [ebp - 0x1c8]
cmp eax, 0xffffffff
jge 0x1004c290
mov dword [ebp - 0x170], 1
jmp 0x1004c297
and dword [ebp - 0x170], 0
cmp dword [ebp - 0x170], 0xfe98
jle 0x1004c2af
mov dword [ebp - 0x178], 1
jmp 0x1004c2b6
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x178], eax
jne 0x1004c2cd
mov dword [ebp - 0x180], 1
jmp 0x1004c2d4
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x228], 0
je 0x1004c2fa
push 3
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call dword [ebp - 0x228]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret