Function at 0x46bc50
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58fee0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5f0a00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x70], edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x78], edi
mov dword [edi + 4], vtable.SOUI::SObjectImpl_struct_SOUI::IObject_.0
mov dword [edi + 4], vtable.SOUI::IRenderTarget.0
mov dword [edi], vtable.SOUI::TObjRefImpl_struct_SOUI::IRenderTarget_.0
mov dword [edi + 4], vtable.SOUI::TObjRefImpl_struct_SOUI::IRenderTarget_.1.0
mov dword [ebp - 0x74], ecx
mov dword [edi + 8], 1
mov dword [edi], vtable.SOUI::SRenderTarget_GDI.0
mov dword [edi + 4], vtable.SOUI::SRenderTarget_GDI.1.0
mov dword [edi + 0xc], 0
mov word [edi + 0x11], 0
mov byte [edi + 0x10], 0
mov byte [edi + 0x13], 0xff
mov dword [ebp - 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov byte [ebp - 4], 9
mov dword [edi + 0x40], 0
mov byte [edi + 0x44], 1
test ecx, ecx
je 0x46bd2e
mov dword [edi + 0x3c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
push 0
mov dword [edi + 0xc], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 1
push dword [edi + 0xc]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 2
push dword [edi + 0xc]
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 0x20
call fcn.005523ef
mov ebx, eax
add esp, 4
mov dword [ebp - 0x70], ebx
mov ecx, dword [edi + 0x3c]
mov dword [ebx + 4], vtable.SOUI::IObjRef.0
mov dword [ebx + 4], vtable.SOUI::IRenderObj.0
mov dword [ebx + 4], vtable.SOUI::IPen.0
mov dword [ebx + 4], vtable.SOUI::SObjectImpl_struct_SOUI::IPen_.0
push 0
mov dword [ebx + 4], vtable.SOUI::TObjRefImpl_class_SOUI::SObjectImpl_struct_SOUI::IPen__.1.0
push 1
mov dword [ebx], vtable.SOUI::TObjRefImpl_class_SOUI::SObjectImpl_struct_SOUI::IPen__.0
mov dword [ebx + 4], vtable.SOUI::TGdiRenderObjImpl_struct_SOUI::IPen_.0
push 0
mov dword [ebx + 8], 1
mov dword [ebx + 0xc], ecx
mov dword [ebx], vtable.SOUI::SPen_GDI.0
mov dword [ebx + 4], vtable.SOUI::SPen_GDI.1.0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 1
mov dword [ebx + 0x18], 0xff000000
mov dword [ebx + 0x1c], 0
call dword [sym.imp.GDI32.dll_CreatePen]
xor esi, esi
mov dword [ebx + 0x1c], eax
mov dword [edi + 0x30], ebx
mov dword [ebp - 0x70], esi
mov eax, dword [ebx]
mov ecx, ebx
mov byte [ebp - 4], 0xa
call dword [eax + 0x38]
lea ecx, [eax - 1]
cmp ecx, 3
ja case.default.0x46be12
jmp dword [ecx*4 + 0x46c3b0]
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x46be2e
mov eax, dword [ecx + 4]
mov esi, ecx
add ecx, 4
mov dword [ebp - 0x70], esi
call dword [eax + 4]
mov ecx, dword [edi + 0x14]
cmp ecx, ebx
je 0x46be4d
test ecx, ecx
je 0x46be42
mov eax, dword [ecx + 4]
add ecx, 4
call dword [eax + 8]
lea ecx, [ebx + 4]
mov dword [edi + 0x14], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x78]
push eax
jmp 0x46bf0d
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x46be70
mov eax, dword [ecx + 4]
mov esi, ecx
add ecx, 4
mov dword [ebp - 0x70], esi
call dword [eax + 4]
mov ecx, dword [edi + 0x18]
cmp ecx, ebx
je 0x46be8f
test ecx, ecx
je 0x46be84
mov eax, dword [ecx + 4]
add ecx, 4
call dword [eax + 8]
lea ecx, [ebx + 4]
mov dword [edi + 0x18], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x18]
push dword [eax + 0x1c]
jmp 0x46bf0d
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x46beac
mov eax, dword [ecx + 4]
mov esi, ecx
add ecx, 4
mov dword [ebp - 0x70], esi
call dword [eax + 4]
mov ecx, dword [edi + 0x1c]
cmp ecx, ebx
je 0x46becb
test ecx, ecx
je 0x46bec0
mov eax, dword [ecx + 4]
add ecx, 4
call dword [eax + 8]
lea ecx, [ebx + 4]
mov dword [edi + 0x1c], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x1c]
push dword [eax + 0x10]
jmp 0x46bf0d
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x46bee8
mov eax, dword [ecx + 4]
mov esi, ecx
add ecx, 4
mov dword [ebp - 0x70], esi
call dword [eax + 4]
mov ecx, dword [edi + 0x20]
cmp ecx, ebx
je 0x46bf07
test ecx, ecx
je 0x46befc
mov eax, dword [ecx + 4]
add ecx, 4
call dword [eax + 8]
lea ecx, [ebx + 4]
mov dword [edi + 0x20], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x20]
push dword [eax + 0x6c]
push dword [edi + 0xc]
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
call eax
mov byte [ebp - 4], 9
test esi, esi
je 0x46bf28
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 8]
mov esi, dword [edi + 0x3c]
push 0x1c
call fcn.005523ef
mov ebx, eax
add esp, 4
mov dword [ebp - 0x70], ebx
mov dword [ebx + 4], vtable.SOUI::IObjRef.0
mov dword [ebx + 4], vtable.SOUI::IRenderObj.0
mov dword [ebx + 4], vtable.SOUI::IBrush.0
mov dword [ebx + 4], vtable.SOUI::SObjectImpl_struct_SOUI::IBrush_.0
mov dword [ebx + 4], vtable.SOUI::TObjRefImpl_class_SOUI::SObjectImpl_struct_SOUI::IBrush__.1.0
mov dword [ebx], vtable.SOUI::TObjRefImpl_class_SOUI::SObjectImpl_struct_SOUI::IBrush__.0
mov dword [ebx + 4], vtable.SOUI::TGdiRenderObjImpl_struct_SOUI::IBrush_.0
push 0
mov dword [ebx + 8], 1
mov dword [ebx + 0xc], esi
mov dword [ebx], vtable.SOUI::SBrush_GDI.0
mov dword [ebx + 4], vtable.SOUI::SBrush_GDI.1.0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0xff000000
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
xor esi, esi
mov dword [ebx + 0x10], eax
mov dword [edi + 0x34], ebx
mov dword [ebp - 0x70], esi
mov eax, dword [ebx]
mov ecx, ebx
mov byte [ebp - 4], 0xb
call dword [eax + 0x38]
dec eax
cmp eax, 3
ja case.default.0x46bfb7
jmp dword [eax*4 + 0x46c3c0]
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x46bfd3
mov eax, dword [ecx + 4]
mov esi, ecx
add ecx, 4
mov dword [ebp - 0x70], esi
call dword [eax + 4]
mov ecx, dword [edi + 0x14]
cmp ecx, ebx
je 0x46bff2
test ecx, ecx
je 0x46bfe7
mov eax, dword [ecx + 4]
add ecx, 4
call dword [eax + 8]
lea ecx, [ebx + 4]
mov dword [edi + 0x14], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x78]
push eax
jmp 0x46c0b2
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x46c015
mov eax, dword [ecx + 4]
mov esi, ecx
add ecx, 4
mov dword [ebp - 0x70], esi
call dword [eax + 4]
mov ecx, dword [edi + 0x18]
cmp ecx, ebx
je 0x46c034
test ecx, ecx
je 0x46c029
mov eax, dword [ecx + 4]
add ecx, 4
call dword [eax + 8]
lea ecx, [ebx + 4]
mov dword [edi + 0x18], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x18]
push dword [eax + 0x1c]
jmp 0x46c0b2
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x46c051
mov eax, dword [ecx + 4]
mov esi, ecx
add ecx, 4
mov dword [ebp - 0x70], esi
call dword [eax + 4]
mov ecx, dword [edi + 0x1c]
cmp ecx, ebx
je 0x46c070
test ecx, ecx
je 0x46c065
mov eax, dword [ecx + 4]
add ecx, 4
call dword [eax + 8]
lea ecx, [ebx + 4]
mov dword [edi + 0x1c], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x1c]
push dword [eax + 0x10]
jmp 0x46c0b2
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x46c08d
mov eax, dword [ecx + 4]
mov esi, ecx
add ecx, 4
mov dword [ebp - 0x70], esi
call dword [eax + 4]
mov ecx, dword [edi + 0x20]
cmp ecx, ebx
je 0x46c0ac
test ecx, ecx
je 0x46c0a1
mov eax, dword [ecx + 4]
add ecx, 4
call dword [eax + 8]
lea ecx, [ebx + 4]
mov dword [edi + 0x20], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x20]
push dword [eax + 0x6c]
push dword [edi + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [ebp - 4], 9
test esi, esi
je 0x46c0cc
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 8]
push 0x58
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00557d70
push 0x5a459c
lea eax, [ebp - 0x50]
mov dword [ebp - 0x6c], 0x14
push 0x20
push eax
call fcn.005611a7
mov ecx, dword [ebp - 0x74]
lea edx, [ebp - 0x6c]
add esp, 0x18
lea ebx, [edi + 0x38]
mov eax, dword [ecx]
push edx
push ebx
call dword [eax + 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x46c23c
xor esi, esi
mov dword [ebp - 0x70], esi
mov eax, dword [ebx]
mov ecx, ebx
mov byte [ebp - 4], 0xc
call dword [eax + 0x38]
dec eax
cmp eax, 3
ja case.default.0x46c127
jmp dword [eax*4 + 0x46c3d0]
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x46c143
mov eax, dword [ecx + 4]
mov esi, ecx
add ecx, 4
mov dword [ebp - 0x70], esi
call dword [eax + 4]
mov ecx, dword [edi + 0x14]
cmp ecx, ebx
je 0x46c162
test ecx, ecx
je 0x46c157
mov eax, dword [ecx + 4]
add ecx, 4
call dword [eax + 8]
lea ecx, [ebx + 4]
mov dword [edi + 0x14], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x78]
push eax
jmp 0x46c222
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x46c185
mov eax, dword [ecx + 4]
mov esi, ecx
add ecx, 4
mov dword [ebp - 0x70], esi
call dword [eax + 4]
mov ecx, dword [edi + 0x18]
cmp ecx, ebx
je 0x46c1a4
test ecx, ecx
je 0x46c199
mov eax, dword [ecx + 4]
add ecx, 4
call dword [eax + 8]
lea ecx, [ebx + 4]
mov dword [edi + 0x18], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x18]
push dword [eax + 0x1c]
jmp 0x46c222
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x46c1c1
mov eax, dword [ecx + 4]
mov esi, ecx
add ecx, 4
mov dword [ebp - 0x70], esi
call dword [eax + 4]
mov ecx, dword [edi + 0x1c]
cmp ecx, ebx
je 0x46c1e0
test ecx, ecx
je 0x46c1d5
mov eax, dword [ecx + 4]
add ecx, 4
call dword [eax + 8]
lea ecx, [ebx + 4]
mov dword [edi + 0x1c], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x1c]
push dword [eax + 0x10]
jmp 0x46c222
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x46c1fd
mov eax, dword [ecx + 4]
mov esi, ecx
add ecx, 4
mov dword [ebp - 0x70], esi
call dword [eax + 4]
mov ecx, dword [edi + 0x20]
cmp ecx, ebx
je 0x46c21c
test ecx, ecx
je 0x46c211
mov eax, dword [ecx + 4]
add ecx, 4
call dword [eax + 8]
lea ecx, [ebx + 4]
mov dword [edi + 0x20], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x20]
push dword [eax + 0x6c]
push dword [edi + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [ebp - 4], 9
test esi, esi
je 0x46c23c
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
call dword [eax + 8]
mov ecx, dword [ebp - 0x74]
lea ebx, [edi + 0x2c]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [ebx]
push 0
push dword [ebp + 0x10]
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0x44]
mov ebx, dword [ebx]
test ebx, ebx
je 0x46c390
xor esi, esi
mov dword [ebp - 0x70], esi
mov eax, dword [ebx]
mov ecx, ebx
mov byte [ebp - 4], 0xd
call dword [eax + 0x38]
dec eax
cmp eax, 3
ja case.default.0x46c27b
jmp dword [eax*4 + 0x46c3e0]
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x46c297
mov eax, dword [ecx + 4]
mov esi, ecx
add ecx, 4
mov dword [ebp - 0x70], esi
call dword [eax + 4]
mov ecx, dword [edi + 0x14]
cmp ecx, ebx
je 0x46c2b6
test ecx, ecx
je 0x46c2ab
mov eax, dword [ecx + 4]
add ecx, 4
call dword [eax + 8]
lea ecx, [ebx + 4]
mov dword [edi + 0x14], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x78]
push eax
jmp 0x46c376
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x46c2d9
mov eax, dword [ecx + 4]
mov esi, ecx
add ecx, 4
mov dword [ebp - 0x70], esi
call dword [eax + 4]
mov ecx, dword [edi + 0x18]
cmp ecx, ebx
je 0x46c2f8
test ecx, ecx
je 0x46c2ed
mov eax, dword [ecx + 4]
add ecx, 4
call dword [eax + 8]
lea ecx, [ebx + 4]
mov dword [edi + 0x18], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x18]
push dword [eax + 0x1c]
jmp 0x46c376
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x46c315
mov eax, dword [ecx + 4]
mov esi, ecx
add ecx, 4
mov dword [ebp - 0x70], esi
call dword [eax + 4]
mov ecx, dword [edi + 0x1c]
cmp ecx, ebx
je 0x46c334
test ecx, ecx
je 0x46c329
mov eax, dword [ecx + 4]
add ecx, 4
call dword [eax + 8]
lea ecx, [ebx + 4]
mov dword [edi + 0x1c], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x1c]
push dword [eax + 0x10]
jmp 0x46c376
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x46c351
mov eax, dword [ecx + 4]
mov esi, ecx
add ecx, 4
mov dword [ebp - 0x70], esi
call dword [eax + 4]
mov ecx, dword [edi + 0x20]
cmp ecx, ebx
je 0x46c370
test ecx, ecx
je 0x46c365
mov eax, dword [ecx + 4]
add ecx, 4
call dword [eax + 8]
lea ecx, [ebx + 4]
mov dword [edi + 0x20], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x20]
push dword [eax + 0x6c]
push dword [edi + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
mov byte [ebp - 4], 9
test esi, esi
je 0x46c390
mov edx, dword [esi + 4]
lea ecx, [esi + 4]
call dword [edx + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00551e44
mov esp, ebp
pop ebp
ret 0xc