Function at 0x4be558
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x26
push 0
push 0
dec ecx
jne 0x4be561
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 8]
call fcn.00405ed0
mov eax, dword [ebp + 8]
call fcn.004070dc
xor eax, eax
push ebp
push 0x4bef75
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
call fcn.004058c8
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
call fcn.00407178
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004bbda8
mov eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 8]
push 0x4bef8c
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.0040af94
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
call fcn.00405a94
push dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00405bf4
mov edx, dword [ebp - 0x24]
mov ecx, 0x4bef94
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.00407178
fld qword [ebp - 0x38]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x30]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x30]
push eax
push dword [ebp - 8]
push 0x4bef8c
lea edx, [ebp - 0x44]
mov eax, ebx
call fcn.0040af94
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
call fcn.00405a94
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00405bf4
mov edx, dword [ebp - 0x3c]
mov ecx, 0x4befa8
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00407178
fld qword [ebp - 0x38]
mov eax, dword [ebp - 4]
fild dword [eax + 0xc]
fmulp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x48]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x48]
push eax
push dword [ebp - 8]
push 0x4bef8c
lea edx, [ebp - 0x54]
mov eax, ebx
call fcn.0040af94
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
call fcn.00405a94
push dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00405bf4
mov edx, dword [ebp - 0x4c]
mov ecx, 0x4befb8
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x60]
call fcn.00407178
cmp word [ebp - 0x58], 1
sbb eax, eax
inc eax
push eax
push dword [ebp - 8]
push 0x4bef8c
lea edx, [ebp - 0x64]
mov eax, ebx
call fcn.0040af94
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
call fcn.00405a94
push dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.00405bf4
mov edx, dword [ebp - 0x5c]
mov ecx, 0x4befc8
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x14]
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x68]
call fcn.00407178
cmp word [ebp - 0x58], 1
sbb eax, eax
inc eax
push eax
push dword [ebp - 8]
push 0x4bef8c
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0040af94
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
call fcn.00405a94
push dword [ebp - 0x6c]
lea eax, [ebp - 0x68]
mov edx, 3
call fcn.00405bf4
mov edx, dword [ebp - 0x68]
mov ecx, 0x4befd8
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x14]
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x78]
call fcn.00407178
cmp word [ebp - 0x58], 1
sbb eax, eax
inc eax
push eax
push dword [ebp - 8]
push 0x4bef8c
lea edx, [ebp - 0x7c]
mov eax, ebx
call fcn.0040af94
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
call fcn.00405a94
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
mov edx, 3
call fcn.00405bf4
mov edx, dword [ebp - 0x74]
mov ecx, 0x4befe8
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x14]
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x80]
call fcn.00407178
cmp word [ebp - 0x58], 1
sbb eax, eax
inc eax
push eax
push dword [ebp - 8]
push 0x4bef8c
lea edx, [ebp - 0x88]
mov eax, ebx
call fcn.0040af94
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
call fcn.00405a94
push dword [ebp - 0x84]
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.00405bf4
mov edx, dword [ebp - 0x80]
mov ecx, 0x4beff8
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x14]
lea eax, [ebp - 0x8c]
call fcn.004058c8
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb0]
call fcn.00407178
mov eax, dword [ebp - 0x8c]
push eax
push dword [ebp - 8]
push 0x4bef8c
lea edx, [ebp - 0x98]
mov eax, ebx
call fcn.0040af94
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
call fcn.00405a94
push dword [ebp - 0x94]
lea eax, [ebp - 0x90]
mov edx, 3
call fcn.00405bf4
mov edx, dword [ebp - 0x90]
mov ecx, 0x4bf00c
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0x9c]
call fcn.004058c8
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc0]
call fcn.00407178
mov eax, dword [ebp - 0x9c]
push eax
push dword [ebp - 8]
push 0x4bef8c
lea edx, [ebp - 0xa8]
mov eax, ebx
call fcn.0040af94
mov edx, dword [ebp - 0xa8]
lea eax, [ebp - 0xa4]
call fcn.00405a94
push dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
mov edx, 3
call fcn.00405bf4
mov edx, dword [ebp - 0xa0]
mov ecx, 0x4bf01c
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
lea eax, [ebp - 0xac]
call fcn.004058c8
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc8]
call fcn.00407178
mov eax, dword [ebp - 0xac]
xor edx, edx
call fcn.00405c3c
je 0x4be9e2
lea eax, [ebp - 0xb4]
call fcn.004058c8
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc8]
call fcn.00407178
mov edx, dword [ebp - 0xb4]
lea eax, [ebp - 0xb0]
call fcn.00405434
mov eax, dword [ebp - 0xb0]
call fcn.0040b1b4
push eax
push dword [ebp - 8]
push 0x4bef8c
lea edx, [ebp - 0xc0]
mov eax, ebx
call fcn.0040af94
mov edx, dword [ebp - 0xc0]
lea eax, [ebp - 0xbc]
call fcn.00405a94
push dword [ebp - 0xbc]
lea eax, [ebp - 0xb8]
mov edx, 3
call fcn.00405bf4
mov edx, dword [ebp - 0xb8]
mov ecx, 0x4bf030
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xc4]
call fcn.004058c8
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xd0]
call fcn.00407178
mov eax, dword [ebp - 0xc4]
xor edx, edx
call fcn.00405c3c
je 0x4bea9a
lea eax, [ebp - 0xcc]
call fcn.004058c8
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xd0]
call fcn.00407178
mov edx, dword [ebp - 0xcc]
lea eax, [ebp - 0xc8]
call fcn.00405434
mov eax, dword [ebp - 0xc8]
call fcn.0040b1b4
push eax
push dword [ebp - 8]
push 0x4bef8c
lea edx, [ebp - 0xd8]
mov eax, ebx
call fcn.0040af94
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0xd4]
call fcn.00405a94
push dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
mov edx, 3
call fcn.00405bf4
mov edx, dword [ebp - 0xd0]
mov ecx, 0x4bf044
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xdc]
call fcn.004058c8
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x148]
call fcn.00407178
mov eax, dword [ebp - 0xdc]
xor edx, edx
call fcn.00405c3c
je 0x4beb52
lea eax, [ebp - 0xe4]
call fcn.004058c8
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x148]
call fcn.00407178
mov edx, dword [ebp - 0xe4]
lea eax, [ebp - 0xe0]
call fcn.00405434
mov eax, dword [ebp - 0xe0]
call fcn.0040b1b4
push eax
push dword [ebp - 8]
push 0x4bef8c
lea edx, [ebp - 0xf0]
mov eax, ebx
call fcn.0040af94
mov edx, dword [ebp - 0xf0]
lea eax, [ebp - 0xec]
call fcn.00405a94
push dword [ebp - 0xec]
lea eax, [ebp - 0xe8]
mov edx, 3
call fcn.00405bf4
mov edx, dword [ebp - 0xe8]
mov ecx, 0x4bf05c
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xf4]
call fcn.004058c8
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x150]
call fcn.00407178
mov eax, dword [ebp - 0xf4]
xor edx, edx
call fcn.00405c3c
je 0x4bec0a
lea eax, [ebp - 0xfc]
call fcn.004058c8
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x150]
call fcn.00407178
mov edx, dword [ebp - 0xfc]
lea eax, [ebp - 0xf8]
call fcn.00405434
mov eax, dword [ebp - 0xf8]
call fcn.0040b1b4
push eax
push dword [ebp - 8]
push 0x4bef8c
lea edx, [ebp - 0x108]
mov eax, ebx
call fcn.0040af94
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.00405a94
push dword [ebp - 0x104]
lea eax, [ebp - 0x100]
mov edx, 3
call fcn.00405bf4
mov edx, dword [ebp - 0x100]
mov ecx, 0x4bf070
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.004bbe5c
fld qword [ebp - 0x10]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x10c]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x10c]
push eax
push dword [ebp - 8]
push 0x4bef8c
lea edx, [ebp - 0x118]
mov eax, ebx
call fcn.0040af94
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 0x114]
call fcn.00405a94
push dword [ebp - 0x114]
lea eax, [ebp - 0x110]
mov edx, 3
call fcn.00405bf4
mov edx, dword [ebp - 0x110]
mov ecx, 0x4bf088
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
fld qword [ebp - 0x18]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x11c]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x11c]
push eax
push dword [ebp - 8]
push 0x4bef8c
lea edx, [ebp - 0x128]
mov eax, ebx
call fcn.0040af94
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0x124]
call fcn.00405a94
push dword [ebp - 0x124]
lea eax, [ebp - 0x120]
mov edx, 3
call fcn.00405bf4
mov edx, dword [ebp - 0x120]
mov ecx, 0x4bf09c
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
push 0
push 0
push 0
lea edx, [ebp - 0x12c]
mov eax, dword [0x4f6278]
mov eax, dword [eax]
call fcn.0046aab4
mov eax, dword [ebp - 0x12c]
push eax
push dword [ebp - 8]
push 0x4bef8c
lea edx, [ebp - 0x138]
mov eax, ebx
call fcn.0040af94
mov edx, dword [ebp - 0x138]
lea eax, [ebp - 0x134]
call fcn.00405a94
push dword [ebp - 0x134]
lea eax, [ebp - 0x130]
mov edx, 3
call fcn.00405bf4
mov edx, dword [ebp - 0x130]
mov ecx, 0x4bf0b0
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bef7f
lea eax, [ebp - 0x138]
call fcn.0040519c
lea eax, [ebp - 0x134]
mov edx, 3
call fcn.004058e0
lea eax, [ebp - 0x128]
call fcn.0040519c
lea eax, [ebp - 0x124]
mov edx, 3
call fcn.004058e0
lea eax, [ebp - 0x118]
call fcn.0040519c
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.004058e0
lea eax, [ebp - 0x108]
call fcn.0040519c
lea eax, [ebp - 0x104]
mov edx, 3
call fcn.004058e0
lea eax, [ebp - 0xf8]
call fcn.0040519c
lea eax, [ebp - 0xf4]
call fcn.004058c8
lea eax, [ebp - 0xf0]
call fcn.0040519c
lea eax, [ebp - 0xec]
mov edx, 3
call fcn.004058e0
lea eax, [ebp - 0xe0]
call fcn.0040519c
lea eax, [ebp - 0xdc]
call fcn.004058c8
lea eax, [ebp - 0xd8]
call fcn.0040519c
lea eax, [ebp - 0xd4]
mov edx, 3
call fcn.004058e0
lea eax, [ebp - 0xc8]
call fcn.0040519c
lea eax, [ebp - 0xc4]
call fcn.004058c8
lea eax, [ebp - 0xc0]
call fcn.0040519c
lea eax, [ebp - 0xbc]
mov edx, 3
call fcn.004058e0
lea eax, [ebp - 0xb0]
call fcn.0040519c
lea eax, [ebp - 0xac]
call fcn.004058c8
lea eax, [ebp - 0xa8]
call fcn.0040519c
lea eax, [ebp - 0xa4]
mov edx, 3
call fcn.004058e0
lea eax, [ebp - 0x98]
call fcn.0040519c
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.004058e0
lea eax, [ebp - 0x88]
call fcn.0040519c
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.004058e0
lea eax, [ebp - 0x7c]
call fcn.0040519c
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.004058e0
lea eax, [ebp - 0x70]
call fcn.0040519c
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.004058e0
lea eax, [ebp - 0x64]
call fcn.0040519c
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004058e0
lea eax, [ebp - 0x54]
call fcn.0040519c
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.004058e0
lea eax, [ebp - 0x44]
call fcn.0040519c
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004058e0
lea eax, [ebp - 0x30]
call fcn.004058c8
lea eax, [ebp - 0x2c]
call fcn.0040519c
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.004058e0
lea eax, [ebp - 8]
call fcn.004058c8
lea eax, [ebp + 8]
call fcn.00407068
ret