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

Disassembly:
sub esp, 0x64
push ebx
push ebp
mov ebp, ecx
push esi
push str.__CTextureSystem::Color___n
mov dword [esp + 0x40], ebp
mov ecx, dword [ebp]
add ecx, 0x5a8
call fcn.00445d20
mov ecx, dword [ebp]
add ecx, 0x5a8
call fcn.00445cf0
mov ebx, dword [esp + 0x74]
mov ecx, dword [ebp + 0xc]
and ebx, 0xffff
xor esi, esi
lea eax, [ebx + ebx*2]
shl eax, 5
mov dword [esp + 0x44], eax
mov eax, dword [eax + ecx + 0x5c]
cmp eax, esi
jne 0x44b0cc
mov ecx, dword [ebp]
push ebx
push str.___WARNING_texure_not_fount_ID
add ecx, 0x5a8
call fcn.00445f00
mov ecx, dword [ebp]
add ecx, 0x5a8
call fcn.00445d00
mov ecx, dword [ebp]
push str.____n
add ecx, 0x5a8
call fcn.00445d20
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8
mov edx, dword [eax]
lea ecx, [esp + 0x50]
push edi
push ecx
push esi
push eax
call dword [edx + 0x38]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x24], esi
push edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], esi
call fcn.004393c0
mov ecx, dword [ebp]
mov edi, eax
mov esi, edi
add esp, 4
and esi, 0xffff
add ecx, 0x5a8
push esi
push str.___Bit_to_pixel
mov dword [esp + 0x44], edi
call fcn.00445f00
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x48]
push 0
push 0
mov eax, dword [ecx + eax + 0x5c]
lea ecx, [esp + 0x54]
push ecx
push 0
mov edx, dword [eax]
push eax
call dword [edx + pe_nt_image_headers32]
test eax, eax
jne 0x44b51d
cmp di, 0x10
jne 0x44b174
mov ecx, dword [ebp]
push str.___Bit_16_n
add ecx, 0x5a8
call fcn.00445d20
mov edx, dword [esp + 0x70]
imul edx, dword [esp + 0x6c]
add edx, edx
push edx
call fcn.004799d9
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], eax
jmp 0x44b1ab
cmp di, 0x20
jne 0x44b1ae
mov ecx, dword [ebp]
push str.___Bit_32_n
add ecx, 0x5a8
call fcn.00445d20
mov ecx, dword [esp + 0x70]
imul ecx, dword [esp + 0x6c]
shl ecx, 2
push ecx
call fcn.004799d9
mov edx, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edx
add esp, 4
mov ecx, dword [ebp]
push esi
push str.___Bit_to_pixel
add ecx, 0x5a8
call fcn.00445f00
lea eax, [esp + 0x38]
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x84]
lea eax, [esp + 0x34]
push edx
push eax
push ecx
push 0x14
call fcn.004395a0
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
xor ebx, ebx
add esp, 0x18
cmp ecx, ebx
mov dword [esp + 0x44], ebx
jbe 0x44b4a6
xor esi, esi
cmp eax, esi
mov dword [esp + 0x7c], esi
jbe 0x44b48f
cmp di, 0x10
jne 0x44b33d
lea edx, [esp + 0x18]
lea ecx, [esp + 0x78]
push edx
lea edx, [esp + 0x18]
push ecx
push edx
mov edx, ebx
lea ecx, [esp + 0x1c]
imul edx, eax
push ecx
mov ecx, dword [esp + 0x34]
add edx, esi
xor eax, eax
mov ax, word [ecx + edx*2]
mov edx, dword [esp + 0x64]
push eax
push edx
call fcn.004395a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
and eax, 0xffff
and ecx, 0xffff
imul eax, ecx
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fmul dword [0x4855dc]
call fcn.00479904
mov edx, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [esp + 0x48]
and edx, 0xffff
and eax, 0xffff
mov dword [esp + 0x28], edi
imul edx, eax
mov dword [esp + 0x2c], edx
fild dword [esp + 0x2c]
fmul dword [0x4855dc]
call fcn.00479904
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x4c]
and ecx, 0xffff
and edx, 0xffff
imul ecx, edx
mov dword [esp + 0x90], ecx
mov ebp, eax
fild dword [esp + 0x90]
mov dword [esp + 0x2c], ebp
fmul dword [0x4855dc]
call fcn.00479904
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x30]
and ecx, 0xffff
and eax, 0xffff
imul eax, ecx
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fmul dword [0x4855dc]
call fcn.00479904
mov dword [esp + 0x30], eax
push eax
mov eax, ebx
mov edx, dword [esp + 0x94]
imul eax, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x3c]
add eax, esi
xor ecx, ecx
push ebp
push edi
mov cx, word [edx + eax*2]
mov eax, dword [esp + 0x7c]
push ecx
push eax
jmp 0x44b45d
cmp di, 0x20
jne 0x44b474
lea ecx, [esp + 0x18]
lea edx, [esp + 0x78]
push ecx
lea ecx, [esp + 0x18]
push edx
push ecx
mov ecx, ebx
lea edx, [esp + 0x1c]
imul ecx, eax
push edx
mov edx, dword [esp + 0x38]
add ecx, esi
mov eax, dword [edx + ecx*4]
mov ecx, dword [esp + 0x64]
push eax
push ecx
call fcn.004395a0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
and edx, 0xffff
and eax, 0xffff
imul edx, eax
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
fmul dword [0x4855d8]
call fcn.00479904
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
and ecx, 0xffff
and edx, 0xffff
imul ecx, edx
mov dword [esp + 0x2c], ecx
mov edi, eax
fild dword [esp + 0x2c]
mov dword [esp + 0x28], edi
fmul dword [0x4855d8]
call fcn.00479904
mov ecx, dword [esp + 0x4c]
mov ebp, eax
mov eax, dword [esp + 0x90]
and ecx, 0xffff
and eax, 0xffff
mov dword [esp + 0x2c], ebp
imul eax, ecx
mov dword [esp + 0x90], eax
fild dword [esp + 0x90]
fmul dword [0x4855d8]
call fcn.00479904
mov edx, dword [esp + 0x30]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x50]
and edx, 0xffff
and eax, 0xffff
imul edx, eax
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
fmul dword [0x4855d8]
call fcn.00479904
mov edx, ebx
mov ecx, dword [esp + 0x90]
imul edx, dword [esp + 0x84]
mov dword [esp + 0x30], eax
push eax
mov eax, dword [esp + 0x3c]
add edx, esi
push ecx
push ebp
lea ecx, [eax + edx*4]
mov edx, dword [esp + 0x78]
push edi
push ecx
push edx
call fcn.004394d0
mov eax, dword [esp + 0x9c]
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
add esp, 0x30
mov esi, dword [esp + 0x7c]
inc esi
mov dword [esp + 0x7c], esi
and esi, 0xffff
cmp esi, eax
jb 0x44b212
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x44]
inc ebx
mov dword [esp + 0x44], ebx
and ebx, 0xffff
cmp ebx, ecx
jb 0x44b204
cmp di, 0x10
jne 0x44b4c4
imul ecx, eax
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
add ecx, ecx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x44b4e1
cmp di, 0x20
jne 0x44b4e6
imul ecx, eax
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x44b4f7
push eax
call fcn.00479ef5
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x44b508
push eax
call fcn.00479ef5
add esp, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x48]
push 0
mov eax, dword [ecx + eax + 0x5c]
push eax
mov edx, dword [eax]
call dword [edx + 0x44]
jmp 0x44b531
mov ecx, dword [ebp]
push ebx
push str.___WARNING_Error_lock_texture
add ecx, 0x5a8
call fcn.00445f00
mov ecx, dword [ebp]
add ecx, 0x5a8
call fcn.00445d00
mov ecx, dword [ebp]
push str.____n
add ecx, 0x5a8
call fcn.00445d20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8