Function at 0x685970
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x75b800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x18], ebp
mov dword [ebp], 0x76df30
mov ecx, dword [ebp + 0x1a4]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x28], 4
je 0x6859b4
mov eax, dword [ecx]
push 1
call dword [eax + 4]
lea edi, [ebp + 0x1a8]
mov ebx, 8
mov ecx, dword [edi]
cmp ecx, esi
je 0x6859cc
mov edx, dword [ecx]
push 1
call dword [edx + 4]
add edi, 4
dec ebx
jne 0x6859bf
lea edi, [ebp + 0x20]
add ebp, 0x3c
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 3
jmp 0x6859ea
mov edi, dword [esp + 0x10]
mov ecx, dword [edi]
cmp ecx, esi
je 0x6859f7
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [edi], esi
mov edi, 0x7c4d78
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 4]
mov ebx, ecx
mov ecx, edi
call fcn.00404990
cmp eax, ebx
jae 0x685a1d
call fcn.007373b0
mov ecx, dword [ebp]
cmp ecx, esi
je 0x685a42
mov al, byte [ecx - 1]
test al, al
je 0x685a42
cmp al, 0xff
je 0x685a42
cmp ebx, esi
jne 0x685a66
dec al
push esi
mov byte [ecx - 1], al
mov ecx, edi
call fcn.00404760
jmp 0x685a93
cmp ebx, esi
jne 0x685a51
push 1
mov ecx, edi
call fcn.00404760
jmp 0x685a93
mov eax, dword [ebp + 8]
cmp eax, 0x1f
ja 0x685a5d
cmp eax, ebx
jae 0x685a6e
push 1
mov ecx, edi
call fcn.00404760
push ebx
mov ecx, edi
call fcn.00401570
mov edi, dword [ebp]
mov ecx, ebx
mov edx, ecx
mov esi, 0x7c4d78
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp]
mov dword [ebp + 4], ebx
add eax, ebx
xor esi, esi
mov byte [eax], 0
mov edx, dword [esp + 0x10]
or eax, 0xffffffff
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x24], esi
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x44], esi
mov dword [ebp + 0x4c], esi
mov dword [ebp + 0x54], esi
mov dword [ebp + 0x5c], esi
add edx, 4
add ebp, 0x68
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jne 0x6859e6
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0x384]
cmp ecx, esi
je 0x685af2
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [edi + 0x2c]
cmp ecx, esi
je 0x685b00
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov ecx, dword [edi + 0x30]
cmp ecx, esi
je 0x685b0d
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [edi + 0x34]
cmp ecx, esi
je 0x685b1a
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [edi + 0x388]
cmp ecx, esi
je 0x685b2b
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [edi + 0x38c]
cmp ecx, esi
je 0x685b3c
mov edx, dword [ecx]
push 1
call dword [edx + 4]
push 1
call dword [0x765358]
lea ecx, [edi + 0x5b8]
mov byte [esp + 0x28], 3
call fcn.00449790
push 0x460de0
push 0x20
lea eax, [edi + 0x3a8]
push 8
push eax
mov byte [esp + 0x38], 2
call fcn.00727435
add edi, 0x170
mov byte [esp + 0x28], 1
mov dword [esp + 0x14], edi
mov dword [edi], 0x76633c
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
lea esi, [edi + 4]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x30], 6
call fcn.006d8d80
mov eax, dword [edi + 0x18]
add edi, 0x14
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, edi
call fcn.006bc010
mov edx, dword [eax]
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, edi
call fcn.0045e890
mov al, 5
mov dword [esp + 0x1c], edi
mov byte [esp + 0x28], al
mov ecx, edi
mov byte [esp + 0x28], al
call fcn.0045e770
mov eax, dword [esi + 4]
mov byte [esp + 0x28], 1
push eax
mov dword [esp + 0x20], eax
call fcn.00726ea6
xor eax, eax
add esp, 4
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov esi, dword [esp + 0x18]
push 0x4605a0
push 3
lea ecx, [esi + 0x38]
push 0x68
push ecx
mov byte [esp + 0x38], al
call fcn.00727435
mov ecx, esi
mov dword [esp + 0x28], 0xffffffff
call fcn.006f8240
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret