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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x17c
mov eax, dword [0x617ff0]
xor eax, esp
mov dword [esp + 0x178], eax
cmp dword [0x61886c], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], edi
mov ecx, 0x400
mov dword [esp + 0x10], esi
je 0x42c9a7
test ecx, ebx
jne 0x42ca9e
push 6
push edi
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push 0x5c
mov esi, eax
lea eax, [esp + 0x124]
push 0
push eax
call fcn.005838b0
add esp, 0xc
xor eax, eax
mov word [esp + 0x13c], ax
lea eax, [esp + 0x120]
push eax
push 0x5c
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0xe4]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [esp + 0xe4]
sub eax, dword [esp + 0xf0]
mov dword [esp + 0x28], eax
jns 0x42c4dd
neg eax
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
jne 0x42c4f8
push esi
call fcn.00589e3d
pop ecx
mov dword [esp + 0x24], eax
push 0x6240d4
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [0x62412c], 0
jne 0x42c54c
push 0x62412c
push 0
push 0x5f5510
push 1
call dword [sym.imp.d2d1.dll_Ordinal_1]
cmp dword [0x62412c], 0
jne 0x42c54c
push 0x6240d4
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push dword [esp + 0x14]
push dword [esp + 0x2c]
push esi
jmp 0x42cab0
mov ecx, dword [0x624128]
test ecx, ecx
jne 0x42c571
push 0x624128
push 0x5f5500
push ecx
call dword [sym.imp.DWrite.dll_DWriteCreateFactory]
mov ecx, dword [0x624128]
test ecx, ecx
je 0x42c529
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push edx
push ecx
call dword [eax + 0x28]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x42c529
mov eax, dword [0x624128]
mov esi, dword [eax]
lea eax, [esp + 0x38]
push eax
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x18]
push eax
mov eax, dword [esp + 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x2c]
push ecx
fstp dword [esp]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [esp + 0x30]
push ecx
fstp dword [esp]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
push ecx
fstp dword [esp]
push dword [0x624128]
call dword [esi + 0x30]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [esp + 0x38], 0
jne 0x42c5ff
push 0x6240d4
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push dword [esp + 0x14]
push dword [esp + 0x2c]
jmp 0x42caac
mov edx, dword [esp + 0x100]
lea esi, [esp + 0x14]
cvtsi2ss xmm0, dword [esp + 0x28]
push esi
test edx, edx
mov eax, 0x190
push str.en_us
cmove edx, eax
mov eax, dword [0x624128]
mov dword [esp + 0x138], edx
xor esi, esi
mov ecx, dword [eax]
push ecx
movss dword [esp], xmm0
push 5
push esi
push edx
push esi
lea edx, [esp + 0x158]
push edx
push eax
call dword [ecx + 0x3c]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x42c65b
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x42c5dd
mov eax, dword [ecx]
test bl, 0x10
je 0x42c665
push esi
jmp 0x42c667
push 1
push ecx
call dword [eax + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
test bl, 1
je 0x42c67a
push 2
jmp 0x42c67b
push esi
push eax
call dword [ecx + 0xc]
test bl, 2
je 0x42c690
mov eax, dword [esp + 0x14]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test bl, 4
je 0x42c699
push 2
jmp 0x42c6a3
test bl, 8
je 0x42c6a2
push 1
jmp 0x42c6a3
push esi
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov esi, dword [esp + 0x10]
lea edi, [esp + 0x88]
xor eax, eax
mov dword [esp + 0x6c], 0x57
and dword [esp + 0x74], eax
lea edx, [esp + 0x1c]
and dword [esp + 0x78], eax
movsd dword es:[edi], dword [esi]
push 7
mov dword [esp + 0x20], eax
mov dword [esp + 0x6c], eax
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov eax, dword [0x62412c]
movsd dword es:[edi], dword [esi]
pop ecx
push edx
mov dword [esp + 0x74], 3
lea edx, [esp + 0xcc]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x6c]
lea edi, [esp + 0xcc]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x40]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x42c773
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x6240d4
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov esi, dword [esp + 0x34]
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
or ebx, 0x20
push ebx
push dword [esp + 0x14]
push dword [esp + 0x2c]
push dword [esp + 0x24]
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
and dword [0x61886c], 0
mov dword [0x624124], edi
jmp 0x42cab7
push dword [esp + 0x38]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x90]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x88]
mov esi, dword [esp + 0x34]
xor edi, edi
push edx
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], edi
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xe4]
push esi
mov dword [esp + 0x40], edi
call dword [sym.imp.GDI32.dll_GetTextColor]
mov ecx, eax
shr ecx, 8
movzx edx, cl
movzx ecx, al
shl ecx, 8
shr eax, 0x10
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x10
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
test eax, eax
jns 0x42c7e7
fadd dword [0x5f6020]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
mov eax, edx
fld qword [0x5f5fc8]
fdiv st(1), st(0)
fxch st(1)
shr eax, 8
movzx eax, al
mov dword [esp + 0x28], eax
fstp dword [esp + 0x48]
fild dword [esp + 0x28]
test eax, eax
jns 0x42c817
fadd dword [0x5f6020]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fdiv st(1)
movzx eax, dl
mov dword [esp + 0x28], eax
fstp dword [esp + 0x4c]
fild dword [esp + 0x28]
test eax, eax
jns 0x42c83a
fadd dword [0x5f6020]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
lea edx, [esp + 0x3c]
fdiv st(1)
movzx eax, byte [ebp + 0x14]
mov dword [esp + 0x28], eax
push edx
push edi
lea edx, [esp + 0x50]
push edx
fstp dword [esp + 0x5c]
fild dword [esp + 0x34]
fstp qword [esp + 0x34]
fdivr qword [esp + 0x34]
mov eax, dword [esp + 0x28]
push eax
fstp dword [esp + 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd4]
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x48]
lea edi, [esp + 0xa8]
cvtsi2ss xmm0, dword [eax]
movss dword [esp + 0x48], xmm0
cvtsi2ss xmm0, dword [eax + 4]
mov eax, dword [esp + 0x1c]
push eax
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x58], xmm0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0xc0]
push dword [esp + 0x18]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
call fcn.00589e3d
pop ecx
mov ecx, dword [esp + 0x1c]
push 0
push 0
push esi
mov edx, dword [ecx]
lea esi, [esp + 0xb4]
push esi
push edi
mov edi, dword [esp + 0x2c]
push eax
push edi
push ecx
call dword [edx + 0x6c]
mov eax, dword [esp + 0x1c]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x6240d4
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [0x624124], 0
jne 0x42c998
mov esi, dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push str.nvumdshim.dll
call esi
test eax, eax
jne 0x42c96d
push str.nvumdshimx.dll
call esi
test eax, eax
je 0x42c998
mov esi, dword [esp + 0x34]
xor eax, eax
and dword [0x61886c], 0
inc eax
push eax
push esi
mov dword [0x624124], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push dword [esp + 0x14]
push dword [esp + 0x2c]
push edi
push esi
jmp 0x42cab1
mov dword [0x624124], 1
jmp 0x42cab7
test ecx, ebx
jne 0x42ca9e
mov eax, ebx
and al, 0x24
cmp al, 4
jne 0x42ca30
lea edi, [esp + 0xb8]
and ebx, 0xfffffffb
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xb8]
mov dword [ebp + 0x10], ebx
or ebx, ecx
push ebx
push eax
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
push edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x44]
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov esi, dword [esp + 0x10]
lea edi, [esp + 0x58]
mov ebx, eax
push 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
sub eax, ecx
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [esp + 0x60], ecx
lea eax, [ecx + ebx]
mov ebx, dword [esp + 0x38]
push ebx
mov dword [esp + 0x6c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebp + 0x10]
lea eax, [esp + 0x5c]
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
push ebx
jmp 0x42cab1
test bl, 8
je 0x42ca9e
lea edi, [esp + 0x68]
mov eax, ebx
mov ebx, dword [sym.imp.USER32.dll_DrawTextW]
and eax, 0xfffffff7
movsd dword es:[edi], dword [esi]
or eax, ecx
push eax
lea eax, [esp + 0x6c]
push eax
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
push edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x44]
push esi
call ebx
mov esi, dword [esp + 0x10]
lea edi, [esp + 0x98]
push 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xa8]
mov esi, dword [esp + 0x38]
sub ecx, eax
push esi
mov dword [esp + 0xa4], ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
push dword [ebp + 0x10]
lea eax, [esp + 0x9c]
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
push esi
call ebx
jmp 0x42cab7
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push esi
push dword [ebp + 8]
push dword [esp + 0x24]
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x184]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00580b5b
mov esp, ebp
pop ebp
ret 0x10