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

Disassembly:
sub esp, 0x258
push ebx
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
call fcn.00439000
mov ecx, dword [0x6633d4]
call fcn.004216f0
test eax, eax
push str..mgs
je 0x439160
push 0x64ee98
lea eax, [esp + 0x2c]
push 0x64c6a0
push eax
jmp 0x439172
mov ecx, ebp
call fcn.00439700
push eax
lea ecx, [esp + 0x2c]
push 0x64c6a0
push ecx
call fcn.005faef4
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esp, 0x10
lea edx, [esp + 0x128]
lea eax, [esp + 0x24]
push edx
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x4391aa
lea ecx, [esp + 0x128]
inc esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x439196
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
mov dword [ebp + 0xe58], esi
je 0x43947e
push 0x20
push esi
call fcn.005fab6a
mov edi, eax
push 0x20
push esi
mov dword [esp + 0x24], edi
call fcn.005fab6a
add esp, 0x10
mov dword [ebp + 0xe54], eax
lea edx, [esp + 0x128]
lea eax, [esp + 0x24]
push edx
push eax
call ebx
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x439320
mov ebx, edi
lea ecx, [esp + 0x154]
lea edx, [esp + 0x24]
push ecx
push 0x64c2b4
push edx
call fcn.005faef4
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.005fab6a
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 [0x6633d4]
call fcn.004216f0
test eax, eax
je 0x4392a5
lea edx, [esp + 0x154]
lea eax, [esp + 0x24]
push edx
push 0x64ee98
push 0x64c6a0
push eax
jmp 0x4392bf
lea ecx, [esp + 0x154]
push ecx
mov ecx, ebp
call fcn.00439700
push eax
lea edx, [esp + 0x2c]
push 0x64c6a0
push edx
call fcn.005faef4
add esp, 0x10
lea eax, [esp + 0x24]
push 0x180
push 0x8002
push eax
call fcn.005fbe12
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x4392f4
lea ecx, [ebx + 0x10]
push 0x10
push ecx
push esi
call fcn.005fbc1c
add esp, 0xc
push esi
call fcn.005fbb69
mov eax, dword [esp + 0x14]
add esp, 4
lea edx, [esp + 0x128]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x43931c
add ebx, 0x20
jmp 0x4391fc
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp + 0xe58]
dec ebx
mov dword [esp + 0x10], ebx
shl ebx, 5
jmp 0x43933b
mov ebp, dword [esp + 0x18]
mov edi, dword [ebp + 0xe58]
xor edx, edx
xor esi, esi
xor ecx, ecx
test edi, edi
jle 0x439376
mov eax, dword [esp + 0x14]
add eax, 8
mov ebp, dword [eax + 4]
cmp ebp, esi
jb 0x43936a
ja 0x439361
mov ebp, dword [eax]
cmp ebp, edx
jbe 0x43936a
mov edx, dword [eax]
mov esi, dword [eax + 4]
mov dword [esp + 0x1c], ecx
inc ecx
add eax, 0x20
cmp ecx, edi
jl 0x439352
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0xe54]
push 1
shl edx, 5
mov dword [ebx + ecx], 0
or ecx, 0xffffffff
mov edi, dword [edx + eax]
lea ebp, [edx + eax]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.005fab6a
mov edx, dword [esp + 0x20]
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.00439090
mov eax, dword [esp + 0x10]
xor ecx, ecx
dec eax
sub ebx, 0x20
mov dword [ebp + 8], ecx
cmp eax, ecx
mov dword [ebp + 0xc], ecx
mov dword [esp + 0x10], eax
jge 0x439337
mov ebx, dword [esp + 0x18]
xor esi, esi
mov eax, dword [ebx + 0xe58]
test eax, eax
jle 0x439471
mov edi, dword [esp + 0x14]
mov edx, dword [edi]
push edx
call fcn.005fabe7
mov eax, dword [ebx + 0xe58]
add esp, 4
inc esi
add edi, 0x20
cmp esi, eax
jl 0x439458
mov eax, dword [esp + 0x14]
push eax
call fcn.005fabe7
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x258
ret