Function at 0x56b510
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x48]
push ebx
push esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
xor eax, eax
push fcn.0056b4d0
push ebp
push 0x414ff0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x8c]
lea eax, [ebp - 0x18]
call fcn.00408a60
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa0]
lea eax, [ebp - 0x1c]
call fcn.00408a60
cmp dword [ebp - 0x18], 0
jne 0x56b58a
jmp 0x56b5cc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x56b597
mov eax, dword [eax - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x56b5a0
jmp 0x56b5cc
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x56b5ae
mov ecx, dword [ecx - 4]
sub ecx, 1
mov eax, dword [ebp - 0x18]
mov edx, 1
call fcn.00409890
lea eax, [ebp - 0x18]
mov edx, 0
call fcn.00408a60
nop
lea edx, [ebp - 0x30]
mov eax, ebp
call fcn.0056b7a0
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x20]
call fcn.00408a60
mov eax, 0x7d2
call fcn.00410190
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x56b5f8
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x56b604
mov eax, 0x5fe2f0
lea ecx, [ebp - 0x34]
call fcn.004333b0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x24]
call fcn.0040b240
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x56b623
mov eax, dword [eax - 4]
shr eax, 1
cmp eax, 0x3e8
jg 0x56b62c
jmp 0x56b635
mov dword [ebp - 0x2c], 0x3e8
jmp 0x56b644
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x56b641
mov eax, dword [eax - 4]
shr eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
shl ecx, 1
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x56b655
mov eax, 0x5fe2f0
mov edx, dword [ebp - 0x28]
call fcn.00403660
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x56b66b
jmp 0x56b688
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x94]
lea eax, [ebp - 0x14]
call fcn.00408a60
lea edx, [ebp - 0x14]
mov eax, ebp
call fcn.0056b7f0
jmp 0x56b6c2
push 0
mov eax, dword [str.All_files]
mov dword [ebp - 0x48], eax
mov eax, str.__._
mov dword [ebp - 0x44], eax
mov eax, 0x5f3690
mov dword [ebp - 0x40], eax
mov eax, 0x5f36a0
mov dword [ebp - 0x3c], eax
mov eax, 0x5f3690
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x14]
mov ecx, 4
call fcn.00408df0
mov eax, 0x58
call fcn.00410190
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
mov eax, dword [0x59d8c0]
mov dword [ebx], eax
mov eax, dword [ebp - 4]
call fcn.0056b1b0
mov dword [ebx + 4], eax
call fcn.00413ea0
mov dword [ebx + 8], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
call dword [edx + 0x110]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x14]
call fcn.0056ab30
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.0056ab30
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x1c]
call fcn.0056ab30
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 0x20]
call fcn.0056ab30
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x20], 0x3e9
mov eax, 0x56b330
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc4]
mov eax, ebp
call fcn.0056b870
mov dword [ebx + 0x34], eax
mov eax, 0x14
call fcn.004101b0
mov esi, eax
mov edx, 0x5f3710
mov eax, esi
call fcn.0040ee90
mov dword [ebp - 0xc], esi
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x40], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0056b4d0
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret