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

Disassembly:
push 0xffffffffffffffff
push 0x6cab58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [esp + 0x74]
push edi
mov edi, ecx
mov ecx, dword [0x750814]
push eax
call fcn.005b4e10
test eax, eax
mov dword [esp + 8], eax
jne 0x5c9127
xor al, al
pop edi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 0x10
mov ecx, dword [edi + 4]
movzx edx, word [ecx + 0x28]
mov eax, dword [edi + 8]
mov dword [esp + 0x14], edx
movzx edx, word [eax + 0x24]
movzx eax, word [eax + 0x26]
mov dword [esp + 0x38], eax
mov ecx, edx
mov edx, dword [edi + 8]
movzx eax, word [edx + 0x28]
movzx edx, word [edx + 0x2a]
add eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x44], eax
add edx, 3
and edx, 0xfffffffc
mov dword [esp + 0x48], edx
push ebx
mov ebx, dword [esp + 0x84]
add edx, ebx
push ebp
push esi
mov esi, dword [esp + 0x88]
lea ebp, [esi + eax]
mov eax, edx
sub eax, ebx
mov dword [esp + 0x6c], edx
cdq
and edx, 3
add eax, edx
mov dword [esp + 0x64], ebx
mov ebx, eax
mov eax, ebp
sub eax, esi
cdq
and edx, 3
add eax, edx
mov dword [esp + 0x68], ebp
mov ebp, eax
mov eax, dword [esp + 0x20]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
cdq
and edx, 3
add eax, edx
mov dword [esp + 0x60], esi
mov esi, eax
mov eax, ecx
mov ecx, dword [0x74f090]
cdq
and edx, 3
add eax, edx
sar eax, 2
sar ebx, 2
sar ebp, 2
sar esi, 2
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x84], 0x33545844
mov dword [esp + 0x78], 0
jne 0x5c9259
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x60]
push edx
push 0
push eax
call dword [ecx + 0x40]
test eax, eax
jge 0x5c9243
push 0x133
push str.._sourceD3DMBitmap.cpp
push eax
call fcn.005786b0
mov eax, dword [esp + 0x24]
add esp, 0xc
pop esi
pop ebp
pop ebx
mov dword [0x74f090], eax
xor al, al
pop edi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 0x10
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
jmp 0x5c92af
mov edx, ebp
imul edx, ebx
shl edx, 4
mov dword [esp + 0x2c], edx
add edx, ecx
cmp edx, dword [0x74f094]
mov dword [esp + 0x88], edx
ja 0x5c9291
mov edx, dword [0x74f08c]
add ecx, edx
mov edx, dword [esp + 0x88]
mov dword [0x74f090], edx
mov dword [esp + 0x24], ecx
jmp 0x5c92a6
mov eax, dword [esp + 0x2c]
push eax
call fcn.00630ca0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
add esp, 4
mov ecx, ebp
shl ecx, 4
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov ecx, dword [edi + 8]
mov dl, byte [ecx + 0x1c]
cmp dl, 5
mov byte [esp + 0x88], dl
jne 0x5c956e
mov edx, dword [edi + 4]
cmp byte [edx + 0x1c], 4
jne 0x5c944b
push 0
push 0
call fcn.006bef20
test eax, eax
mov dword [esp + 0x34], eax
jne 0x5c9325
cmp dword [esp + 0x84], 0x33545844
jne 0x5c9304
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x44]
mov edx, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
mov dword [0x74f090], edx
xor al, al
pop edi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret 0x10
mov ecx, dword [edi + 4]
push 0
push 0
call fcn.006bef20
test eax, eax
mov dword [esp + 0x20], eax
je 0x5c92eb
mov eax, dword [0x74f090]
mov dword [esp + 0x40], eax
lea eax, [ebp*8]
push eax
call fcn.0040f150
mov edi, eax
mov eax, dword [esp + 0x34]
shl eax, 3
push eax
mov dword [esp + 0x90], eax
call fcn.0040f150
add esp, 8
test esi, esi
mov dword [esp + 0x3c], eax
jbe 0x5c9388
mov ecx, dword [esp + 0x88]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.005c6730
add esp, 8
dec esi
jne 0x5c9370
test ebx, ebx
jbe 0x5c943d
mov dword [esp + 0x2c], ebx
jmp 0x5c93a0
mov esi, dword [esp + 0x10]
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x30]
push eax
push 0
push edi
lea eax, [ebp*8]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.005c6c00
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x9c]
mov byte [esp + 0x4c], 0
mov edx, dword [esp + 0x4c]
push edx
push 0
push ebx
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.005c6c00
add esp, 0x28
test ebp, ebp
mov eax, edi
jbe 0x5c9420
mov edx, dword [esp + 0x28]
lea ecx, [edx*8]
sub ecx, edi
add ecx, ebx
mov edx, ebp
mov ebx, dword [eax]
mov dword [esi], ebx
mov ebx, dword [eax + 4]
mov dword [esi + 4], ebx
mov ebx, dword [ecx + eax]
mov dword [esi + 8], ebx
mov ebx, dword [ecx + eax + 4]
mov dword [esi + 0xc], ebx
add esi, 0x10
add eax, 8
dec edx
jne 0x5c9400
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
add ecx, edx
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], eax
jne 0x5c93a0
mov eax, dword [esp + 0x40]
mov dword [0x74f090], eax
jmp 0x5c95fa
mov dl, byte [esp + 0x88]
cmp dl, 5
jne 0x5c956e
mov edx, dword [edi + 4]
cmp byte [edx + 0x1c], 1
jne 0x5c9567
imul esi, dword [esp + 0x20]
mov edx, dword [edx + 0xc]
add esi, eax
push 0
lea eax, [edx + esi*8]
push 0
mov dword [esp + 0x90], eax
call fcn.006bef20
test eax, eax
mov dword [esp + 0x3c], eax
je 0x5c92eb
mov eax, dword [0x74f090]
mov dword [esp + 0x38], eax
lea eax, [ebp*8]
push eax
call fcn.0040f150
add esp, 4
test ebx, ebx
mov edi, eax
jbe 0x5c9558
mov ecx, dword [esp + 0x20]
lea edx, [ecx*8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
jmp 0x5c94d0
mov esi, dword [esp + 0x10]
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x40]
push eax
push 0
push edi
lea eax, [ebp*8]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.005c6c00
add esp, 0x14
test ebp, ebp
mov eax, edi
jbe 0x5c9527
mov ecx, dword [esp + 0x88]
sub ecx, edi
mov edx, ebp
mov ebx, dword [eax]
mov dword [esi], ebx
mov ebx, dword [eax + 4]
mov dword [esi + 4], ebx
mov ebx, dword [ecx + eax]
mov dword [esi + 8], ebx
mov ebx, dword [ecx + eax + 4]
mov dword [esi + 0xc], ebx
add esi, 0x10
add eax, 8
dec edx
jne 0x5c9507
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x88]
mov edx, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x2c]
add esi, edx
dec eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], eax
jne 0x5c94d0
mov ecx, dword [esp + 0x38]
mov dword [0x74f090], ecx
jmp 0x5c95fa
mov dl, byte [esp + 0x88]
cmp dl, 3
jne 0x5c95fa
mov edi, dword [edi + 4]
cmp byte [edi + 0x1c], 1
jne 0x5c95fa
mov edx, dword [esp + 0x20]
imul esi, edx
add esi, eax
test ebx, ebx
mov eax, dword [edi + 0xc]
mov edi, dword [ecx + 0xc]
lea esi, [eax + esi*8]
jbe 0x5c95fa
lea ecx, [edx*8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x88], ebx
test ebp, ebp
mov eax, dword [esp + 0x10]
mov ecx, esi
jbe 0x5c95d5
mov edx, ebp
mov ebx, dword [edi]
mov dword [eax], ebx
mov ebx, dword [edi + 4]
mov dword [eax + 4], ebx
mov ebx, dword [ecx]
mov dword [eax + 8], ebx
mov ebx, dword [ecx + 4]
mov dword [eax + 0xc], ebx
add eax, 0x10
add edi, 8
add ecx, 8
dec edx
jne 0x5c95b4
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x88]
add ebx, edx
add esi, ecx
dec eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x88], eax
jne 0x5c95a8
cmp dword [esp + 0x84], 0x33545844
jne 0x5c9615
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x44]
jmp 0x5c9670
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
xor ecx, ecx
lea esi, [esp + 0x84]
push esi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0x50], edx
mov edx, dword [eax]
push eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
call dword [edx + 0x3c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x48]
push eax
push 0
push ecx
mov ecx, dword [esp + 0x98]
push 0x33545844
push edx
lea eax, [esp + 0x7c]
push eax
push 0
push ecx
call fcn.00693647
mov edx, dword [0x750814]
mov eax, dword [edx + 0x1dc]
mov edx, dword [esp + 0x80]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x18]
push edx
push eax
call dword [ecx + 0x74]
test eax, eax
jge 0x5c969d
push 0x1c6
jmp 0x5c9215
mov ecx, dword [esp + 0x18]
pop esi
pop ebp
mov dword [0x74f090], ecx
mov ecx, dword [esp + 0x68]
pop ebx
mov al, 1
pop edi
mov dword fs:[0], ecx
add esp, 0x6c
ret 0x10