Function at 0x97b10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x30]
mov eax, dword [eax*4 + 0x16cf2c]
push eax
mov eax, ebx
call fcn.0001416c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
jne 0x97b51
mov eax, 0x97fc4
call fcn.00082a08
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x97b6e
mov eax, 0x97fc4
call fcn.00082a08
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp word [eax + 2], 1
jne 0x97b8d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 0
jne 0x97ba0
mov eax, dword [ebp - 0x10]
cmp word [eax + 2], 2
jne 0x97baa
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 0
jne 0x97baa
mov eax, 0x97fc4
call fcn.00082a08
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x97fa2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov bx, 0xfffb
call fcn.000131cc
mov eax, dword [ebp - 0x10]
movzx ebx, word [eax + 4]
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], ebx
push ebx
mov eax, dword [ebp - 4]
add eax, 0x38
mov ecx, 1
mov edx, dword [0x96c0c]
call fcn.00015958
add esp, 4
mov eax, dword [ebp - 4]
imul edx, dword [eax + 0x34], 0x44
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
xor ecx, ecx
call fcn.00012c70
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 4]
dec eax
test eax, eax
jl 0x97f78
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], 0
mov esi, dword [ebp - 0x1c]
mov eax, esi
shl esi, 3
sub esi, eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + esi*2 + 0x12]
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 0x30]
mov edx, dword [edx*4 + 0x16cf34]
push edx
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
jne 0x97c5f
mov eax, 0x97fc4
call fcn.00082a08
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x97c7c
mov eax, 0x97fc4
call fcn.00082a08
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
xor edx, edx
push ebp
push 0x97f65
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x1c]
mov edx, eax
shl eax, 4
add eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x38]
lea eax, [edx + eax*4]
mov dword [ebp - 0x28], eax
xor edx, edx
push ebp
push 0x97f2f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 0
je 0x97cf7
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + esi*2 + 6]
mov edx, dword [ebp - 0x28]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + esi*2 + 8]
mov edx, dword [ebp - 0x28]
mov dword [edx + 4], eax
mov eax, ebx
movzx edx, word [eax]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x14], edx
movzx eax, word [eax + 2]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x18], eax
add ebx, 4
jmp 0x97d12
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + esi*2 + 6]
mov edx, dword [ebp - 0x28]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + esi*2 + 7]
mov edx, dword [ebp - 0x28]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
jne 0x97d23
mov eax, dword [ebp - 0x28]
mov dword [eax], pe_nt_image_headers32
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
jne 0x97d36
mov eax, dword [ebp - 0x28]
mov dword [eax + 4], pe_nt_image_headers32
mov eax, dword [ebp - 0x10]
lea edx, [eax + esi*2 + 6]
mov eax, dword [ebp - 8]
call fcn.00097ae4
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + esi*2 + 0xc]
mov edx, dword [ebp - 0x28]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0xc]
mov eax, 8
call fcn.0003f104
mov byte [ebp - 0x37], al
lea edx, [ebp - 0x36]
mov ecx, ebx
xchg ecx, eax
call fcn.0001291c
lea eax, [ebp - 0x37]
mov edx, 0x97fdc
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00012c00
je 0x97d9f
lea eax, [ebp - 0x37]
mov edx, 0x97fe8
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00012c00
jne 0x97dce
mov eax, dword [ebp - 0x28]
mov byte [eax + 0x3c], 1
mov dl, 1
mov eax, dword [0x35c08]
call fcn.00012fc0
mov esi, eax
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x40], esi
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xc]
mov edx, ebx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 8]
jmp 0x97f25
movzx eax, word [ebx + 0xe]
mov edx, dword [ebp - 0x28]
mov dword [edx + 8], eax
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x28]
mov dword [edx], eax
mov eax, dword [ebx + 8]
shr eax, 1
mov edx, dword [ebp - 0x28]
mov dword [edx + 4], eax
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x24]
push edx
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx + 8]
mov edx, eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
call fcn.00096db8
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
call fcn.00096df0
mov esi, eax
shl esi, 2
add esi, 0x28
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
add edx, esi
add edx, dword [ebp - 0x24]
cmp eax, edx
sete al
test al, al
jne 0x97e39
mov eax, 0x97ffc
call fcn.00082a08
mov eax, esi
call fcn.0001271c
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x20], esi
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x1c]
mov eax, ebx
mov ecx, esi
call fcn.0001291c
mov eax, dword [ebp - 0x28]
mov edi, dword [eax + 0x1c]
mov eax, dword [edi + 8]
sar eax, 1
jns 0x97e6b
adc eax, 0
mov dword [edi + 8], eax
push 0
push 0
mov eax, dword [ebp - 0x28]
add eax, 0x24
push eax
push 0
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_CreateDIBSection
call fcn.0009655c
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x97eb3
mov edx, eax
mov eax, ebx
add eax, esi
mov ecx, dword [ebp - 0xc]
call fcn.0001291c
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x28], edx
jmp 0x97ebd
mov eax, 0x98018
call fcn.00082a08
lea ecx, [ebp - 0x67]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
call fcn.00096e94
push 0
push 0
mov eax, dword [ebp - 0x28]
add eax, 0x30
push eax
push 0
lea eax, [ebp - 0x67]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_CreateDIBSection
call fcn.0009655c
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x97f1b
mov edx, eax
mov eax, dword [ebp - 0xc]
add eax, esi
add eax, ebx
mov ecx, dword [ebp - 0x24]
call fcn.0001291c
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x34], edx
jmp 0x97f25
mov eax, 0x98018
call fcn.00082a08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x97f46
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x97f6c
mov eax, dword [ebp - 0x20]
call fcn.00018108
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_FreeResource
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x97fa9
mov eax, dword [ebp - 0x14]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 0x18]
call fcn.00018108
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_FreeResource
ret