Function at 0x44cf70
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 0x478f06
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
mov eax, dword [0x491240]
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 dword [ebp - 0x88], ecx
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x7c], eax
movzx eax, word [ebx + 8]
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x44cff6
push 0x10
push str.Error
push str.Failed_to_find_resource.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x80004005
jmp 0x44d5d9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x44d01f
push 0x10
push str.Error
push str.Failed_to_load_resource.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x80004005
jmp 0x44d5d9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x84], eax
test eax, eax
jne 0x44d04d
push 0x10
push str.Error
push str.Failed_to_lock_resource.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x80004005
jmp 0x44d5d9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jne 0x44d078
push 0x10
push str.Error
push str.Resource_size_is_zero.
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x80004005
jmp 0x44d5d9
push 0x34
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00453ab0
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
sub esp, 0x1c
mov dword [ebp - 4], 0
mov eax, esp
mov dword [eax + 0x24], 0
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push esi
push dword [ebp - 0x84]
call fcn.0044f780
mov esi, eax
add esp, 0x3c
mov dword [ebp - 0x84], esi
test esi, esi
jns 0x44d53d
push 0
push 0
lea eax, [ebp - 0x7c]
push eax
push 0x400
push esi
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [ebp - 0x7c]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44d125
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00406e00
mov edx, esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd4]
call fcn.0044da10
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xc0]
mov eax, edx
mov ecx, dword [ebp - 0xc4]
sub eax, ecx
cmp eax, 0x32
jb 0x44d1ef
cmp edx, 0xf
lea esi, [ebp - 0xd4]
lea eax, [ecx + 0x32]
cmova esi, dword [ebp - 0xd4]
mov dword [ebp - 0xc4], eax
cmp esi, 0x489abe
jae 0x44d1a7
lea eax, [esi + ecx]
cmp eax, str.Failed_to_load_texture_from_resource:_nError_Code:
jb 0x44d1a7
cmp esi, str.Failed_to_load_texture_from_resource:_nError_Code:
ja 0x44d19d
xor edi, edi
jmp 0x44d1ac
mov edi, esi
sub edi, str.Failed_to_load_texture_from_resource:_nError_Code:
jmp 0x44d1ac
mov edi, 0x32
lea eax, [ecx + 1]
push eax
lea ecx, [esi + 0x32]
push esi
push ecx
call fcn.00453530
add esp, 0xc
push edi
push str.Failed_to_load_texture_from_resource:_nError_Code:
push esi
call fcn.00453530
add esp, 0xc
lea ecx, [edi + 0x489abe]
mov edx, 0x32
lea eax, [esi + edi]
sub edx, edi
push edx
push ecx
push eax
call fcn.00453530
add esp, 0xc
lea eax, [ebp - 0xd4]
jmp 0x44d207
push 0x32
sub esp, 8
lea ecx, [ebp - 0xd4]
push dword [ebp - 0x8c]
push 0x32
call fcn.0044dbb0
mov dword [ebp - 0xac], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xbc], xmm0
mov dword [ebp - 0xa8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xbc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xac], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xa8]
mov eax, edx
mov ecx, dword [ebp - 0xac]
sub eax, ecx
cmp eax, 1
jb 0x44d28d
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xbc]
cmova eax, dword [ebp - 0xbc]
mov word [eax + ecx], 0xa
lea eax, [ebp - 0xbc]
jmp 0x44d2a7
push 1
push 0x488e04
push dword [ebp - 0x8c]
lea ecx, [ebp - 0xbc]
push 1
call fcn.00407700
mov dword [ebp - 0x94], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x90], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x94], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x30]
cmp eax, 0xf
mov edi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x94]
cmova edx, edi
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x90]
sub eax, esi
mov dword [ebp - 0x80], esi
push ecx
push edx
cmp ecx, eax
ja 0x44d365
cmp dword [ebp - 0x90], 0xf
lea eax, [ecx + esi]
mov dword [ebp - 0x94], eax
lea esi, [ebp - 0xa4]
cmova esi, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x80]
add eax, esi
push eax
call fcn.00453530
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebp - 0x80]
add eax, esi
mov esi, dword [ebp - 0x88]
mov byte [eax + ecx], 0
lea eax, [ebp - 0xa4]
jmp 0x44d37d
push dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0xa4]
call fcn.00407700
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x90]
cmp ecx, 0xf
jbe 0x44d3ee
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44d3e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d5f7
push ecx
push edx
call fcn.0045188d
add esp, 8
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
cmp ecx, 0xf
jbe 0x44d443
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44d439
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d5f7
push ecx
push edx
call fcn.0045188d
add esp, 8
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
cmp ecx, 0xf
jbe 0x44d498
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44d48e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d5f7
push ecx
push edx
call fcn.0045188d
add esp, 8
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
push 0x10
cmova eax, dword [ebp - 0x2c]
push str.Error_Loading_Texture
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x44d4f0
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x44d4e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d5fc
push ecx
push edx
call fcn.0045188d
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp esi, 0xf
jbe 0x44d532
lea ecx, [esi + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x44d528
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d5fc
push ecx
push edi
call fcn.0045188d
add esp, 8
mov esi, dword [ebp - 0x84]
jmp 0x44d5cb
push dword [ebp - 0x80]
mov edi, dword [ebp - 0x88]
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 0x4c]
mov ecx, edi
push eax
push dword [ebp - 0x78]
call fcn.0044d610
mov esi, eax
add esp, 0xc
test esi, esi
jns 0x44d59b
mov edx, str.Failed_to_create_texture._HRESULT:
mov ecx, 0x4923c0
call fcn.00406860
push esi
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax + 0x14]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [edx + eax + 0x14], ecx
mov ecx, eax
call fcn.0044d7d0
push eax
call fcn.00406b00
add esp, 4
jmp 0x44d5cb
push dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x80]
mov eax, dword [edi]
push 0
push dword [ecx]
push edi
call dword [eax + 0x1c]
mov esi, eax
test esi, esi
jns 0x44d5c9
mov edi, dword [ebp - 0x80]
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [edi], 0
mov edx, str.Failed_to_create_shader_resource_view._HRESULT:
jmp 0x44d565
xor esi, esi
lea eax, [ebp - 0x78]
push eax
call fcn.0044fe20
add esp, 4
mov eax, esi
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.00451845
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0045b4d5
call fcn.0045b4d5
int3