Function at 0x43c9b0
Capabilities:
Enumerate files on windows
Read file on windows

Disassembly:
sub esp, 0x258
push ebx
push ebp
push esi
mov ebx, ecx
xor esi, esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], esi
call fcn.0043c890
mov ecx, dword [0x6833d0]
call fcn.00424210
test eax, eax
push str..mgs
je 0x43c9f0
push 0x66d060
lea eax, [esp + 0x2c]
push 0x66a7b8
push eax
jmp 0x43ca02
mov ecx, ebx
call fcn.0043d1e0
push eax
lea ecx, [esp + 0x2c]
push 0x66a7b8
push ecx
call fcn.00613634
add esp, 0x10
lea edx, [esp + 0x128]
lea eax, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x43ca38
lea ecx, [esp + 0x128]
inc esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43ca24
mov ebp, dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call ebp
mov ecx, dword [0x6833d0]
call fcn.00424210
test eax, eax
push str..msx
je 0x43ca66
push 0x66d060
lea edx, [esp + 0x2c]
push 0x66a7b8
push edx
jmp 0x43ca78
mov ecx, ebx
call fcn.0043d1e0
push eax
lea eax, [esp + 0x2c]
push 0x66a7b8
push eax
call fcn.00613634
add esp, 0x10
lea ecx, [esp + 0x128]
lea edx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x43caae
lea eax, [esp + 0x128]
inc esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43ca9a
push edi
call ebp
test esi, esi
mov dword [ebx + 0xe58], esi
je 0x43cf5d
push 0x20
push esi
call fcn.006132aa
mov edi, eax
push 0x20
push esi
mov dword [esp + 0x28], edi
call fcn.006132aa
mov dword [ebx + 0xe54], eax
mov ecx, dword [0x6833d0]
add esp, 0x10
call fcn.00424210
test eax, eax
push str..mgs
je 0x43cb03
push 0x66d060
lea ecx, [esp + 0x2c]
push 0x66a7b8
push ecx
jmp 0x43cb15
mov ecx, ebx
call fcn.0043d1e0
push eax
lea edx, [esp + 0x2c]
push 0x66a7b8
push edx
call fcn.00613634
add esp, 0x10
lea eax, [esp + 0x128]
lea ecx, [esp + 0x24]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x43cc75
mov ebx, edi
lea edx, [esp + 0x154]
lea eax, [esp + 0x24]
push edx
push 0x66a2b4
push eax
call fcn.00613634
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx], 0
repne scasb al, byte es:[edi]
not ecx
push 1
push ecx
call fcn.006132aa
mov edx, eax
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
mov dword [ebx], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [ebx]
not ecx
dec ecx
mov byte [ecx + edx], al
mov eax, dword [esp + 0x140]
mov dword [ebx + 0xc], eax
mov ecx, dword [esp + 0x13c]
mov dword [ebx + 8], ecx
mov ecx, dword [0x6833d0]
call fcn.00424210
test eax, eax
je 0x43cbec
lea edx, [esp + 0x154]
lea eax, [esp + 0x24]
push edx
push 0x66d060
push 0x66a7b8
push eax
jmp 0x43cc08
lea ecx, [esp + 0x154]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0043d1e0
push eax
lea edx, [esp + 0x2c]
push 0x66a7b8
push edx
call fcn.00613634
add esp, 0x10
lea eax, [esp + 0x24]
push 0x180
push 0x8002
push eax
call fcn.00614875
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x43cc3d
lea ecx, [ebx + 0x10]
push 0x10
push ecx
push esi
call fcn.0061467f
add esp, 0xc
push esi
call fcn.006145cc
mov eax, dword [esp + 0x18]
add esp, 4
lea edx, [esp + 0x128]
inc eax
push edx
push ebp
mov dword [esp + 0x1c], eax
add ebx, 0x20
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43cb43
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [0x6833d0]
call fcn.00424210
test eax, eax
push str..msx
je 0x43cca1
push 0x66d060
lea eax, [esp + 0x2c]
push 0x66a7b8
push eax
jmp 0x43ccb3
mov ecx, ebx
call fcn.0043d1e0
push eax
lea ecx, [esp + 0x2c]
push 0x66a7b8
push ecx
call fcn.00613634
add esp, 0x10
lea edx, [esp + 0x128]
lea eax, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x43ce01
shl esi, 5
add esi, edi
mov ebx, esi
lea ecx, [esp + 0x154]
lea edx, [esp + 0x24]
push ecx
push 0x66a2b4
push edx
call fcn.00613634
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx], 0
repne scasb al, byte es:[edi]
not ecx
push 1
push ecx
call fcn.006132aa
mov edx, eax
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
mov dword [ebx], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [ebx]
not ecx
dec ecx
mov byte [ecx + edx], al
mov eax, dword [esp + 0x140]
mov dword [ebx + 0xc], eax
mov ecx, dword [esp + 0x13c]
mov dword [ebx + 8], ecx
mov ecx, dword [0x6833d0]
call fcn.00424210
test eax, eax
je 0x43cd89
lea edx, [esp + 0x154]
lea eax, [esp + 0x24]
push edx
push 0x66d060
push 0x66a7b8
push eax
jmp 0x43cda5
lea ecx, [esp + 0x154]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0043d1e0
push eax
lea edx, [esp + 0x2c]
push 0x66a7b8
push edx
call fcn.00613634
add esp, 0x10
lea eax, [esp + 0x24]
push 0x180
push 0x8002
push eax
call fcn.00614875
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x43cdda
lea ecx, [ebx + 0x10]
push 0x10
push ecx
push esi
call fcn.0061467f
add esp, 0xc
push esi
call fcn.006145cc
add esp, 4
lea edx, [esp + 0x128]
add ebx, 0x20
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43cce0
mov ebx, dword [esp + 0x10]
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebx + 0xe58]
dec ebx
mov dword [esp + 0x14], ebx
shl ebx, 5
mov eax, dword [esp + 0x10]
xor edx, edx
xor esi, esi
xor ecx, ecx
mov edi, dword [eax + 0xe58]
test edi, edi
jle 0x43ce51
mov eax, dword [esp + 0x18]
add eax, 8
mov ebp, dword [eax + 4]
cmp ebp, esi
jb 0x43ce49
ja 0x43ce40
mov ebp, dword [eax]
cmp ebp, edx
jbe 0x43ce49
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov dword [esp + 0x1c], ecx
inc ecx
add eax, 0x20
cmp ecx, edi
jl 0x43ce31
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
shl eax, 5
mov edx, dword [ecx + 0xe54]
mov ecx, dword [esp + 0x18]
push 1
lea ebp, [eax + ecx]
mov dword [ebx + edx], 0
or ecx, 0xffffffff
xor eax, eax
mov edi, dword [ebp]
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.006132aa
mov edx, dword [esp + 0x18]
add esp, 8
mov ecx, dword [edx + 0xe54]
mov dword [ebx + ecx], eax
mov edi, dword [ebp]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov esi, dword [edx + 0xe54]
not ecx
sub edi, ecx
mov dword [esp + 0x20], esi
mov esi, edi
mov edi, dword [esp + 0x20]
mov eax, ecx
mov edi, dword [ebx + edi]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [edx + 0xe54]
not ecx
mov eax, dword [ebx + eax]
dec ecx
mov byte [ecx + eax], 0
mov ecx, dword [edx + 0xe54]
mov eax, dword [ebp + 8]
mov dword [ebx + ecx + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + ecx + 0xc], eax
mov eax, dword [edx + 0xe54]
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [ebx + eax + 0x10]
push ecx
mov ecx, edx
call fcn.0043c920
mov eax, dword [esp + 0x14]
xor ecx, ecx
dec eax
sub ebx, 0x20
mov dword [ebp + 8], ecx
cmp eax, ecx
mov dword [ebp + 0xc], ecx
mov dword [esp + 0x14], eax
jge 0x43ce16
mov ebx, dword [esp + 0x10]
xor esi, esi
mov eax, dword [ebx + 0xe58]
test eax, eax
jle 0x43cf50
mov edi, dword [esp + 0x18]
mov edx, dword [edi]
push edx
call fcn.00613327
mov eax, dword [ebx + 0xe58]
add esp, 4
inc esi
add edi, 0x20
cmp esi, eax
jl 0x43cf37
mov eax, dword [esp + 0x18]
push eax
call fcn.00613327
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x258
ret