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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x284
push ebx
mov ebx, ecx
cmp byte [ebx + 0x12b], 0
push esi
push edi
jne 0x48fc94
xor edi, edi
cmp dword [ebx + 0x158], edi
jne 0x48fc9d
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x2fc], edi
je 0x48fc94
cmp dword [ebx + 0x300], edi
je 0x48fc94
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x54]
push ecx
lea eax, [esp + 0x27]
mov ecx, ebx
mov byte [esp + 0x27], 0
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
call fcn.0048fbe0
cmp eax, edi
jne 0x490540
cmp byte [ebx + 0x127], 0
je 0x48fd11
lea ecx, [esp + 0x50]
mov eax, ebx
call fcn.00420310
mov ecx, ebx
call fcn.004408a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movdqa xmm0, xmmword [esp + 0x50]
lea ecx, [esp + 0x40]
lea eax, [esp + 0x60]
movdqa xmmword [esp + 0x60], xmm0
call fcn.0043d270
mov edx, dword [esp + 0x68]
sub edx, dword [esp + 0x60]
cmp dword [ebx + 0x2d0], edx
jne 0x48fd4f
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x64]
mov byte [esp + 0x27], 0
cmp dword [ebx + 0x2d4], eax
je 0x48fd54
mov byte [esp + 0x27], 1
cmp dword [ebx + 0x30c], edi
je 0x48fe1c
mov ecx, dword [ebx + 0x314]
cmp ecx, dword [ebx + 0x310]
je 0x48fe1c
lea esi, [esp + 0x138]
mov dword [ebx + 0x314], 0xffffffff
call fcn.00420430
push eax
lea edx, [ebx + 0x170]
push edx
call fcn.00475030
call fcn.00475080
lea esi, [esp + 0x13c]
call fcn.00473040
movss xmm0, dword [ebx + 0x304]
ucomiss xmm0, dword [0x4d3530]
lahf
test ah, 0x44
jnp 0x48fe1c
push ebx
push ecx
mov edx, str.BicubicBeginThread
lea esi, [esp + 0x20]
call fcn.004011f0
add esp, 4
lea esi, [esp + 0xa8]
call fcn.0046f310
lea ecx, [esp + 0x18]
call fcn.00401420
mov eax, dword [ebx]
mov edx, dword [eax + 0x58]
mov ecx, esi
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx + 0x310]
mov dword [ebx + 0x8a8], eax
mov eax, dword [ebx + 0x864]
cmp eax, edi
je 0x48fe0e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea edi, [esp + 0xa4]
call fcn.004228c0
xor edi, edi
movss xmm0, dword [ebx + 0x304]
ucomiss xmm0, dword [0x4d3530]
lahf
test ah, 0x44
jnp 0x48ff52
mov ecx, dword [ebx + 0x8ac]
cmp ecx, dword [ebx + 0x310]
jne 0x48ff52
lea ecx, [ebx + 0x858]
lea esi, [esp + 0x28]
call fcn.00401890
cmp dword [ebx + 0x88c], edi
je 0x48ff49
push ebx
push ecx
mov edx, str.BicubicEndThread
lea esi, [esp + 0x20]
call fcn.004011f0
add esp, 4
lea esi, [esp + 0x80]
call fcn.0046f310
lea ecx, [esp + 0x18]
call fcn.00401420
mov edx, dword [ebx]
mov edx, dword [edx + 0x58]
mov eax, esi
push eax
mov ecx, ebx
call edx
or eax, 0xffffffff
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
movq xmm0, qword [esp + 0x30]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
sub esp, 0x10
mov eax, esp
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x48]
lea ecx, [ebx + 0x170]
movq qword [eax + 8], xmm0
lea eax, [ebx + 0x884]
push ecx
mov dword [esp + 0xc8], edi
mov dword [esp + 0xcc], edi
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], 0x313
mov dword [esp + 0xd8], str.BicubicEndThread
call fcn.00475180
mov eax, dword [ebx + 0x2c0]
mov edx, dword [ebx + 0x310]
mov dword [ebx + 0x2fc], eax
mov eax, dword [ebx + 0x2c4]
mov dword [ebx + 0x300], eax
lea eax, [ebx + 0x858]
push eax
mov dword [ebx + 0x314], edx
call fcn.0048f8e0
or dword [ebx + 8], 7
lea edi, [esp + 0xa4]
call fcn.004228c0
mov edi, esi
call fcn.004228c0
xor edi, edi
lea eax, [esp + 0x28]
call fcn.004018f0
movss xmm0, dword [ebx + 0x304]
ucomiss xmm0, dword [0x4d3530]
lahf
test ah, 0x44
jnp 0x48ff73
cmp dword [ebx + 0x198], edi
ja 0x490328
cmp byte [ebx + 0x2f5], 0
jne 0x48ff87
cmp byte [esp + 0x27], 0
je 0x490328
mov byte [ebx + 0x2f5], 0
cmp dword [ebx + 0x844], edi
je 0x490231
cmp byte [esp + 0x1f], 0
je 0x48ffb9
lea edi, [ebx + 0x834]
lea eax, [ebx + 0x2c8]
call fcn.004730e0
xor edi, edi
jmp 0x490324
lea edi, [ebx + 0x2c8]
lea esi, [esp + 0x60]
call fcn.00473530
xor esi, esi
cmp eax, esi
jne 0x490540
cmp byte [ebx + 0x2f6], 0
je 0x4900d2
cmp byte [ebx + 0x2f7], 0
jne 0x4900d2
mov eax, dword [ebx + 0x840]
mov esi, dword [ebx + 0x83c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xc8]
call fcn.00402cd0
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
xor eax, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
sub ecx, eax
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fild dword [esp + 0x20]
test edx, edx
jge 0x490044
fadd dword [0x4d33b0]
fdivp st(1)
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
sub esp, 0x10
sub edx, ecx
mov dword [esp + 0x38], esi
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + 0xc]
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
fild dword [esp + 0x38]
test esi, esi
jge 0x490079
fadd dword [0x4d33b0]
fdivp st(1)
cvtsi2ss xmm0, eax
lea eax, [esp + 0x40]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + 8]
movss dword [esp + 4], xmm0
cvtsi2ss xmm0, ecx
movss dword [esp], xmm0
push eax
lea ecx, [ebx + 0x834]
push ecx
push edi
lea ecx, [esp + 0xe4]
call fcn.0046e2f0
lea edi, [esp + 0xc8]
call fcn.0041ce90
movdqa xmm0, xmmword [esp + 0x60]
movdqa xmmword [esp + 0x50], xmm0
xor edi, edi
jmp 0x490324
xorps xmm0, xmm0
fild dword [ebx + 0x2d0]
movss xmm1, dword [0x4bb568]
mov edx, dword [ebx + 0x2d0]
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x9c], xmm1
mov byte [esp + 0xa0], 1
test edx, edx
jge 0x490149
fadd dword [0x4d33b0]
mov eax, dword [ebx + 0x83c]
fild dword [ebx + 0x83c]
test eax, eax
jge 0x49015f
fadd dword [0x4d33b0]
fdivp st(1)
mov ecx, dword [ebx + 0x2d4]
fstp dword [esp + 0x20]
fild dword [ebx + 0x2d4]
test ecx, ecx
jge 0x49017b
fadd dword [0x4d33b0]
mov edx, dword [ebx + 0x840]
fild dword [ebx + 0x840]
test edx, edx
jge 0x490191
fadd dword [0x4d33b0]
fdivp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fld dword [esp + 0x20]
fcompi st(1)
fstp st(0)
jbe 0x4901ad
movss xmm0, dword [esp + 0x18]
jmp 0x4901b3
movss xmm0, dword [esp + 0x20]
movsd xmm1, qword [0x4bab50]
cvtps2pd xmm0, xmm0
divsd xmm1, xmm0
push ecx
cvtpd2ps xmm0, xmm1
lea eax, [esp + 0x80]
movss dword [esp], xmm0
call fcn.0048f6f0
mov eax, dword [edi + 8]
cmp byte [ebx + 0x2f7], 0
mov ecx, dword [edi + 0xc]
push 0x100
sete dl
mov dword [esp + 0x3c], eax
movzx eax, dl
push esi
push eax
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x88]
push ecx
lea edx, [ebx + 0x834]
push edx
push edi
lea edi, [esp + 0x48]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
call fcn.00489140
movdqa xmm0, xmmword [esp + 0x78]
add esp, 0x18
movdqa xmmword [esp + 0x50], xmm0
xor edi, edi
jmp 0x490324
cmp dword [ebx + 0x31c], edi
je 0x490277
mov edx, dword [esp + 0x4c]
sub edx, dword [esp + 0x44]
mov eax, dword [ebx + 0x318]
mov ecx, dword [ebx + 0x31c]
push edx
mov edx, dword [esp + 0x4c]
sub edx, dword [esp + 0x44]
push edx
lea edx, [ebx + 0x2c8]
push edx
push eax
push ecx
call fcn.004560e0
add esp, 0x14
cmp eax, edi
je 0x490324
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [ebx + 0x320]
call fcn.0045fa90
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x490285
sub eax, edx
je 0x4902be
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x40]
push eax
push ecx
lea edx, [ebx + 0x2c8]
push edx
mov eax, esi
call fcn.004557d0
add esp, 0xc
cmp eax, edi
je 0x490324
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x30c], edi
je 0x48fc94
cmp byte [esp + 0x1f], 0
lea eax, [ebx + 0x2c8]
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edi
mov ecx, dword [ebx + 0x30c]
mov edx, dword [ecx]
mov edx, dword [edx]
push 1
je 0x490300
push edi
push edi
push eax
mov eax, dword [ebx + 0x310]
push eax
call edx
cmp eax, edi
je 0x490324
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x50]
sub esi, dword [esp + 0x48]
push esi
mov esi, dword [esp + 0x50]
sub esi, dword [esp + 0x48]
push esi
push eax
mov eax, dword [ebx + 0x310]
push eax
call edx
cmp eax, edi
jne 0x490540
or dword [ebx + 8], 7
movss xmm0, dword [ebx + 0x304]
ucomiss xmm0, dword [0x4d3530]
lahf
movss dword [esp + 0x20], xmm0
mov esi, 2
test ah, 0x44
jnp 0x490350
cmp dword [ebx + 0x2fc], edi
jne 0x49035c
cmp dword [ebx + 0x198], edi
jbe 0x49050a
cmp byte [esp + 0x1f], 0
movss xmm1, dword [0x4d3410]
je 0x490393
fld dword [esp + 0x20]
fld qword [0x4c3fb8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
call fcn.004b23e0
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
jmp 0x4904ad
cmp dword [ebx + 0x198], edi
jbe 0x49042a
comiss xmm1, xmm0
jbe 0x490404
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x50]
mov eax, dword [ebx + 0x2c0]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
mov dword [esp + 0x38], eax
fidiv dword [esp + 0x38]
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fld qword [0x4c3fb8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
call fcn.004b23e0
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fld qword [0x4bab50]
fsub st(1), st(0)
fld dword [esp + 0x28]
fld st(0)
fsubp st(2)
fxch st(2)
fmulp st(1)
faddp st(1)
jmp 0x4904ad
fld dword [esp + 0x20]
fsub qword [0x4c88e8]
fmul qword [0x4c88e0]
fld qword [0x4c3fb8]
fxch st(1)
call fcn.004b23e0
fstp dword [esp + 0x18]
jmp 0x4904b1
mov edx, dword [ebx + 0x2fc]
fild dword [ebx + 0x2fc]
test edx, edx
jge 0x490440
fadd dword [0x4d33b0]
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
comiss xmm1, xmm0
mov dword [esp + 0x28], eax
fidiv dword [esp + 0x28]
fstp dword [esp + 0x18]
fld dword [esp + 0x20]
jbe 0x490490
fld qword [0x4c3fb8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
call fcn.004b23e0
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld qword [0x4bab50]
fsub st(1), st(0)
fld dword [esp + 0x18]
fsub st(1)
fmulp st(2)
faddp st(1)
jmp 0x4904ad
fsub qword [0x4c88e8]
fmul qword [0x4c88e0]
fld qword [0x4c3fb8]
fxch st(1)
call fcn.004b23e0
fmul dword [esp + 0x18]
fstp dword [esp + 0x18]
cmp dword [ebx + 0x198], edi
jbe 0x4904e8
movss xmm0, dword [esp + 0x20]
ucomiss xmm0, dword [0x4d3410]
lahf
test ah, 0x44
jp 0x4904e8
cmp byte [esp + 0x1f], 0
jne 0x4904e8
cmp byte [ebx + 0x123], 0
je 0x4904df
or dword [ebx + 8], esi
mov byte [ebx + 0x123], 0
jmp 0x4904fb
cmp byte [ebx + 0x123], 1
je 0x4904f4
or dword [ebx + 8], esi
mov byte [ebx + 0x123], 1
cmp byte [ebx + 0x2f4], 0
jne 0x490526
fld dword [esp + 0x18]
jmp 0x490515
cmp byte [ebx + 0x2f4], 0
jne 0x490526
fld1
sub esp, 8
fst dword [esp + 4]
mov ecx, ebx
fstp dword [esp]
call fcn.00440400
cmp byte [ebx + 0x122], 0
je 0x490532
or dword [ebx + 8], esi
mov ecx, ebx
mov byte [ebx + 0x122], 0
call fcn.004408a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret