Function at 0x6405f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x76ef6a
mov eax, dword fs:[0]
push eax
sub esp, 0x344
mov eax, dword [0x86dc84]
xor eax, ebp
mov dword [ebp - 0x20], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x348], ecx
push 0
push 0
push 0
push 6
push 0
push 0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x334]
call fcn.00526abe
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00526fe1
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0052c9cd
test eax, eax
jne 0x640674
push 0x254
push 0x7d5124
call fcn.0052630c
test eax, eax
je 0x640674
int3
lea ecx, [ebp - 0x334]
call fcn.00523ae9
add eax, 0x34
mov dword [ebp - 0x34c], eax
mov eax, dword [ebp - 0x34c]
mov ecx, dword [eax]
or ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x34c]
mov dword [edx], ecx
lea ecx, [ebp - 0x10]
call fcn.00526fe1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00526fe1
mov byte [ebp - 4], 3
cmp dword [ebp + 0x18], 0
je 0x6406eb
push 0x25c
push 0x7d515c
mov eax, dword [ebp + 0x18]
push eax
call fcn.0052b988
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
lea ecx, [ebp - 0x334]
call fcn.00523ae9
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00527e50
jmp 0x640761
mov ecx, dword [ebp - 0x348]
add ecx, 4
call fcn.0052123a
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x33c], 1
cmp dword [ebp - 0x340], 0
je 0x640761
lea ecx, [ebp - 0x340]
push ecx
mov ecx, dword [ebp - 0x348]
add ecx, 4
call fcn.0052284c
mov edx, dword [eax]
mov dword [ebp + 0x18], edx
mov eax, dword [ebp - 0x33c]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x1c]
and eax, ecx
push eax
mov edx, dword [ebp + 0x18]
push edx
lea ecx, [ebp - 0x334]
call fcn.00523ae9
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00527e50
mov dword [ebp - 0x33c], 0
jmp 0x640709
lea ecx, [ebp - 0x18]
call fcn.00526fe1
mov byte [ebp - 4], 4
push 0xf002
lea ecx, [ebp - 0x18]
call fcn.0052c9cd
test eax, eax
jne 0x640792
push 0x26f
push 0x7d5194
call fcn.0052630c
test eax, eax
je 0x640792
int3
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.0052cae5
push 0
lea ecx, [ebp - 0x10]
call fcn.0052c80b
push 0x7d51cc
lea ecx, [ebp - 0x10]
call fcn.00526807
push 0
lea ecx, [ebp - 0x10]
call fcn.0052c80b
lea ecx, [ebp - 0x334]
call fcn.00523ae9
add eax, 0x14
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x350]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 0x350]
mov dword [edx], ecx
lea ecx, [ebp - 0x10]
call fcn.00521578
mov esi, eax
lea ecx, [ebp - 0x334]
call fcn.00523ae9
mov dword [eax + 0xc], esi
lea ecx, [ebp - 0x14]
call fcn.00521578
mov esi, eax
lea ecx, [ebp - 0x334]
call fcn.00523ae9
mov dword [eax + 0x30], esi
push 0x104
mov ecx, dword [ebp + 8]
call fcn.0052b5af
mov esi, eax
lea ecx, [ebp - 0x334]
call fcn.00523ae9
mov dword [eax + 0x1c], esi
lea ecx, [ebp - 0x334]
call fcn.00524ca0
mov dword [ebp - 0x338], eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call fcn.00524633
xor eax, eax
cmp dword [ebp - 0x338], 1
sete al
mov dword [ebp - 0x344], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.005257e5
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.005257e5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.005257e5
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.005257e5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x334]
call fcn.00522045
mov eax, dword [ebp - 0x344]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.005287fb
mov esp, ebp
pop ebp
ret 0x14