Function at 0x5399d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x34]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
push fcn.00539990
push ebp
push 0x413d20
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x8c]
lea eax, [ebp - 0xc]
call fcn.00408960
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa0]
lea eax, [ebp - 0x10]
call fcn.00408960
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x539a84
mov eax, edx
test edx, edx
je 0x539a53
mov eax, dword [eax - 4]
cmp byte [edx + eax - 1], 0x5c
jne 0x539a84
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x539a68
mov ecx, dword [ecx - 4]
sub ecx, 1
mov eax, dword [ebp - 0xc]
mov edx, 1
call fcn.00409780
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00408960
mov esi, esi
lea edx, [ebp - 0x1c]
mov eax, ebp
call fcn.00539c30
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
call fcn.00408960
mov eax, 0x7d2
call fcn.0040f910
mov esi, eax
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x20]
call fcn.0042ae20
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
call fcn.0040adf0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x539ac7
mov eax, dword [eax - 4]
shr eax, 1
cmp eax, 0x3e8
jle 0x539ad5
mov ecx, 0x3e8
jmp 0x539ae3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x539ae1
mov eax, dword [eax - 4]
shr eax, 1
mov ecx, eax
shl ecx, 1
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x539af1
mov eax, 0x5db2f0
mov edx, esi
call fcn.00403590
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
je 0x539b21
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x94]
lea eax, [ebp - 8]
call fcn.00408960
lea edx, [ebp - 8]
mov eax, ebp
call fcn.00539c80
jmp 0x539b5b
push 0
mov eax, dword [str.All_files]
mov dword [ebp - 0x34], eax
mov eax, str.__._
mov dword [ebp - 0x30], eax
mov eax, 0x5cbda8
mov dword [ebp - 0x2c], eax
mov eax, 0x5cbdb8
mov dword [ebp - 0x28], eax
mov eax, 0x5cbda8
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x34]
lea eax, [ebp - 8]
mov ecx, 4
call fcn.00408cf0
mov eax, 0x58
call fcn.0040f910
mov ebx, eax
mov edi, ebx
mov eax, dword [0x572950]
mov dword [edi], eax
mov eax, dword [ebp - 4]
call fcn.005395d0
mov dword [edi + 4], eax
call fcn.00412c30
mov dword [edi + 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call dword [edx + 0x110]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], esi
mov eax, dword [ebp - 8]
call fcn.00539050
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.00539050
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x10]
call fcn.00539050
mov dword [edi + 0x2c], eax
mov eax, dword [ebp - 0x14]
call fcn.00539050
mov dword [edi + 0x3c], eax
mov dword [edi + 0x20], 0x3e9
mov eax, 0x539700
mov dword [edi + 0x44], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc4]
mov eax, ebp
call fcn.00539ce0
mov dword [edi + 0x34], eax
mov eax, 0x14
call fcn.0040f930
mov esi, eax
mov edx, 0x5cbe10
mov eax, esi
call fcn.0040e6f0
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov dword [edi + 0x40], esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00539990
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret