Function at 0x10014610
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021a78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx]
mov dword [ebp - 0x14], ebx
call dword [eax + 0x18]
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov edi, dword [ebp + 8]
mov ecx, dword [0x1002b934]
and edi, 0xffff
push 0x10029ae4
push edi
push ecx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x10014698
mov edx, dword [0x1002b934]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x1002b934]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10014698
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x34], eax
mov al, 1
jmp 0x1001469a
xor al, al
test al, al
je 0x10014973
push 0
push 0
push 0
push str.1.2.8
call fcn.10015c10
add esp, 0x10
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1001495a
push eax
call fcn.1001b930
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10014948
push 0x10027890
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
push ecx
push 0x1002107e
push 3
push edx
call sub.MSVCRT.dll__setjmp3
add esp, 0x14
test eax, eax
jne 0x10014945
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x34]
push 0x100149e0
push eax
push ecx
call fcn.1001b770
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push edx
push eax
call fcn.10015e70
mov esi, dword [ebp - 0x14]
push 0
push 0
lea ecx, [ebp - 0x1c]
push 0
lea edx, [ebp - 0x20]
lea eax, [esi + 0x10]
push ecx
mov ecx, dword [ebp - 0x10]
push edx
add esi, 0xc
push eax
mov eax, dword [ebp - 0x18]
push esi
push eax
push ecx
call fcn.1001b5d0
mov ebx, dword [esi]
add esp, 0x38
shl ebx, 2
test bl, 3
je 0x10014750
inc ebx
test bl, 3
jne 0x1001474a
push 0x2c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov ecx, 0xa
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x14]
mov dword [esi], 0x28
add esp, 4
lea ecx, [ebp - 0x28]
mov edx, dword [edi + 0xc]
add edi, 0x10
mov dword [esi + 4], edx
mov eax, dword [edi]
mov word [esi + 0xc], 1
mov dword [esi + 8], eax
xor eax, eax
push eax
push eax
push ecx
push eax
push esi
push eax
mov word [esi + 0xe], 0x20
mov dword [esi + 0x10], eax
mov dword [esi + 0x20], eax
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov edx, dword [ebp - 0x14]
push esi
mov dword [edx + 0x1c], eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0x14]
add esp, 4
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x10014945
mov eax, dword [ebp - 0x1c]
cmp eax, 3
jne 0x100147d5
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10017210
mov eax, dword [ebp - 0x1c]
add esp, 4
test eax, eax
je 0x100147de
cmp eax, 4
jne 0x100147ed
mov edx, dword [ebp - 0x10]
push edx
call fcn.10017220
mov eax, dword [ebp - 0x1c]
add esp, 4
test eax, eax
jne 0x10014803
cmp dword [ebp - 0x20], 8
jge 0x10014803
mov eax, dword [ebp - 0x10]
push eax
call fcn.10017210
add esp, 4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
push 0x10
push ecx
push edx
call fcn.1001b5b0
add esp, 0xc
test eax, eax
je 0x10014827
mov eax, dword [ebp - 0x10]
push eax
call fcn.10017210
add esp, 4
jmp 0x1001483a
mov ecx, dword [ebp - 0x10]
push 1
push 0xff
push ecx
call fcn.10016db0
add esp, 0xc
cmp dword [ebp - 0x20], 0x10
jne 0x10014855
mov edx, dword [ebp - 0x10]
push edx
call fcn.10016d90
mov eax, dword [ebp - 0x10]
push eax
call fcn.10017200
add esp, 8
mov eax, dword [ebp - 0x1c]
cmp eax, 2
je 0x10014862
cmp eax, 6
jne 0x1001486e
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10016d80
add esp, 4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push edx
push eax
call fcn.10016210
push 4
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [edi]
add esp, 0xc
dec ecx
mov edx, dword [ebp - 0x28]
imul ecx, ebx
mov esi, eax
add ecx, edx
mov dword [ebp - 0x24], 0
mov dword [esi], ecx
mov eax, dword [edi]
test eax, eax
jle 0x100148c5
mov edx, dword [ebp - 0x10]
push 1
push 0
push esi
push edx
call fcn.10016700
mov eax, dword [esi]
add esp, 0x10
sub eax, ebx
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [edi]
inc eax
cmp eax, ecx
mov dword [ebp - 0x24], eax
jl 0x100148a1
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0x10]
push 0
push eax
call fcn.10016790
mov ecx, dword [edi]
mov eax, dword [ebp - 0x28]
add esp, 0xc
xor edx, edx
test ecx, ecx
jle 0x10014945
mov ecx, dword [ebp - 0x14]
xor esi, esi
lea edi, [ecx + 0xc]
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jle 0x1001493a
mov cl, byte [eax + 3]
test cl, cl
je 0x1001492a
xor ebx, ebx
and ecx, 0xff
mov bl, byte [eax]
imul ebx, ecx
sar ebx, 8
mov byte [eax], bl
xor ebx, ebx
mov bl, byte [eax + 1]
imul ebx, ecx
sar ebx, 8
mov byte [eax + 1], bl
xor ebx, ebx
mov bl, byte [eax + 2]
imul ebx, ecx
sar ebx, 8
mov byte [eax + 2], bl
jmp 0x10014930
mov dword [eax], 0
mov ecx, dword [edi]
add eax, 4
inc esi
cmp esi, ecx
jl 0x100148f3
mov ecx, dword [ebp - 0x14]
inc edx
add ecx, 0x10
cmp edx, dword [ecx]
jl 0x100148e4
mov ebx, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 0
lea eax, [ebp - 0x10]
push edx
push eax
call fcn.10016a40
add esp, 0xc
mov byte [ebx + 0x18], 0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x1002b934]
push edi
push ecx
call dword [sym.imp.USER32.dll_LoadBitmapA]
test eax, eax
mov dword [ebx + 0x1c], eax
je 0x100149be
lea edx, [ebp - 0x4c]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x100149be
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], ecx
mov byte [ebx + 0x18], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4