Function at 0x4a92d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4a92d8
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a9546
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a8c88
mov eax, dword [ebp - 4]
call fcn.004a8d54
mov edx, dword [ebp - 4]
mov edx, dword [edx + 9]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
call fcn.004a8b48
cmp eax, 2
jl 0x4a9364
push ebp
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004a8e10
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.004a9288
pop ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
add eax, 0x1c
call fcn.00403c38
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
cmp dword [eax + 8], 0
jne 0x4a9372
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
add eax, 0x1c
call fcn.00403be4
jmp 0x4a9372
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
add eax, 0x1c
call fcn.00403be4
mov eax, dword [ebp - 4]
call fcn.004a8d54
mov edx, dword [ebp - 4]
mov edx, dword [edx + 9]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 4]
call fcn.004a8b48
cmp eax, 2
jl 0x4a93dd
push ebp
lea eax, [ebp - 0x18]
push eax
xor ecx, ecx
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.004a8e10
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004a9288
pop ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
add eax, 0x20
call fcn.00403c38
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
cmp dword [eax + 0x14], 0
jne 0x4a93eb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
add eax, 0x20
call fcn.00403be4
jmp 0x4a93eb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
add eax, 0x20
call fcn.00403be4
lea ecx, [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004a8f64
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
call fcn.00462738
mov eax, dword [ebp - 4]
call fcn.004a8b48
cmp eax, 2
jl 0x4a9430
lea ecx, [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004a8f64
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
call fcn.004627fc
jmp 0x4a943d
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
call fcn.004627fc
mov eax, dword [ebp - 4]
call fcn.004a8b48
cmp eax, 3
jl 0x4a9469
mov eax, dword [ebp - 4]
call fcn.004a8d54
cmp eax, 0xff
jbe 0x4a945e
call fcn.00402dd8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 9]
mov byte [edx + 0x39], al
jmp 0x4a9473
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
mov byte [eax + 0x39], 0
mov eax, dword [ebp - 4]
call fcn.004a8d54
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
call fcn.004621b8
mov eax, dword [ebp - 4]
call fcn.004a8d04
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
call fcn.00462600
lea ecx, [ebp - 0x24]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004a8f64
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
add eax, 0x28
call fcn.00403c38
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
call fcn.004a8f64
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
add eax, 0x2c
call fcn.00403c38
lea ecx, [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004a8f64
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
add eax, 0x30
call fcn.00403c38
mov eax, dword [ebp - 4]
call fcn.004a8d04
mov edx, dword [ebp - 4]
mov edx, dword [edx + 9]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
call fcn.004a8cb0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
mov edx, dword [eax]
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 9]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a954d
lea eax, [ebp - 0x2c]
mov edx, 9
call fcn.00403c08
ret