Function at 0x10054160
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a566
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10054a86
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x44], 0x18
jmp 0x100541a2
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffeb
jg 0x10054645
mov dword [ebp - 0x198], 0x6652d0da
push 1
lea ecx, [ebp - 0x21c]
call fcn.1001a98c
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
jmp 0x100541d7
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x100541ed
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x194], 0x25b9b55b
jmp 0x100541d0
mov dword [ebp - 0x1c], 0
jmp 0x100541fd
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x10054219
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x21c]
call fcn.1001aa1a
mov dword [eax], 1
jmp 0x100541f6
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x194], 0
jmp 0x10054247
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x194]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x194], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x194], 0xffffffeb
je 0x1005439c
mov dword [ebp - 0x50], 0xecc2443a
mov dword [ebp - 0x12c], 0x5da2282d
mov dword [ebp - 0x1b8], 0xdac842f8
mov dword [ebp - 0x1c0], 0xffffffff
cmp dword [ebp - 0x50], 0
jne 0x100542aa
push 0
lea ecx, [ebp - 0x21c]
call fcn.1001aa1a
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x88]
mov dword [ecx], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x1b8], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x50]
cmp dword [ebp + eax - 0x194], ecx
jg 0x100542d4
mov dword [ebp - 0x110], 1
jmp 0x100542db
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x12c]
cmp dword [ebp - 0x110], eax
jg 0x100542f5
mov dword [ebp - 0x170], 1
jmp 0x100542fc
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x170]
cmp eax, 7
jle 0x10054316
mov dword [ebp - 0x178], 1
jmp 0x1005431d
and dword [ebp - 0x178], 0
cmp dword [ebp - 0x178], 0xb30498d2
jae 0x10054335
mov dword [ebp - 0x9c], 1
jmp 0x1005433c
and dword [ebp - 0x9c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x194]
cmp dword [ebp - 0x9c], eax
jg 0x1005435d
mov dword [ebp - 0xa4], 1
jmp 0x10054364
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x12c]
cmp dword [ebp - 0xa4], eax
jge 0x1005437e
mov dword [ebp - 0x134], 1
jmp 0x10054385
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1c0], eax
jmp 0x1005422c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.1001aa15
push 2
lea ecx, [ebp - 0x188]
call fcn.1001a98c
mov dword [ebp - 4], 1
mov dword [ebp - 0x28], 0
jmp 0x100543cf
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x100543eb
push dword [ebp - 0x28]
lea ecx, [ebp - 0x188]
call fcn.1001aa1a
mov dword [eax], 0xfffffffb
jmp 0x100543c8
mov dword [ebp - 0x28], 0
jmp 0x100543fb
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x10054411
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x210], 0x137b1891
jmp 0x100543f4
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0x210], 0
jmp 0x1005443c
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x210]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0x210], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x210], 1
jg 0x10054617
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x1d0], 0xfffffff8
mov dword [ebp - 0x30], 0
jmp 0x10054470
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 1
jg 0x10054612
mov dword [ebp - 0x40], 0xffffffff
push 3
lea ecx, [ebp - 0x1e8]
call fcn.1001a98c
mov byte [ebp - 4], 2
mov dword [ebp - 0x70], 0
jmp 0x100544a2
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 3
jge 0x100544be
push dword [ebp - 0x70]
lea ecx, [ebp - 0x1e8]
call fcn.1001aa1a
mov dword [eax], 0x80997408
jmp 0x1005449b
mov dword [ebp - 0x40], 0
jmp 0x100544ce
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jg 0x1005450d
push dword [ebp - 0x30]
lea ecx, [ebp - 0x188]
call fcn.1001aa1a
mov esi, eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x188]
call fcn.1001aa1a
mov ecx, dword [esi]
mov dword [eax], ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x188]
call fcn.1001aa1a
cmp dword [eax], 0
je 0x1005450b
jmp 0x1005450d
jmp 0x100544c7
push 1
lea ecx, [ebp - 0x1e8]
call fcn.1001aa1a
cmp dword [eax], 1
jle 0x1005452b
mov dword [ebp - 0x1c8], 1
jmp 0x10054532
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x25c], eax
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x210]
mov dword [ebp - 0x26c], eax
push 0
lea ecx, [ebp - 0x188]
call fcn.1001aa1a
cmp dword [ebp - 0x44], 0
je 0x10054579
push 2
pop eax
test eax, eax
je 0x10054579
mov dword [ebp - 0xac], 1
jmp 0x10054580
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0xac], eax
jl 0x100545ca
push 2
lea ecx, [ebp - 0x1e8]
call fcn.1001aa1a
cmp dword [eax], 0
jne 0x100545ca
push 1
lea ecx, [ebp - 0x1e8]
call fcn.1001aa1a
cmp dword [eax], 0
jne 0x100545ca
push 1
lea ecx, [ebp - 0x188]
call fcn.1001aa1a
cmp dword [eax], 0
jne 0x100545ca
and dword [ebp - 0x13c], 0
jmp 0x100545d4
mov dword [ebp - 0x13c], 1
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x13c]
jge 0x100545eb
mov dword [ebp - 0xb4], 1
jmp 0x100545f2
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x1d0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1e8]
call fcn.1001aa15
jmp 0x10054469
jmp 0x10054423
cmp dword [ebp - 0x44], 0
je 0x10054631
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x188]
call fcn.1001aa15
jmp 0x1005419b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x188]
call fcn.1001aa15
jmp 0x1005419b
mov dword [ebp - 0x18], 0xd925
mov dword [ebp - 0x58], 5
mov dword [ebp - 0x80], 0x89fff12f
mov dword [ebp - 0x90], 0x3631af66
mov dword [ebp - 0x1a4], 1
mov dword [ebp - 0x5c], 0
jmp 0x1005467e
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 1
jge 0x10054691
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x54], 0xaa12afd7
jmp 0x10054677
cmp dword [ebp - 0x18], 0
jne 0x100546a6
cmp dword [ebp - 0x18], 0
jne 0x100546a6
and dword [ebp - 0x144], 0
jmp 0x100546b0
mov dword [ebp - 0x144], 1
mov eax, dword [ebp - 0x144]
sub eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
jge 0x100546ca
mov dword [ebp - 0xbc], 1
jmp 0x100546d1
and dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 1
je 0x100546e6
mov dword [ebp - 0x14c], 1
jmp 0x100546ed
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14c]
je 0x10054704
mov dword [ebp - 0xc4], 1
jmp 0x1005470b
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x1005472c
mov eax, 0x866
test eax, eax
jne 0x1005472c
and dword [ebp - 0x160], 0
jmp 0x10054736
mov dword [ebp - 0x160], 1
cmp dword [ebp - 0x160], 0xffffffff
jbe 0x1005474b
mov dword [ebp - 0x1d8], 1
jmp 0x10054752
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x80], 0xd1cb
jg 0x10054770
mov dword [ebp - 0x168], 1
jmp 0x10054777
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x168], eax
jg 0x1005478e
mov dword [ebp - 0xd0], 1
jmp 0x10054795
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xd0], eax
jg 0x100547ac
mov dword [ebp - 0x128], 1
jmp 0x100547b3
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x18]
je 0x100547d3
mov dword [ebp - 0xd8], 1
jmp 0x100547da
and dword [ebp - 0xd8], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xd8]
mov dword [ebp + eax - 0x54], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x18]
cmp dword [ebp + eax - 0x54], ecx
jg 0x10054805
mov dword [ebp - 0x1b0], 1
jmp 0x1005480c
and dword [ebp - 0x1b0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x90], 0
je 0x1005483a
cmp dword [ebp - 0x1a4], 0
je 0x1005483a
mov dword [ebp - 0x150], 1
jmp 0x10054841
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x150], eax
je 0x10054863
or eax, 0xffffffff
jne 0x10054863
cmp dword [ebp - 0x90], 0
jne 0x10054863
and dword [ebp - 0xe0], 0
jmp 0x1005486d
mov dword [ebp - 0xe0], 1
mov eax, dword [ebp - 0xe0]
sub eax, 0x4bbea1c0
cmp eax, 1
je 0x10054889
mov dword [ebp - 0x130], 1
jmp 0x10054890
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x130], eax
jge 0x100548b0
mov eax, 0x5379a1d1
test eax, eax
jne 0x100548b0
and dword [ebp - 0x1d4], 0
jmp 0x100548ba
mov dword [ebp - 0x1d4], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x54]
mov dword [ebp - 0x270], eax
or eax, 0xffffffff
cmp eax, 1
jbe 0x100548de
mov dword [ebp - 0x8c], 1
jmp 0x100548e5
and dword [ebp - 0x8c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x8c]
mov dword [ebp + eax - 0x54], ecx
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x8c], eax
jl 0x1005490c
mov dword [ebp - 0xe8], 1
jmp 0x10054913
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0xf4fc6a3f
jne 0x1005492b
mov dword [ebp - 0x17c], 1
jmp 0x10054932
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x6c], 0xfffffff2
jmp 0x10054952
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x1a
jg 0x10054a5a
push 1
lea ecx, [ebp - 0x248]
call fcn.1001a98c
mov dword [ebp - 4], 3
push 1
lea ecx, [ebp - 0x1f8]
call fcn.1001a98c
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], 0
jmp 0x10054991
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x100549ad
push dword [ebp - 0x20]
lea ecx, [ebp - 0x248]
call fcn.1001aa1a
mov dword [eax], 0x683c8fc5
jmp 0x1005498a
mov dword [ebp - 0x20], 0
jmp 0x100549bd
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jge 0x100549d9
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1f8]
call fcn.1001aa1a
mov dword [eax], 0xee7d214c
jmp 0x100549b6
push 0
lea ecx, [ebp - 0x1f8]
call fcn.1001aa1a
and dword [eax], 0
jmp 0x10054a0f
push 0
lea ecx, [ebp - 0x1f8]
call fcn.1001aa1a
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xf0]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x1f8]
call fcn.1001aa1a
cmp dword [eax], 0
jg 0x10054a37
mov byte [ebp - 0x4a], 0
movzx eax, byte [ebp - 0x4a]
test eax, eax
je 0x10054a35
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x100549eb
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1f8]
call fcn.1001aa15
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.1001aa15
jmp 0x1005494b
mov byte [ebp - 0x49], 0
movzx eax, byte [ebp - 0x49]
test eax, eax
je 0x10054a72
push 0
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_SysFreeString]
push 0
push 0xe06
push 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
jmp 0x1005542b
push 2
lea ecx, [ebp - 0x7c]
call fcn.1001a98c
mov dword [ebp - 4], 5
mov dword [ebp - 0x14], 0x8e5ccc90
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x68], 0
jmp 0x10054ab8
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 2
jge 0x10054ad1
push dword [ebp - 0x68]
lea ecx, [ebp - 0x7c]
call fcn.1001aa1a
mov dword [eax], 0xdf75dcec
jmp 0x10054ab1
mov dword [ebp - 0x14], 0
jmp 0x10054ae1
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x10054c83
mov dword [ebp - 0x164], 0xed4bca92
mov dword [ebp - 0x1b4], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x7c]
call fcn.1001aa1a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x7c]
call fcn.1001aa1a
cmp dword [eax], 0x257a10dd
jle 0x10054b29
mov dword [ebp - 0x1ac], 1
jmp 0x10054b30
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x278], eax
push 0
lea ecx, [ebp - 0x7c]
call fcn.1001aa1a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x7c]
call fcn.1001aa1a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x7c]
call fcn.1001aa1a
push 1
lea ecx, [ebp - 0x7c]
call fcn.1001aa1a
mov eax, dword [eax]
shl eax, 3
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
imul eax, dword [ebp - 0x14]
cmp eax, 0xcfcb8f1f
jb 0x10054b8b
mov dword [ebp - 0x138], 1
jmp 0x10054b92
and dword [ebp - 0x138], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x7c]
call fcn.1001aa1a
mov ecx, dword [ebp - 0x138]
cmp ecx, dword [eax]
jge 0x10054bb3
mov dword [ebp - 0xf8], 1
jmp 0x10054bba
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x164], eax
mov esi, dword [ebp - 0x164]
push 0
lea ecx, [ebp - 0x7c]
call fcn.1001aa1a
imul esi, dword [eax]
test esi, esi
je 0x10054bf2
cmp dword [ebp - 0x84], 0
je 0x10054bf2
mov dword [ebp - 0x100], 1
jmp 0x10054bf9
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x100]
cmp eax, 7
ja 0x10054c14
mov dword [ebp - 0x1fc], 1
jmp 0x10054c1b
and dword [ebp - 0x1fc], 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.1001aa1a
mov esi, eax
push 1
lea ecx, [ebp - 0x7c]
call fcn.1001aa1a
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x10054c43
mov dword [ebp - 0x140], 1
jmp 0x10054c4a
and dword [ebp - 0x140], 0
push dword [ebp - 0x14]
lea ecx, [ebp - 0x7c]
call fcn.1001aa1a
mov ecx, dword [ebp - 0x140]
cmp ecx, dword [eax]
jne 0x10054c6b
mov dword [ebp - 0x108], 1
jmp 0x10054c72
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x1b4], eax
jmp 0x10054ada
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.1001aa15
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x24], 0
jmp 0x10054ca8
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 4
jge 0x10054cbe
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x238], 0xfffffffc
jmp 0x10054ca1
mov dword [ebp - 0x24], 0
jmp 0x10054cce
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x10054ce4
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x15c], 2
jmp 0x10054cc7
mov byte [ebp - 0x48], 0
movzx eax, byte [ebp - 0x48]
test eax, eax
je 0x10054cff
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x238], 0
je 0x10054d63
push 4
pop eax
shl eax, 0
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x15c]
cmp dword [ebp + eax - 0x15c], ecx
jl 0x10054d39
push 5
pop eax
test eax, eax
jne 0x10054d39
and dword [ebp - 0x174], 0
jmp 0x10054d43
mov dword [ebp - 0x174], 1
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x15c]
cmp eax, dword [ebp - 0x174]
jl 0x10054d63
mov dword [ebp - 0x94], 1
jmp 0x10054d6a
and dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0xda0
jne 0x10054d82
mov dword [ebp - 0x148], 1
jmp 0x10054d89
and dword [ebp - 0x148], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x15c]
add eax, dword [ebp - 0x148]
push 4
pop ecx
shl ecx, 1
cmp eax, dword [ebp + ecx - 0x15c]
jle 0x10054dc1
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x15c], 0
jne 0x10054dc1
and dword [ebp - 0x1dc], 0
jmp 0x10054dcb
mov dword [ebp - 0x1dc], 1
mov eax, 0x498d20b
test eax, eax
jne 0x10054de4
push 6
pop eax
test eax, eax
jne 0x10054de4
and dword [ebp - 0x118], 0
jmp 0x10054dee
mov dword [ebp - 0x118], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x118]
sub ecx, dword [ebp + eax - 0x238]
push 4
pop eax
shl eax, 1
sub ecx, dword [ebp + eax - 0x15c]
push 4
pop eax
shl eax, 0
cmp ecx, dword [ebp + eax - 0x15c]
jne 0x10054e28
mov dword [ebp - 0x16c], 1
jmp 0x10054e2f
and dword [ebp - 0x16c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x238]
cmp eax, dword [ebp - 0x16c]
jl 0x10054e50
mov dword [ebp - 0x120], 1
jmp 0x10054e57
and dword [ebp - 0x120], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x120]
mov dword [ebp + eax - 0x238], ecx
push 1
lea ecx, [ebp - 0x3c]
call fcn.1001a98c
mov dword [ebp - 4], 6
mov dword [ebp - 0x10], 0xc4d8e5cc
mov dword [ebp - 0x60], 0
jmp 0x10054e92
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jge 0x10054eab
push dword [ebp - 0x60]
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
mov dword [eax], 0xd3df75dc
jmp 0x10054e8b
mov dword [ebp - 0x10], 0
jmp 0x10054ebb
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x10055215
mov dword [ebp - 0x1c4], 6
mov dword [ebp - 0x1ec], 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
push 0
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
cmp dword [eax], 0
jne 0x10054f9d
push 0
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
mov esi, dword [eax]
add esi, 0x4f6b903c
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
cmp esi, dword [eax]
jl 0x10054f47
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
cmp dword [eax], 0
jne 0x10054f47
and dword [ebp - 0xc8], 0
jmp 0x10054f51
mov dword [ebp - 0xc8], 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
mov ecx, dword [ebp - 0xc8]
imul ecx, dword [eax]
test ecx, ecx
jne 0x10054f81
push 0
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
cmp dword [eax], 0
jne 0x10054f81
and dword [ebp - 0xcc], 0
jmp 0x10054f8b
mov dword [ebp - 0xcc], 1
mov eax, dword [ebp - 0xcc]
inc eax
jne 0x10054f9d
and dword [ebp - 0xd4], 0
jmp 0x10054fa7
mov dword [ebp - 0xd4], 1
push 0
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
mov ecx, dword [ebp - 0xd4]
add ecx, dword [eax]
cmp ecx, 0x95d7c15
jg 0x10054fcd
mov dword [ebp - 0xdc], 1
jmp 0x10054fd4
and dword [ebp - 0xdc], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
mov ecx, dword [ebp - 0xdc]
cmp ecx, dword [eax]
jle 0x10054ff5
mov dword [ebp - 0xe4], 1
jmp 0x10054ffc
and dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0x1704d9fa
je 0x10055014
mov dword [ebp - 0xec], 1
jmp 0x1005501b
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
add eax, 0x372625aa
cmp eax, 1
jg 0x10055037
mov dword [ebp - 0x1bc], 1
jmp 0x1005503e
and dword [ebp - 0x1bc], 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
push 5
pop eax
test eax, eax
je 0x1005506b
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
cmp dword [eax], 0
je 0x1005506b
mov dword [ebp - 0xf4], 1
jmp 0x10055072
and dword [ebp - 0xf4], 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
mov ecx, dword [ebp - 0xf4]
cmp ecx, dword [eax]
jg 0x10055092
mov dword [ebp - 0xfc], 1
jmp 0x10055099
and dword [ebp - 0xfc], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
mov ecx, dword [ebp - 0xfc]
cmp ecx, dword [eax]
jl 0x100550c0
cmp dword [ebp - 0x10], 0
je 0x100550c0
mov dword [ebp - 0x104], 1
jmp 0x100550c7
and dword [ebp - 0x104], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
mov ecx, dword [ebp - 0x104]
cmp ecx, dword [eax]
jle 0x100550e8
mov dword [ebp - 0x10c], 1
jmp 0x100550ef
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10c], eax
jle 0x10055106
mov dword [ebp - 0x200], 1
jmp 0x1005510d
and dword [ebp - 0x200], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
mov ecx, dword [ebp - 0x1c4]
cmp dword [eax], ecx
jge 0x10055139
mov dword [ebp - 0x114], 1
jmp 0x10055140
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x114]
neg eax
jne 0x10055163
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
cmp dword [eax], 0
jne 0x10055163
and dword [ebp - 0x11c], 0
jmp 0x1005516d
mov dword [ebp - 0x11c], 1
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
mov esi, dword [ebp - 0x11c]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
cmp esi, dword [eax]
jg 0x1005519a
mov dword [ebp - 0x124], 1
jmp 0x100551a1
and dword [ebp - 0x124], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.1001aa1a
mov ecx, dword [ebp - 0x124]
cmp ecx, dword [eax]
jne 0x100551c2
mov dword [ebp - 0x98], 1
jmp 0x100551c9
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 0xffff
je 0x100551e1
mov dword [ebp - 0xa0], 1
jmp 0x100551e8
and dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 9
jbe 0x100551fd
mov dword [ebp - 0xa8], 1
jmp 0x10055204
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x1ec], eax
jmp 0x10054eb4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.1001aa15
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x24c], 4
mov byte [ebp - 0x46], 0
movzx eax, byte [ebp - 0x46]
test eax, eax
je 0x10055249
call dword [sym.imp.USER32.dll_GetCaretBlinkTime]
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x1005526b
push 0x1441
push 0
push 0
push 0x12ac
push 0
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov eax, dword [ebp - 0x19c]
movzx eax, byte [eax]
test eax, eax
je 0x1005531d
push 1
lea ecx, [ebp - 0x258]
call fcn.1001a98c
mov dword [ebp - 4], 7
mov dword [ebp - 0x64], 0
jmp 0x100552a0
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jge 0x100552b9
push dword [ebp - 0x64]
lea ecx, [ebp - 0x258]
call fcn.1001aa1a
or dword [eax], 0xffffffff
jmp 0x10055299
mov byte [ebp - 0x4b], 0
movzx eax, byte [ebp - 0x4b]
test eax, eax
je 0x100552da
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov byte [ebp - 0x47], 0
movzx eax, byte [ebp - 0x47]
test eax, eax
je 0x100552ee
push 0
call dword [sym.imp.USER32.dll_RegisterClassW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x258]
call fcn.1001aa15
push 0
push 0xd2a
push 0
push 0x13a0
push 0x1754
push 0
push 0x26b5
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov dword [ebp - 0x1a0], 9
mov dword [ebp - 0xb8], 0x8f8256a
mov dword [ebp - 0x1a8], 6
push 2
lea ecx, [ebp - 0x268]
call fcn.1001a98c
mov dword [ebp - 4], 8
push 2
lea ecx, [ebp - 0x228]
call fcn.1001a98c
mov byte [ebp - 4], 9
mov dword [ebp - 0x2c], 0
jmp 0x10055370
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x1005538c
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x268]
call fcn.1001aa1a
mov dword [eax], 0xe2bbef7d
jmp 0x10055369
mov dword [ebp - 0x2c], 0
jmp 0x1005539c
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 2
jge 0x100553b5
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x228]
call fcn.1001aa1a
and dword [eax], 0
jmp 0x10055395
cmp dword [ebp - 0x1a0], 1
jg 0x100553ca
mov dword [ebp - 0xb0], 1
jmp 0x100553d1
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x1a8], eax
push 1
lea ecx, [ebp - 0x228]
call fcn.1001aa1a
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xc0]
mov dword [ecx], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x228]
call fcn.1001aa15
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.1001aa15
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret