Function at 0x435f70
Capabilities:
Access peb ldr_data
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5327af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c4
mov eax, dword [0x590f68]
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
mov dword [esp + 0x2d0], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], esi
call fcn.00503c89
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x2dc], esi
call fcn.00503c89
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov byte [esp + 0x2dc], 1
call fcn.00503c89
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0xffffffffffffffff
lea ecx, [ebp + 0xf0]
push esi
mov byte [esp + 0x2e4], 2
call fcn.0050191f
mov eax, dword [ebp + 0xd0]
push 0x552538
add eax, 0x680
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00402f80
add esp, 0xc
lea ebx, [ebp + 0x108]
push eax
mov ecx, ebx
mov byte [esp + 0x2e0], 3
call fcn.00402e60
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43605f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0x552534
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.00402f80
add esp, 0xc
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x50]
push ecx
push edx
mov byte [esp + 0x2e4], 4
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x4364b9
jmp 0x4360a0
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4362f7
mov cl, byte [esp + 0x7c]
mov esi, dword [esp + 0x50]
xor eax, eax
cmp cl, 0x2e
setne al
xor ecx, ecx
cmp esi, 0x10
sete cl
test ecx, eax
je 0x4361fd
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.00402f80
push 0x54e018
push eax
lea ecx, [esp + 0x60]
push ecx
mov byte [esp + 0x2f4], 5
call fcn.00402f80
push 0x552534
push eax
lea edx, [esp + 0x58]
push edx
mov byte [esp + 0x300], 6
call fcn.00402f80
add esp, 0x24
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2e0], 7
call fcn.00402e60
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436147
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43616d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436193
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x190]
push eax
push ecx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x4361f0
lea eax, [esp + 0x7c]
mov dword [esp + 0x20], 1
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4361c0
sub eax, edx
push eax
lea edx, [esp + 0x80]
push edx
lea ecx, [esp + 0x38]
call fcn.00401720
push 1
push 0x54e018
lea ecx, [esp + 0x38]
call fcn.00404690
jmp 0x4360a0
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_FindClose]
jmp 0x4360a0
lea eax, [esp + 0x7c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436204
sub eax, edx
push eax
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x18]
call fcn.00401720
push 4
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x18]
call fcn.00402d10
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x2e0], 8
call fcn.00402e60
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x436267
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x1c]
call fcn.00434ae0
mov edi, dword [esp + 0x1c]
push 0x55252c
push edi
call fcn.004ea679
add esp, 8
test eax, eax
jne 0x436496
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffc
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x18]
call fcn.00402d70
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2e0], 9
call fcn.00402e60
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4362db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0xf8]
lea ecx, [ebp + 0xf0]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00501bd3
jmp 0x436496
lea eax, [esp + 0x1bc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436301
sub eax, edx
push eax
lea edx, [esp + 0x1c0]
push edx
lea ecx, [esp + 0x18]
call fcn.00401720
push 4
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.00402d10
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x2e0], 0xa
call fcn.00402e60
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436364
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x1c]
mov eax, dword [edi - 4]
mov esi, dword [edi - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edi - 8]
sub eax, esi
or eax, ecx
jge 0x43638c
push esi
lea ecx, [esp + 0x20]
call fcn.00401560
mov edi, dword [esp + 0x1c]
push edi
call fcn.004eadcb
add esp, 4
test esi, esi
jl 0x4364e5
cmp esi, dword [edi - 8]
jg 0x4364e5
push 0x55252c
mov dword [edi - 0xc], esi
push edi
mov byte [esi + edi], 0
call fcn.004ea679
add esp, 8
test eax, eax
jne 0x43646c
mov eax, dword [esp + 0x10]
mov eax, dword [eax - 0xc]
add eax, 0xfffffffc
push eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.00402d70
push eax
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x2e8], 0xb
call fcn.00402ed0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2e0], 0xc
call fcn.00402e60
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43642f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436455
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0xf8]
lea ecx, [ebp + 0xf0]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00501bd3
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x190]
push eax
push ecx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x4360a0
mov edx, dword [esp + 0x24]
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x4360a0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [ebp + 0xf8]
xor edx, edx
lea ecx, [eax - 1]
test ecx, ecx
mov dword [esp + 0x20], edx
jle 0x4366fa
lea esi, [edx + 1]
cmp esi, eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x14], esi
jge 0x4366e3
jmp 0x4364f7
push 0x80070057
call fcn.00401120
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
test esi, esi
jl 0x4367b6
mov eax, dword [ebp + 0xf8]
cmp esi, eax
lea ecx, [ebp + 0xf0]
jge 0x4367b6
mov eax, dword [ecx + 4]
shl esi, 2
add eax, esi
test edx, edx
mov eax, dword [eax]
mov dword [esp + 0x24], esi
jl 0x4367b6
cmp edx, dword [ecx + 8]
jge 0x4367b6
mov ecx, dword [ecx + 4]
lea ebp, [edx*4]
add ecx, ebp
mov ecx, dword [ecx]
push eax
push ecx
call fcn.004ea679
add esp, 8
test eax, eax
jle 0x4366be
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 0xf8]
add ebx, 0xf0
cmp edx, eax
jge 0x4367b6
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x18]
add eax, ebp
mov eax, dword [eax]
lea ecx, [eax - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x4365cf
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jl 0x4365c1
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x4365c1
push ecx
call fcn.00402ae0
mov dword [esp + 0x2c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4365b4
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0x10
mov dword [esp + 0x18], eax
jmp 0x4365cf
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00401720
mov ecx, dword [esp + 0x14]
cmp ecx, dword [ebx + 8]
jge 0x4367b6
mov edx, dword [esp + 0x24]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
add eax, edx
mov edx, dword [esp + 0x20]
cmp edx, ecx
jge 0x4367b6
mov edi, dword [ebx + 4]
mov ecx, dword [eax]
mov esi, dword [edi + ebp]
add edi, ebp
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x436651
mov edx, dword [esi + 0xc]
test edx, edx
lea ebp, [esi + 0xc]
jl 0x436645
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x436645
push eax
call fcn.00402ae0
mov dword [esp + 0x2c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x43663a
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0x10
mov dword [edi], eax
jmp 0x436651
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, edi
call fcn.00401720
mov ecx, dword [esp + 0x14]
cmp ecx, dword [ebx + 8]
jge 0x4367b6
mov esi, dword [esp + 0x24]
mov edi, dword [ebx + 4]
mov eax, dword [esp + 0x18]
add edi, esi
mov esi, dword [edi]
add eax, 0xfffffff0
sub esi, 0x10
cmp eax, esi
je 0x4366be
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea ebp, [esi + 0xc]
jl 0x4366ae
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4366ae
push eax
call fcn.00402ae0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x4366a7
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add ebx, 0x10
mov dword [edi], ebx
jmp 0x4366be
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, edi
call fcn.00401720
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0xf8]
inc eax
cmp eax, edx
mov dword [esp + 0x14], eax
mov ebp, ecx
jl 0x4364ef
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x34]
mov eax, dword [ebp + 0xf8]
mov edx, esi
lea ecx, [eax - 1]
cmp edx, ecx
mov dword [esp + 0x20], edx
jl 0x4364d0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x436720
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x2dc], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436746
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x2dc], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436768
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x2dc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436791
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x2d4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2c4]
pop ebx
call fcn.004e9911
add esp, 0x2d0
ret
jmp fcn.004fd76e