Function at 0x1000d240
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x100618a9
call fcn.10061410
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 3
mov dword [ebp - 0x1c], 0x84b
pop esi
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x18], 0xb17b
mov dword [ebp - 0x20], 0xcc511ec1
mov dword [ebp - 0x24], 0xfffffff7
push esi
mov dword [ebp - 0x40], edx
call fcn.10012962
xor ebx, ebx
lea ecx, [ebp - 0x60]
push esi
mov dword [ebp - 4], ebx
call fcn.10012962
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x28], 9
mov dword [ebp - 0x30], 0xca2a
push 4
call fcn.10012962
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], ebx
jmp 0x1000d2c4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x54]
mov dword [eax + ecx*4], 0xeaf6082f
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x1000d2b4
mov dword [ebp - 0x18], ebx
jmp 0x1000d2de
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x60]
mov dword [eax + ecx*4], 0x53ea
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x1000d2ce
mov dword [ebp - 0x18], ebx
jmp 0x1000d2f8
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x78]
mov dword [eax + ecx*4], 0xd489
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x1000d2e8
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp eax, 0xffff
setne cl
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], eax
jg 0x1000d31c
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jg 0x1000d327
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
test eax, eax
setg cl
cmp ecx, dword [ebp - 0x1c]
jl 0x1000d3e1
cmp dword [ebp - 0x18], ebx
jne 0x1000d3e1
mov dword [ebp - 0x34], esi
lea ecx, [ebp - 0x6c]
push esi
call fcn.10012962
mov dword [ebp - 0x24], ebx
jmp 0x1000d364
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x6c]
mov dword [eax + ecx*4], 0x7b30477a
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], esi
jl 0x1000d354
cmp dword [ebp - 0x1c], ebx
jne 0x1000d386
mov edx, dword [ebp - 0x60]
mov ecx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edx + 4], eax
test ecx, ecx
jne 0x1000d386
xor edi, edi
mov dword [ebp - 0x2c], ebx
inc edi
jmp 0x1000d38c
xor edi, edi
inc edi
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x54]
xor ecx, ecx
cmp dword [eax], 0x8d7c
setge cl
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 8], edi
sete cl
xor edx, edx
cmp ecx, dword [eax + 4]
mov eax, dword [ebp - 0x18]
setg dl
xor ebx, ebx
add edx, 0x65fe96f7
cmp dword [ebp - 0x2c], edx
setne bl
xor ecx, ecx
cmp ebx, eax
mov eax, dword [ebp - 0x54]
setne cl
add ecx, esi
mov dword [eax], ecx
lea ecx, [ebp - 0x6c]
call fcn.100129e4
xor ebx, ebx
jmp 0x1000d413
xor edi, edi
mov dword [ebp - 0x24], ebx
inc edi
cmp dword [ebp - 0x24], 2
jge 0x1000d3f9
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x48], edi
inc dword [ebp - 0x24]
jmp 0x1000d3e7
mov dword [ebp - 0x20], 0xfffffff6
jmp 0x1000d40d
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x54]
mov dword [eax], ecx
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 0xb
jg 0x1000d402
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x24], edi
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
cmp ecx, eax
mov eax, 0xe0bbe0e2
setle dl
cmp eax, edx
sbb eax, eax
xor ecx, ecx
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x54]
imul edx, dword [eax]
mov eax, dword [ebp - 0x30]
cmp edx, eax
setge cl
cmp ecx, dword [ebp - 0x28]
jle 0x1000d45d
mov eax, dword [ebp - 0x54]
mov edx, ebx
cmp dword [eax], ebx
je 0x1000d45f
mov edx, edi
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x60]
imul ecx, dword [eax + 4]
mov eax, dword [ebp - 0x78]
imul ecx, edx
xor edx, edx
neg ecx
cmp ecx, 0x8eaf535
lea ecx, [ebp - 0x78]
setne dl
sub edx, dword [eax + 8]
mov eax, dword [ebp - 0x54]
mov dword [eax], edx
call fcn.100129e4
lea ecx, [ebp - 0x60]
call fcn.100129e4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.100129e4
mov dword [ebp - 0x20], 0x7e1
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x30], 0x81a82e77
mov dword [ebp - 0x24], 0x9733147f
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], 0xcb8e0045
mov dword [ebp - 0x30], 0x48db
cmp dword [ebp - 0x30], 0x49d0
jle 0x1000d55d
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, ebx
mov dword [ebp - 0x18], ebx
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
mov eax, esi
mov dword [ebp - 0x28], ebx
cdq
idiv ecx
mov eax, ebx
mov ecx, edx
mov dword [ebp - 0x38], ecx
mov esi, ecx
mov edx, ebx
mov ecx, eax
mov dword [ebp - 0x2c], edx
sar esi, cl
mov ecx, edx
mov eax, esi
sar eax, cl
mov ecx, 0x10609d98
cdq
push edx
push eax
call fcn.1001273a
mov edx, dword [ebp - 0x2c]
inc edx
mov dword [ebp - 0x2c], edx
cmp edx, 0x12d4
jl 0x1000d509
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, 0x31a7
jl 0x1000d4fe
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x168b
jl 0x1000d4ef
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x55cf
jl 0x1000d4ea
push 3
pop esi
mov byte [ebp - 0x11], bl
mov dword [ebp - 4], esi
cmp dword [ebp - 0x30], 0x44fb
jge 0x1000d59f
mov edx, 0x10007678
mov ecx, 0x10609d98
call fcn.1001505e
jmp 0x1000d59f
cmp byte [ebp - 0x11], 0
je 0x1000d5ac
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x20]
jl 0x1000d608
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x20]
jle 0x1000d5c3
mov eax, ebx
cmp dword [ebp - 0x20], ebx
je 0x1000d5c5
mov eax, edi
mov dword [ebp - 0x2c], 0xcf13
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x20]
neg eax
sbb eax, eax
inc eax
cmp dword [ebp - 0x2c], eax
jne 0x1000d5ed
cmp dword [ebp - 0x24], ebx
jne 0x1000d5ef
mov edi, ebx
lea eax, [edi + 3]
test eax, eax
je 0x1000d5f9
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], ebx
mov dword [edx], ebx
cmp dword [edx], esi
jge 0x1000d628
mov edi, dword [ebp - 0x40]
mov ecx, dword [edx]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x53ea
inc dword [edx]
cmp dword [edx], esi
jl 0x1000d617
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret