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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x1035dd3c]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x4c], esi
cmp dword [esi + 0x65c], 0
jne 0x1007ea0d
mov eax, dword [esi + 0x5c]
mov eax, dword [eax + 0x368]
mov dword [esi + 0x65c], eax
cmp dword [esi + 0x660], 0
jne 0x1007ea25
mov eax, dword [esi + 0x5c]
mov eax, dword [eax + 0x364]
mov dword [esi + 0x660], eax
movups xmm0, xmmword [esi + 0x174]
movd eax, xmm0
movaps xmmword [esp + 0xc0], xmm0
add eax, dword [esi + 0x66c]
mov dword [esp + 0xc0], eax
mov eax, dword [esi + 0x674]
sub dword [esp + 0xc8], eax
mov eax, dword [esi + 0x670]
add dword [esp + 0xc4], eax
mov eax, dword [esi + 0x678]
sub dword [esp + 0xcc], eax
cmp byte [esi + 0x6a0], 0
jne 0x1007eb65
mov eax, dword [esi + 0x1e4]
cmp word [eax], 0
je 0x1007f3f6
mov eax, dword [esi]
mov dword [esp + 0x20], 0
mov eax, dword [eax + 0xe8]
cmp eax, sym.nsInstall.dll_public_virtual:_bool___thiscall_DuiLib::CControlUI::IsEnabled_void_const
jne 0x1007f40c
mov al, byte [esi + 0x1b6]
mov ecx, dword [esi + 0x668]
mov edx, dword [esi + 0x664]
mov byte [esp + 0x16], al
cmp byte [esp + 0x16], 0
mov al, byte [esi + 0x67c]
push ecx
mov byte [esp + 0x1b], al
mov eax, dword [esi + 0x1e4]
push edx
je 0x1007eb1c
cmp byte [esp + 0x1f], 0
je 0x1007eb14
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push dword [esi + 0x65c]
push eax
lea eax, [esp + 0xdc]
push eax
push dword [esi + 0x5c]
push edi
call sym.nsInstall.dll_public:_static_void___cdecl_DuiLib::CRenderEngine::DrawHtmlText_struct_HDC_____class_DuiLib::CPaintManagerUI___struct_tagRECT___wchar_t_const___unsigned_long_int__struct_tagRECT___class_DuiLib::CDuiString___int___int__unsigned_int_
add esp, 0x28
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.102601ec
mov esp, ebp
pop ebp
ret 4
push dword [esi + 0x65c]
jmp 0x1007eb3a
cmp byte [esp + 0x1f], 0
je 0x1007eb34
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push dword [esi + 0x660]
jmp 0x1007eae9
push dword [esi + 0x660]
push eax
lea eax, [esp + 0xd0]
push eax
push dword [esi + 0x5c]
push edi
call sym.nsInstall.dll_public:_static_void___cdecl_DuiLib::CRenderEngine::DrawTextW_struct_HDC_____class_DuiLib::CPaintManagerUI___struct_tagRECT___wchar_t_const___unsigned_long_int__int__unsigned_int_
add esp, 0x1c
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.102601ec
mov esp, ebp
pop ebp
ret 4
push dword [esi + 0x664]
mov ecx, dword [esi + 0x5c]
call sym.nsInstall.dll_public:_struct_HFONT______thiscall_DuiLib::CPaintManagerUI::GetFont_int_
mov dword [esp + 0x44], 0
test eax, eax
je 0x1007ebaa
lea ecx, [esp + 0xd0]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
lea eax, [esp + 0x44]
push eax
je 0x1007ebaf
lea eax, [esp + 0xd4]
push eax
push edi
call dword [sym.imp.gdiplus.dll_GdipCreateFontFromLogfontA]
jmp 0x1007ebb6
lea eax, [esp + 0x44]
push eax
push edi
call dword [sym.imp.gdiplus.dll_GdipCreateFontFromDC]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x50]
push eax
push edi
mov dword [esp + 0x58], 0
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov eax, dword [esp + 0x50]
push 4
push eax
mov dword [esp + 0x48], eax
call dword [sym.imp.gdiplus.dll_GdipSetTextRenderingHint]
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 0
push eax
push 0
push 0
call dword [sym.imp.gdiplus.dll_GdipCreateStringFormat]
mov ecx, dword [esi + 0x668]
mov dword [esp + 0x38], eax
xor eax, eax
lea edi, [eax + 2]
test cl, 4
je 0x1007ec13
lea eax, [edi - 1]
jmp 0x1007ec19
test cl, 8
cmovne eax, edi
push eax
push dword [esp + 0x38]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatLineAlign]
mov ecx, dword [esp + 0x38]
test eax, eax
cmovne ecx, eax
xor eax, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x668]
test cl, 1
je 0x1007ec45
mov eax, 1
jmp 0x1007ec4b
test cl, 2
cmovne eax, edi
push eax
push dword [esp + 0x38]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatAlign]
mov ecx, dword [esp + 0x38]
test eax, eax
movd xmm3, dword [esp + 0xc0]
movd xmm1, dword [esp + 0xc8]
cmovne ecx, eax
mov eax, dword [esp + 0xc4]
mov edi, dword [esi + 0x698]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0xcc]
movd xmm2, eax
cvtdq2ps xmm3, xmm3
movd xmm0, ecx
movss dword [esp + 0x24], xmm3
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x28], xmm2
subss xmm1, xmm3
addss xmm3, dword [esi + 0x6b4]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x2c], xmm1
movss dword [esp + 0xb8], xmm1
subss xmm0, xmm2
movss dword [esp + 0xb0], xmm3
addss xmm2, dword [esi + 0x6b8]
movss dword [esp + 0x30], xmm0
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0xb4], xmm2
test edi, edi
jne 0x1007ecf9
mov edi, ecx
sub edi, eax
mov eax, dword [esi + 0x6ac]
cmp eax, 0xffffffff
mov edx, dword [esi + 0x6a8]
cmovne edx, eax
mov dword [esp + 0x90], 0
mov eax, dword [esi + 0x69c]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x54]
push eax
mov eax, edx
mov dword [esp + 0x98], edi
shr eax, 0x10
movzx ecx, al
shl ecx, 8
movzx eax, dx
shr eax, 8
or ecx, eax
mov dword [esp + 0xa0], 0
shl ecx, 8
mov eax, edx
and eax, 0xff000000
mov dword [esp + 0x58], 0
or ecx, eax
movzx eax, dl
mov edx, dword [esi + 0x6a8]
or ecx, eax
push 0
push ecx
mov eax, edx
shr eax, 0x10
movzx ecx, al
shl ecx, 8
movzx eax, dx
shr eax, 8
or ecx, eax
mov eax, edx
and eax, 0xff000000
shl ecx, 8
or ecx, eax
movzx eax, dl
or ecx, eax
lea eax, [esp + 0x9c]
push ecx
push eax
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateLineBrushI]
mov edx, dword [esi + 0x6a4]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
cmp edx, 0xffffffff
jne 0x1007edc7
mov edx, dword [esi + 0x65c]
mov eax, edx
jmp 0x1007edcd
mov eax, dword [esi + 0x65c]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x69c]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x58]
push eax
mov eax, edx
mov dword [esp + 0xa4], 0
shr eax, 0x10
movzx ecx, al
shl ecx, 8
movzx eax, dx
shr eax, 8
or ecx, eax
mov dword [esp + 0xa8], edi
shl ecx, 8
mov eax, edx
and eax, 0xff000000
mov dword [esp + 0xb0], 0
or ecx, eax
mov dword [esp + 0x5c], 0
movzx eax, dl
mov edx, dword [esp + 0x24]
or ecx, eax
push 0
push ecx
mov eax, edx
shr eax, 0x10
movzx ecx, al
shl ecx, 8
movzx eax, dx
shr eax, 8
or ecx, eax
mov eax, edx
and eax, 0xff000000
shl ecx, 8
or ecx, eax
movzx eax, dl
or ecx, eax
lea eax, [esp + 0xac]
push ecx
push eax
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateLineBrushI]
cmp byte [esi + 0x6a1], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x20], eax
je 0x1007f0ce
movss xmm1, dword [esi + 0x694]
mov ecx, 1
movss xmm0, dword [esp + 0x2c]
divss xmm0, xmm1
mov edi, dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromScan0]
mov dword [esp + 0x5c], 0
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x30]
divss xmm0, xmm1
cmp eax, ecx
cmovl eax, ecx
mov dword [esp + 0x70], eax
cvttss2si eax, xmm0
cmp eax, ecx
cmovl eax, ecx
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x5c]
push eax
cvttss2si eax, dword [esp + 0x34]
push 0
push 0x26200a
push 0
push eax
cvttss2si eax, dword [esp + 0x40]
push eax
call edi
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x60]
mov esi, dword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
push ecx
push eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x68], 0
call esi
mov eax, dword [esp + 0x60]
push 4
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
push 4
push dword [esp + 0x20]
call dword [sym.imp.gdiplus.dll_GdipSetTextRenderingHint]
push 4
push dword [esp + 0x20]
call dword [sym.imp.gdiplus.dll_GdipSetCompositingQuality]
lea eax, [esp + 0x64]
mov dword [esp + 0x64], 0
push eax
push 0
push 0x26200a
push 0
push dword [esp + 0x7c]
push dword [esp + 0x84]
call edi
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x68]
push ecx
push eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x70], 0
call esi
mov edi, dword [esp + 0x68]
push 7
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.gdiplus.dll_GdipSetInterpolationMode]
push 3
push edi
call dword [sym.imp.gdiplus.dll_GdipSetPixelOffsetMode]
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x80]
push eax
push esi
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
call dword [sym.imp.gdiplus.dll_GdipGetFamily]
mov ecx, dword [esp + 0x84]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 0x658]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x88], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007efe0
push dword [esp + 0x20]
sub ecx, dword [esp + 0x8c]
lea eax, [esp + 0x28]
push dword [esp + 0x38]
sar ecx, 1
push eax
push esi
mov esi, dword [esp + 0x2c]
push ecx
push edx
push esi
call dword [sym.imp.gdiplus.dll_GdipDrawString]
push dword [esp + 0x6c]
push dword [esp + 0x74]
push 0
push 0
push dword [esp + 0x58]
push edi
mov edi, dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
call edi
push 0
push esi
call dword [sym.imp.gdiplus.dll_GdipGraphicsClear]
cvttss2si esi, dword [esp + 0x30]
mov eax, dword [esp + 0x4c]
cvttss2si edx, dword [esp + 0x2c]
push esi
mov esi, dword [esp + 0x20]
cvttss2si ecx, dword [eax + 0x6b8]
push edx
cvttss2si eax, dword [eax + 0x6b4]
push ecx
push eax
push dword [esp + 0x84]
push esi
call edi
push 4
push esi
call dword [sym.imp.gdiplus.dll_GdipSetTextRenderingHint]
movss xmm0, dword [esp + 0x28]
sub esp, 8
mov edi, dword [esp + 0x48]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp], xmm0
push dword [esp + 0x50]
push edi
call dword [sym.imp.gdiplus.dll_GdipDrawImage]
push dword [esp + 0x80]
call dword [sym.imp.gdiplus.dll_GdipDeleteFontFamily]
push dword [esp + 0x18]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [esp + 0x74]
mov esi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
call esi
push dword [esp + 0x1c]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [esp + 0x48]
call esi
mov esi, dword [esp + 0x4c]
jmp 0x1007f0d2
mov edi, dword [esp + 0x40]
cmp byte [esi + 0x6a2], 0
je 0x1007f332
mov edx, dword [esi + 0x6b0]
test edx, edx
je 0x1007f332
mov eax, dword [esp + 0xcc]
sub eax, dword [esp + 0xc4]
add eax, 2
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], eax
mov eax, dword [esi + 0x69c]
mov dword [esp + 0x74], eax
mov eax, edx
shr eax, 0x10
movzx ecx, al
shl ecx, 8
movzx eax, dx
shr eax, 8
or ecx, eax
mov dword [esp + 0x78], 0
mov eax, edx
shl ecx, 8
and eax, 0xff000000
mov dword [esp + 0x40], 0
or ecx, eax
movzx eax, dl
or ecx, eax
lea eax, [esp + 0x40]
push eax
push 0
push ecx
push ecx
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.gdiplus.dll_GdipCreateLineBrushI]
movss xmm0, dword [esp + 0x24]
xorps xmm1, xmm1
subss xmm0, dword [0x1032d21c]
mov ecx, dword [esi + 0x1e4]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x1c], edx
movss dword [esp + 0x24], xmm0
lea eax, [ecx + 2]
movss xmm0, dword [esp + 0x28]
addss xmm0, xmm1
mov dword [esp + 0x18], eax
movss dword [esp + 0x28], xmm0
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007f1b0
sub ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push edx
push dword [esp + 0x38]
sar ecx, 1
push eax
push dword [esp + 0x48]
push ecx
push dword [esi + 0x1e4]
push edi
call dword [sym.imp.gdiplus.dll_GdipDrawString]
movss xmm0, dword [esp + 0x24]
xorps xmm1, xmm1
addss xmm0, dword [0x1032d228]
mov edx, dword [esi + 0x1e4]
mov ecx, edx
movss dword [esp + 0x24], xmm0
lea eax, [ecx + 2]
movss xmm0, dword [esp + 0x28]
addss xmm0, xmm1
mov dword [esp + 0x18], eax
movss dword [esp + 0x28], xmm0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007f213
push dword [esp + 0x1c]
sub ecx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push dword [esp + 0x38]
sar ecx, 1
push eax
push dword [esp + 0x48]
push ecx
push edx
push edi
call dword [sym.imp.gdiplus.dll_GdipDrawString]
movss xmm0, dword [esp + 0x24]
subss xmm0, dword [0x1032d21c]
mov edx, dword [esi + 0x1e4]
mov ecx, edx
movss dword [esp + 0x24], xmm0
lea eax, [ecx + 2]
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [0x1032d21c]
mov dword [esp + 0x18], eax
movss dword [esp + 0x28], xmm0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007f275
push dword [esp + 0x1c]
sub ecx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push dword [esp + 0x38]
sar ecx, 1
push eax
push dword [esp + 0x48]
push ecx
push edx
push edi
call dword [sym.imp.gdiplus.dll_GdipDrawString]
movss xmm0, dword [esp + 0x24]
xorps xmm1, xmm1
mov edx, dword [esi + 0x1e4]
addss xmm0, xmm1
mov ecx, edx
movss dword [esp + 0x24], xmm0
lea eax, [ecx + 2]
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [0x1032d228]
mov dword [esp + 0x18], eax
movss dword [esp + 0x28], xmm0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007f2d6
push dword [esp + 0x1c]
sub ecx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push dword [esp + 0x38]
sar ecx, 1
push eax
push dword [esp + 0x48]
push ecx
push edx
push edi
call dword [sym.imp.gdiplus.dll_GdipDrawString]
movss xmm0, dword [esp + 0x24]
xorps xmm1, xmm1
push dword [esp + 0x1c]
addss xmm0, xmm1
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [0x1032d21c]
movss dword [esp + 0x2c], xmm0
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
cmp byte [esi + 0x6a3], 0
je 0x1007f38e
cmp dword [esi + 0x6a8], 0
ja 0x1007f34d
cmp dword [esi + 0x6ac], 0
jbe 0x1007f38e
mov edx, dword [esi + 0x1e4]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x18], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007f360
push dword [esp + 0x7c]
sub ecx, dword [esp + 0x1c]
lea eax, [esp + 0xb4]
push dword [esp + 0x38]
sar ecx, 1
push eax
push dword [esp + 0x48]
push ecx
push edx
push edi
call dword [sym.imp.gdiplus.dll_GdipDrawString]
mov edx, dword [esi + 0x1e4]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007f3a0
push dword [esp + 0x20]
lea eax, [esp + 0x28]
sub ecx, esi
push dword [esp + 0x38]
mov esi, dword [esp + 0x44]
push eax
push esi
sar ecx, 1
push ecx
push edx
push edi
call dword [sym.imp.gdiplus.dll_GdipDrawString]
push dword [esp + 0x20]
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
push dword [esp + 0x7c]
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
push dword [esp + 0x34]
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
push edi
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push esi
call dword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
call fcn.102601ec
mov esp, ebp
pop ebp
ret 4
call eax
jmp 0x1007eaaa