Function at 0x1001b669
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1001b8d6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x70]
jg 0x1001b766
mov dword [ebp - 0x10], 1
jmp 0x1001b76a
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jge 0x1001b785
mov dword [ebp - 0x1c], 1
jmp 0x1001b789
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jg 0x1001b79c
mov dword [ebp - 0x44], 1
jmp 0x1001b7a0
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
jl 0x1001b7b3
mov dword [ebp - 0x24], 1
jmp 0x1001b7b7
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0xfffb
jb 0x1001b7d1
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x1001b7d1
mov dword [ebp - 0x3c], 1
jmp 0x1001b7d5
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x3c]
je 0x1001b7f7
push 0
mov ecx, dword [ebp - 0x48]
call fcn.1001557f
cmp dword [eax], 0
je 0x1001b7f7
mov dword [ebp - 0x4c], 1
jmp 0x1001b7fb
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
imul eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x88]
cmp eax, dword [ecx]
je 0x1001b817
mov dword [ebp - 0x34], 1
jmp 0x1001b81b
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x1001b848
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x1001b848
mov dword [ebp - 0x20], 1
jmp 0x1001b84c
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0x2703d9b9
jne 0x1001b85e
mov dword [ebp - 0x28], 1
jmp 0x1001b862
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
sub eax, 9
jne 0x1001b874
xor eax, eax
jne 0x1001b874
and dword [ebp - 0x30], 0
jmp 0x1001b87b
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x30]
jge 0x1001b88e
mov dword [ebp - 0x38], 1
jmp 0x1001b892
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
add eax, dword [ebp - 0x38]
imul eax, eax, 0xfae0
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov eax, dword [ebp - 0x40]
imul eax, dword [eax], 0x6840
cmp eax, 0xbd28
jge 0x1001b8c1
mov dword [ebp - 0x14], 1
jmp 0x1001b8c5
and dword [ebp - 0x14], 0
push 2
mov ecx, dword [ebp - 0x48]
call fcn.1001557f
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
jmp 0x1001b8ea
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001b8ea
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esp, ebp
pop ebp
ret