Function at 0x507df0
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x70]
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov esi, dword [esp + 0x7c]
mov dword [edi + 0x64], eax
mov al, byte [edi + 4]
xor ebp, ebp
test al, 1
mov dword [esp + 0x38], esi
je 0x507e21
mov ebp, dword [esp + 0x78]
xor esi, esi
mov dword [esp + 0x38], esi
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
lea ebx, [ecx + esi]
push ebx
lea ecx, [edx + ebp]
push ecx
push eax
mov dword [esp + 0x7c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x7c]
mov dword [edi + 0x58], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x74]
and eax, 0x80
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x18], eax
je 0x507ed1
cmp dword [edi + 0xb8], 1
jbe 0x507ed1
call fcn.00505cb0
cmp eax, 0x1f
jle 0x507ed1
push edi
call fcn.00505d40
test byte [edi + 4], 1
je 0x507e97
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
jmp 0x507ea1
mov esi, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], esi
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
lea eax, [edx + esi*2]
mov edx, dword [esp + 0x44]
push eax
lea eax, [ecx + edx*2]
mov ecx, dword [esp + 0x74]
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [esp + 0x3c]
mov dword [edi + 0x5c], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0x38], edx
mov dword [edi + 0x3c], eax
mov ecx, dword [esp + 0x70]
push ecx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [edi + 0x58]
test eax, eax
jne 0x507eef
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x10
mov esi, dword [0x611af8]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [edi + 0x64]
push edx
push esi
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esp + 0x78]
xor ecx, ecx
push ecx
push ecx
push ecx
lea edx, [esp + 0x68]
push edx
push 2
push ecx
push ecx
add eax, ebp
push esi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov edx, dword [esp + 0x74]
mov ebx, dword [edi + 4]
mov eax, edx
shr eax, 0xe
shl eax, 8
xor eax, ebx
and eax, 0x100
xor ebx, eax
mov eax, edx
and eax, 0x10
mov dword [edi + 4], ebx
mov dword [esp + 0x2c], eax
je 0x508095
test dl, 8
lea ebx, [edi + 0x40]
mov dword [ebx], 4
mov dword [edi + 0x44], 4
je 0x507fa1
push 0x6e
call sym.vidcap60.exe__SfGetUIFont_4
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push 6
push str.__00.0
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov edx, dword [esp + 0x74]
mov ecx, dword [ebx]
mov eax, dword [edi + 0x44]
add ecx, 2
mov dword [ebx], ecx
mov ecx, dword [edi + 4]
add eax, 2
test cl, 1
mov dword [edi + 0x44], eax
je 0x50803e
test cl, cl
mov edx, dword [edi + 0xd0]
mov eax, dword [esp + 0x78]
lea eax, [eax + edx*2]
mov dword [ebx], eax
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x70], eax
jns 0x507fe6
mov eax, dword [edi + 0x44]
cmp eax, ebx
jl 0x507fe1
mov eax, ebx
mov dword [edi + 0x44], eax
jmp 0x507ffb
mov eax, ebx
cdq
sub eax, edx
mov edx, dword [edi + 0x44]
sar eax, 1
cmp edx, eax
jle 0x507ffb
mov dword [edi + 0x44], 0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x508035
test byte [esp + 0x74], 0x20
je 0x50801b
mov eax, dword [esp + 0x70]
cdq
sub eax, edx
mov edx, dword [esp + 0x78]
sar eax, 1
cmp edx, eax
jmp 0x50802a
mov edx, dword [edi + 0xb8]
imul edx, dword [esp + 0x70]
cmp dword [esp + 0x78], edx
jge 0x508035
or ecx, 0x100
mov dword [edi + 4], ecx
sub ebx, dword [edi + 0x44]
mov dword [esp + 0x7c], ebx
jmp 0x508095
cmp dword [esp + 0x18], 0
jne 0x508068
test dl, 0x20
je 0x508050
cmp dword [esp + 0x7c], eax
jmp 0x50805d
mov edx, dword [edi + 0xb8]
imul edx, eax
cmp dword [esp + 0x7c], edx
jge 0x508068
or ecx, 0x100
mov dword [edi + 4], ecx
mov eax, dword [edi + 0xd0]
mov ecx, dword [esp + 0x7c]
lea edx, [ecx + eax*2]
mov ecx, dword [esp + 0x78]
mov dword [edi + 0x44], edx
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebx]
sar eax, 1
cmp edx, eax
jle 0x50808f
mov dword [ebx], 0
sub ecx, dword [ebx]
mov dword [esp + 0x78], ecx
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x40]
mov ebx, eax
mov eax, dword [edi + 0x44]
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ebx
push 0
mov dword [edi + 0x60], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
dec ebx
dec eax
mov ecx, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x58], eax
test byte [edi + 4], cl
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ecx
je 0x5080e8
mov dword [esp + 0x58], ecx
jmp 0x5080ec
mov dword [esp + 0x4c], ebx
call fcn.00505cb0
mov dword [esp + 0x10], eax
test byte [edi + 4], 1
je 0x5080ff
mov ebx, dword [edi + 0x44]
inc ebx
push 0xff0000
push esi
mov dword [esp + 0x20], ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [edi + 4]
test dl, 0x10
jne 0x50834f
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x508130
mov ecx, dword [edi + 0xc4]
cmp ecx, 1
ja 0x50813a
mov eax, 0x5ebb20
mov ecx, 3
test byte [edi], 2
mov dword [0x6a3750], eax
je 0x50821f
test dl, 1
je 0x50815f
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], ecx
jmp 0x508172
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
inc edx
sub ebx, ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x4c], ebx
mov eax, dword [eax + 4]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push 0
push 0
lea ecx, [esp + 0x58]
push ecx
push 2
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x58]
add ebx, ebp
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x38]
add edx, ebp
mov dword [esp + 0x54], edx
mov edx, dword [0x6a3750]
add eax, ebx
add ecx, ebx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], eax
mov eax, dword [edx + 8]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push 0
push 0
lea ecx, [esp + 0x58]
push ecx
push 2
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov edx, dword [esp + 0x4c]
mov ecx, ebp
neg ecx
add edx, ecx
mov eax, ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x50]
add ebx, ecx
mov ecx, dword [esp + 0x58]
neg eax
add edx, eax
add ecx, eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], ecx
jmp 0x508643
test ecx, ecx
jbe 0x508643
mov eax, dword [esp + 0x38]
neg eax
mov dword [esp + 0x14], eax
mov eax, ebp
neg eax
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov dword [esp + 0x70], ecx
nop
mov edx, dword [0x6a3750]
fld dword [ebx + edx]
sub esp, 8
mov ecx, edi
fstp qword [esp]
call fcn.00505c50
test byte [edi + 4], 1
je 0x508270
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
sub edx, eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], edx
jmp 0x508288
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x18]
sub eax, edx
add eax, ecx
mov dword [esp + 0x4c], eax
mov edx, dword [0x6a3750]
mov eax, dword [ebx + edx + 4]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push 0
push 0
lea ecx, [esp + 0x58]
push ecx
push 2
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
add eax, ebp
add ecx, ebp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x58]
add edx, eax
mov dword [esp + 0x50], edx
mov edx, dword [0x6a3750]
add ecx, eax
mov dword [esp + 0x58], ecx
mov eax, dword [ebx + edx + 8]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push 0
push 0
lea ecx, [esp + 0x58]
push ecx
push 2
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
add ecx, eax
add edx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x58]
add ecx, eax
add edx, eax
mov eax, dword [esp + 0x70]
add ebx, 0xc
dec eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x70], eax
jne 0x508240
jmp 0x508643
mov eax, dword [edi + 0xc8]
test eax, eax
je 0x508364
mov ecx, dword [edi + 0xcc]
cmp ecx, 1
ja 0x50836e
mov eax, 0x5ebaf0
mov ecx, 4
test byte [edi], 2
mov dword [0x6a374c], eax
je 0x508453
shl edx, 0x1f
mov ecx, edx
sar ecx, 0x1f
test ecx, ecx
je 0x50839a
mov edx, dword [esp + 0x58]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x58], edx
jmp 0x5083aa
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x54], edx
sub ebx, dword [esp + 0x10]
mov dword [esp + 0x4c], ebx
mov edx, dword [eax + 4]
push 0xf
test ecx, ecx
mov ecx, dword [eax + 0x10]
push ecx
push edx
lea eax, [esp + 0x58]
push eax
push esi
je 0x5083c5
call fcn.00506640
jmp 0x5083ca
call fcn.00506b20
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
add eax, ebp
add ebx, ebp
mov dword [esp + 0x4c], eax
mov al, byte [edi + 4]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x38]
add edx, ebx
add ecx, ebx
test al, 1
mov eax, dword [0x6a374c]
push 0xf
mov dword [esp + 0x54], edx
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 8]
push ecx
push edx
lea eax, [esp + 0x58]
push eax
push esi
je 0x508419
call fcn.00506640
jmp 0x50841e
call fcn.00506b20
mov edx, dword [esp + 0x4c]
mov ecx, ebp
neg ecx
add edx, ecx
mov eax, ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x50]
add ebx, ecx
mov ecx, dword [esp + 0x58]
neg eax
add edx, eax
add ecx, eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], ecx
jmp 0x508643
lea eax, [ecx - 1]
test eax, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], eax
jbe 0x508643
mov eax, dword [esp + 0x38]
neg eax
mov dword [esp + 0x24], eax
mov eax, ebp
neg eax
mov dword [esp + 0x20], eax
lea esp, [esp]
mov ebx, dword [esp + 0x14]
mov ecx, dword [0x6a374c]
lea ebx, [ebx + ebx*2]
shl ebx, 2
fld dword [ebx + ecx]
sub esp, 8
mov ecx, edi
fstp qword [esp]
call fcn.00505c50
mov ecx, dword [edi + 4]
shl ecx, 0x1f
sar ecx, 0x1f
test ecx, ecx
mov edx, eax
je 0x5084d8
mov eax, dword [esp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
shl eax, 1
cmp eax, edx
jge 0x5084d2
mov dword [esp + 0x58], eax
jmp 0x5084fb
mov dword [esp + 0x58], edx
jmp 0x5084fb
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x54], eax
sub edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add eax, edx
cmp eax, 1
mov dword [esp + 0x4c], eax
jg 0x5084fb
mov dword [esp + 0x4c], 1
test ecx, ecx
mov eax, dword [esp + 0x14]
je 0x508528
test eax, eax
mov dword [esp + 0x70], 5
jne 0x508517
mov dword [esp + 0x70], 7
mov edx, dword [esp + 0x1c]
cmp dword [esp + 0x58], edx
jl 0x50854d
or dword [esp + 0x70], 8
jmp 0x50854d
test eax, eax
mov dword [esp + 0x70], 0xa
jne 0x50853c
mov dword [esp + 0x70], 0xe
mov edx, dword [esp + 0x4c]
mov eax, 1
cmp edx, eax
jg 0x50854d
or dword [esp + 0x70], eax
test ecx, ecx
je 0x508572
mov eax, dword [esp + 0x70]
push eax
mov eax, dword [0x6a374c]
mov ecx, dword [ebx + eax + 0x10]
mov edx, dword [ebx + eax + 4]
push ecx
push edx
lea eax, [esp + 0x58]
push eax
push esi
call fcn.00506640
jmp 0x508591
mov eax, dword [0x6a374c]
mov ecx, dword [esp + 0x70]
mov edx, dword [ebx + eax + 0x10]
mov eax, dword [ebx + eax + 4]
push ecx
push edx
push eax
lea ecx, [esp + 0x58]
push ecx
push esi
call fcn.00506b20
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
add eax, ebp
add ecx, ebp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x58]
add edx, eax
add ecx, eax
test byte [edi + 4], 1
mov eax, dword [0x6a374c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], ecx
je 0x5085e4
mov edx, dword [esp + 0x70]
mov ecx, dword [ebx + eax + 0x14]
push edx
mov edx, dword [ebx + eax + 8]
push ecx
push edx
lea eax, [esp + 0x58]
push eax
push esi
call fcn.00506640
jmp 0x5085fe
mov ecx, dword [esp + 0x70]
mov edx, dword [ebx + eax + 0x14]
mov eax, dword [ebx + eax + 8]
push ecx
push edx
push eax
lea ecx, [esp + 0x58]
push ecx
push esi
call fcn.00506b20
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
add ebx, eax
add edx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x58]
add ecx, eax
add ebx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x14], eax
jb 0x508480
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
xor eax, eax
push 0xf
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
push 2
lea eax, [esp + 0x64]
push eax
push esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], edx
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
add eax, ebp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x38]
add edx, ebp
add ecx, eax
push 0xf
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x64], ecx
push 2
lea ecx, [esp + 0x64]
push ecx
add edx, eax
push esi
mov dword [esp + 0x78], edx
call dword [sym.imp.USER32.dll_DrawEdge]
push 0x6e
call sym.vidcap60.exe__SfGetUIFont_4
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [edi + 0x48]
push edx
push 1
push 0x5d4f14
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x74]
test ah, 4
je 0x508701
cmp dword [esp + 0x10], 0x1f
jle 0x508701
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push 1
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push ecx
push eax
mov ebx, edi
call fcn.00507390
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5088db
mov edx, dword [edi + 0x64]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
test byte [edi + 4], 1
push 0
je 0x50883b
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x78]
mov ebx, eax
mov eax, dword [esp + 0x7c]
add eax, ecx
lea ecx, [edx + ebp]
push eax
push ecx
push ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ebx
mov dword [esp + 0x74], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov eax, dword [esp + 0x70]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push 0xcc0020
push 0
push 0
push esi
push ecx
push edx
push 0
push 0
push ebx
mov dword [esp + 0x94], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x7c]
mov edx, dword [edi + 0x44]
push 0xcc0020
push 0
push 0
push ebx
push ecx
lea eax, [ebp + ebp]
push eax
push edx
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x24]
push eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x70]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
mov dword [esp + 0x74], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x70]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
xor ecx, ecx
push ecx
push ecx
push ecx
lea edx, [esp + 0x68]
push edx
push 2
push ecx
lea eax, [ebp + ebp]
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0x44]
push ecx
push esi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], eax
call dword [sym.imp.GDI32.dll_ExtTextOutW]
test byte [esp + 0x74], 8
jne 0x5088db
mov eax, dword [edi + 0x44]
push 0xcc0020
push eax
push 0
push esi
add eax, 0xfffffffe
push eax
mov eax, dword [edi + 0x40]
push eax
push 0
push 0
jmp 0x5088d4
mov ecx, dword [edi + 0x40]
mov edx, dword [esp + 0x3c]
push 0
add ecx, ebx
push 0
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x68]
push ecx
push 2
push 0
push 0
lea eax, [edx + edx]
push esi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], 0
mov dword [esp + 0x88], eax
call dword [sym.imp.GDI32.dll_ExtTextOutW]
test byte [esp + 0x74], 8
jne 0x5088db
mov edx, dword [edi + 0x44]
push 0xcc0020
push 0
lea ecx, [ebx - 1]
push ecx
push esi
push edx
push 1
push 0
lea eax, [ebx + 1]
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push 0xcc0020
push 0
lea eax, [ebx - 1]
push eax
mov eax, dword [edi + 0x44]
push esi
push eax
push 1
push 0
lea ecx, [ebx + 2]
push ecx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [edi + 0x44]
push 0xcc0020
push 0
lea eax, [ebx + 1]
push eax
push esi
push edx
push 2
push 0
add ebx, 4
push ebx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
push ecx
push esi
mov dword [edi + 0x50], ebp
mov dword [edi + 0x54], eax
call dword [sym.imp.GDI32.dll_SelectObject]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x5c
ret 0x10