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

Disassembly:
push 0xffffffffffffffff
push 0x59e0fe
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x628d00]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x628d00]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, dword [esp + 0x90]
mov edi, ecx
lea eax, [edi + 0x30]
push eax
lea ecx, [esp + 0x38]
call fcn.00501770
xor ebp, ebp
push esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x8c], ebp
call fcn.00501770
push fcn.004a3940
push fcn.005016c0
mov ebx, 1
push ebx
push 0xc
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x9c], bl
call fcn.005383ef
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 8]
lea esi, [edi + 0xc]
mov ecx, esi
mov dword [esp + 0x88], 2
call eax
push eax
lea ecx, [esp + 0x5c]
call fcn.00501770
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
mov ecx, esi
mov byte [esp + 0x88], 3
call eax
push eax
lea ecx, [esp + 0x68]
call fcn.00501770
push fcn.004a3940
push fcn.005016c0
push ebx
push 0xc
lea ecx, [esp + 0x80]
push ecx
mov byte [esp + 0x9c], 4
call fcn.005383ef
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 5
call fcn.005016c0
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov dword [esp + 0x24], ebx
mov ebx, 2
mov ecx, edi
mov byte [esp + 0x88], 6
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
call edx
mov edx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
mov eax, dword [edx + 4]
mov ecx, edi
call eax
test al, al
jne 0x4a702f
lea eax, [esp + 0x40]
mov dword [esp + 0x14], 0xc
jmp 0x4a6f88
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
lea ebp, [ebp + ebp*2]
push eax
add ebp, ebp
lea ebx, [ebx + ebx*2]
add ebp, ebp
lea eax, [esp + ebp + 0x38]
push eax
add ebx, ebx
lea ecx, [esp + 0x30]
add ebx, ebx
push ecx
lea eax, [esp + ebx + 0x40]
push eax
mov ecx, esi
call edx
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + edx + 0x5c]
mov edx, dword [eax + 0x3c]
push ecx
mov ecx, esi
mov dword [esp + 0x24], eax
call edx
mov edx, dword [esp + 0x1c]
push eax
lea eax, [esp + ebp + 0x5c]
push eax
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
push eax
lea ecx, [esp + ebx + 0x5c]
call fcn.00503130
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov ebx, dword [edi]
mov dword [esp + 0x24], eax
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
lea ebp, [esp + eax + 0x34]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 8]
mov ecx, edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ebp
call eax
mov edx, dword [ebx + 4]
push eax
push ebp
mov ecx, edi
call edx
mov ebp, dword [esp + 0x18]
test al, al
je 0x4a6f80
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
lea edi, [ebp + ebp*2]
add edi, edi
add edi, edi
lea ebx, [esp + edi + 0x34]
push ebx
mov ecx, esi
call edx
test al, al
mov eax, dword [esi]
je 0x4a705a
mov edx, dword [eax + 0x48]
push ebx
lea ecx, [esp + edi + 0x5c]
push ecx
mov ecx, esi
call edx
jmp 0x4a7061
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov esi, eax
xor eax, eax
push edi
mov byte [esp + 0x8c], 5
rep stosd dword es:[edi], eax
call fcn.00493190
add esp, 4
push fcn.004a3940
push 3
push 0xc
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x98], 2
call fcn.0053838c
push fcn.004a3940
push 3
push 0xc
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x98], 0xffffffff
call fcn.0053838c
mov eax, esi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00531be5
add esp, 0x78
ret 4