Function at 0x1001db7e
Capabilities:
Extract resource via kernel32 functions
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x9c], 6
mov dword [ebp - 0x6c], 0xb7c7ce53
mov dword [ebp - 0xa0], 0xfffffffd
mov dword [ebp - 0x88], 9
mov dword [ebp - 0x94], 7
mov dword [ebp - 0xa4], 0xd3c891c5
mov dword [ebp - 0x8c], 0xfffffff6
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0xac], 1
mov dword [ebp - 0xa8], 1
mov dword [ebp - 0x40], 0x7c1188e1
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x6c], 9
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x1001dc27
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov dword [ebp - 8], 0x8876
mov dword [ebp - 0xc], 8
mov dword [ebp - 0x18], 0x63588c55
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x14], 0xe0c23782
mov dword [ebp - 0x54], 0x73d4c46
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0x10], 0
jmp 0x1001dc7d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1001dc93
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x84], 0x88216928
jmp 0x1001dc76
imul eax, dword [ebp - 8], 0x4e58
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
add eax, 0x469209a4
je 0x1001dcb6
cmp dword [ebp - 0xc], 0
je 0x1001dcb6
mov dword [ebp - 0x28], 1
jmp 0x1001dcba
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0
jne 0x1001dccd
push 5
pop eax
test eax, eax
jne 0x1001dccd
and dword [ebp - 0x60], 0
jmp 0x1001dcd4
mov dword [ebp - 0x60], 1
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x60], eax
jg 0x1001dce5
mov dword [ebp - 0x30], 1
jmp 0x1001dce9
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x30], eax
jl 0x1001dcfa
mov dword [ebp - 0x68], 1
jmp 0x1001dcfe
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x5c]
mov dword [ebp + eax - 0x84], ecx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x5c]
jg 0x1001dd2b
mov dword [ebp - 0x3c], 1
jmp 0x1001dd2f
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x1001dd48
xor eax, eax
je 0x1001dd48
mov dword [ebp - 0x44], 1
jmp 0x1001dd4c
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x44]
je 0x1001dd5d
mov dword [ebp - 0x64], 1
jmp 0x1001dd61
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0xc], eax
jne 0x1001dd81
mov dword [ebp - 0x34], 1
jmp 0x1001dd85
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x34], eax
jg 0x1001dd96
mov dword [ebp - 0x74], 1
jmp 0x1001dd9a
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x98], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x84]
add eax, 7
imul eax, dword [ebp - 0x18]
sub eax, dword [ebp - 8]
sub eax, 6
cmp eax, dword [ebp - 8]
jne 0x1001ddcb
mov dword [ebp - 0x38], 1
jmp 0x1001ddcf
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0x3097
jne 0x1001dde1
mov dword [ebp - 0x1c], 1
jmp 0x1001dde5
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], eax
jne 0x1001ddf6
mov dword [ebp - 0x48], 1
jmp 0x1001ddfa
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 6
jl 0x1001de09
mov dword [ebp - 0x50], 1
jmp 0x1001de0d
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x50]
cmp dword [ebp - 8], eax
jge 0x1001de21
mov dword [ebp - 0x20], 1
jmp 0x1001de25
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
sub eax, 0x262
imul eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x24], eax
jg 0x1001de45
mov dword [ebp - 0x2c], 1
jmp 0x1001de49
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001de63
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esp, ebp
pop ebp
ret