Function at 0x41e950
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44ab64
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x45e0a0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
push ecx
push edx
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov esi, eax
mov eax, dword [edx + 0x10]
push esi
push 0x4541dc
mov ecx, ebx
mov dword [esp + 0x20], esi
call eax
push esi
mov dword [edi + 0xc], eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x14]
push str.size
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call edx
mov ecx, dword [eax]
mov dword [edi + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x30], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x34], ecx
mov edx, dword [eax + 0xc]
push esi
mov dword [edi + 0x38], edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
push str.normal
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call edx
mov esi, eax
add edi, 0xa0
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
mov eax, dword [eax + 0x18]
push ecx
push str.grayed
lea edx, [esp + 0x54]
push edx
mov ecx, ebx
call eax
mov edi, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
add edi, 0xf0
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx]
mov edx, dword [edx + 0x18]
push str.lighted
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call edx
mov edi, dword [esp + 0x14]
mov esi, eax
add edi, 0x140
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
push ecx
push str.pressed
lea edx, [esp + 0x54]
push edx
mov ecx, ebx
mov eax, dword [eax + 0x18]
call eax
mov edi, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
add edi, 0x190
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx]
mov edx, dword [edx + 0x18]
push str.focused
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call edx
mov edi, dword [esp + 0x14]
mov esi, eax
add edi, 0x1e0
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push ecx
push str.Text
mov ecx, ebx
call edx
mov edi, eax
test edi, edi
je 0x41ecbf
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push edi
push str.margin
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call edx
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
mov dword [esi + 0x2b4], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x2b8], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x2bc], ecx
mov edx, dword [eax + 0xc]
push edi
mov dword [esi + 0x2c0], edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
push str.normal
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call edx
add esi, 0x230
mov dword [esp + 0xa8], 0
call fcn.0041e580
mov dword [esp + 0xa8], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eb5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x24]
push edi
push str.grayed
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call edx
mov esi, dword [esp + 0x14]
add esi, 0x248
mov dword [esp + 0xa8], 1
call fcn.0041e580
mov dword [esp + 0xa8], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ebb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x24]
push edi
push str.lighted
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call edx
mov esi, dword [esp + 0x14]
add esi, 0x260
mov dword [esp + 0xa8], 2
call fcn.0041e580
mov dword [esp + 0xa8], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ec0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x24]
push edi
push str.pressed
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call edx
mov esi, dword [esp + 0x14]
add esi, 0x278
mov dword [esp + 0xa8], 3
call fcn.0041e580
mov dword [esp + 0xa8], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ec66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x24]
push edi
push str.focused
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
call edx
mov esi, dword [esp + 0x14]
add esi, 0x290
mov dword [esp + 0xa8], 4
call fcn.0041e580
mov dword [esp + 0xa8], 0xffffffff
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ecbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc