Function at 0x4667e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55afbb
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x58605c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call fcn.00402900
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 0x3c]
mov ecx, dword [edx]
call fcn.004029a0
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x3c]
mov ecx, dword [edx]
call fcn.00442ab0
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 0x3c]
add eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call fcn.00403f00
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x30], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x24]
add ecx, 1
mov edx, dword [ebp - 0x3c]
mov eax, ecx
imul eax, dword [edx + 0x18]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004134e0
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], ecx
mov dword [ebp - 0x14], 0
jmp 0x4668bb
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x24]
add ecx, 1
cmp dword [ebp - 0x14], ecx
jge 0x4669a0
mov dword [ebp - 0x18], 0
jmp 0x4668df
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax + 0x18]
jge 0x46699b
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x14]
imul eax, dword [edx + 0x18]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 0x124
call fcn.004134e0
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0
je 0x46692e
push 0
push 0
push 0
mov ecx, dword [ebp - 0x30]
call fcn.00444f30
mov dword [ebp - 0x40], eax
jmp 0x466935
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x3c]
mov ecx, dword [edx]
call fcn.00466770
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + edx*4]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.0044a930
cmp dword [ebp + 0xc], 0
je 0x466996
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [eax + ecx*4]
call fcn.00446ec0
jmp 0x4668d6
jmp 0x4668b2
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x24]
add eax, 1
mov ecx, dword [ebp - 0x3c]
imul eax, dword [ecx + 0x18]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004134e0
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x24]
add eax, 1
mov ecx, dword [ebp - 0x3c]
imul eax, dword [ecx + 0x18]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004134e0
add esp, 4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x14], ecx
mov dword [ebp - 0x24], 0
jmp 0x466a1c
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x24]
add ecx, 1
mov edx, dword [ebp - 0x3c]
imul ecx, dword [edx + 0x18]
cmp dword [ebp - 0x24], ecx
jge 0x466a53
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x24]
mov dword [ecx + edx*4], 1
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0x24]
mov dword [ecx + edx*4], 1
jmp 0x466a13
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x1c], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x20], 0xffffffff
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8