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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
mov dword [0x4c90e0], esi
test esi, esi
je 0x797dc3
call fcn.00797af0
mov ecx, dword [0x4c8a04]
push ecx
push esi
mov dword [fcn.004c9010], eax
call eax
mov edx, dword [0x4c8dc8]
mov dword [fcn.004c8f30], eax
mov eax, dword [0x4c90e0]
push edx
push eax
call dword [fcn.004c9010]
mov ecx, dword [0x4c8e44]
mov edx, dword [0x4c90e0]
push ecx
push edx
mov dword [fcn.004c909c], eax
call dword [fcn.004c9010]
mov ecx, dword [0x4c90e0]
mov dword [0x4c8f20], eax
mov eax, dword [0x4c8a64]
push eax
push ecx
call dword [fcn.004c9010]
mov edx, dword [0x4c8a50]
mov dword [0x4c908c], eax
mov eax, dword [0x4c90e0]
push edx
push eax
call dword [fcn.004c9010]
mov ecx, dword [0x4c8af8]
mov edx, dword [0x4c90e0]
push ecx
push edx
mov dword [0x4c8f4c], eax
call dword [fcn.004c9010]
mov ecx, dword [0x4c90e0]
mov dword [0x4c8f2c], eax
mov eax, dword [0x4c8cd4]
push eax
push ecx
call dword [fcn.004c9010]
mov edx, dword [0x4c8b3c]
mov dword [0x4c90e4], eax
mov eax, dword [0x4c90e0]
push edx
push eax
call dword [fcn.004c9010]
mov ecx, dword [0x4c8da0]
mov edx, dword [0x4c90e0]
push ecx
push edx
mov dword [0x4c90d0], eax
call dword [fcn.004c9010]
mov ecx, dword [0x4c90e0]
mov dword [0x4c8f90], eax
mov eax, dword [0x4c8d48]
push eax
push ecx
call dword [fcn.004c9010]
mov edx, dword [0x4c8bbc]
mov dword [fcn.004c8fa0], eax
mov eax, dword [0x4c90e0]
push edx
push eax
call dword [fcn.004c9010]
mov ecx, dword [0x4c8ae8]
mov edx, dword [0x4c90e0]
push ecx
push edx
mov dword [0x4c9054], eax
call dword [fcn.004c9010]
mov ecx, dword [0x4c90e0]
mov dword [fcn.004c9088], eax
mov eax, dword [0x4c8e0c]
push eax
push ecx
call dword [fcn.004c9010]
mov edx, dword [0x4c88b0]
mov dword [fcn.004c907c], eax
push edx
mov eax, dword [0x4c90e0]
push eax
call dword [fcn.004c9010]
mov ecx, dword [0x4c8d98]
mov edx, dword [0x4c90e0]
push ecx
push edx
mov dword [fcn.004c9134], eax
call dword [fcn.004c9010]
mov ecx, dword [0x4c90e0]
mov dword [fcn.004c90f4], eax
mov eax, dword [0x4c8a24]
push eax
push ecx
call dword [fcn.004c9010]
mov edx, dword [0x4c8c18]
mov dword [fcn.004c910c], eax
mov eax, dword [0x4c90e0]
push edx
push eax
call dword [fcn.004c9010]
mov ecx, dword [0x4c8e34]
mov edx, dword [0x4c90e0]
push ecx
push edx
mov dword [fcn.004c8fac], eax
call dword [fcn.004c9010]
mov ecx, dword [0x4c90e0]
mov dword [0x4c901c], eax
mov eax, dword [0x4c88bc]
push eax
push ecx
call dword [fcn.004c9010]
mov edx, dword [0x4c892c]
mov dword [0x4c913c], eax
mov eax, dword [0x4c90e0]
push edx
push eax
call dword [fcn.004c9010]
mov ecx, dword [0x4c8ab0]
mov edx, dword [0x4c90e0]
push ecx
push edx
mov dword [0x4c9044], eax
call dword [fcn.004c9010]
mov dword [0x4c904c], eax
mov eax, dword [0x4c8d50]
push eax
call dword [fcn.004c8f30]
mov ecx, dword [0x4c897c]
push ecx
mov dword [0x4c8ef8], eax
call dword [fcn.004c8f30]
mov edx, dword [0x4c8904]
push edx
mov dword [0x4c9020], eax
call dword [fcn.004c8f30]
mov dword [0x4c9114], eax
mov eax, dword [0x4c89dc]
push eax
call dword [fcn.004c8f30]
mov ecx, dword [0x4c8b28]
push ecx
mov dword [0x4c8fd4], eax
call dword [fcn.004c8f30]
mov dword [0x4c9004], eax
mov eax, dword [0x4c8ef8]
pop esi
test eax, eax
je 0x797e38
mov edx, dword [0x4c8cac]
push edx
push eax
call dword [fcn.004c9010]
mov dword [fcn.004c8fe0], eax
mov eax, dword [0x4c9020]
test eax, eax
je 0x797e6c
mov ecx, dword [0x4c8c24]
push ecx
push eax
call dword [fcn.004c9010]
mov edx, dword [0x4c89cc]
mov dword [fcn.004c905c], eax
mov eax, dword [0x4c9020]
push edx
push eax
call dword [fcn.004c9010]
mov dword [fcn.004c9000], eax
mov eax, dword [0x4c9114]
test eax, eax
je 0x797e88
mov ecx, dword [0x4c8b94]
push ecx
push eax
call dword [fcn.004c9010]
mov dword [fcn.004c90a0], eax
mov eax, dword [0x4c8fd4]
test eax, eax
je 0x797ea4
mov edx, dword [0x4c8928]
push edx
push eax
call dword [fcn.004c9010]
mov dword [fcn.004c9068], eax
mov eax, dword [0x4c9004]
test eax, eax
je 0x797ed7
mov ecx, dword [0x4c8c14]
push ecx
push eax
call dword [fcn.004c9010]
mov edx, dword [0x4c9004]
push 0x2c529c
push edx
mov dword [0x4c90d4], eax
call dword [fcn.004c9010]
mov dword [0x4c8f24], eax
mov esp, ebp
pop ebp
ret