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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b304b
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4e50cc]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x4e50cc]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x48]
mov esi, dword [ebp + 8]
push str.border
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
mov byte [esp + 0x1b], 0
call fcn.00402cfd
and dword [esp + 0x70], 0
lea eax, [esp + 0x17]
mov ecx, dword [ebx + 0x1d4]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004190e0
xor edi, edi
lea ecx, [esp + 0x48]
push 0
inc edi
push edi
call fcn.0040304c
push 0x1e
xor ebx, ebx
cmp byte [esp + 0x1b], bl
pop eax
cmovne ebx, eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x74], edi
call fcn.004096fc
xor eax, eax
mov dword [esp + 0x28], 0xe53385ff
lea edi, [esp + 0x48]
stosd dword es:[edi], eax
lea ecx, [esp + 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
call fcn.0040968c
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.gdiplus.dll_GdipFillRectangleI]
push ebx
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 4]
push eax
push 0
push 0
push dword [esp + 0x5c]
push dword [esp + 0x40]
call esi
mov ecx, dword [esp + 0x30]
lea edi, [esp + 0x3c]
test eax, eax
mov dword [esp + 0x28], 0xfff5f5f5
cmovne ecx, eax
xor eax, eax
stosd dword es:[edi], eax
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
call fcn.0040968c
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
sub ecx, ebx
sub eax, dword [edi + 4]
push ecx
push eax
push ebx
push 0
push dword [esp + 0x50]
push dword [esp + 0x40]
call esi
mov ebx, dword [esp + 0x24]
test eax, eax
cmovne ebx, eax
xor ecx, ecx
lea eax, [esp + 0x34]
mov dword [esp + 0x34], ecx
push eax
push ecx
push ecx
mov dword [esp], 0x3f800000
push 0xffb8c0cc
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ecx
call dword [sym.imp.gdiplus.dll_GdipCreatePen1]
mov dword [esp + 0x38], eax
mov byte [esp + 0x70], 4
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
dec ecx
sub eax, dword [edi + 4]
push ecx
dec eax
push eax
push dword [edi + 8]
push dword [edi + 4]
push dword [esp + 0x44]
push dword [esp + 0x40]
call dword [sym.imp.gdiplus.dll_GdipDrawRectangleI]
push dword [esp + 0x1c]
test eax, eax
mov ecx, edi
push dword [esp + 0x24]
cmovne ebx, eax
mov dword [esp + 0x38], ebx
call fcn.00443b00
push dword [esp + 0x34]
call dword [sym.imp.gdiplus.dll_GdipDeletePen]
push dword [esp + 0x40]
mov esi, dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
call esi
push dword [esp + 0x4c]
call esi
push dword [esp + 0x2c]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004a5ae0
mov esp, ebp
pop ebp
ret 8