Function at 0x414d20
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d65bb
push eax
mov eax, 0x24b0
mov dword fs:[0], esp
call fcn.004d2ec0
push esi
push edi
xor esi, esi
mov ecx, 0x823
xor eax, eax
lea edi, [esp + 0x42a]
mov word [esp + 0x428], si
mov word [esp + 0x220], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x428]
push eax
push ecx
mov ecx, dword [esp + 0x24d4]
lea eax, [esp + 0x228]
push edx
mov edx, dword [esp + 0x24d4]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], 0x103
mov dword [esp + 0x2c], 0x1047
call fcn.004ac460
add esp, 0x1c
test eax, eax
je 0x414fb2
push ebx
push ebp
mov edi, dword [0x4db410]
push 0x4ec000
call edi
push eax
lea eax, [esp + 0x438]
push 0x4ec000
push eax
call dword [0x4db3b8]
add esp, 0x10
test eax, eax
jne 0x414f6c
push 0x4ec000
call edi
mov ecx, dword [0x4eb4c0]
lea ebp, [esp + eax*2 + 0x434]
mov dword [esp + 0x14], ecx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x26]
mov word [esp + 0x24], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x6deeac]
push str.BTN_MASK
lea edx, [esp + 0x28]
push 0x103
push edx
push eax
mov dword [esp + 0x24dc], esi
call fcn.004a73b0
lea ecx, [esp + 0x34]
add esp, 0x14
test ecx, ecx
jne 0x414e50
xor ebx, ebx
jmp 0x414e5d
lea edx, [esp + 0x20]
push edx
call dword [0x4db2d0]
mov ebx, eax
mov edi, dword [esp + 0x10]
cmp dword [edi - 0xc], 1
jg 0x414e6c
cmp ebx, dword [edi - 4]
jle 0x414e87
lea ecx, [esp + 0x10]
call fcn.00407610
push ebx
lea ecx, [esp + 0x14]
call fcn.00407580
cmp eax, esi
je 0x414eb1
mov edi, dword [esp + 0x10]
lea eax, [ebx + ebx]
lea esi, [esp + 0x20]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
xor esi, esi
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
cmp ebp, esi
je 0x414f27
push ebp
call dword [0x4db2d0]
cmp eax, esi
je 0x414f27
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
lea ebx, [edx - 0xc]
cmp ecx, 1
jg 0x414f0d
mov edi, dword [edx - 8]
lea ecx, [edi + eax]
cmp ecx, dword [edx - 4]
jg 0x414f0d
lea ecx, [eax + eax]
lea edi, [edx + edi*2]
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx - 8]
add edx, eax
xor esi, esi
mov dword [ecx - 8], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
mov word [eax + ecx*2], 0
jmp 0x414f27
push ebp
push eax
push edx
mov edx, dword [edx - 8]
push edx
lea ecx, [esp + 0x20]
call fcn.00410680
test eax, eax
je 0x414f27
push ebx
call fcn.00407650
mov eax, dword [esp + 0x10]
push eax
call dword [0x4db2f0]
mov eax, dword [esp + 0x10]
mov edx, dword [str.GdiplusStartup]
mov dword [esp + 0x24c8], 0xffffffff
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x414f6c
add eax, 0xfffffff4
push eax
call dword [0x4db2cc]
test eax, eax
jg 0x414f6c
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004d2ea5
add esp, 4
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x434]
lea ecx, [esp + 0x18]
push edx
push ecx
mov ecx, dword [esp + 0x24e0]
lea edx, [esp + 0x234]
inc eax
push edx
mov edx, dword [esp + 0x24e0]
push ecx
push eax
push edx
mov dword [esp + 0x38], eax
call fcn.004ac460
add esp, 0x1c
test eax, eax
jne 0x414dc8
pop ebp
pop ebx
mov ecx, dword [esp + 0x24b8]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24bc
ret