Function at 0x6ec640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x777488
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov edx, dword [eax + 0x3e0]
call edx
sub eax, 0x190
push 0x168
mov dword [esp + 0x1c], eax
call fcn.006442a0
mov ebx, eax
add esp, 4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x58], 0
test ebx, ebx
je 0x6ec6c0
lea eax, [edi + 0xb8]
push eax
push 0
push ebx
call fcn.00497330
fld1
fstp dword [ebx + 0x160]
mov dword [ebx], vtable.Sexy::Bej3Button.0
jmp 0x6ec6c2
xor ebx, ebx
mov dword [esp + 0x58], 0xffffffff
mov dword [edi + 0x286c], ebx
mov ecx, dword [0x884060]
test ecx, ecx
jne 0x6ec6de
xor eax, eax
jmp 0x6ec6e1
mov eax, dword [ecx + 4]
mov edx, dword [0x88b12c]
mov esi, dword [edx + 0x9e0]
mov edx, esi
imul edx, eax
mov eax, 0x1b4e81b5
imul edx
sar edx, 7
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
test ecx, ecx
je 0x6ec709
mov ecx, dword [ecx]
mov eax, dword [esp + 0x18]
add ecx, eax
imul ecx, esi
mov eax, 0x1b4e81b5
imul ecx
mov ecx, dword [0x8820a8]
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
call fcn.0045a100
mov dword [esp + 0x1c], eax
call fcn.0045a110
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebp
mov edx, dword [ebx]
mov edx, dword [edx + 0x9c]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call edx
mov eax, dword [edi + 0x286c]
mov ecx, dword [0x8820a8]
mov dword [eax + 0xe0], ecx
mov ecx, dword [0x8820a8]
push 0
lea esi, [esp + 0x30]
call fcn.0045a130
mov ecx, dword [edi + 0x286c]
mov edx, dword [eax]
mov dword [ecx + 0xf4], edx
mov edx, dword [eax + 4]
add ecx, 0xf4
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 0x286c]
mov edx, dword [0x8820a8]
mov dword [ecx + 0xe8], edx
mov ecx, dword [0x8820a8]
mov ebx, 1
push ebx
lea esi, [esp + 0x30]
call fcn.0045a130
mov ecx, dword [edi + 0x286c]
mov edx, dword [eax]
mov dword [ecx + 0x104], edx
mov edx, dword [eax + 4]
add ecx, 0x104
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 0x286c]
mov edx, dword [0x8820a8]
mov dword [ecx + 0xec], edx
mov ecx, dword [0x8820a8]
push ebx
lea esi, [esp + 0x30]
call fcn.0045a130
mov ecx, dword [edi + 0x286c]
mov edx, dword [eax]
mov dword [ecx + 0x114], edx
mov edx, dword [eax + 4]
add ecx, 0x114
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 0x286c]
mov byte [ecx + 0x50], bl
mov edx, dword [edi + 0x286c]
mov byte [edx + 0x94], bl
mov eax, dword [edi + 0x286c]
fld qword [0x82e0a0]
fstp qword [eax + 0x148]
mov ecx, dword [edi + 0x286c]
fld qword [0x82e220]
fstp qword [ecx + 0x150]
mov eax, dword [edi + 0x286c]
or dword [eax + 0x58], 4
mov edx, dword [edi]
mov eax, dword [edi + 0x286c]
mov edx, dword [edx + 0xc]
push eax
mov ecx, edi
call edx
push 0x168
call fcn.006442a0
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x58], ebx
test esi, esi
je 0x6ec8c8
lea eax, [edi + 0xb8]
push eax
push ebx
push esi
call fcn.00497330
fld1
fstp dword [esi + 0x160]
mov dword [esi], vtable.Sexy::Bej3Button.0
mov ebp, esi
jmp 0x6ec8ca
xor ebp, ebp
mov dword [esp + 0x58], 0xffffffff
mov dword [edi + 0x2870], ebp
mov ecx, dword [0x884074]
test ecx, ecx
jne 0x6ec8e6
xor eax, eax
jmp 0x6ec8e9
mov eax, dword [ecx + 4]
mov edx, dword [0x88b12c]
mov esi, dword [edx + 0x9e0]
mov edx, esi
imul edx, eax
mov eax, 0x1b4e81b5
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x6ec915
mov ecx, dword [ecx]
mov eax, dword [esp + 0x18]
add ecx, eax
imul ecx, esi
mov eax, 0x1b4e81b5
imul ecx
mov ecx, dword [0x8818a0]
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
call fcn.0045a100
mov dword [esp + 0x20], eax
call fcn.0045a110
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x9c]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call edx
mov eax, dword [edi + 0x2870]
mov ecx, dword [0x8818a0]
mov dword [eax + 0xe0], ecx
mov ecx, dword [0x8818a0]
push 0
lea esi, [esp + 0x30]
call fcn.0045a130
mov ecx, dword [edi + 0x2870]
mov edx, dword [eax]
mov dword [ecx + 0xf4], edx
mov edx, dword [eax + 4]
add ecx, 0xf4
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 0x2870]
mov edx, dword [0x8818a0]
mov dword [ecx + 0xe8], edx
mov ecx, dword [0x8818a0]
push ebx
lea esi, [esp + 0x30]
call fcn.0045a130
mov ecx, dword [edi + 0x2870]
mov edx, dword [eax]
mov dword [ecx + 0x104], edx
mov edx, dword [eax + 4]
add ecx, 0x104
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 0x2870]
mov edx, dword [0x8818a0]
mov dword [ecx + 0xec], edx
mov ecx, dword [0x8818a0]
push ebx
lea esi, [esp + 0x30]
call fcn.0045a130
mov ecx, dword [edi + 0x2870]
mov edx, dword [eax]
mov dword [ecx + 0x114], edx
mov edx, dword [eax + 4]
add ecx, 0x114
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 0x2870]
mov byte [ecx + 0x50], bl
mov edx, dword [edi + 0x2870]
mov byte [edx + 0x94], bl
mov eax, dword [edi + 0x2870]
fld qword [0x82e0a0]
fstp qword [eax + 0x148]
mov ecx, dword [edi + 0x2870]
fld qword [0x82e220]
fstp qword [ecx + 0x150]
mov eax, dword [edi + 0x2870]
or dword [eax + 0x58], 4
mov edx, dword [edi]
mov eax, dword [edi + 0x2870]
mov edx, dword [edx + 0xc]
push eax
mov ecx, edi
call edx
push 0x168
call fcn.006442a0
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x58], 2
test esi, esi
je 0x6ecad9
lea eax, [edi + 0xb8]
push eax
push 5
push esi
call fcn.00497330
fld1
fstp dword [esi + 0x160]
mov dword [esi], vtable.Sexy::Bej3Button.0
mov ebp, esi
jmp 0x6ecadb
xor ebp, ebp
mov dword [esp + 0x58], 0xffffffff
mov dword [edi + 0x287c], ebp
mov ecx, dword [0x88407c]
test ecx, ecx
jne 0x6ecaf7
xor eax, eax
jmp 0x6ecafa
mov eax, dword [ecx + 4]
mov edx, dword [0x88b12c]
mov edx, dword [edx + 0x9e0]
mov dword [esp + 0x20], edx
imul edx, eax
mov eax, 0x1b4e81b5
imul edx
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
test ecx, ecx
jne 0x6ecb28
mov dword [esp + 0x1c], ecx
jmp 0x6ecb2e
mov eax, dword [ecx]
mov dword [esp + 0x1c], eax
mov ecx, dword [0x8821c0]
call fcn.0045a100
mov dword [esp + 0x28], eax
call fcn.0045a110
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add ecx, edx
imul ecx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, 0x1b4e81b5
imul ecx
mov ecx, dword [esp + 0x24]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov eax, dword [ebp]
mov edx, dword [eax + 0x9c]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call edx
mov eax, dword [edi + 0x287c]
mov ecx, dword [0x8821c0]
mov dword [eax + 0xe0], ecx
mov ecx, dword [0x8821c0]
push 0
lea esi, [esp + 0x30]
call fcn.0045a130
mov ecx, dword [edi + 0x287c]
mov edx, dword [eax]
mov dword [ecx + 0xf4], edx
mov edx, dword [eax + 4]
add ecx, 0xf4
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 0x287c]
mov edx, dword [0x8821c0]
mov dword [ecx + 0xe8], edx
mov ecx, dword [0x8821c0]
push ebx
lea esi, [esp + 0x30]
call fcn.0045a130
mov ecx, dword [edi + 0x287c]
mov edx, dword [eax]
mov dword [ecx + 0x104], edx
mov edx, dword [eax + 4]
add ecx, 0x104
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 0x287c]
mov edx, dword [0x8821c0]
mov dword [ecx + 0xec], edx
mov ecx, dword [0x8821c0]
push ebx
lea esi, [esp + 0x40]
call fcn.0045a130
mov ecx, dword [edi + 0x287c]
mov edx, dword [eax]
mov dword [ecx + 0x114], edx
mov edx, dword [eax + 4]
add ecx, 0x114
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 0x287c]
mov byte [ecx + 0x50], bl
mov edx, dword [edi + 0x287c]
fld qword [0x82e0a0]
mov byte [edx + 0x94], bl
mov eax, dword [edi + 0x287c]
fstp qword [eax + 0x148]
mov ecx, dword [edi + 0x287c]
fld qword [0x82e220]
fstp qword [ecx + 0x150]
mov eax, dword [edi + 0x287c]
or dword [eax + 0x58], 4
mov edx, dword [edi]
mov eax, dword [edi + 0x287c]
mov edx, dword [edx + 0xc]
push eax
mov ecx, edi
call edx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret