Function at 0x44ca50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51aef0
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x55b598]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x47c], ecx
mov dword [ebp - 0x468], 0
mov eax, dword [ecx + 0xc]
lea esi, [ecx + 0x64]
mov dword [edi + 0x14], eax
mov eax, dword [ecx + 8]
mov dword [edi + 0x18], eax
cmp byte [ecx + 0x1c], 0
setne al
mov byte [edi + 0x24], al
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x1c], eax
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x20], eax
lea eax, [ecx + 0x10]
mov ebx, dword [ecx + 0x20]
push eax
mov dword [edi + 0x30], ebx
mov dword [ebp - 0x480], eax
call fcn.00404340
add esp, 4
mov dword [ebp - 0x46c], eax
cmp byte [edi + 0x54], 0
je 0x44cafd
cmp ebx, 1
jne 0x44caeb
mov dword [edi + 0x30], 8
push ebx
jmp 0x44caed
push 0
push 0x8191
push 0xde1
call dword [sym.imp.OPENGL32.dll_glTexParameteri]
mov eax, dword [ebp - 0x47c]
xor ebx, ebx
cmp dword [eax + 0x20], ebx
jle 0x44cd2f
nop
mov eax, esi
add esi, 0x18
mov dword [ebp - 0x45c], eax
mov dword [ebp - 0x460], esi
mov eax, dword [eax + 8]
add dword [ebp - 0x468], eax
push eax
call fcn.004020a0
mov esi, eax
mov eax, dword [ebp - 0x45c]
push dword [eax + 8]
push dword [ebp - 0x460]
push esi
call fcn.004efc50
mov ecx, dword [ebp - 0x45c]
add ecx, 4
push ecx
call fcn.00404340
push dword [ebp - 0x45c]
mov dword [ebp - 0x464], eax
call fcn.00404340
add esp, 0x18
mov ecx, eax
mov dword [ebp - 0x474], ecx
test ebx, ebx
jne 0x44cb83
mov ecx, edi
call fcn.0044cf00
mov ecx, dword [ebp - 0x474]
mov edx, dword [ebp - 0x46c]
cmp edx, 0x1312d00
jne 0x44cc2e
mov eax, 0xd8ff
cmp word [esi], ax
je 0x44cbbd
push esi
push 0x1401
push 0x1907
push 0
push ecx
push dword [ebp - 0x464]
push 0x8051
jmp 0x44ccc6
lea ecx, [ebp - 0x458]
call fcn.00449570
mov eax, dword [ebp - 0x45c]
lea ecx, [ebp - 0x458]
push 0
push 0
mov dword [ebp - 4], 0
push dword [eax + 8]
push 0
push esi
call fcn.0044ac00
test al, al
je 0x44cd12
push esi
call fcn.004eecc3
mov eax, dword [edi]
lea ecx, [ebp - 0x458]
add esp, 4
xor esi, esi
mov eax, dword [eax + 0x14]
push ebx
push esi
push ecx
mov ecx, edi
call eax
test al, al
je 0x44cd0b
lea ecx, [ebp - 0x458]
mov dword [ebp - 4], 0xffffffff
call fcn.00449650
jmp 0x44ccd2
mov eax, dword [ebp - 0x480]
mov eax, dword [eax]
cmp eax, 0x8c00
jl 0x44cc48
cmp eax, 0x8c03
jle 0x44ccd2
mov al, byte [edi + 0x24]
test al, al
jne 0x44cc65
mov dword [ebp - 0x470], 0x1907
mov dword [ebp - 0x478], 0x8051
jmp 0x44cc79
mov dword [ebp - 0x478], 0x8058
mov dword [ebp - 0x470], 0x1908
cmp dword [edi + 0x28], 1
jne 0x44cc8a
test al, al
je 0x44cc8a
mov dword [edi + 0x2c], 2
cmp dword [edi + 0x2c], 2
jne 0x44ccaa
test al, al
je 0x44ccaa
push edx
push ecx
push dword [ebp - 0x464]
mov ecx, edi
push esi
call fcn.0044cdd0
mov edx, dword [ebp - 0x46c]
push esi
push edx
push dword [ebp - 0x470]
push 0
push dword [ebp - 0x474]
push dword [ebp - 0x464]
push dword [ebp - 0x478]
push ebx
push 0xde1
call dword [sym.imp.OPENGL32.dll_glTexImage2D]
mov eax, dword [ebp - 0x45c]
mov ecx, dword [ebp - 0x460]
add ecx, dword [eax + 8]
mov dword [ebp - 0x460], ecx
test esi, esi
je 0x44ccf4
push esi
call fcn.004eecc3
add esp, 4
mov eax, dword [ebp - 0x47c]
inc ebx
cmp ebx, dword [eax + 0x20]
jge 0x44cd2f
mov esi, dword [ebp - 0x460]
jmp 0x44cb10
mov eax, str.Failed_to_init_from_surface_
jmp 0x44cd17
mov eax, str._Failed_to_load_image_inside_of_rttex_
push eax
call fcn.004580c0
add esp, 4
lea ecx, [ebp - 0x458]
call fcn.00449650
xor al, al
jmp 0x44cd45
push dword [ebp - 0x468]
mov ecx, edi
call fcn.0044c020
mov ecx, edi
call fcn.0044d0c0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ee2fb
mov esp, ebp
pop ebp
ret 4