Function at 0x1103912
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x18
mov eax, 0x11bc4a6
call fcn.010aa62e
mov esi, ecx
push 0xa
xor ebx, ebx
push 0xc9
push ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
jne 0x1103957
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1103950
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x1103d38
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x1103971
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x1103946
jmp 0x1103950
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ebx, ebx
mov dword [ebp - 0x24], eax
cmp eax, ebx
jne 0x1103997
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jmp 0x110396d
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push dword [esi + 0x148]
push 0x101c924
push 0x101cc30
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
push eax
call sub.d3d10_1.dll_D3D10CompileShader
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x1c], edi
jge 0x11039d4
push 0xde
call fcn.010f17c2
pop ecx
jmp 0x1103ca7
mov ebx, dword [ebp + 8]
mov edi, dword [ebx]
lea eax, [esi + 0x1a0]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push eax
push ebx
call dword [edi + 0x13c]
mov edi, eax
test edi, edi
jge 0x1103a11
push 0xe2
call fcn.010f17c2
pop ecx
jmp 0x1103d38
mov edi, dword [ebx]
lea eax, [esi + 0x1b4]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push eax
push 3
push 0x101cf58
push ebx
call dword [edi + 0x138]
mov edi, eax
test edi, edi
jl 0x1103d38
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1103a57
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1103a68
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x148]
xor eax, eax
push 0x101c914
push 0x101cc1c
push eax
push eax
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call sub.d3d10_1.dll_D3D10CompileShader
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jge 0x1103aa3
push 0xdd
jmp 0x11039c9
mov edi, dword [ebx]
lea eax, [esi + 0x1a8]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push eax
push ebx
call dword [edi + 0x148]
mov edi, eax
test edi, edi
jge 0x1103ad7
push 0xe1
jmp 0x1103a06
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1103ae8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1103af9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x148]
xor eax, eax
push 0x101c914
push 0x101bdcc
push eax
push eax
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call sub.d3d10_1.dll_D3D10CompileShader
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jl 0x1103a99
mov edi, dword [ebx]
lea eax, [esi + 0x1b0]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push eax
push ebx
call dword [edi + 0x148]
mov edi, eax
test edi, edi
jl 0x1103acd
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1103b6d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1103b7e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x148]
xor eax, eax
push 0x101c924
push 0x101cbf4
push eax
push eax
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call sub.d3d10_1.dll_D3D10CompileShader
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jge 0x1103bb9
push 0xe0
jmp 0x11039c9
mov edi, dword [ebx]
lea eax, [esi + 0x1a4]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push eax
push ebx
call dword [edi + 0x13c]
mov edi, eax
test edi, edi
jge 0x1103bed
push 0xe4
jmp 0x1103a06
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1103bfe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1103c0f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x148]
xor eax, eax
push 0x101c914
push 0x101cc08
push eax
push eax
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call sub.d3d10_1.dll_D3D10CompileShader
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jge 0x1103c4a
push 0xdf
jmp 0x11039c9
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edi, dword [ebx]
add esi, 0x1ac
push esi
push eax
call dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push eax
push ebx
call dword [edi + 0x148]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
jge 0x1103c81
push 0xe3
jmp 0x1103a06
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1103c92
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1103d38
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1103d38
cmp dword [0x12361c4], 0
je 0x1103d38
mov ecx, dword [eax]
and dword [ebp - 4], 0
push eax
call dword [ecx + 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.01081fbb
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x10]
mov esi, eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push esi
push eax
lea ecx, [ebp + 8]
call fcn.01091ad5
lea eax, [ebp + 8]
push eax
mov eax, dword [0x12361c4]
mov ecx, eax
add eax, 0x90
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.010848da
push eax
call fcn.010855f6
pop ecx
lea ecx, [ebp + 8]
call fcn.0107d6e4
or dword [ebp - 4], 0xffffffff
jmp 0x1103d38
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1103d49
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1103d56
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
call fcn.010aa6e2
ret 4