Function at 0x100f128f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x48], ecx
push 0x173
push str.bartool.cpp
mov eax, dword [ebp - 0x48]
push eax
call fcn.1008cfd0
cmp dword [ebp + 8], 0
jne 0x100f12c8
push 0x174
push str.bartool.cpp
call fcn.100db7d0
test eax, eax
je 0x100f12c8
int3
xor ecx, ecx
test ecx, ecx
jne 0x100f12ae
call fcn.100de5b2
mov dword [ebp - 8], eax
push 0xf1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x100f12f9
xor eax, eax
jmp 0x100f1480
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x100f1317
xor eax, eax
jmp 0x100f1480
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100f1331
xor eax, eax
jmp 0x100f1480
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx]
cmp edx, 1
je 0x100f1352
push 0x183
push str.bartool.cpp
call fcn.100db7d0
test eax, eax
je 0x100f1352
int3
xor eax, eax
test eax, eax
jne 0x100f1331
push 0x185
push str.bartool.cpp
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx + 6]
shl edx, 2
push edx
call fcn.1007d5a3
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0
jmp 0x100f1392
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx + 6]
cmp dword [ebp - 0x18], eax
jge 0x100f13bc
mov ecx, dword [ebp - 0x10]
call fcn.100f1940
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov dx, word [eax + ecx*2]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov dword [ecx + eax*4], edx
jmp 0x100f1389
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx + 6]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.100f1693
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.1007d979
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x100f146a
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx + 4]
push edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 2]
push ecx
lea ecx, [ebp - 0x24]
call fcn.100de6b0
mov edx, dword [ebp - 0x10]
xor eax, eax
mov ax, word [edx + 4]
add eax, 7
push eax
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dx, word [ecx + 2]
add edx, 7
push edx
lea ecx, [ebp - 0x2c]
call fcn.100de6b0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.100f0ffd
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.100f1489
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.100075e0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4