Function at 0x10038620
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100dc20b
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10145188]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x10145188]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.mfc100u.dll_CDC::FromHandle]
mov edi, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], edi
call dword [sym.imp.mfc100u.dll_CDC::CDC]
xor eax, eax
mov dword [esp + 0x80], eax
cmp edi, eax
je 0x1003868a
mov eax, dword [edi + 4]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call edi
mov ebx, dword [sym.imp.mfc100u.dll_CDC::Attach]
push eax
lea ecx, [esp + 0x1c]
call ebx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], vtable.CBitmap.0
mov byte [esp + 0x80], 1
mov eax, dword [esi + 0x1d0]
mov ecx, dword [esi + 0x1cc]
push eax
push ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc100u.dll_CGdiObject::Attach]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.mfc100u.dll_CDC::SelectGdiObject]
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc100u.dll_CDC::CDC]
mov byte [esp + 0x80], 2
mov edx, dword [esp + 0x1c]
push edx
call edi
push eax
lea ecx, [esp + 0x54]
call ebx
mov eax, dword [esi + 0xdc]
xor ebx, ebx
cmp eax, ebx
jne 0x1003871f
xor eax, eax
jmp 0x10038722
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.mfc100u.dll_CDC::SelectGdiObject]
mov edx, dword [esp + 0x54]
mov eax, dword [esi + 0x1d0]
mov ecx, dword [esi + 0x1cc]
push 0xcc0020
push ebx
push ebx
push edx
push eax
mov eax, dword [esp + 0x30]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc100u.dll_CDC::DeleteDC]
mov eax, dword [esi + 0xf0]
cmp eax, ebx
jl 0x1003878d
cmp dword [esi + 0xf4], ebx
jl 0x1003878d
mov edx, dword [esi + 0x1cc]
cmp dword [esi + 0xf8], edx
jg 0x1003878d
mov ecx, dword [esi + 0x1d0]
cmp dword [esi + 0xfc], ecx
jle 0x100387ff
mov ecx, dword [esi + 0xf8]
mov edx, dword [esi + 0xf4]
mov edi, dword [esi + 0xfc]
sub ecx, eax
sub edi, edx
cmp eax, ebx
jge 0x100387b3
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf8], ecx
cmp edx, ebx
jge 0x100387c3
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xfc], edi
mov edx, dword [esi + 0x1cc]
cmp dword [esi + 0xf8], edx
jle 0x100387e1
mov eax, edx
sub eax, ecx
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf8], edx
mov ecx, dword [esi + 0x1d0]
cmp dword [esi + 0xfc], ecx
jle 0x100387ff
mov eax, ecx
sub eax, edi
mov dword [esi + 0xf4], eax
mov dword [esi + 0xfc], ecx
mov eax, dword [esi + 0xf8]
sub eax, dword [esi + 0xf0]
mov dword [esp + 0x2c], eax
je 0x10038d68
mov eax, dword [esi + 0xfc]
sub eax, dword [esi + 0xf4]
je 0x10038d68
mov edi, dword [esi + 0xf0]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esi + 0xf4]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xf8]
mov dword [esp + 0x10], ecx
cmp edi, eax
jle 0x1003884b
mov edi, eax
mov eax, dword [esi + 0xfc]
cmp ebx, eax
jle 0x10038857
mov ebx, eax
test ecx, ecx
jns 0x10038861
neg ecx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jns 0x1003886f
neg eax
mov dword [esp + 0x14], eax
push 8
push 8
push ebx
push edx
push 0
lea ecx, [esi + 0xbc]
push 0
lea eax, [esp + 0x30]
call fcn.100408e0
mov ecx, dword [esi + 0x1d0]
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x1cc]
push 8
sub ecx, eax
push 8
sub ecx, ebx
push ecx
push edx
add eax, ebx
push eax
push 0
lea eax, [esp + 0x30]
lea ecx, [esi + 0xbc]
call fcn.100408e0
mov eax, dword [esp + 0x14]
push 8
push 8
push eax
push edi
push ebx
push 0
lea eax, [esp + 0x30]
lea ecx, [esi + 0xbc]
call fcn.100408e0
mov edx, dword [esi + 0x1cc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 8
push 8
sub edx, eax
push ecx
sub edx, edi
push edx
add eax, edi
push ebx
push eax
lea eax, [esp + 0x30]
lea ecx, [esi + 0xbc]
call fcn.100408e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0xff9d48
push 0xff9d48
push eax
push ecx
push ebx
push edi
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc100u.dll_CDC::Draw3dRect]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea eax, [edx + edi - 0x43]
lea ecx, [ecx + ebx + 0x26]
mov dword [esi + 0x1a8], eax
mov dword [esi + 0x1b4], ecx
test eax, eax
jns 0x10038947
mov dword [esi + 0x1a8], 0
cmp ecx, dword [esi + 0x1d0]
jle 0x10038966
lea eax, [ebx - 8]
mov dword [esi + 0x1b4], eax
add eax, 0xffffffe2
jns 0x10038966
add ebx, 0x26
mov dword [esi + 0x1b4], ebx
mov ecx, dword [esi + 0x1b4]
mov eax, dword [esi + 0x1a8]
push 0x1e
push 0x1e
push 0x1e
add ecx, 0xffffffe2
push 0x1e
push ecx
lea edx, [eax + 0x1e]
mov dword [esi + 0x1ac], ecx
push eax
lea ecx, [esi + 0xcc]
lea eax, [esp + 0x30]
mov dword [esi + 0x1b0], edx
call fcn.100408e0
mov eax, dword [esi + 0x1b0]
mov ecx, dword [esi + 0x1ac]
push 0x1e
push 0x1e
add eax, 7
push 0x1e
lea edx, [eax + 0x1e]
push 0x1e
push ecx
mov dword [esi + 0x1c0], edx
lea edx, [ecx + 0x1e]
mov dword [esi + 0x1b8], eax
mov dword [esi + 0x1bc], ecx
push eax
lea ecx, [esi + 0xd4]
lea eax, [esp + 0x30]
mov dword [esi + 0x1c4], edx
call fcn.100408e0
mov edx, dword [esi + 0x1ac]
mov ecx, dword [esi + 0x1b4]
push 8
push 8
mov dword [esp + 0x74], ecx
lea eax, [edi + 0x50]
sub ecx, edx
push ecx
mov dword [esp + 0x74], eax
sub eax, edi
push eax
push edx
push edi
lea eax, [esp + 0x30]
lea ecx, [esi + 0xbc]
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edx
call fcn.100408e0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], vtable.CFont.0
push 0x100fadd8
push 2
push 1
push 2
push 3
push 0x86
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xfffffffffffffff0
mov byte [esp + 0xb8], 3
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc100u.dll_CGdiObject::Attach]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10038a7f
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc100u.dll_CDC::SetBkMode]
push 0xcaca3e
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc100u.dll_CDC::SetTextColor]
lea ecx, [esp + 0x30]
call dword [0x100ec970]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x38]
push str._2dx_2d
push eax
mov byte [esp + 0x90], 4
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov eax, dword [esp + 0x40]
mov ecx, dword [eax - 0xc]
add esp, 0x10
push 0x8025
lea edx, [esp + 0x64]
push edx
push ecx
push eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x70]
lea ecx, [esp + 0x28]
call edx
mov ecx, dword [esi + 0xf0]
mov eax, dword [esi + 0xf8]
mov ebx, dword [esi + 0xf4]
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xfc]
sub eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], eax
lea eax, [ecx - 3]
add ebx, 0xfffffffd
push ebx
mov dword [esp + 0x2c], eax
push eax
lea edi, [esi + 0xc4]
lea eax, [esp + 0x20]
mov dword [esp + 0x4c], ecx
call fcn.10040810
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x100], eax
mov eax, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
lea eax, [eax + ecx - 3]
push ebx
mov dword [esp + 0x38], eax
push eax
lea eax, [esp + 0x20]
mov dword [esi + 0x104], ebx
call fcn.10040810
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
lea eax, [eax + ecx - 3]
push ebx
mov dword [esp + 0x14], eax
push eax
lea eax, [esp + 0x20]
mov dword [esi + 0x110], edx
mov dword [esi + 0x114], ebx
call fcn.10040810
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x120], edx
cdq
sub eax, edx
mov dword [esi + 0x124], ebx
sar eax, 1
mov edx, dword [esp + 0x28]
lea ebx, [eax + ecx - 3]
push ebx
push edx
lea eax, [esp + 0x20]
call fcn.10040810
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push ebx
mov dword [esi + 0x130], eax
push ecx
lea eax, [esp + 0x20]
mov dword [esi + 0x134], ebx
call fcn.10040810
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x144], ebx
lea ebx, [eax + ecx - 3]
mov dword [esi + 0x140], edx
mov edx, dword [esp + 0x28]
push ebx
push edx
lea eax, [esp + 0x20]
call fcn.10040810
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
push ebx
mov dword [esi + 0x150], eax
push ecx
lea eax, [esp + 0x20]
mov dword [esi + 0x154], ebx
call fcn.10040810
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
push ebx
push eax
lea eax, [esp + 0x20]
mov dword [esi + 0x160], edx
mov dword [esi + 0x164], ebx
call fcn.10040810
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x170], ecx
mov dword [esi + 0x174], ebx
mov edx, dword [esi + 0x100]
mov eax, dword [esi + 0x104]
mov ecx, dword [esi + 0x110]
add edx, 7
add eax, 7
add ecx, 7
mov dword [esi + 0x108], edx
mov edx, dword [esi + 0x114]
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0x120]
mov dword [esi + 0x118], ecx
mov ecx, dword [esi + 0x124]
add edx, 7
add eax, 7
add ecx, 7
mov dword [esi + 0x11c], edx
mov edx, dword [esi + 0x130]
mov dword [esi + 0x128], eax
mov eax, dword [esi + 0x134]
mov dword [esi + 0x12c], ecx
mov ecx, dword [esi + 0x140]
add edx, 7
add eax, 7
add ecx, 7
mov dword [esi + 0x138], edx
mov edx, dword [esi + 0x144]
mov dword [esi + 0x13c], eax
mov eax, dword [esi + 0x150]
mov dword [esi + 0x148], ecx
mov ecx, dword [esi + 0x154]
add edx, 7
add eax, 7
add ecx, 7
mov dword [esi + 0x14c], edx
mov edx, dword [esi + 0x160]
mov dword [esi + 0x158], eax
mov dword [esi + 0x15c], ecx
mov ecx, dword [esi + 0x170]
mov eax, dword [esi + 0x164]
add edx, 7
mov dword [esi + 0x168], edx
mov edx, dword [esi + 0x174]
add ecx, 7
add eax, 7
mov dword [esi + 0x178], ecx
add edx, 7
lea ecx, [esp + 0x30]
mov dword [esi + 0x16c], eax
mov dword [esi + 0x17c], edx
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov byte [esp + 0x80], 2
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], vtable.CFont.0
call fcn.10007160
jmp 0x10038d7f
push 8
push 8
push ecx
push edx
push ebx
push ebx
lea ecx, [esi + 0xbc]
lea eax, [esp + 0x30]
call fcn.100408e0
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x1d0]
mov ecx, dword [esi + 0x1cc]
mov edi, dword [esp + 0x40]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [edi + 4]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc100u.dll_CDC::DeleteDC]
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc100u.dll_CGdiObject::DeleteObject]
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x80], 1
mov esi, dword [reloc.mfc100u.dll_CDC::CDC]
lea ecx, [esp + 0x50]
call esi
mov byte [esp + 0x80], 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], vtable.CBitmap.0
call fcn.10007160
lea ecx, [esp + 0x18]
mov dword [esp + 0x80], 0xffffffff
call esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.100d0962
mov esp, ebp
pop ebp
ret