Function at 0x100a14c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101412b5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1019d008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 8], 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], eax
jne 0x100a1506
xor al, al
jmp 0x100a1836
lea eax, [esi + 0x2c]
mov dword [ebp - 0x1c], 0
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x40], eax
call fcn.1000b700
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp edi, 1
jne 0x100a16a3
lea ecx, [esi + 8]
call fcn.10004f90
test al, al
jne 0x100a16a3
push dword [ebp - 0x3c]
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x34]
push edi
push eax
mov ecx, esi
call fcn.100a1e60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.10004f90
test al, al
je 0x100a1572
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10004ab0
jmp 0x100a1740
push 4
mov dword [ebp - 0x14], 0
call fcn.101037ad
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 2
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x34]
push 0x80
push 3
push 1
push SysReAllocString
push eax
lea ecx, [ebp - 0x14]
call fcn.100636f0
test al, al
jne 0x100a1605
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100a15f4
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x100a15e2
test eax, eax
je 0x100a15e2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.10103c3e
add esp, 8
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10004ab0
jmp 0x100a1740
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x14]
call fcn.100638d0
test al, al
jne 0x100a1651
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100a1634
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x100a1634
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100a1634
mov dword [esi], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.100636b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10004ab0
jmp 0x100a1740
mov esi, dword [ebp - 0x48]
mov ecx, ebx
push esi
call fcn.1005cb70
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push esi
push dword [ebx + 8]
lea ecx, [ebp - 0x14]
call fcn.100637e0
test al, al
je 0x100a1699
cmp dword [ebp - 0x18], esi
jne 0x100a1699
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.100636b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.10004ab0
jmp 0x100a1823
lea ecx, [ebp - 0x14]
call fcn.10063870
jmp 0x100a1634
cmp edi, 2
jne 0x100a173d
cmp dword [esi + 0x28], 0
je 0x100a173d
lea eax, [esi + 0x2c]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x14]
call fcn.1000b700
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3c]
call fcn.10006030
mov edi, dword [ebp + 8]
push eax
movzx eax, di
push eax
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x100a16f9
mov byte [ebp - 4], al
lea ecx, [ebp - 0x14]
call fcn.1000b730
jmp 0x100a1740
push ebx
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x100a1731
push ebx
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x100a1731
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x100a17f7
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.1000b730
mov edi, dword [ebp + 8]
push dword [ebp - 0x40]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.1000b700
mov byte [ebp - 4], 5
mov eax, dword [0x101a3e68]
test al, 1
jne 0x100a178b
or eax, 1
mov dword [0x101a3e68], eax
mov byte [ebp - 4], 6
mov dword [0x101a3e6c], 0
call fcn.1008c170
push 0x1014b440
call fcn.10103c29
add esp, 4
mov byte [ebp - 4], 5
mov eax, dword [0x101a3e6c]
mov esi, 0x10000000
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax + 0x44]
test eax, eax
cmovne esi, eax
call fcn.10006030
push eax
movzx eax, di
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x100a17e7
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x100a17e7
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x100a17e7
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x100a17f7
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.1000b730
xor bl, bl
jmp 0x100a1825
mov ecx, dword [ebp - 0x38]
push edi
call fcn.1005cb70
mov eax, dword [ebp - 0x38]
push edi
push ebx
push dword [eax + 8]
call fcn.10107970
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.1000b730
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.1000b730
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10103789
mov esp, ebp
pop ebp
ret 0xc