Function at 0x43e620
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4de4e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x68], eax
nop dword [eax + eax]
mov al, byte [esi]
test al, al
jne 0x43e79e
cmp dword [esi + 0x2a0], 0
je 0x43e997
test al, al
jne 0x43e79e
mov ecx, dword [esi + 0x2a0]
xor eax, eax
add ecx, dword [esi + 0x29c]
mov edx, dword [esi + 0x290]
test edx, edx
je 0x43e67f
mov edx, dword [edx]
test edx, edx
je 0x43e67f
mov eax, dword [edx]
lea edx, [ecx - 1]
test eax, eax
je 0x43e696
mov eax, dword [eax]
test eax, eax
je 0x43e696
mov eax, dword [eax]
test eax, eax
je 0x43e696
mov eax, dword [eax]
jmp 0x43e698
xor eax, eax
mov ecx, dword [eax + 8]
lea edi, [esi + 0x258]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
push dword [eax + ecx*4]
mov ecx, edi
call fcn.00427680
mov eax, dword [esi + 0x2a0]
mov ecx, dword [esi + 0x29c]
dec eax
add ecx, eax
mov eax, dword [esi + 0x298]
dec eax
and ecx, eax
mov eax, dword [esi + 0x294]
mov ecx, dword [eax + ecx*4]
call fcn.00401f50
add dword [esi + 0x2a0], 0xffffffff
jne 0x43e6ea
mov dword [esi + 0x29c], 0
push edi
lea ecx, [ebp - 0x34]
call fcn.004275d0
sub esp, 8
cmp dword [esi + 0x288], 0
jne 0x43e710
mov eax, esp
mov dword [eax], 0x4c13a8
mov dword [eax + 4], 1
jmp 0x43e734
cmp dword [esi + 0x28c], 8
mov edx, esp
jb 0x43e723
mov ecx, dword [esi + 0x278]
jmp 0x43e729
lea ecx, [esi + 0x278]
mov dword [edx], ecx
mov eax, dword [esi + 0x288]
mov dword [edx + 4], eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x34]
call fcn.00427920
push eax
lea ecx, [ebp - 0x34]
call fcn.00427680
lea ecx, [ebp - 0x64]
call fcn.00401f50
call fcn.00430440
cmp eax, 4
lea ebx, [esi + 4]
lea eax, [ebp - 0x34]
jl 0x43e77b
cmp dword [ebp - 0x20], 8
push 2
cmovae eax, dword [ebp - 0x34]
push 0
push 0
push ebx
push 1
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
jmp 0x43e78b
cmp dword [ebp - 0x20], 8
push ebx
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x34]
mov dword [esi + 0x254], eax
mov byte [esi], 1
call fcn.00401f50
jmp 0x43e7c8
lea ebx, [esi + 4]
push ebx
push dword [esi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43e7c8
push dword [esi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi + 0x254], 0xffffffff
cmp dword [esi + 0x254], 0xffffffff
jne 0x43e896
xor eax, eax
mov byte [esi], 0
mov word [ebp - 0x4c], ax
lea edi, [esi + 0x278]
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
cmp edi, eax
je 0x43e640
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x43e810
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00406780
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x43e828
mov eax, dword [edi]
jmp 0x43e82a
mov eax, edi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x4c]
push eax
mov ecx, edi
call fcn.00405910
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x43e640
mov ecx, dword [ebp - 0x4c]
inc eax
cmp eax, 0x7fffffff
ja 0x43e9cb
add eax, eax
cmp eax, 0x1000
jb 0x43e888
test cl, 0x1f
jne 0x43e9cb
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x43e9cb
sub ecx, eax
cmp ecx, 4
jb 0x43e9cb
cmp ecx, 0x23
ja 0x43e9cb
mov ecx, eax
push ecx
call fcn.0049478f
add esp, 4
jmp 0x43e640
sub esp, 8
lea edi, [esi + 0x30]
mov edx, esp
mov dword [edx], edi
test edi, edi
jne 0x43e8a8
xor ecx, ecx
jmp 0x43e8d0
cmp word [edi], 0
jne 0x43e8b2
xor ecx, ecx
jmp 0x43e8d0
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 0x6c], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43e8c0
sub ecx, dword [ebp - 0x6c]
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x1c]
call fcn.00427600
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00442080
test al, al
je 0x43e8f7
lea ecx, [ebp - 0x1c]
call fcn.00401f50
jmp 0x43e640
sub esp, 8
mov ecx, esp
mov dword [ecx], edi
test edi, edi
je 0x43e91f
cmp word [edi], 0
jne 0x43e90c
xor edi, edi
jmp 0x43e91f
lea edx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x43e910
sub edi, edx
sar edi, 1
lea eax, [ebp - 0x64]
mov dword [ecx + 4], edi
push eax
lea ecx, [esi + 0x258]
call fcn.00427920
push eax
lea ecx, [ebp - 0x1c]
call fcn.00427680
lea ecx, [ebp - 0x64]
call fcn.00401f50
test byte [ebx], 0x10
je 0x43e981
cmp byte [esi + 0x270], 0
je 0x43e978
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x43e978
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0x290]
call fcn.0043ec70
test byte [esi + 0x274], 2
jmp 0x43e988
test byte [esi + 0x274], 1
jne 0x43e9a1
lea ecx, [ebp - 0x1c]
call fcn.00401f50
jmp 0x43e640
mov ecx, dword [ebp - 0x68]
call fcn.00427660
jmp 0x43e9b5
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x1c]
push eax
call fcn.004275d0
lea ecx, [ebp - 0x1c]
call fcn.00401f50
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x68]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0049510d
mov esp, ebp
pop ebp
ret 4
call fcn.0049a721
int3