Function at 0x40ecf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c83bc
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x52bdd0]
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 - 0x12c], edi
mov edx, dword [edi + 0x17c]
mov eax, 1
mov word [ebp - 0x128], ax
xor eax, eax
mov word [ebp - 0x118], ax
mov eax, 2
mov word [ebp - 0x114], ax
xor eax, eax
mov word [ebp - 0x104], ax
mov eax, 3
mov word [ebp - 0x100], ax
lea eax, [edx + 0x16]
mov dword [ebp - 0xf8], eax
xor eax, eax
mov esi, dword [edi + 0x184]
mov word [ebp - 0xf0], ax
mov eax, 4
mov word [ebp - 0xec], ax
lea eax, [edx + 0x2c]
mov dword [ebp - 0xe4], eax
xor eax, eax
mov word [ebp - 0xdc], ax
lea ecx, [esi + 4]
mov eax, 5
mov ebx, dword [ebp + 8]
mov word [ebp - 0xd8], ax
lea eax, [edx + 0x42]
mov dword [ebp - 0xd0], eax
xor eax, eax
mov word [ebp - 0xc8], ax
mov eax, 6
mov word [ebp - 0xc4], ax
lea eax, [esi + 0xb]
mov dword [ebp - 0xb8], eax
xor eax, eax
mov word [ebp - 0xb4], ax
mov eax, 7
mov word [ebp - 0xb0], ax
lea eax, [esi + 0xc]
mov dword [ebp - 0xa4], eax
xor eax, eax
mov word [ebp - 0xa0], ax
mov eax, 8
mov word [ebp - 0x9c], ax
lea eax, [esi + 0xd]
mov dword [ebp - 0x90], eax
xor eax, eax
mov word [ebp - 0x8c], ax
mov eax, 9
mov word [ebp - 0x88], ax
lea eax, [esi + 0xe]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x10c], edx
add edx, 0xfffffffe
xor eax, eax
mov dword [ebp - 0x138], ebx
mov word [ebp - 0x78], ax
mov eax, 0xa
mov word [ebp - 0x74], ax
lea eax, [esi + 0xf]
mov dword [ebp - 0x124], str.__CNC__
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x110], str.__EXT1__
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0xfc], str.__EXT2__
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xe8], str.__EXT3__
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xd4], str.__EXT4__
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xc0], str.12345678
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xac], 0x4d77b4
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0x98], 0x4d77b8
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x84], 0x4d77bc
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x70], 0x4d77c0
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], eax
lea ecx, [edi + 0xac]
xor eax, eax
mov dword [ebp - 0x5c], 0x4d77c4
mov word [ebp - 0x64], ax
mov eax, 0xb
mov word [ebp - 0x60], ax
lea eax, [esi + 0x10]
mov dword [ebp - 0x54], eax
xor eax, eax
mov word [ebp - 0x50], ax
mov eax, 0xc
mov word [ebp - 0x4c], ax
lea eax, [esi + 0x11]
mov dword [ebp - 0x40], eax
xor eax, eax
mov word [ebp - 0x3c], ax
mov eax, 0xd
mov word [ebp - 0x38], ax
lea eax, [esi + 0x12]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov word [ebp - 0x28], ax
or eax, 0xffffffff
mov word [ebp - 0x24], ax
xor eax, eax
mov word [ebp - 0x14], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x48], 0x4d77c8
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x34], 0x4d77cc
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call dword [eax + 0x30]
mov esi, dword [ebx]
mov edi, dword [sym.imp.Y747UTLSTD.dll_YUSGetUserSystemColor]
push 0xf
mov dword [ebp - 0x140], eax
call edi
add esp, 4
mov ecx, ebx
push eax
call dword [esi + 0x34]
mov esi, dword [ebx]
push 0
call edi
add esp, 4
mov ecx, ebx
push eax
call dword [esi + 0x38]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x130], ebx
movzx eax, word [ebp + esi - 0x118]
push eax
push dword [0x52ec00]
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
add esp, 8
test eax, eax
je 0x40f052
push dword [ebp + esi - 0x124]
lea ecx, [ebp - 0x134]
call dword [sym.imp.mfc120.dll_Ordinal_310]
mov ebx, dword [ebp + esi - 0x11c]
lea ecx, [ebp - 0x134]
mov edi, dword [ebp + esi - 0x120]
mov eax, dword [ebp - 0x12c]
mov esi, dword [ebp - 0x138]
mov dword [ebp - 4], 0
imul ebx, dword [eax + 0xb8]
imul edi, dword [eax + 0xb4]
mov esi, dword [esi]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0x134]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
mov ecx, dword [ebp - 0x138]
push eax
push ebx
push edi
call dword [esi + 0x64]
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov ebx, dword [ebp - 0x130]
inc ebx
mov dword [ebp - 0x130], ebx
lea esi, [ebx + ebx*4]
shl esi, 2
cmp word [ebp + esi - 0x128], 0xffff
jne 0x40efb0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x2e
call esi
push 0x2e
call esi
mov ebx, dword [ebp - 0x12c]
mov edx, dword [ebx + 0xb4]
lea edi, [ebx + 0xbc]
mov ecx, dword [ebx + 0x17c]
mov esi, dword [ebx + 0x184]
imul ecx, edx
add esi, 0xa
mov dword [ebp - 0x144], ecx
mov ecx, dword [ebx + 0xb8]
imul esi, ecx
sub esi, eax
lea eax, [edx + edx*4]
shl eax, 4
mov dword [ebp - 0x130], eax
lea eax, [ecx + ecx*4]
add eax, eax
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x12c], eax
test edi, edi
jne 0x40f0d6
xor eax, eax
jmp 0x40f0d9
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x40f146
mov esi, dword [ebx + 0x20]
lea eax, [ebx + 0xac]
mov dword [ebx + 0x168], eax
call sub.mfc120.dll_Ordinal_2199
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0
push 0
push esi
push dword [ebp - 0x12c]
mov edi, dword [edi]
push dword [ebp - 0x130]
push dword [ebp - 0x13c]
push dword [ebp - 0x144]
push 0x50000000
push 0
push 0
push 0
push eax
push 0
call sub.mfc120.dll_Ordinal_2302
push eax
push 0x200
lea ecx, [ebx + 0xbc]
call dword [edi + 0x64]
mov esi, dword [ebp - 0x138]
mov ecx, ebx
push esi
call fcn.0040f2c0
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x140]
call dword [eax + 0x30]
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.004c6016
mov esp, ebp
pop ebp
ret 4