Function at 0x100294db
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007fdd6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x37c
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10029516
push 0xf2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
jmp 0x1002aacf
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x14]
lea eax, [eax + ecx + 0x18]
mov dword [ebp - 0x14], eax
and dword [ebp - 0x80], 0
jmp 0x10029547
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x14]
add eax, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 0x80], eax
jge 0x1002aacf
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x34], 6
mov dword [ebp - 0x44], 0xb6046e74
mov dword [ebp - 0x238], 0xffffffff
mov dword [ebp - 0x4c], 0x7e09fa0
cmp dword [ebp - 0x10], 0
jne 0x1002963c
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jge 0x100295b3
or eax, 0xffffffff
je 0x100295b3
mov dword [ebp - 0x134], 1
jmp 0x100295ba
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x134]
add eax, dword [ebp - 0x10]
cmp eax, 1
jle 0x100295d7
mov dword [ebp - 0xb8], 1
jmp 0x100295de
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xb8]
jl 0x100295f5
mov dword [ebp - 0xb4], 1
jmp 0x100295fc
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0xb06c
je 0x1002961b
push 7
pop eax
test eax, eax
je 0x1002961b
mov dword [ebp - 0x1b8], 1
jmp 0x10029622
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x1b8]
sub eax, dword [ebp - 0x68]
imul eax, dword [ebp - 0x10]
test eax, eax
jne 0x1002963c
and dword [ebp - 0xc0], 0
jmp 0x10029646
mov dword [ebp - 0xc0], 1
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc0]
jle 0x1002965d
mov dword [ebp - 0x150], 1
jmp 0x10029664
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x10], eax
jle 0x10029687
mov dword [ebp - 0xc8], 1
jmp 0x1002968e
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x34]
jle 0x100296ab
mov dword [ebp - 0x198], 1
jmp 0x100296b2
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x44], eax
mov eax, 0xfe0cd1b7
test eax, eax
je 0x100296d6
cmp dword [ebp - 0x44], 0
je 0x100296d6
mov dword [ebp - 0xd0], 1
jmp 0x100296dd
and dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 0xb74a71a6
ja 0x10029930
mov dword [ebp - 0x168], 0xffffffff
mov dword [ebp - 0x7c], 0xf84
mov dword [ebp - 0x1ec], 2
mov dword [ebp - 0x23c], 0xfffffffc
mov dword [ebp - 0x5c], 0
jmp 0x10029722
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x10029738
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x380], 0x47fd
jmp 0x1002971b
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x168], eax
jge 0x1002974f
mov dword [ebp - 0x158], 1
jmp 0x10029756
and dword [ebp - 0x158], 0
cmp dword [ebp - 0x158], 0xfffffffa
je 0x1002976b
mov dword [ebp - 0xd8], 1
jmp 0x10029772
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
sub eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x7c]
jge 0x1002978c
mov dword [ebp - 0x1d8], 1
jmp 0x10029793
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x1d8], eax
jg 0x100297aa
mov dword [ebp - 0xe0], 1
jmp 0x100297b1
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
sub eax, 0x42d63d2c
cmp dword [ebp - 0x10], eax
jge 0x100297cd
mov dword [ebp - 0x160], 1
jmp 0x100297d4
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x160], eax
jle 0x100297eb
mov dword [ebp - 0xe8], 1
jmp 0x100297f2
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x1ec], eax
cmp dword [ebp - 0x68], 0x2c25470e
je 0x10029813
mov dword [ebp - 0x1a0], 1
jmp 0x1002981a
and dword [ebp - 0x1a0], 0
cmp dword [ebp - 0x1a0], 0xa9257de9
je 0x10029832
mov dword [ebp - 0xf0], 1
jmp 0x10029839
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xf0], eax
jge 0x10029853
cmp dword [ebp - 0x10], 0
jne 0x10029853
and dword [ebp - 0xf8], 0
jmp 0x1002985d
mov dword [ebp - 0xf8], 1
mov eax, dword [ebp - 0x168]
cmp eax, dword [ebp - 0xf8]
jne 0x10029877
mov dword [ebp - 0x1c0], 1
jmp 0x1002987e
and dword [ebp - 0x1c0], 0
cmp dword [ebp - 0x1c0], 0xe816
jl 0x10029896
mov dword [ebp - 0x100], 1
jmp 0x1002989d
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x100], eax
jl 0x100298c0
mov eax, 0xf116e8cf
test eax, eax
je 0x100298c0
mov dword [ebp - 0x170], 1
jmp 0x100298c7
and dword [ebp - 0x170], 0
mov eax, dword [ebp - 0x170]
inc eax
cmp eax, dword [ebp - 0x34]
jg 0x100298df
mov dword [ebp - 0x108], 1
jmp 0x100298e6
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x34]
push 4
pop ecx
shl ecx, 0
mov edx, dword [ebp - 0x108]
sub edx, dword [ebp + ecx - 0x380]
imul eax, edx
cmp eax, 0xb1a88af1
jbe 0x10029912
mov dword [ebp - 0x1a8], 1
jmp 0x10029919
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x44], eax
jmp 0x10029b38
mov dword [ebp - 0x94], 0xc07e
and dword [ebp - 0x290], 0
and dword [ebp - 0x28c], 0
and dword [ebp - 0x288], 0
and dword [ebp - 0x284], 0
lea ecx, [ebp - 0xa1]
call fcn.1000a553
push eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x388]
call fcn.10017f49
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x2b4]
call fcn.10017ef8
and dword [ebp - 4], 0
mov dword [ebp - 0x234], 0x6302082
mov dword [ebp - 0x200], 0xfaf72239
mov dword [ebp - 0x70], 0
jmp 0x100299b3
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 2
jge 0x100299c9
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x304], 0x68d11a6
jmp 0x100299ac
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x10], 0
je 0x10029a6d
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x9c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x9c]
mov dword [ebp + eax - 0x304], ecx
push 2
lea ecx, [ebp - 0x2b4]
call fcn.10017f3a
mov ecx, dword [ebp - 0x9c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x9c], eax
jl 0x10029a27
mov dword [ebp - 0x110], 1
jmp 0x10029a2e
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x110], eax
jle 0x10029a48
mov dword [ebp - 0x178], 1
jmp 0x10029a4f
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xfffb
jbe 0x10029a6d
mov dword [ebp - 0x1f8], 1
jmp 0x10029a74
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x320], eax
xor eax, eax
inc eax
jne 0x10029a9a
cmp dword [ebp - 0x238], 0
je 0x10029ab3
cmp dword [ebp - 0x4c], 0
je 0x10029ab3
push 0xfffffffffffffffb
pop eax
test eax, eax
je 0x10029ab3
mov dword [ebp - 0x118], 1
jmp 0x10029aba
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x4c], 0
jmp 0x10029ad6
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x30
jge 0x10029b29
mov dword [ebp - 0x120], 1
cmp dword [ebp - 0x34], 0
jne 0x10029afb
cmp dword [ebp - 0x68], 0
jne 0x10029afb
and dword [ebp - 0x1d0], 0
jmp 0x10029b05
mov dword [ebp - 0x1d0], 1
push 1
lea ecx, [ebp - 0x2b4]
call fcn.10017f3a
mov ecx, dword [ebp - 0x1d0]
mov dword [eax], ecx
mov eax, dword [ebp - 0x120]
dec eax
mov dword [ebp - 0x120], eax
jmp 0x10029acf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b4]
call fcn.10017f1e
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x20000000
je 0x10029b51
mov dword [ebp - 0x180], 1
jmp 0x10029b58
and dword [ebp - 0x180], 0
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x18], 0xbf90edca
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x328], 1
mov dword [ebp - 0x254], 0x2679f1a7
mov dword [ebp - 0x64], 0x6398c3d3
mov dword [ebp - 0x90], 0x9233c9e4
mov dword [ebp - 0x78], 0
jmp 0x10029ba7
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 1
jge 0x10029bba
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x40], 0xff57440e
jmp 0x10029ba0
cmp dword [ebp - 0x18], 0xfffffff6
jbe 0x10029bcc
mov dword [ebp - 0x128], 1
jmp 0x10029bd3
and dword [ebp - 0x128], 0
cmp dword [ebp - 0x128], 1
jb 0x10029be8
mov dword [ebp - 0x26c], 1
jmp 0x10029bef
and dword [ebp - 0x26c], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x18]
cmp dword [ebp - 0x18], eax
jg 0x10029c07
mov dword [ebp - 0x1b0], 1
jmp 0x10029c0e
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x18], eax
jne 0x10029c2b
mov dword [ebp - 0x130], 1
jmp 0x10029c32
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x130], eax
je 0x10029c49
mov dword [ebp - 0x188], 1
jmp 0x10029c50
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x188], eax
jg 0x10029c6d
mov eax, 0x3b28
test eax, eax
jne 0x10029c6d
and dword [ebp - 0x138], 0
jmp 0x10029c77
mov dword [ebp - 0x138], 1
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x138], eax
jge 0x10029c8e
mov dword [ebp - 0x1c8], 1
jmp 0x10029c95
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x20], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x40], 1
jl 0x10029cb7
mov dword [ebp - 0x140], 1
jmp 0x10029cbe
and dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 1
jl 0x10029cd3
mov dword [ebp - 0x190], 1
jmp 0x10029cda
and dword [ebp - 0x190], 0
cmp dword [ebp - 0x190], 0xdabac8ef
je 0x10029cf2
mov dword [ebp - 0x148], 1
jmp 0x10029cf9
and dword [ebp - 0x148], 0
cmp dword [ebp - 0x148], 6
ja 0x10029d0e
mov dword [ebp - 0x208], 1
jmp 0x10029d15
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x338], eax
or eax, 0xffffffff
cmp eax, 0xe42506ed
jbe 0x10029ed7
mov dword [ebp - 0x84], 0xffffffff
mov dword [ebp - 0x240], 0xd5c0
mov dword [ebp - 0x340], 1
mov dword [ebp - 0x348], 0xfffffff7
mov dword [ebp - 0x370], 0xf6066fa4
mov dword [ebp - 0x33c], 0xc655ef1c
mov dword [ebp - 0x2cc], 2
mov dword [ebp - 0x344], 0x3c6e85a6
mov dword [ebp - 0xe4], 0x89736453
mov eax, 0x3cd0cd8a
test eax, eax
je 0x10029de4
mov eax, dword [ebp - 0x18]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0x40]
test eax, eax
jne 0x10029dc0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x40], 0
jne 0x10029dc0
and dword [ebp - 0xb0], 0
jmp 0x10029dca
mov dword [ebp - 0xb0], 1
imul eax, dword [ebp - 0xb0], 0xfffc
test eax, eax
je 0x10029de4
mov dword [ebp - 0xbc], 1
jmp 0x10029deb
and dword [ebp - 0xbc], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xbc]
sub ecx, dword [ebp + eax - 0x40]
imul eax, ecx, 9
sub eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x240]
test eax, eax
je 0x10029e21
mov eax, 0xfffe
test eax, eax
je 0x10029e21
mov dword [ebp - 0xc4], 1
jmp 0x10029e28
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x84]
add eax, dword [ebp - 0xc4]
cmp dword [ebp - 0x84], eax
jne 0x10029e51
cmp dword [ebp - 0x84], 0
je 0x10029e51
mov dword [ebp - 0xcc], 1
jmp 0x10029e58
and dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 0x8178
jg 0x10029e79
mov eax, 0x3417
test eax, eax
je 0x10029e79
mov dword [ebp - 0xd4], 1
jmp 0x10029e80
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0
ja 0x10029e95
mov dword [ebp - 0x210], 1
jmp 0x10029e9c
and dword [ebp - 0x210], 0
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x40], 0
je 0x10029eb5
mov dword [ebp - 0xdc], 1
jmp 0x10029ebc
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xe4]
dec eax
mov dword [ebp - 0xe4], eax
jmp 0x1002a204
mov dword [ebp - 0x88], 0x51dc99b0
mov dword [ebp - 0x48], 0xdf2cfeaa
mov dword [ebp - 0x124], 1
mov dword [ebp - 0xac], 0xd3770b94
mov dword [ebp - 0x60], 0
jmp 0x10029f0c
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 1
jge 0x10029f22
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x218], 0xa3d9b22f
jmp 0x10029f05
mov dword [ebp - 0x64], 0
jmp 0x10029f32
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xffffffef
jle 0x1002a0a0
push 1
lea ecx, [ebp - 0x27c]
call fcn.10017e9c
mov dword [ebp - 4], 1
mov dword [ebp - 0x10c], 0x70ea
mov dword [ebp - 0x54], 0
jmp 0x10029f6a
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x10029f86
push dword [ebp - 0x54]
lea ecx, [ebp - 0x27c]
call fcn.10017f3a
mov dword [eax], 1
jmp 0x10029f63
mov dword [ebp - 0x90], 0x59a1
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x90], eax
je 0x10029fb6
mov dword [ebp - 0xec], 1
jmp 0x10029fbd
and dword [ebp - 0xec], 0
cmp dword [ebp - 0xec], 3
jne 0x10029fd2
mov dword [ebp - 0xf4], 1
jmp 0x10029fd9
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0xf4]
add eax, 3
jne 0x10029fff
push 0
lea ecx, [ebp - 0x27c]
call fcn.10017f3a
cmp dword [eax], 0
jne 0x10029fff
and dword [ebp - 0xfc], 0
jmp 0x1002a009
mov dword [ebp - 0xfc], 1
push 0
lea ecx, [ebp - 0x27c]
call fcn.10017f3a
mov ecx, dword [ebp - 0xfc]
cmp ecx, dword [eax]
jle 0x1002a02c
mov dword [ebp - 0x104], 1
jmp 0x1002a033
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x4c1c
jge 0x1002a057
mov dword [ebp - 0x114], 1
jmp 0x1002a05e
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x114]
cmp dword [ebp - 0x20], eax
je 0x1002a079
mov dword [ebp - 0x11c], 1
jmp 0x1002a080
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.10017f1e
jmp 0x10029f2b
mov dword [ebp - 0x48], 0
jmp 0x1002a0b0
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x1002a204
mov dword [ebp - 0x154], 1
mov dword [ebp - 0x15c], 0
push 3
lea ecx, [ebp - 0x2c0]
call fcn.10017e9c
mov dword [ebp - 4], 2
lea eax, [ebp - 0x2c0]
push eax
push 0
lea eax, [ebp - 0x2c4]
push eax
call fcn.10028457
add esp, 0xc
cmp dword [ebp - 0x88], 1
jg 0x1002a10f
mov dword [ebp - 0x13c], 1
jmp 0x1002a116
and dword [ebp - 0x13c], 0
mov dword [ebp - 0x124], 1
mov eax, dword [ebp - 0x124]
add eax, 0x59451954
cmp eax, 1
jbe 0x1002a13c
mov dword [ebp - 0x12c], 1
jmp 0x1002a143
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
cmp dword [ebp - 0x13c], eax
je 0x1002a169
mov dword [ebp - 0x144], 1
jmp 0x1002a170
and dword [ebp - 0x144], 0
cmp dword [ebp - 0x144], 0x589ab98c
je 0x1002a188
mov dword [ebp - 0x14c], 1
jmp 0x1002a18f
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x90]
cmp dword [ebp - 0x15c], eax
jg 0x1002a1c1
mov dword [ebp - 0x98], 1
jmp 0x1002a1c8
and dword [ebp - 0x98], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x98]
mov dword [ebp + eax - 0x218], ecx
push 2
lea ecx, [ebp - 0x2c0]
call fcn.10017f3a
mov ecx, dword [ebp - 0x98]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c0]
call fcn.10017f1e
jmp 0x1002a0a9
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x40000000
je 0x1002a21d
mov dword [ebp - 0x164], 1
jmp 0x1002a224
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x74], 0x8c176b0f
mov dword [ebp - 0x1c], 5
push 1
lea ecx, [ebp - 0x24c]
call fcn.10017e9c
mov dword [ebp - 4], 3
mov dword [ebp - 0x228], 0xffffffff
push 0
push 0x2771
push 0x7cc4
push 0x71d9
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x324]
push eax
call fcn.1002f9bf
add esp, 0x18
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1002a3db
mov dword [ebp - 0x6c], 0x1546
mov dword [ebp - 0x17c], 1
mov dword [ebp - 0x268], 0x9f48
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x1c]
cmp eax, 1
jae 0x1002a2ce
mov dword [ebp - 0x16c], 1
jmp 0x1002a2d5
and dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x16c]
je 0x1002a2ec
mov dword [ebp - 0x174], 1
jmp 0x1002a2f3
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x174]
jge 0x1002a30a
mov dword [ebp - 0x250], 1
jmp 0x1002a311
and dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x374], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2ec], eax
mov dword [ebp - 0x1c], 0xffffffff
mov eax, dword [ebp - 0x1c]
sub eax, 9
mov dword [ebp - 0x17c], eax
je 0x1002a35f
mov eax, 0x6711db60
test eax, eax
je 0x1002a35f
mov dword [ebp - 0x184], 1
jmp 0x1002a366
and dword [ebp - 0x184], 0
cmp dword [ebp - 0x184], 0x223dec99
je 0x1002a37e
mov dword [ebp - 0x220], 1
jmp 0x1002a385
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x34c], eax
xor esi, esi
inc esi
shl esi, 3
sub esi, dword [ebp - 0x74]
push 0
lea ecx, [ebp - 0x24c]
call fcn.10017f3a
mov dword [eax], esi
mov dword [ebp - 0x268], 0xffffffff
push 0x45e4
push 0x7609
lea eax, [ebp - 0x24c]
push eax
push 0x8b4
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x2ee9
call fcn.10027840
add esp, 0x1c
jmp 0x1002a423
mov dword [ebp - 0x230], 0xffffffff
mov dword [ebp - 0x270], 0x1e2cd849
lea eax, [ebp - 0x228]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24c]
push eax
push 0x25d6
push 0x49d
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10027e68
add esp, 0x20
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x1002a437
push 0
call fcn.1002c835
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.10017f1e
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x80000000
je 0x1002a45f
mov dword [ebp - 0x18c], 1
jmp 0x1002a466
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
and eax, 0x2000000
je 0x1002a60e
push 0x4000
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
push 0x4cfb
push 0x45c6
call fcn.10025b2c
pop ecx
pop ecx
call eax
mov dword [ebp - 0x194], 0xffffffff
mov dword [ebp - 0x19c], 0xfffffff8
push 2
lea ecx, [ebp - 0x29c]
call fcn.10017e9c
mov dword [ebp - 4], 4
mov dword [ebp - 0x28], 0
jmp 0x1002a4df
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x1002a4f5
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x264], 1
jmp 0x1002a4d8
mov dword [ebp - 0x28], 0
jmp 0x1002a505
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x1002a521
push dword [ebp - 0x28]
lea ecx, [ebp - 0x29c]
call fcn.10017f3a
mov dword [eax], 8
jmp 0x1002a4fe
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x264]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0xf7fb
jge 0x1002a558
mov dword [ebp - 0x1a4], 1
jmp 0x1002a55f
and dword [ebp - 0x1a4], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x264]
mov dword [ebp - 0x2f4], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x264]
mov dword [ebp - 0x334], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x264]
mov dword [ebp - 0x2fc], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x264]
mov dword [ebp - 0x36c], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x264]
add eax, dword [ebp - 0x1a4]
push 4
pop ecx
shl ecx, 0
add eax, dword [ebp + ecx - 0x264]
cmp eax, 0x5bef
jge 0x1002a5de
mov dword [ebp - 0x1ac], 1
jmp 0x1002a5e5
and dword [ebp - 0x1ac], 0
push 1
lea ecx, [ebp - 0x29c]
call fcn.10017f3a
mov ecx, dword [ebp - 0x1ac]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x29c]
call fcn.10017f1e
jmp 0x10029537
push 0
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x1f4]
push eax
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10028161
add esp, 0x18
mov dword [ebp - 0x308], 0x3185
mov dword [ebp - 0x30c], 0x9beb0647
mov dword [ebp - 0x310], 0xfffffff8
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x35c], 0xfaaaeb9a
mov dword [ebp - 0x31c], 0xed680444
mov dword [ebp - 0x204], 0x7dfe4d9e
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x1002a69e
push 0x41aa
push 1
push 0x4a8c
call fcn.10027f74
add esp, 0xc
push 0
lea eax, [ebp - 0x204]
push eax
push 0x208c
call fcn.1002bbcc
add esp, 0xc
push 0x3d45
push dword [ebp - 0x14]
push 0
lea eax, [ebp - 0x1dc]
push eax
push 0x6125
push dword [ebp - 0x58]
call fcn.1002c8ae
add esp, 0x18
mov dword [ebp - 0x38], 7
push 3
lea ecx, [ebp - 0x1e8]
call fcn.10017e9c
mov dword [ebp - 4], 5
mov dword [ebp - 0xa8], 1
mov dword [ebp - 0x2c8], 0xca9f8d1
push 1
lea ecx, [ebp - 0x368]
call fcn.10017e9c
mov byte [ebp - 4], 6
mov dword [ebp - 0x24], 0xffff
mov dword [ebp - 0x20c], 0xe128
mov dword [ebp - 0x50], 0
jmp 0x1002a736
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 3
jge 0x1002a752
push dword [ebp - 0x50]
lea ecx, [ebp - 0x1e8]
call fcn.10017f3a
mov dword [eax], 0x89b5
jmp 0x1002a72f
push 0
push 0x2b31
lea eax, [ebp - 0x368]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.1002bcfc
add esp, 0x10
mov dword [ebp - 0x38], 0x1a
jmp 0x1002a77c
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xfffffffe
jl 0x1002aa2a
mov dword [ebp - 0x3c], 0xffab8c3a
mov dword [ebp - 0x1b4], 0xfffffff8
mov dword [ebp - 0x21c], 0x62ee6d05
mov dword [ebp - 0xa0], 0xa9bacde9
mov dword [ebp - 0x3c], 0
jmp 0x1002a7bb
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jg 0x1002a85e
mov dword [ebp - 0x2d0], 0x6eff
mov dword [ebp - 0x2d8], 1
push 1
lea ecx, [ebp - 0x358]
call fcn.10017e9c
mov byte [ebp - 4], 7
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x2e0]
push eax
push 0
call fcn.1002bc17
add esp, 0xc
push 0x1ac0
lea eax, [ebp - 0x24]
push eax
push 0x5aed
push 1
push 0x2391
push 0xd2
push 0x4c6c
push 0x2efb
call fcn.10027fbd
add esp, 0x20
mov byte [ebp - 0x29], 0
push 0x6ab4
lea eax, [ebp - 0x29]
push eax
push 0x11a4
push 0
call fcn.1002c5ec
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x358]
call fcn.10017f1e
jmp 0x1002a7b4
mov dword [ebp - 0x24], 0
jmp 0x1002a86e
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jg 0x1002aa25
mov dword [ebp - 0x224], 0xffffffff
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1e8]
call fcn.10017f3a
cmp dword [eax], 0
je 0x1002a94e
mov dword [ebp - 0x214], 0x6de21e5
push 3
lea ecx, [ebp - 0x2a8]
call fcn.10017e9c
mov byte [ebp - 4], 8
push 0
lea eax, [ebp - 0x2a8]
push eax
push 0x17bb
lea eax, [ebp - 0x2e8]
push eax
call fcn.1002bd79
add esp, 0x10
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1002a8eb
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push 0
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x1e8]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x51b1
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.1002ab10
add esp, 0x30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2a8]
call fcn.10017f1e
jmp 0x1002aa16
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1e8]
call fcn.10017f3a
cmp dword [eax], 0
je 0x1002a9ac
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x1b4]
jne 0x1002a97e
mov dword [ebp - 0x1bc], 1
jmp 0x1002a985
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0x1bc], eax
jg 0x1002a99f
mov dword [ebp - 0x1c4], 1
jmp 0x1002a9a6
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0xa0]
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1e8]
call fcn.10017f3a
mov ecx, 0xfff7
sub ecx, dword [eax]
add ecx, dword [ebp - 0x38]
jne 0x1002a9e1
push 0
lea ecx, [ebp - 0x1e8]
call fcn.10017f3a
cmp dword [eax], 0
jne 0x1002a9e1
and dword [ebp - 0x1cc], 0
jmp 0x1002a9eb
mov dword [ebp - 0x1cc], 1
cmp dword [ebp - 0x1cc], 0xd92edcdd
jae 0x1002aa03
mov dword [ebp - 0x1d4], 1
jmp 0x1002aa0a
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0xa8], 0xffffffff
jmp 0x1002a867
jmp 0x1002a775
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x368]
call fcn.10017f1e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e8]
call fcn.10017f1e
cmp dword [ebp - 0x1dc], 0
jbe 0x1002aaca
mov dword [ebp - 0x2f0], 0xffffffff
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x1002aa8a
push 1
push 0x6f82
push 0x2a0c
push 0x4214
push 0x337f
push 0x284f
call fcn.10028161
add esp, 0x18
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1002aa9e
push 0
call fcn.1001d587
pop ecx
lea eax, [ebp - 0x2f8]
push eax
push dword [ebp - 0x22c]
push dword [ebp - 0x1dc]
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
push 0x4cfb
push 0x4a94
call fcn.10025b2c
pop ecx
pop ecx
call eax
jmp 0x10029537
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret