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

Disassembly:
sub esp, 0x4c
push ebx
mov ebx, dword [esp + 0x58]
push ebp
push esi
mov esi, ecx
mov ebp, 4
push edi
mov dword [esp + 0x18], esi
lea edi, [ebx + 0x1c]
nop dword [eax]
mov eax, dword [ebx]
push dword [esp + 0x7c]
push dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xd0]
lea edi, [edi + 4]
sub ebp, 1
jne 0x4dbe00
mov ebp, dword [esp + 0x68]
lea edi, [ebx + 0x850]
mov eax, 2
mov dword [esp + 0x64], eax
nop dword [eax]
mov edx, dword [edi]
test edx, edx
je 0x4dbe47
mov eax, dword [ebx]
push ebp
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [esp + 0x64]
add edi, 4
add ebp, 0x10
sub eax, 1
mov dword [esp + 0x64], eax
jne 0x4dbe30
mov eax, dword [ebx]
push str.PostProcess
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe8]
mov ecx, dword [esp + 0x60]
push dword [esi]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x15c]
mov eax, dword [ebx]
lea edx, [esp + 0x20]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
xor edx, edx
mov dword [esp + 0x14], edx
cmp dword [esp + 0x20], edx
jbe 0x4dc1d2
mov ebp, dword [esp + 0x70]
nop dword [eax + eax]
movss xmm0, dword [ebp + 0x30]
xor al, al
mov byte [esp + 0x64], al
mov eax, dword [esp + 0x74]
movss xmm1, dword [eax]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x4dbecb
movss dword [ebp + 0x70], xmm1
movss dword [ebp + 0x30], xmm1
mov byte [esp + 0x64], 1
mov edi, dword [esp + 0x78]
movss xmm0, dword [ebp + 0x54]
movss xmm1, dword [edi]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x4dbef0
movss dword [ebp + 0x74], xmm1
movss dword [ebp + 0x54], xmm1
mov byte [esp + 0x64], 1
mov ecx, dword [ebx]
push edx
push dword [ebx + 4]
mov dword [esp + 0x70], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
mov eax, dword [ecx]
push ecx
call dword [eax + 0x38]
mov edx, dword [ebx]
mov esi, eax
push str.fScaleX
push esi
push edx
mov ecx, dword [edx]
call dword [ecx + 0x4c]
test eax, eax
je 0x4dbf32
mov ecx, dword [ebx]
lea edi, [esp + 0x68]
push edi
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x7c]
mov edi, dword [esp + 0x78]
mov ecx, dword [ebx]
push str.fScaleY
push esi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x4c]
test eax, eax
je 0x4dbf52
mov ecx, dword [ebx]
lea esi, [esp + 0x10]
push esi
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x7c]
movss xmm1, dword [esp + 0x68]
movss xmm2, dword [0x5c8f28]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x4dbf84
movaps xmm0, xmm1
mov al, 1
mulss xmm0, dword [ebp + 0x20]
mulss xmm1, dword [ebp + 0x60]
movss dword [ebp + 0x20], xmm0
movss dword [ebp + 0x60], xmm1
jmp 0x4dbf88
mov al, byte [esp + 0x64]
movss xmm1, dword [esp + 0x10]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x4dbfb0
movaps xmm0, xmm1
mulss xmm1, dword [ebp + 0x64]
mulss xmm0, dword [ebp + 0x44]
movss dword [ebp + 0x64], xmm1
movss dword [ebp + 0x44], xmm0
jmp 0x4dbfb4
test al, al
je 0x4dbfeb
mov esi, dword [esp + 0x6c]
lea ecx, [esp + 0x24]
push 0x2000
push ecx
push 0
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x2c]
test eax, eax
js 0x4dbfeb
mov edi, dword [esp + 0x24]
mov ecx, 0x20
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x6c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, dword [esp + 0x78]
mov ecx, dword [ebx]
push str.g_Extent
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
je 0x4dc027
mov ecx, dword [esp + 0x74]
lea esi, [esp + 0x28]
push esi
push eax
movss xmm0, dword [ecx]
mov ecx, dword [ebx]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x34], xmm0
mov edx, dword [ecx]
push ecx
call dword [edx + 0x88]
mov eax, dword [esp + 0x74]
movss xmm0, dword [esp + 0x68]
mov ecx, dword [ebx]
push str.g_texelScale
mulss xmm0, dword [eax]
push 0
push ecx
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [edi]
mov eax, dword [ecx]
movss dword [edi], xmm0
call dword [eax + 0x24]
mov edx, eax
test edx, edx
je 0x4dc081
mov ecx, dword [ebx]
lea esi, [esp + 0x38]
movss xmm0, dword [0x5e00c8]
push esi
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x3c], xmm0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x88]
mov ecx, dword [ebx]
push str.g_textureSize
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov edx, eax
test edx, edx
je 0x4dc0d5
movd xmm0, dword [0x5e00c4]
lea esi, [esp + 0x48]
mov eax, dword [ebx]
cvtdq2ps xmm0, xmm0
push esi
push edx
push eax
mulss xmm0, dword [esp + 0x74]
movss dword [esp + 0x54], xmm0
movd xmm0, dword [0x5e00c0]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x58], xmm0
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov ebp, dword [esp + 0x18]
lea esi, [ebx + 0xc]
mov edi, 4
cmp byte [ebp + 8], 0
mov edx, dword [ebx]
mov ecx, dword [edx]
je 0x4dc0f1
push dword [esp + 0x7c]
jmp 0x4dc0fd
mov eax, 3
sub eax, dword [ebp + 4]
push dword [ebp + eax*4 + 4]
push dword [esi]
push edx
call dword [ecx + 0xd0]
add esi, 4
sub edi, 1
jne 0x4dc0e1
mov eax, dword [ebx]
mov ebp, dword [esp + 0x70]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x104]
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push edi
mov eax, dword [esi + 4]
mov ecx, dword [esi + eax*4 + 0xc]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x48]
test eax, eax
js 0x4dc1df
mov edi, dword [esp + 0x60]
push dword [esp + 0x1c]
push 0
mov eax, dword [edi]
push edi
call dword [eax + 0x94]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0
push ecx
mov dword [esp], 0x3f800000
push 0
push 7
push 0
mov byte [esi + 8], 0
mov eax, dword [edi]
push 0
push edi
call dword [eax + 0xac]
mov eax, dword [ebx]
push dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x100]
mov eax, dword [edi]
push 0x20
push 0
push dword [esp + 0x74]
push 0
push edi
call dword [eax + 0x190]
mov eax, dword [edi]
push 2
push 0
push 5
push edi
call dword [eax + 0x144]
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x108]
mov edx, dword [esp + 0x14]
mov eax, 1
sub eax, dword [esi + 4]
inc edx
mov dword [esi + 4], eax
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 0x20]
jb 0x4dbea0
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x20