Function at 0x430490
Capabilities:
Enumerate files on windows
Enumerate files recursively
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10cc
call fcn.00544bc0
mov eax, dword [0x5c96a4]
xor eax, esp
mov dword [esp + 0x10c8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0xffffffffffffffff
push eax
lea eax, [esp + 0xcc8]
push 0x104
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], 1
call fcn.00540b8d
lea eax, [esp + 0xcd0]
add esp, 0x10
lea edx, [eax + 2]
jmp 0x4304f0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4304f0
sub eax, edx
sar eax, 1
cmp eax, 0x101
jl 0x430520
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10c8]
xor ecx, esp
call fcn.0053fb0e
mov esp, ebp
pop ebp
ret
mov ecx, 0x5c
cmp cx, word [esp + eax*2 + 0xcbe]
je 0x430543
mov edx, ecx
xor ecx, ecx
mov word [esp + eax*2 + 0xcc0], dx
mov word [esp + eax*2 + 0xcc2], cx
push 0x59ace8
lea edx, [esp + 0xcc4]
push edx
push 0x59acec
push 0x103
lea eax, [esp + 0xed8]
push 0x104
push eax
call fcn.005403d0
add esp, 0x18
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xecc]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x430506
nop
test byte [esp + 0x20], 0x10
je 0x43068e
mov ax, word [esp + 0x4c]
mov ecx, 0x2e
cmp cx, ax
je 0x4307aa
mov edx, 0x24
cmp dx, ax
je 0x4307aa
cmp dword [0x5dfe10], 0
je 0x4307aa
lea eax, [esp + 0x4c]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0xcc8]
push edx
push str._s_s_s.png
push 0x103
lea eax, [esp + 0xedc]
push 0x104
push eax
call fcn.005403d0
add esp, 0x1c
push 5
push 0
push 0
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0xed8]
push edx
push 1
push 0
push edi
call fcn.0043fa40
mov ebx, dword [ebp + 0xc]
mov esi, eax
test ebx, ebx
je 0x4307aa
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0xcc4]
push ecx
push 0x59ad10
push 0x103
lea edx, [esp + 0xed8]
push 0x104
push edx
call fcn.005403d0
push esi
push edi
lea eax, [esp + 0xee8]
push ebx
push eax
call fcn.00430490
add esp, 0x28
test eax, eax
jne 0x4307aa
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x10d4]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053fb0e
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0xcc4]
push edx
push 0x59acec
push 0x103
lea eax, [esp + 0xed8]
push 0x104
push eax
call fcn.005403d0
add esp, 0x18
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea ecx, [esp + 0xee0]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4307aa
push 0
lea edx, [esp + 0x18]
push edx
push 0x526
lea eax, [esp + 0x7a4]
push eax
push esi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4307a3
cmp dword [esp + 0x14], 0x526
jne 0x4307a3
xor eax, eax
mov cl, byte [esp + eax + 0x798]
rol cl, 2
mov byte [esp + eax + 0x270], cl
inc eax
cmp eax, 0x526
jb 0x430720
cmp dword [esp + 0x270], 0xfa3388a0
jne 0x4307a3
lea eax, [esp + 0x4c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x430750
sub eax, edx
sar eax, 1
add eax, 0xffffffff
js 0x430786
movzx ecx, word [esp + eax*2 + 0x4c]
test cx, cx
je 0x430786
mov edx, 0x2e
cmp dx, cx
je 0x43077f
sub eax, 1
jns 0x430764
jmp 0x430786
xor ecx, ecx
mov word [esp + eax*2 + 0x4c], cx
mov edx, dword [esp + 0x274]
push 5
push 0
push edx
lea eax, [esp + 0x58]
push eax
push 0
push 0
push 0
push edi
call fcn.0043fa40
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x43066a
mov ebx, dword [esp + 0x1c]
jmp 0x430590