Function at 0x440180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x4fc00c]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
push 2
mov edx, dword [esi + 0xc]
push edx
mov dword [esp + 0x18], edi
mov eax, dword [edx]
call dword [eax + 0x3c]
mov dword [esi + 0xf8], eax
mov eax, dword [esi + 0xc]
push 3
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov dword [esi + 0xfc], eax
mov eax, dword [esi + 0xc]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov ecx, dword [esi + 0xc]
lea edx, [esi + 0x44]
push edx
mov dword [esi + 0x100], eax
lea edx, [esp + 0x34]
movzx eax, byte [ebp + 8]
push 0x4f07ec
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], 2
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x38]
test eax, eax
jns 0x44023a
push eax
push str._t_RTV_CreateDescriptorHeap_failed__d_n
push edi
call fcn.0044d1b0
add esp, 0xc
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0x10
xor al, al
mov byte [esp + 0xf], al
cmp byte [ebp + 8], al
jbe 0x4402ac
mov edx, dword [esi + 0x18]
movzx edi, al
lea eax, [esi + 0x48]
mov ecx, dword [edx]
lea eax, [eax + edi*4]
push eax
push 0x4f0388
push edi
push edx
call dword [ecx + 0x24]
test eax, eax
js 0x44030e
mov eax, dword [esi + 0x44]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ecx, dword [eax]
mov dword [esi + edi*4 + 0x5c], ecx
mov eax, dword [esi + 0xf8]
imul eax, edi
add eax, ecx
mov dword [esi + edi*4 + 0x5c], eax
mov ecx, dword [esi + 0xc]
push eax
push 0
push dword [esi + edi*4 + 0x48]
mov edx, dword [ecx]
push ecx
call dword [edx + 0x50]
mov al, byte [esp + 0xf]
inc al
mov byte [esp + 0xf], al
cmp al, byte [ebp + 8]
jb 0x440245
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0xc]
lea edx, [esi + 0x70]
push edx
push 0x4f07ec
mov dword [esp + 0x4c], 1
lea edx, [esp + 0x48]
mov dword [esp + 0x48], 3
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x38]
test eax, eax
jns 0x440339
push eax
push str._t_DSV_CreateDescriptorHeap_failed__d_n
push edi
call fcn.0044d1b0
add esp, 0xc
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0x10
push eax
push edi
push str._t_SwapChain::GetBuffer__d__failed__d_n
push dword [esp + 0x1c]
call fcn.0044d1b0
add esp, 0x10
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0x10
movzx eax, word [ebp + 0xc]
xorps xmm0, xmm0
mov ecx, dword [esi + 0xc]
cdq
mov dword [esp + 0xa4], edx
lea edx, [esi + 0x74]
push edx
push 0x4f0388
lea edx, [esp + 0x58]
mov dword [esp + 0xa8], eax
movzx eax, word [ebp + 0x10]
push edx
push 0x10
movaps xmmword [esp + 0x60], xmm0
lea edx, [esp + 0xa0]
push edx
push 0
mov dword [esp + 0x94], 1
lea edx, [esp + 0x94]
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
movlpd qword [esp + 0xac], xmm0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xa8], 3
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], 0x2d
mov dword [esp + 0xd4], 0
mov dword [esp + 0xcc], 1
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd8], 2
mov dword [esp + 0x78], 0
mov dword [esp + 0x68], 0x2d
mov dword [esp + 0x6c], 0x3f800000
mov byte [esp + 0x70], 0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x6c]
test eax, eax
jns 0x440475
push eax
push str._t_CreateCommittedResource_failed__d_n
push edi
call fcn.0044d1b0
add esp, 0xc
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x70]
lea edx, [esp + 0x14]
xorps xmm0, xmm0
mov dword [esp + 0x1c], 3
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x18], 0x2d
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
mov ecx, dword [esi + 0xc]
mov eax, dword [eax]
push eax
mov dword [esi + 0x78], eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx]
push eax
push dword [esi + 0x74]
push ecx
call dword [edx + 0x54]
mov ecx, dword [esp + 0xcc]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0047d312
mov esp, ebp
pop ebp
ret 0x10