Function at 0x10038000
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100aef50
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x100e18d0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x18]
push eax
call fcn.1005d8b3
mov ebx, eax
lea eax, [esi + 0x1c]
push eax
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x54]
mov dword [esp + 0x20], edx
call fcn.1005d2c3
xor esi, esi
mov dword [esp + 0xa8], esi
cmp ebx, esi
jne 0x10038076
xor eax, eax
jmp 0x10038079
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x58]
call fcn.1005d8c7
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], vtable.CBitmap.0
mov byte [esp + 0xa8], 1
mov eax, dword [edi + 0x70]
mov ecx, dword [edi + 0x6c]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x80]
call fcn.1005db99
mov eax, dword [esp + 0x80]
cmp eax, esi
je 0x100380d7
mov ecx, dword [esp + 0x58]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [edi + 0x20]
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
sub eax, dword [esp + 0x48]
sub ecx, dword [esp + 0x44]
lea edx, [edi + 0xfc]
cmp edx, esi
jne 0x10038104
xor edx, edx
jmp 0x10038107
mov edx, dword [edx + 4]
push 0xcc0020
push esi
push esi
push edx
push eax
push ecx
mov ecx, dword [esp + 0x70]
push esi
push esi
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [edi + 0x54]
cmp ecx, 1
je 0x100381cf
mov al, byte [esp + 0x20]
test al, 4
jne 0x100381cf
cmp dword [edi + 0x68], esi
je 0x1003815c
mov dl, byte [edi + 0xd4]
mov ebx, dword [edi + 0xcc]
mov al, byte [edi + 0x134]
mov byte [esp + 0x17], dl
mov edx, dword [edi + 0x11c]
jmp 0x100381eb
test al, 1
je 0x10038186
mov al, byte [edi + 0xd2]
mov dl, byte [edi + 0x132]
mov ebx, dword [edi + 0xc4]
mov byte [esp + 0x17], al
mov eax, dword [edi + 0x114]
mov byte [esp + 0x38], dl
mov dword [esp + 0x34], eax
jmp 0x100381f3
cmp dword [edi + 0x5c], esi
je 0x100381a9
mov dl, byte [edi + 0xd1]
mov ebx, dword [edi + 0xc0]
mov al, byte [edi + 0x131]
mov byte [esp + 0x17], dl
mov edx, dword [edi + 0x110]
jmp 0x100381eb
mov al, byte [edi + 0xd0]
mov dl, byte [edi + 0x130]
mov ebx, dword [edi + 0xbc]
mov byte [esp + 0x17], al
mov eax, dword [edi + 0x10c]
mov byte [esp + 0x38], dl
mov dword [esp + 0x34], eax
jmp 0x100381f3
mov dl, byte [edi + 0xd3]
mov ebx, dword [edi + 0xc8]
mov al, byte [edi + 0x133]
mov byte [esp + 0x17], dl
mov edx, dword [edi + 0x118]
mov byte [esp + 0x38], al
mov dword [esp + 0x34], edx
cmp dword [edi + 0x400], esi
je 0x1003829f
cmp dword [edi + 0x13c], esi
jne 0x10038227
cmp dword [edi + 0x16c], esi
jne 0x10038227
cmp dword [edi + 0x19c], esi
jne 0x10038227
cmp dword [edi + 0x1cc], esi
jne 0x10038227
cmp dword [edi + 0x1fc], esi
je 0x1003829f
cmp ecx, 1
je 0x10038262
mov al, byte [esp + 0x20]
test al, 4
jne 0x10038262
cmp dword [edi + 0x68], esi
je 0x10038241
lea esi, [edi + 0x1f8]
jmp 0x10038268
test al, 1
je 0x1003824d
lea esi, [edi + 0x198]
jmp 0x10038268
cmp dword [edi + 0x5c], esi
je 0x1003825a
lea esi, [edi + 0x168]
jmp 0x10038268
lea esi, [edi + 0x138]
jmp 0x10038268
lea esi, [edi + 0x1c8]
test esi, esi
je 0x100383cf
cmp dword [esi + 4], 0
je 0x100383cf
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [edi + 0x70]
push ecx
mov ecx, dword [edi + 0x6c]
push eax
push ecx
push 0
push 0
push edx
or al, 0xff
call fcn.10006ee0
jmp 0x100383cf
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [edi + 0x128]
mov eax, dword [edi + 0x12c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], eax
cmp dword [edi + 0x120], esi
jne 0x100382d7
mov cl, byte [esp + 0x17]
mov dword [esp + 0x34], ebx
mov byte [esp + 0x38], cl
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x94], eax
sub esi, edx
mov edx, dword [edi + 0x124]
sub eax, ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0x84], edx
cmp ebx, 0xffffffff
je 0x100383cf
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], 0
call sub.gdiplus.dll_GdipCreateFromHDC
mov edx, dword [esp + 0x1c]
movzx eax, byte [esp + 0x17]
mov dword [esp + 0x74], edx
shl eax, 8
movzx ecx, bl
or eax, ecx
mov edx, ebx
shr edx, 8
movzx ecx, dl
shl eax, 8
or eax, ecx
shr ebx, 0x10
movzx edx, bl
shl eax, 8
lea ecx, [esp + 0x40]
or eax, edx
push ecx
push eax
mov dword [esp + 0x48], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
push 2
push eax
mov dword [esp + 0x30], edx
call sub.gdiplus.dll_GdipSetSmoothingMode
mov ebx, dword [esp + 0x84]
mov ecx, dword [esp + 0x3c]
mov eax, ebx
cdq
push ecx
mov ecx, dword [esp + 0x98]
sub eax, edx
mov edx, dword [esp + 0x1c]
push edx
sub esi, ebx
sub ecx, ebx
sar eax, 1
push esi
push ecx
mov ebx, eax
call fcn.10039bc0
mov eax, dword [eax]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x74]
push eax
push ecx
push esi
call sub.gdiplus.dll_GdipFillPath
mov edx, dword [esp + 0x28]
push edx
call sub.gdiplus.dll_GdipDeleteBrush
push esi
call sub.gdiplus.dll_GdipDeleteGraphics
cmp dword [edi + 0x54], 1
jne 0x100383e1
lea eax, [edi + 0x2b8]
mov dword [esp + 0x1c], eax
jmp 0x1003841e
cmp dword [edi + 0x68], 0
je 0x100383ef
lea ecx, [edi + 0x2e8]
jmp 0x1003841a
test byte [esp + 0x20], 1
je 0x10038402
lea edx, [edi + 0x288]
mov dword [esp + 0x1c], edx
jmp 0x1003841e
cmp dword [edi + 0x5c], 0
je 0x10038414
lea eax, [edi + 0x258]
mov dword [esp + 0x1c], eax
jmp 0x1003841e
lea ecx, [edi + 0x228]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x20]
push edx
lea ebx, [esp + 0x58]
mov eax, edi
call fcn.100375f0
mov eax, dword [edi + 0xd8]
cmp dword [eax - 0xc], 0
je 0x10038458
cmp dword [edi + 0x60], 0
je 0x10038458
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x84]
push edx
push ecx
push eax
mov eax, dword [esp + 0x68]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], edx
mov ebx, eax
mov dword [esp + 0x30], edx
test ecx, ecx
je 0x10038669
cmp dword [ecx + 4], 0
je 0x10038669
test byte [edi + 0x498], 5
je 0x10038669
mov edx, dword [edi + 0x3e4]
mov ebx, dword [edi + 0x3dc]
sub dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
add esi, dword [edi + 0x3e0]
add ebx, eax
mov eax, dword [edi + 0x3e8]
sub edx, eax
mov eax, dword [edi + 0x318]
sub eax, 1
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], edx
je 0x10038607
sub eax, 1
je 0x100385ce
sub eax, 0xe
jne 0x1003863f
fld qword [edi + 0x4e8]
lea eax, [edx + esi]
mov esi, dword [ecx + 0x10]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], esi
fild dword [esp + 0x18]
fild dword [esp + 0x3c]
fmulp st(2)
fld qword [0x100caaa8]
fmul st(2), st(0)
fxch st(1)
fsubrp st(2)
fxch st(1)
call fcn.10085420
fld qword [edi + 0x4e8]
mov dword [esp + 0x18], esi
fimul dword [esp + 0x18]
mov dword [esp + 0x28], eax
fiadd dword [esp + 0x28]
call fcn.10085420
mov ecx, dword [edi + 0xd8]
cmp dword [ecx - 0xc], 0
mov dword [esp + 0x30], eax
je 0x100385b5
cmp dword [edi + 0x60], 0
je 0x100385b5
mov edx, dword [esp + 0x2c]
lea eax, [edx + ebx]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + 0xc]
fld qword [edi + 0x4e0]
mov dword [esp + 0x18], esi
fild dword [esp + 0x74]
fild dword [esp + 0x18]
fmulp st(2)
fxch st(1)
fmulp st(2)
fsubrp st(1)
call fcn.10085420
fld qword [edi + 0x4e0]
mov dword [esp + 0x18], esi
fimul dword [esp + 0x18]
mov ebx, eax
mov dword [esp + 0x24], ebx
fiadd dword [esp + 0x24]
call fcn.10085420
mov ecx, dword [esp + 0x1c]
jmp 0x10038637
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + ebx]
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0xc]
sar eax, 1
mov dword [esp + 0x74], eax
jmp 0x10038570
mov eax, dword [edi + 0x3e4]
sub dword [esp + 0x2c], eax
mov ebx, dword [ecx + 0x10]
lea eax, [edx + esi]
cdq
sub eax, edx
mov esi, eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
sar esi, 1
sub esi, eax
mov eax, dword [ecx + 0xc]
add ebx, esi
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x2c]
sub ebx, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x4c], ebx
jmp 0x1003863b
add ebx, dword [edi + 0x3dc]
lea eax, [edx + esi]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [ecx + 0x10]
cdq
sub eax, edx
sar eax, 1
sar esi, 1
sub esi, eax
mov eax, dword [ecx + 0x10]
add eax, esi
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0xc]
add eax, ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0x28]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
push eax
mov eax, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
sub eax, esi
push eax
mov eax, dword [esp + 0x64]
sub edx, ebx
push edx
push esi
push ebx
push eax
or al, 0xff
mov esi, ecx
call fcn.10006ee0
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x58]
push edx
mov ecx, edi
call fcn.100373b0
mov eax, dword [edi + 0x4fc]
cmp dword [eax - 0xc], 0
je 0x1003874d
cmp dword [edi + 0x4f8], 0
je 0x1003874d
cmp dword [edi + 0x56c], 1
jne 0x1003871f
mov eax, dword [edi + 0x510]
sub eax, dword [edi + 0x508]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [edi + 0x50c]
sub eax, dword [edi + 0x504]
sar ecx, 1
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x510]
sub eax, dword [edi + 0x508]
add dword [esp + 0x30], ecx
cdq
sub eax, edx
mov ecx, dword [esp + 0x30]
sar eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x50c]
sub eax, dword [edi + 0x504]
sub esi, dword [esp + 0x18]
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
add edx, dword [esp + 0x3c]
sar eax, 1
sub ebx, eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], esi
mov dword [eax + 8], edx
lea edx, [esp + 0x64]
mov dword [eax + 0xc], ecx
push edx
jmp 0x10038747
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x80]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x64]
push eax
push edi
call fcn.10039da0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x30]
push eax
push edi
lea ecx, [esp + 0x6c]
call fcn.100377f0
mov cl, byte [edi + 0x408]
mov edi, dword [ebp + 8]
lea eax, [edi + 0x1c]
push eax
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0x28], 0
mov byte [esp + 0x29], 0
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], 0
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
push ebx
mov ebx, dword [esp + 0x5c]
sub eax, edx
push eax
sub ecx, esi
push ecx
push 0
push 0
push ebx
push eax
mov eax, dword [edi + 0x18]
push ecx
push edx
push esi
push eax
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
mov byte [esp + 0xa8], 0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], vtable.CBitmap.0
call fcn.10002760
lea ecx, [esp + 0x54]
mov dword [esp + 0xa8], 0xffffffff
call fcn.1005d946
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4