Function at 0x5e0e64
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x2f
push 0
push 0
dec ecx
jne 0x5e0e6d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 0x11], cl
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
call fcn.00406ae0
lea eax, [ebp + 8]
call fcn.00406ae0
xor eax, eax
push ebp
push 0x5e131f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xc], 0
je 0x5e0f3d
jmp 0x5e0f02
lea eax, [ebp - 0x18]
call fcn.00407ff4
push eax
lea eax, [ebp - 0x1c]
call fcn.00407ff4
push eax
push 0
lea eax, [ebp - 0x20]
call fcn.00407ff4
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00408104
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00408104
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
call fcn.00408104
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
call fcn.00407ff4
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00408104
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00408104
cmp dword [ebp - 0x24], 0
jg 0x5e0eb1
jmp 0x5e1091
xor eax, eax
push ebp
push 0x5e1021
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [0x77dcb0], 8
je 0x5e0f74
lea edx, [ebp - 0x2c]
mov eax, dword [0x5de49c]
call fcn.005de6e8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
add eax, 0xc
call fcn.0040800c
jmp 0x5e1001
test byte [0x77dcb0], 4
je 0x5e0f9a
lea edx, [ebp - 0x30]
mov eax, dword [0x5de440]
call fcn.005de684
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
add eax, 0xc
call fcn.0040800c
jmp 0x5e1001
test byte [0x77dcb0], 2
je 0x5e0fc0
lea edx, [ebp - 0x34]
mov eax, dword [0x5de3e0]
call fcn.005de620
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
add eax, 0xc
call fcn.0040800c
jmp 0x5e1001
test byte [0x77dcb0], 1
je 0x5e0fe6
lea edx, [ebp - 0x38]
mov eax, dword [0x5de380]
call fcn.005de5bc
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
add eax, 0xc
call fcn.0040800c
jmp 0x5e1001
lea edx, [ebp - 0x3c]
mov eax, dword [0x66be60]
call fcn.00408588
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x3c]
or ecx, 0xffffffff
call fcn.005f81d8
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xfc]
call fcn.00408104
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e1091
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.004068ec
je 0x5e1140
mov eax, dword [ebp + 8]
xor edx, edx
call fcn.004068ec
jne 0x5e10d0
lea eax, [ebp - 0xc]
call fcn.00407ff4
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xbc]
call fcn.00408104
jmp 0x5e111f
lea eax, [ebp - 0xc]
call fcn.00407ff4
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x160]
mov edx, 1
mov cl, 1
call fcn.004586cc
push dword [ebp - 0x154]
push dword [ebp - 0x158]
push dword [ebp - 0x15c]
push dword [ebp - 0x160]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xe0]
call fcn.00408104
lea eax, [ebp - 0x164]
call fcn.00407ff4
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
call fcn.00408104
cmp byte [ebp - 0x11], 0
jne 0x5e116f
lea eax, [ebp - 8]
call fcn.00407ff4
push eax
push 0x5e1338
push 0x5e137c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xd0]
call fcn.00408104
jmp 0x5e1196
lea eax, [ebp - 8]
call fcn.00407ff4
push eax
push 0x5e1388
push 0x5e137c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0xd0]
call fcn.00408104
lea eax, [ebp - 0x168]
call fcn.00407ff4
push eax
lea eax, [ebp - 0x17c]
call fcn.00407ff4
push eax
push 0
lea eax, [ebp - 0x180]
call fcn.00407ff4
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00408104
mov eax, dword [ebp - 0x180]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00408104
mov edx, dword [ebp - 0x17c]
lea eax, [ebp - 0x178]
call fcn.004589a4
push dword [ebp - 0x16c]
push dword [ebp - 0x170]
push dword [ebp - 0x174]
push dword [ebp - 0x178]
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
call fcn.00408104
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x120]
call fcn.00408104
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x118]
call fcn.00408104
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x110]
call fcn.00408104
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e1329
lea eax, [ebp - 0x180]
call fcn.00407ff4
lea eax, [ebp - 0x17c]
call fcn.00407ff4
lea eax, [ebp - 0x178]
call fcn.0045427c
lea eax, [ebp - 0x168]
mov edx, dword [0x5de250]
mov ecx, 2
call fcn.00406c1c
lea eax, [ebp - 0x160]
call fcn.0045427c
lea eax, [ebp - 0x150]
call fcn.00405dd0
lea eax, [ebp - 0x3c]
call fcn.00405dd0
lea eax, [ebp - 0x38]
mov edx, dword [0x5de340]
mov ecx, 3
call fcn.00406c1c
lea eax, [ebp - 0x2c]
call fcn.00407ff4
lea eax, [ebp - 0x28]
call fcn.00407ff4
lea eax, [ebp - 0x20]
call fcn.00407ff4
lea eax, [ebp - 0x1c]
mov edx, dword [0x5de250]
mov ecx, 2
call fcn.00406c1c
lea eax, [ebp - 0xc]
call fcn.00407ff4
lea eax, [ebp - 8]
call fcn.00407ff4
lea eax, [ebp - 4]
call fcn.004065f4
lea eax, [ebp + 8]
call fcn.004065f4
ret