Function at 0x431750
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44e3cb
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x463140]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x463140]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebx]
mov edi, ecx
mov ecx, dword [ebp + 0x10]
push ecx
push eax
mov eax, dword [edx + 0xc]
mov ecx, ebx
mov dword [esp + 0x1c], edi
call eax
mov edx, dword [ebx]
mov esi, eax
mov eax, dword [edx + 0x10]
push esi
push 0x4599c4
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 + 0x3c]
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, 0xa4
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, 0xf4
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, 0x144
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]
mov eax, dword [eax + 0x18]
push edx
mov ecx, ebx
call eax
mov edi, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
add edi, 0x194
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, 0x1e4
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 0x431af0
mov eax, dword [ebx]
mov edx, dword [eax + 0x14]
push edi
push str.margin
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebx
call edx
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
mov dword [esi + 0x2ac], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x2b0], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x2b4], ecx
mov edx, dword [eax + 0xc]
push edi
mov dword [esi + 0x2b8], edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
push str.normal
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebx
call edx
add esi, 0x234
mov dword [esp + 0xb0], 0
call fcn.0042a530
mov dword [esp + 0xb0], 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 0x431969
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 + 0x3c]
push eax
mov ecx, ebx
call edx
mov esi, dword [esp + 0x14]
add esi, 0x24c
mov dword [esp + 0xb0], 1
call fcn.0042a530
mov dword [esp + 0xb0], 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 0x4319c2
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 + 0x3c]
push eax
mov ecx, ebx
call edx
mov esi, dword [esp + 0x14]
add esi, 0x264
mov dword [esp + 0xb0], 2
call fcn.0042a530
mov dword [esp + 0xb0], 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 0x431a1b
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 + 0x3c]
push eax
mov ecx, ebx
call edx
mov esi, dword [esp + 0x14]
add esi, 0x27c
mov dword [esp + 0xb0], 3
call fcn.0042a530
mov dword [esp + 0xb0], 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 0x431a74
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 + 0x24]
push eax
mov ecx, ebx
call edx
mov edi, dword [esp + 0x14]
lea esi, [edi + 0x294]
mov dword [esp + 0xb0], 4
call fcn.0042a530
mov dword [esp + 0xb0], 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 0x431acd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x40024
mov dword [edi + 0x238], eax
mov dword [edi + 0x250], eax
mov dword [edi + 0x268], eax
mov dword [edi + 0x280], eax
mov dword [edi + 0x298], eax
mov eax, 1
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
jmp 0x4cabc0