Function at 0x432e70
Capabilities:
Enumerate files on windows
Get common file path
Get file size
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ecfb
mov eax, dword fs:[0]
push eax
sub esp, 0x5ec
mov eax, dword [0x4db434]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x5f0]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x5b0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5b8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x5bc], eax
mov eax, dword [ebp + 0x1c]
push 0
mov dword [ebp - 0x5ac], esi
mov dword [ebp - 0x5a8], ebx
mov dword [ebp - 0x5b4], eax
call fcn.00440fe0
mov dword [ebp - 4], 0
mov ecx, esi
push 1
call fcn.00441770
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x21c]
push eax
call fcn.004447a0
add esp, 4
xor ecx, ecx
mov al, byte [ebp + ecx - 0x21c]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x119], al
test al, al
jne 0x432f14
lea edi, [ebp - 0x118]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x432f30
mov eax, dword [0x4a2eac]
mov dword [edi], eax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x5a4], eax
cmp eax, 0xffffffff
je 0x4331ef
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, eax
nop dword [eax]
test byte [ebp - 0x460], 0x10
je 0x4331ba
mov ecx, 0x4c43d0
lea eax, [ebp - 0x434]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x432fa8
test dl, dl
je 0x432fa4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x432fa8
add eax, 2
add ecx, 2
test dl, dl
jne 0x432f88
xor eax, eax
jmp 0x432fad
sbb eax, eax
or eax, 1
test eax, eax
je 0x4331ba
mov ecx, 0x4a2eb0
lea eax, [ebp - 0x434]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x432fe0
test dl, dl
je 0x432fdc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x432fe0
add eax, 2
add ecx, 2
test dl, dl
jne 0x432fc0
xor eax, eax
jmp 0x432fe5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4331ba
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x21c]
push eax
call fcn.004447a0
lea edx, [ebp - 0x434]
add esp, 4
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x433016
lea edi, [ebp - 0x21c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x433026
mov ecx, edx
lea eax, [ebp - 0x21c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.004447a0
add esp, 4
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x21c]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x119], al
test al, al
jne 0x433050
lea ecx, [ebp - 0x118]
dec ecx
nop dword [eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x433070
mov eax, dword [str.microsoft..32.dll]
mov dword [ecx], eax
mov eax, dword [0x4a2eb8]
mov dword [ecx + 4], eax
mov eax, dword [0x4a2ebc]
mov dword [ecx + 8], eax
mov eax, dword [0x4a2ec0]
mov dword [ecx + 0xc], eax
mov eax, dword [0x4a2ec4]
mov dword [ecx + 0x10], eax
mov al, byte [0x4a2ec8]
mov byte [ecx + 0x14], al
lea eax, [ebp - 0x5a0]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4331ae
nop dword [eax + eax]
test byte [ebp - 0x5a0], 0x10
jne 0x433177
cmp byte [ebp - 0x574], 0x2e
je 0x433177
xor eax, eax
nop dword [eax]
mov cl, byte [ebp + eax - 0x21c]
lea eax, [eax + 1]
mov byte [ebp + eax - 0x119], cl
test cl, cl
jne 0x4330f0
lea edx, [ebp - 0x574]
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x433110
lea edi, [ebp - 0x118]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x433120
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433140
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00458f4d
lea edx, [ebp - 0x118]
mov esi, eax
mov ecx, edx
add esp, 4
sub esi, ecx
mov cl, byte [edx]
mov byte [esi + edx], cl
inc edx
test cl, cl
jne 0x433161
push eax
lea ecx, [ebp - 0x5f0]
call fcn.004413d0
push 0x140
lea eax, [ebp - 0x5a0]
push 0
push eax
call fcn.0045aa80
add esp, 0xc
lea eax, [ebp - 0x5a0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4330d0
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call esi
jmp 0x4331b4
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x5a4]
push 0x140
lea eax, [ebp - 0x460]
push 0
push eax
call fcn.0045aa80
add esp, 0xc
lea eax, [ebp - 0x460]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x432f70
push ebx
call esi
mov ebx, dword [ebp - 0x5a8]
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x21c]
push eax
call fcn.004447a0
add esp, 4
test ebx, ebx
je 0x4332b8
mov edx, dword [ebx]
test edx, edx
je 0x4332b8
xor ecx, ecx
mov al, byte [ebp + ecx - 0x21c]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x119], al
test al, al
jne 0x433224
mov esi, edx
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x433240
lea edi, [ebp - 0x118]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x433250
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x433270
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00458f4d
lea edx, [ebp - 0x118]
mov esi, eax
mov ecx, edx
add esp, 4
sub esi, ecx
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], cl
test cl, cl
jne 0x433291
push eax
lea ecx, [ebp - 0x5f0]
call fcn.004413d0
mov edx, dword [ebx + 4]
add ebx, 4
test edx, edx
jne 0x433222
xor ebx, ebx
nop word [eax + eax]
lea ecx, [ebp - 0x5f0]
call fcn.00441980
test eax, eax
je 0x4333e1
test ebx, ebx
jle 0x4332df
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
lea ecx, [ebp - 0x5f0]
mov dword [ebp - 0x5a4], ebx
call fcn.00441a30
mov esi, eax
test esi, esi
je 0x4333d8
nop dword [eax + eax]
push esi
lea ecx, [ebp - 0x5f0]
call fcn.00441ae0
mov ecx, esi
mov dword [ebp - 0x5a8], eax
call fcn.00441a20
mov edi, eax
push 0
test edi, edi
je 0x4333b6
push 0
push 3
push 0
push 1
push SysReAllocStringLen
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4333c2
push 0
lea eax, [ebp - 0x5f4]
mov byte [ebp - 0x118], 0
push eax
push 0x104
lea eax, [ebp - 0x118]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x118], 0x4d
jne 0x433380
cmp byte [ebp - 0x117], 0x5a
je 0x4333ab
push dword [ebp - 0x5b0]
lea eax, [ebp - 0x118]
mov byte [ebp - 0x15], 0
push eax
call fcn.0045af40
add esp, 8
test eax, eax
je 0x4333ab
mov ecx, dword [ebp - 0x5ac]
push edi
call fcn.004413d0
jmp 0x4333b4
push edi
call fcn.00458d3b
add esp, 4
push 0
push esi
lea ecx, [ebp - 0x5f0]
call fcn.00441d20
mov eax, dword [ebp - 0x5a8]
mov esi, eax
test eax, eax
jne 0x433300
mov ebx, dword [ebp - 0x5a4]
cmp ebx, 0x32
jl 0x4332c0
push 1
lea ecx, [ebp - 0x5f0]
call fcn.00441770
cmp dword [ebp - 0x5b8], 0
je 0x433775
cmp dword [ebp - 0x5b4], 0
je 0x433775
mov esi, dword [ebp - 0x5ac]
mov ecx, esi
call fcn.00441980
cmp eax, 1
jbe 0x433775
mov ecx, esi
call fcn.00441a30
mov edi, eax
mov dword [ebp - 0x5a8], edi
test edi, edi
je 0x433775
push edi
mov ecx, esi
call fcn.00441ae0
mov ecx, edi
mov dword [ebp - 0x5d4], eax
call fcn.00441a20
mov ebx, eax
mov dword [ebp - 0x5a4], ebx
test ebx, ebx
je 0x43375f
push 0x138
mov byte [ebp - 0x320], 0
call fcn.004584b2
add esp, 4
mov dword [ebp - 0x5f8], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x433490
push dword [ebp - 0x5b4]
mov ecx, eax
push ebx
push 1
call fcn.0043db00
mov esi, eax
jmp 0x433492
xor esi, esi
mov byte [ebp - 4], 0
test esi, esi
je 0x4334f5
mov eax, dword [esi]
lea ecx, [ebp - 0x320]
push 0
push 1
push 0x104
push ecx
push 1
push dword [ebp - 0x5b8]
mov ecx, esi
push dword [ebp - 0x5b0]
call dword [eax + 8]
cmp byte [ebp - 0x320], 0
jne 0x4334ed
mov eax, dword [esi]
lea ecx, [ebp - 0x320]
push 0
push 1
push 0x104
push ecx
push 1
push dword [ebp - 0x5bc]
mov ecx, esi
push dword [ebp - 0x5b0]
call dword [eax + 8]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
cmp byte [ebp - 0x320], 0
je 0x43373e
push 0x49453c
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov dword [ebp - 0x5dc], eax
test eax, eax
je 0x43352e
lea ecx, [ebp - 0x5d8]
push ecx
call eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x320]
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [ebp - 0x5cc], ebx
cmp ebx, 0xffffffff
je 0x4336fc
push 0
push 0
push 0
push 0x8000002
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x5d0], eax
test eax, eax
je 0x4336ec
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov dword [ebp - 0x5c8], edi
test edi, edi
je 0x4336ca
mov esi, dword [ebp - 0x5a4]
push 0x5c
push esi
call fcn.0045ae00
add esp, 8
mov edx, esi
test eax, eax
lea ecx, [eax + 1]
cmovne edx, ecx
mov ecx, edx
mov dword [ebp - 0x5c0], edx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4335c6
sub ecx, edx
push 0
push ebx
lea esi, [ecx + 1]
mov dword [ebp - 0x5c4], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
sub ebx, esi
je 0x433683
nop dword [eax + eax]
mov edx, dword [ebp - 0x5c0]
mov ecx, edi
sub esi, 4
jb 0x433611
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x433616
add ecx, 4
add edx, 4
sub esi, 4
jae 0x433600
cmp esi, 0xfffffffc
je 0x433643
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x433673
cmp esi, 0xfffffffd
je 0x433643
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x433673
cmp esi, 0xfffffffe
je 0x433643
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x433673
cmp esi, 0xffffffff
je 0x433643
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x433673
cmp ebx, 0x104
jbe 0x433673
add edi, 0x20
sub ebx, 0x20
cmp byte [edi], 0
jne 0x433673
lea edx, [edi + 1]
mov ecx, edi
mov esi, 0x7c
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x433673
add ecx, 4
add edx, 4
sub esi, 4
jae 0x433660
jmp 0x433683
mov esi, dword [ebp - 0x5c4]
inc edi
sub ebx, 1
jne 0x4335f0
movzx eax, byte [ebp - 0x320]
xor ecx, ecx
push dword [ebp - 0x5c8]
test ebx, ebx
cmove eax, ecx
mov byte [ebp - 0x320], al
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x5d0]
mov ebx, dword [ebp - 0x5cc]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x5a8]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x433703
push dword [ebp - 0x5d0]
mov byte [ebp - 0x320], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x5a8]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x433703
push ebx
mov byte [ebp - 0x320], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x433703
mov byte [ebp - 0x320], 0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x5dc], 0
je 0x43372f
push str.Wow64RevertWow64FsRedirection
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call esi
test eax, eax
je 0x43372f
push dword [ebp - 0x5d8]
call eax
cmp byte [ebp - 0x320], 0
jne 0x433759
mov ebx, dword [ebp - 0x5a4]
mov esi, dword [ebp - 0x5ac]
mov ecx, esi
push 0
push edi
call fcn.00441d20
push ebx
call fcn.00458d3b
add esp, 4
jmp 0x43375f
mov esi, dword [ebp - 0x5ac]
mov eax, dword [ebp - 0x5d4]
mov edi, eax
mov dword [ebp - 0x5a8], eax
test eax, eax
jne 0x433435
mov ecx, dword [ebp - 0x5ac]
call fcn.00441980
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5f0]
call fcn.004410a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004584f8
mov esp, ebp
pop ebp
ret