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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov eax, dword [esi + 0x14]
mov dword [esp + 0x1c], ecx
cmp eax, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
je 0x52dd36
cmp eax, ecx
jne 0x52dd36
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov dword [esp + 0x18], edx
mov cx, word [eax + 0xe]
mov eax, ecx
shr eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
sub eax, ebx
mov ebx, dword [esp + 0x84]
inc eax
sub ebx, ebp
push eax
inc ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ebx
call fcn.004c11c0
mov edi, eax
push ebx
mov dword [esp + 0x3c], edi
call fcn.004c11c0
mov edx, dword [esp + 0x90]
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], eax
push edx
push ecx
mov ecx, dword [esi]
push 0x17
push eax
push edi
call fcn.00536130
mov edi, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x84]
add edi, 0x80
cmp ebp, eax
mov dword [esp + 0x20], edi
jg 0x52de44
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
imul eax, ebp
add eax, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
cmp ecx, edx
jg 0x52de22
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
imul edx, ecx
lea eax, [edx + eax + 1]
mov dl, byte [eax + 1]
mov bl, byte [eax]
mov cl, byte [eax - 1]
add edi, 2
shr dl, 3
movzx dx, dl
shr bl, 2
movzx bx, bl
shl edx, 6
shr cl, 3
or edx, ebx
movzx cx, cl
shl edx, 5
or edx, ecx
mov word [edi - 2], dx
mov edx, dword [esp + 0x14]
add eax, edx
dec ebp
jne 0x52dde3
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov ebx, dword [edx + 0x14]
mov edx, dword [esp + 0x18]
add edi, ebx
add eax, edx
dec ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
jne 0x52ddc5
mov eax, dword [esi + 0xc]
push eax
call fcn.004c0cd0
mov ecx, dword [esi + 0x244]
lea edx, [esp + 0x44]
push ecx
push eax
push str._d__d
push edx
call fcn.0058c396
mov ecx, dword [esi + 8]
add esp, 0x14
xor ebx, ebx
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.005432b0
mov ecx, dword [esi + 0x244]
mov edi, dword [esp + 0x2c]
fild dword [esp + 0x78]
mov dword [esi + ecx*4 + 0x28], eax
mov edx, dword [esi + 0x244]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + edx*4 + 0x28]
mov dword [eax + 0x30], ecx
mov edx, dword [esi + 0x244]
mov eax, dword [esi + edx*4 + 0x28]
mov dword [eax + 0x34], edi
mov ecx, dword [esi + 0x244]
fstp dword [esi + ecx*8 + 0x64]
fild dword [esp + 0x7c]
mov edx, dword [esi + 0x244]
fstp dword [esi + edx*8 + 0x68]
fild dword [esp + 0x80]
mov eax, dword [esi + 0x244]
fstp dword [esi + eax*8 + 0xdc]
fild dword [esp + 0x84]
mov ecx, dword [esi + 0x244]
fstp dword [esi + ecx*8 + 0xe0]
fild dword [esp + 0x30]
mov edx, dword [esi + 0x244]
shl edx, 4
fidiv dword [esp + 0x34]
mov dword [edx + esi + 0x154], ebx
mov eax, dword [esi + 0x244]
shl eax, 4
mov dword [eax + esi + 0x158], ebx
mov ecx, dword [esi + 0x244]
shl ecx, 4
fstp dword [ecx + esi + 0x15c]
fild dword [esp + 0x38]
mov edx, dword [esi + 0x244]
add edx, 0x16
fidiv dword [esp + 0x3c]
shl edx, 4
fstp dword [edx + esi]
mov eax, dword [esi + 0x244]
mov eax, dword [esi + eax*4 + 0x28]
mov ecx, dword [eax + 0x2c]
or ch, 4
mov dword [eax + 0x2c], ecx
mov ecx, dword [esi + 0x244]
mov edx, dword [esi + ecx*4 + 0x28]
mov ecx, dword [esi + 8]
push edx
call fcn.00543410
mov ecx, dword [esi + 0x244]
inc ecx
mov dword [esi + 0x244], ecx
mov ecx, dword [esp + 0x88]
cmp ecx, ebx
jne 0x52dfa4
push str.CFullScreenImage::CreateImage
push 0x148
push str.FullScreenImage.cpp
call fcn.004bdd70
mov eax, dword [esp + 0x1c]
push eax
call fcn.004be3b0
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x14
push edi
call fcn.004c07e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x64
ret 0x14