Function at 0x100b00e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ff4a8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x1013c014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov al, byte [ebx + 0xc]
mov byte [ebp - 0x59], al
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
push 0x1010bf24
push 0x17
push 0
push 0x10103d50
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x100b0175
lea eax, [ebp - 0x60]
push eax
push 0x1010bf24
push 0x17
push 0
push 0x10103d40
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x100b0175
xor edi, edi
jmp 0x100b0387
mov dword [ebp - 0x6c], 0
test edi, edi
je 0x100b028d
push 0x1010b06c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x100b0374
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100b0374
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x78], eax
test eax, eax
je 0x100b0374
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
mov esi, eax
mov dword [ebp - 0x78], esi
test esi, esi
je 0x100b0239
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x60]
push edx
push 1
push 0
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x100b0228
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x58]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
jns 0x100b0250
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x100b0228
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x100b0239
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x16
test esi, esi
je 0x100b0374
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x100b0374
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x6c]
call fcn.10020310
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x100b026d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x100b027e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x1b
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x100b03e9
push str..bmp
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
call fcn.100dc721
add esp, 8
test eax, eax
jne 0x100b030e
push 0x2010
push eax
push eax
push eax
push esi
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
mov esi, eax
test esi, esi
je 0x100b0374
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 0x1e
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x60]
push edx
push 0
push 0
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x54]
test eax, eax
jns 0x100b02ea
push ecx
lea ecx, [ebp - 0x54]
call fcn.1001f8e0
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebp - 0x54], 0
jne 0x100b02f9
jmp 0x100b0374
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x6c]
call fcn.10020310
mov byte [ebp - 4], 0x22
jmp 0x100b03dc
mov dword [ebp - 0x54], 0
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x60]
push edx
push 1
push SysReAllocString
mov ecx, dword [eax]
push 0
push esi
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x100b0363
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 0x27
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x54]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
jns 0x100b03bb
mov byte [ebp - 4], 0x28
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x100b0363
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x29
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x100b0374
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor edi, edi
mov byte [ebp - 4], 0x33
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x100b0387
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0x34
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x100b039b
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100d4906
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x6c]
call fcn.10020310
mov byte [ebp - 4], 0x2c
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x100b03d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x2d
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x100b03e9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x68], 0
mov byte [ebp - 4], 0x2e
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x60]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
jns 0x100b040c
xor edi, edi
jmp 0x100b053a
mov eax, dword [ebp - 0x68]
mov esi, 0x10103d60
cmp byte [ebp - 0x59], 0
xorps xmm0, xmm0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
mov ecx, 0x10103d70
cmove ecx, esi
sub esp, 8
movsd qword [esp], xmm0
push 0
push 0
push ecx
push dword [ebp - 0x6c]
push eax
call edx
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
push edx
mov dword [ebp - 0x70], 0
lea edx, [ebp - 0x70]
mov dword [ebp - 0x64], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
cmp byte [ebx + 8], 0
xorps xmm0, xmm0
mov eax, dword [ebp - 0x70]
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x64]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x50], 0x28
movq qword [ebp - 0x2c], xmm0
je 0x100b0484
neg eax
push 0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0x200001
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
push 0
lea eax, [ebp - 0x50]
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov edi, eax
push esi
mov dword [ebp - 0x54], edi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp byte [ebx + 8], 0
je 0x100b04e2
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
push dword [ebp - 0x74]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x70]
imul edx, ecx
shl ecx, 2
shl edx, 2
push edx
push ecx
push 0
push eax
call esi
jmp 0x100b053a
mov edi, dword [ebp - 0x64]
xor eax, eax
mov dword [ebp - 0x58], eax
test edi, edi
je 0x100b0537
nop
mov edx, dword [ebp - 0x70]
sub edi, dword [ebp - 0x58]
mov dword [ebp - 0x20], eax
dec edi
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 1
mov ecx, dword [eax]
imul edi, edx
shl edx, 2
mov esi, dword [ecx + 0x1c]
mov ecx, dword [ebp - 0x74]
lea ecx, [ecx + edi*4]
push ecx
push edx
push edx
lea ecx, [ebp - 0x24]
push ecx
push eax
call esi
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x58], eax
cmp eax, edi
jb 0x100b04f0
mov edi, dword [ebp - 0x54]
mov byte [ebp - 4], 0x32
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x100b0376
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100b0376