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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7b4877
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x9727c0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x9727c0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x3c]
xor ecx, ecx
mov dword [esp + 0x18], ebx
mov word [esp + 0x30], cx
mov byte [esp + 0x32], cl
mov dword [esp + 0x34], ecx
mov byte [esp + 0x38], cl
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x80], 2
lea edi, [esi + 0xc]
mov dword [esp + 0x20], edi
mov eax, dword [edi]
mov byte [esp + 0x24], cl
mov ecx, edi
call dword [eax]
mov byte [esp + 0x24], 1
mov byte [esp + 0x80], 3
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0x34]
call fcn.00664dad
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x34]
jne 0x6644d9
mov byte [esp + 0x80], 2
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x24], 0
call dword [eax + 8]
jmp 0x664664
add eax, 0xc
lea ecx, [esp + 0x30]
push eax
call fcn.006646d0
mov byte [esp + 0x80], 2
mov ecx, edi
mov eax, dword [edi]
mov byte [esp + 0x24], 0
call dword [eax + 8]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x40]
call fcn.0059ae2c
mov byte [esp + 0x80], 6
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x664645
cmp byte [esp + 0x32], 0
je 0x664531
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.006648e5
mov ecx, dword [esp + 0x28]
cmp byte [esp + 0x31], 0
je 0x664542
mov eax, dword [ecx]
push ebx
call dword [eax]
jmp 0x66464f
push str._879
lea ecx, [esp + 0x5c]
call fcn.004824e0
mov byte [esp + 0x80], 7
mov eax, dword [esp + 0x28]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
mov dword [esp + 0x20], ecx
mov dword [ecx], eax
lea eax, [esp + 0x34]
push eax
add ecx, 4
call fcn.00481095
mov byte [esp + 0x88], 9
push ebx
mov byte [esp + 0x8c], 7
lea ecx, [esp + 0x50]
call fcn.00664eba
mov byte [esp + 0x8c], 0xa
sub esp, 0x14
mov esi, esp
mov dword [esp + 0x34], esp
mov dword [esp + 0x38], esi
mov byte [esp + 0xa0], 0xb
sub esp, 0x14
lea eax, [esp + 0x78]
mov dword [esp + 0x50], esp
mov ecx, esp
push eax
call fcn.0066507c
mov byte [esp + 0xb4], 0xc
mov byte [esp + 0xb4], 0xb
mov ecx, esi
call fcn.006651d4
mov byte [esp + 0xa0], 7
lea eax, [esp + 0x68]
mov dword [esp + 0x38], eax
mov byte [esp + 0xa0], 7
mov ecx, eax
call fcn.004813b4
mov byte [esp + 0xa0], 0x12
push 0
mov byte [esp + 0xa4], 7
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x44]
call fcn.004bb225
add esp, 0x24
mov byte [esp + 0x80], 7
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x66462e
call fcn.0048103d
mov byte [esp + 0x80], 6
lea ecx, [esp + 0x58]
push 0
push 1
call fcn.00482a51
jmp 0x66464f
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.006648e5
mov byte [esp + 0x80], 2
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x664664
call fcn.0048103d
or dword [esp + 0x80], 0xffffffff
lea eax, [esp + 0x3c]
mov dword [esp + 0x14], eax
or dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.004958b7
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0073167f
mov esp, ebp
pop ebp
ret 4