Function at 0x4924c8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4926da
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, edi
call fcn.00412e5c
mov eax, dword [edi + 4]
mov ebx, eax
add ebx, 0xe
mov edx, dword [ebx + 4]
mov dword [ebp - 8], edx
mov edx, dword [ebx + 8]
mov dword [ebp - 0xc], edx
mov edx, ebx
add edx, 0x28
mov dword [ebp - 0x10], edx
mov edx, dword [edi + 4]
add eax, dword [edx + 0xa]
mov edi, eax
mov ax, word [ebx + 0xe]
dec ax
je 0x49252f
sub ax, 3
je 0x492536
sub ax, 4
je 0x49253d
jmp 0x492544
mov esi, 2
jmp 0x492559
mov esi, 0x10
jmp 0x492559
mov esi, pe_nt_image_headers32
jmp 0x492559
lea edx, [ebp - 0x14]
mov eax, 0xeea5
call fcn.00408a08
mov eax, dword [ebp - 0x14]
call fcn.00490a04
mov eax, dword [ebp - 4]
mov byte [eax + 0x1c], 0
mov eax, dword [ebp - 0x10]
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
add eax, 0x16
mov ecx, esi
call fcn.00491708
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
test eax, eax
jne 0x492599
mov dl, 1
mov eax, dword [0x40f65c]
call fcn.00402e1c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
mov dword [edx + 8], eax
jmp 0x49259f
xor edx, edx
mov ecx, dword [eax]
call dword [ecx]
xor eax, eax
push ebp
push 0x4925da
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x494a0c
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x1c]
mov edx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
call fcn.0049175c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49260c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov byte [eax + 0x15], 1
jmp 0x49261b
inc byte [eax + 0x15]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov cl, byte [eax + 0x15]
mov edx, 1
shl edx, cl
cmp edx, dword [eax + 0x16]
jl 0x492618
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x20]
cmp dword [eax + 0xf], 0
jne 0x492667
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
lea esi, [edx + 0x16]
lea edi, [eax + 0xf]
mov ecx, 0xc1
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
mov dl, byte [edx + 0x15]
mov byte [eax + 0xd], dl
mov eax, dword [ebp - 4]
mov byte [eax + 0x27], 0
jmp 0x49266e
mov eax, dword [ebp - 4]
mov byte [eax + 0x27], 1
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x10], eax
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0x30]
call fcn.0048c6e0
mov edx, dword [ebp - 4]
mov esi, dword [edx + 4]
mov word [esi + 0x30], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x18]
movzx eax, word [esi + 0x32]
call fcn.0048c6e0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov word [edx + 0x32], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4926e1
lea eax, [ebp - 0x14]
call fcn.00403bb4
ret