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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x432090
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x43fe28]
xor eax, esp
mov dword [esp + 0x200], eax
push ebx
push esi
push edi
mov eax, dword [0x43fe28]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov esi, ecx
push 0x81
push ecx
mov dword [esp + 0x18], esi
call fcn.00409350
add esp, 4
call fcn.004093e0
mov edi, eax
mov ecx, dword [edi + 4]
lea eax, [esp + 0x14]
push eax
xor ebx, ebx
push ecx
mov dword [esp + 0x1c], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x401ac6
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x20], ebx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x401adf
mov dword [edi + 8], eax
mov ecx, dword [esi + 0x20]
push ecx
mov dword [esp + 0x40], ebx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00417244
sub esp, 0x10
mov ecx, esp
mov dword [ecx], ebx
mov edx, ebx
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 0xc], edx
lea ecx, [esp + 0x128]
push ecx
mov ebx, eax
call fcn.00401150
xor ebx, ebx
mov dword [esp + 0x220], ebx
mov eax, dword [esp + 0x11c]
lea edx, [esp + 0x34]
push edx
push eax
mov dword [esp + 0x3c], ebx
call sub.gdiplus.dll_GdipCreateFromHDC
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [edi + 4]
push edx
push ebx
push ebx
push ecx
push eax
call sub.gdiplus.dll_GdipDrawImageRectI
cmp eax, ebx
je 0x401b65
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x11c]
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], ebx
call sub.gdiplus.dll_GdipCreateFromHDC
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x220], 2
mov ecx, dword [esi + 0x7c]
sub ecx, dword [esi + 0x78]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x401c04
lea esp, [esp]
mov ecx, dword [esi + 0x7c]
sub ecx, dword [esi + 0x78]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x401bd2
call fcn.0041cb3f
mov eax, dword [esi + 0x78]
lea edx, [esp + 0x2c]
push edx
add eax, ebx
call fcn.0040f310
mov ecx, dword [esi + 0x7c]
sub ecx, dword [esi + 0x78]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebx, 0x38
cmp edi, eax
jb 0x401bb0
xor ebx, ebx
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0xa4]
push ecx
push edx
mov byte [esp + 0x30], 0
mov byte [esp + 0x31], 0
mov byte [esp + 0x33], 1
mov byte [esp + 0x32], 0xfe
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x18]
push ecx
add esi, 0x54
push esi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
call fcn.00406e70
push 0x5c
lea edx, [esp + 0xb8]
push ebx
push edx
call fcn.0041dcd0
mov eax, dword [0x445368]
shl eax, 8
or eax, dword [0x44536c]
add esp, 0xc
shl eax, 8
or eax, dword [0x445370]
push 0x437ae0
cmp eax, 0x60000
jl 0x401ca6
lea ecx, [esp + 0xd4]
push ecx
jmp 0x401cae
lea edx, [esp + 0xd4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x20]
mov ecx, 0x17
lea esi, [esp + 0xb4]
lea edi, [esp + 0x14c]
mov dword [esp + 0xb4], 0xfffffff4
rep movsd dword es:[edi], dword [esi]
or dword [esp + 0x15c], 0x2bc
push eax
mov dword [esp + 0x150], 0xfffffff2
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00417244
mov dword [esp + 0x10], eax
test eax, eax
je 0x401d09
mov eax, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x150]
push edx
push eax
mov dword [esp + 0x20], 0
call sub.gdiplus.dll_GdipCreateFontFromLogfontW
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x9c], eax
push 0x5c
lea ecx, [esp + 0xb8]
push 0
push ecx
call fcn.0041dcd0
mov edx, dword [0x445368]
shl edx, 8
or edx, dword [0x44536c]
add esp, 0xc
shl edx, 8
or edx, dword [0x445370]
push 0x437ae0
cmp edx, 0x60000
jl 0x401d79
lea eax, [esp + 0xd4]
push eax
jmp 0x401d81
lea ecx, [esp + 0xd4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, 0xfffffff4
mov dword [esp + 0xb4], eax
mov ecx, 0x17
lea esi, [esp + 0xb4]
lea edi, [esp + 0x1ac]
rep movsd dword es:[edi], dword [esi]
or dword [esp + 0x1bc], 0x2bc
mov dword [esp + 0x1ac], eax
mov eax, dword [esp + 0x10]
xor esi, esi
cmp eax, esi
jne 0x401dc8
xor eax, eax
jmp 0x401dcb
mov eax, dword [eax + 4]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x1b0]
push ecx
push eax
mov dword [esp + 0x24], esi
call sub.gdiplus.dll_GdipCreateFontFromLogfontW
mov edx, dword [esp + 0x18]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], edx
lea eax, [esp + 0x20]
push eax
push esi
push esi
mov dword [esp + 0x2c], esi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x24], eax
mov byte [esp + 0x220], 5
mov ecx, dword [esp + 0x20]
push 0x1000
push ecx
call sub.gdiplus.dll_GdipSetStringFormatFlags
cmp eax, esi
je 0x401e27
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x20]
push esi
push edx
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, esi
je 0x401e3a
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
push esi
push eax
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, esi
je 0x401e4d
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x168]
push ecx
lea ecx, [esp + 0x14]
call fcn.004062b0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401e7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.This_is_a_test_
lea ecx, [esp + 0x4c]
call fcn.004062b0
lea ecx, [esp + 0x1c]
push ecx
mov edi, vtable.Gdiplus::SolidBrush.0
push 0xff666666
mov dword [esp + 0x98], edi
mov dword [esp + 0x24], esi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ecx
fld dword [0x438a88]
mov eax, dword [ebx + 0x88]
fstp dword [esp + 0x38]
mov edx, dword [eax - 0xc]
fld dword [0x438a84]
push ecx
fstp dword [esp + 0x40]
fldz
push esi
mov esi, dword [esp + 0x34]
fst dword [esp + 0x48]
lea ecx, [esp + 0x40]
fstp dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push edx
push eax
push esi
call sub.gdiplus.dll_GdipDrawString
test eax, eax
je 0x401f04
mov dword [esp + 0x30], eax
lea edx, [esp + 0x10]
push edx
push 0xff1b82c6
mov dword [esp + 0x84], edi
mov dword [esp + 0x18], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov edi, dword [esp + 0x10]
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], edi
fld dword [0x438a88]
mov eax, dword [ebx + 0x8c]
fstp dword [esp + 0x38]
mov ecx, dword [eax - 0xc]
fld dword [0x438a80]
push edi
fstp dword [esp + 0x40]
fldz
push 0
lea edx, [esp + 0x40]
fst dword [esp + 0x48]
push edx
fstp dword [esp + 0x50]
mov edx, dword [esp + 0x20]
push edx
push ecx
push eax
push esi
call sub.gdiplus.dll_GdipDrawString
test eax, eax
je 0x401f78
mov dword [esp + 0x30], eax
lea eax, [esp + 0x10]
push eax
push 0xff939393
mov dword [esp + 0x40], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x18], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov esi, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], esi
mov byte [esp + 0x220], 9
fld dword [0x438a88]
mov eax, dword [ebx + 0x90]
fstp dword [esp + 0x6c]
mov ecx, dword [eax - 0xc]
fld dword [0x438a7c]
push esi
fstp dword [esp + 0x74]
fldz
push 0
lea edx, [esp + 0x74]
fst dword [esp + 0x7c]
push edx
fstp dword [esp + 0x84]
mov edx, dword [esp + 0x24]
push edx
push ecx
push eax
mov eax, dword [esp + 0x44]
push eax
call sub.gdiplus.dll_GdipDrawString
test eax, eax
je 0x401ff6
mov dword [esp + 0x30], eax
mov ecx, dword [ebx + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00417244
test eax, eax
je 0x40200d
mov eax, dword [eax + 4]
push 2
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x124]
push 0
lea ecx, [esp + 0x60]
push ecx
push edx
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x7c]
push edx
push eax
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push esi
mov ebx, eax
call sub.gdiplus.dll_GdipDeleteBrush
push edi
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x1c]
push ecx
call sub.gdiplus.dll_GdipDeleteBrush
mov byte [esp + 0x220], 5
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402078
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push ecx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov edx, dword [esp + 0x18]
push edx
call sub.gdiplus.dll_GdipDeleteFont
mov eax, dword [esp + 0x14]
push eax
call sub.gdiplus.dll_GdipDeleteFont
mov ecx, dword [esp + 0x2c]
push ecx
call sub.gdiplus.dll_GdipDeleteGraphics
mov edx, dword [esp + 0x34]
push edx
call sub.gdiplus.dll_GdipDeleteGraphics
lea eax, [esp + 0x118]
push eax
mov dword [esp + 0x224], 0xffffffff
call fcn.00401290
mov eax, ebx
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.0041baef
mov esp, ebp
pop ebp
ret