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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4fbd70
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x64222c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0x3c], edi
call fcn.004a3062
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x48a68e
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x80], edi
cmp ecx, edi
je 0x48a7d1
fld qword [esi + 0x18]
lea edi, [esi + 0x18]
fnstcw word [esp + 0x30]
movzx eax, word [esp + 0x30]
or eax, 0xc00
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
fldcw word [esp + 0x3c]
push eax
add ecx, 4
fistp qword [esp + 0x40]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x34]
push edx
fldcw word [esp + 0x38]
call fcn.00448040
mov eax, dword [esi + 0x14]
mov esi, dword [esp + 0x30]
mov ebx, dword [eax + 0x1c]
add eax, 4
mov eax, dword [eax]
test esi, esi
je 0x48a705
cmp esi, eax
je 0x48a70a
call fcn.004bb632
cmp dword [esp + 0x34], ebx
je 0x48a788
test esi, esi
jne 0x48a784
call fcn.004bb632
mov eax, dword [esp + 0x34]
cmp eax, dword [esi + 0x18]
jne 0x48a727
call fcn.004bb632
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x10]
sub eax, 0x10
push eax
call fcn.004018f0
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x80], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48a76d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [esi]
jmp 0x48a719
fld qword [edi]
lea edx, [esp + 0x38]
fnstcw word [esp + 0x30]
movzx eax, word [esp + 0x30]
or eax, 0xc00
mov dword [esp + 0x3c], eax
fldcw word [esp + 0x3c]
fistp qword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
push ecx
push str.0x_X
push edx
fldcw word [esp + 0x3c]
call fcn.00401e40
mov esi, dword [esp + 0x44]
add esi, 0xfffffff0
push esi
call fcn.004018f0
add esp, 0x10
jmp 0x48aaf0
mov eax, dword [esi + 0x10]
test al, 1
je 0x48a815
fld qword [esi + 0x18]
lea edx, [esp + 0x38]
fnstcw word [esp + 0x30]
movzx eax, word [esp + 0x30]
or eax, 0xc00
mov dword [esp + 0x3c], eax
fldcw word [esp + 0x3c]
fistp qword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
push ecx
push str.0x_X
push edx
fldcw word [esp + 0x3c]
call fcn.00401e40
add esp, 0xc
jmp 0x48aae0
test al, 4
je 0x48a86b
fld qword [esi + 0x18]
fnstcw word [esp + 0x30]
movzx eax, word [esp + 0x30]
or eax, 0xc00
mov dword [esp + 0x3c], eax
fldcw word [esp + 0x3c]
fistp qword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
fldcw word [esp + 0x30]
push edx
mov ecx, eax
shr ecx, 8
movzx edx, cl
push edx
movzx eax, al
push eax
lea ecx, [esp + 0x44]
push str.RGB__d__d__d_
push ecx
call fcn.00401e40
add esp, 0x14
jmp 0x48aae0
test al, 0x10
je 0x48a8c7
fld qword [esi + 0x18]
fnstcw word [esp + 0x30]
movzx eax, word [esp + 0x30]
or eax, 0xc00
mov dword [esp + 0x3c], eax
fldcw word [esp + 0x3c]
fistp qword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov edx, eax
shr edx, 0x18
push edx
fldcw word [esp + 0x34]
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
push edx
mov ecx, eax
shr ecx, 8
movzx edx, cl
push edx
movzx eax, al
push eax
lea ecx, [esp + 0x48]
push str.RGBA__d__d__d__d_
push ecx
call fcn.00401e40
add esp, 0x18
jmp 0x48aae0
test al, 8
je 0x48a90c
fld qword [esi + 0x18]
lea ecx, [esp + 0x38]
fnstcw word [esp + 0x30]
movzx eax, word [esp + 0x30]
or eax, 0xc00
mov dword [esp + 0x3c], eax
fldcw word [esp + 0x3c]
fistp dword [esp + 0x3c]
mov dx, word [esp + 0x3c]
movzx eax, dx
push eax
push str._c
fldcw word [esp + 0x38]
push ecx
call fcn.00401e40
add esp, 0xc
jmp 0x48aae0
test al, 2
je 0x48aa56
lea ecx, [esp + 0x30]
call fcn.00401960
mov bl, byte [ebp + 0xc]
mov byte [esp + 0x80], 1
test bl, bl
jne 0x48a949
fld qword [esi + 0x18]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x38]
push 0x608a2c
push edx
call fcn.00401e40
add esp, 0x10
jmp 0x48a999
lea ecx, [esp + 0x3c]
call fcn.00401960
movzx eax, bl
push eax
lea ecx, [esp + 0x40]
push str.__._dE
push ecx
mov byte [esp + 0x8c], 2
call fcn.00401e40
mov edx, dword [esp + 0x48]
fld qword [esi + 0x18]
add esp, 4
lea eax, [esp + 0x38]
fstp qword [esp]
push edx
push eax
call fcn.00401e40
add esp, 0x10
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 1
call fcn.0040b800
mov esi, dword [esp + 0x30]
movzx eax, word [esi]
cmp ax, di
je 0x48a9cd
movzx eax, ax
cmp ax, 0x45
je 0x48a9cd
cmp ax, 0x65
je 0x48a9cd
movzx eax, ax
push eax
lea ecx, [esp + 0x3c]
call fcn.0040ba30
movzx eax, word [esi + 2]
add esi, 2
cmp ax, di
jne 0x48a9a8
push 0x30
lea ecx, [esp + 0x3c]
call fcn.00447f30
push 0x2e
lea ecx, [esp + 0x3c]
call fcn.00447f30
movzx eax, word [esi]
cmp ax, 0x45
je 0x48a9f2
cmp ax, 0x65
jne 0x48aa02
movzx eax, ax
push eax
lea ecx, [esp + 0x3c]
call fcn.0040ba30
add esi, 2
movzx eax, word [esi]
cmp ax, 0x2b
je 0x48aa11
cmp ax, 0x2d
jne 0x48aa21
movzx eax, ax
push eax
lea ecx, [esp + 0x3c]
call fcn.0040ba30
add esi, 2
cmp word [esi], 0x30
jne 0x48aa36
cmp word [esi + 2], di
je 0x48aa36
add esi, 2
cmp word [esi], 0x30
je 0x48aa27
push esi
lea ecx, [esp + 0x3c]
call fcn.00413910
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 0
call fcn.0040b800
jmp 0x48aae0
mov bl, byte [ebp + 0xc]
test bl, bl
jne 0x48aa7a
fld qword [esi + 0x18]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x40]
push 0x60fb68
push ecx
call fcn.00401e40
add esp, 0x10
jmp 0x48aaca
lea ecx, [esp + 0x3c]
call fcn.00401960
movzx edx, bl
push edx
lea eax, [esp + 0x40]
push str.__._df
push eax
mov byte [esp + 0x8c], 3
call fcn.00401e40
mov ecx, dword [esp + 0x48]
fld qword [esi + 0x18]
add esp, 4
lea edx, [esp + 0x40]
fstp qword [esp]
push ecx
push edx
call fcn.00401e40
add esp, 0x10
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 0
call fcn.0040b800
push 0x30
lea ecx, [esp + 0x3c]
call fcn.00447f30
push 0x2e
lea ecx, [esp + 0x3c]
call fcn.00447f30
mov esi, dword [esp + 0x38]
add esi, 0xfffffff0
push esi
call fcn.004018f0
add esp, 4
mov edi, dword [ebp + 8]
add eax, 0x10
or ecx, 0xffffffff
mov dword [edi], eax
lea eax, [esi + 0xc]
mov dword [esp + 0x80], ecx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48ab18
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8