Function at 0x4e95c8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbb0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x44c], eax
mov esi, dword [ebp + 8]
add esi, 0xfffffffc
xor eax, eax
push ebp
push 0x4e9843
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
sub eax, 0x440
sbb edx, 0
push edx
push eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
call fcn.0043eff4
lea edx, [ebp - 0x448]
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov ecx, 0x440
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x324], 0
jge 0x4e963c
xor eax, eax
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 8
jle 0x4e964d
xor eax, eax
mov dword [ebp - 0x324], eax
xor ebx, ebx
lea eax, [ebp - 0x424]
movzx edx, byte [eax]
mov ecx, dword [esi]
mov byte [ecx + ebx + 0x54], dl
inc ebx
inc eax
cmp ebx, 0x100
jne 0x4e9655
mov eax, dword [esi]
add eax, 0x54
mov edx, pe_nt_image_headers32
call fcn.004e2578
mov ebx, eax
and ebx, 0xfffffff
mov eax, dword [esi]
mov dword [eax + 0x50], ebx
push ebx
lea eax, [ebp - 0x448]
mov cl, 1
mov edx, 0x20
call fcn.004e18ac
lea eax, [ebp - 0x44c]
lea edx, [ebp - 0x448]
mov ecx, 0x20
call fcn.00407648
mov eax, dword [ebp - 0x44c]
mov edx, 0x4e9864
call fcn.00407b38
jne 0x4e9825
mov eax, dword [esi]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x14], edx
mov eax, dword [esi]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x18], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x1c], edx
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
sub eax, 0x440
sbb edx, 0
push edx
push eax
mov eax, dword [ebp - 0x428]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
call fcn.0043eff4
mov dl, 1
mov eax, dword [0x433fc4]
call fcn.004056c8
mov ebx, eax
mov eax, dword [ebp - 0x428]
cdq
push edx
push eax
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov eax, ebx
call fcn.0043f298
mov ecx, pe_nt_image_headers32
mov dl, 1
mov eax, dword [0x4e6aac]
call fcn.004e7190
mov edx, dword [esi]
mov dword [edx + 4], eax
push 0
push 0
mov eax, ebx
call fcn.0043eff4
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov edx, ebx
call fcn.004e75fc
mov eax, ebx
call fcn.004056f8
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x28]
mov ecx, dword [esi]
add eax, dword [ecx + 0x18]
adc edx, dword [ecx + 0x1c]
push edx
push eax
mov eax, dword [esi]
mov eax, dword [eax + 8]
call fcn.0043eff4
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [esi]
add eax, 0xc
mov ecx, 1
mov edx, dword [0x4e7d5c]
call fcn.00408e48
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [esi]
add eax, 0x10
mov ecx, 1
mov edx, dword [0x4e7d90]
call fcn.00408e48
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
dec eax
test eax, eax
jl 0x4e9815
inc eax
mov dword [ebp - 8], eax
xor ebx, ebx
lea ecx, [ebp - 0x450]
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
mov eax, dword [esi]
mov eax, dword [eax + 8]
call fcn.004e10ec
mov edx, dword [ebp - 0x450]
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
lea eax, [eax + ebx*4]
call fcn.00407460
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
lea edx, [edx + eax*4]
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov ecx, 0x1c
mov edi, dword [eax]
call dword [edi + 0xc]
inc ebx
dec dword [ebp - 8]
jne 0x4e97c6
mov eax, dword [esi]
mov dword [eax + 0x154], 0x1e
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e984a
lea eax, [ebp - 0x450]
mov edx, 2
call fcn.00407458
ret