Function at 0x4044f2
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x551008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov bl, cl
push edi
mov byte [ebp - 0x25e], bl
call fcn.00403fa8
push eax
lea ecx, [ebp - 0x274]
call fcn.00404df3
push str.430FD4D0_B729_4F61_AA34_91526481799D
lea ecx, [ebp - 0x25c]
call fcn.00404b61
lea eax, [ebp - 0x274]
mov cl, bl
push eax
lea edx, [ebp - 0x25c]
call fcn.00414d2a
pop ecx
mov ecx, dword [ebp - 0x25c]
add ecx, 0xfffffff0
call fcn.00403f90
lea eax, [ebp - 0x274]
mov esi, str.Update
push eax
push ecx
push ecx
mov edx, esi
lea ecx, [ebp - 0x26c]
call fcn.00408919
pop ecx
pop ecx
mov edx, eax
lea ecx, [ebp - 0x278]
call fcn.00404ab0
pop ecx
mov ecx, dword [ebp - 0x26c]
lea ecx, [ecx - 0x10]
call fcn.00403f90
call fcn.00403fa8
push eax
lea ecx, [ebp - 0x270]
call fcn.00404df3
push 0x513f78
lea ecx, [ebp - 0x25c]
call fcn.00404b61
lea eax, [ebp - 0x270]
mov cl, bl
push eax
lea eax, [ebp - 0x25c]
push eax
lea edx, [ebp - 0x278]
call fcn.004043b0
pop ecx
xor ebx, ebx
pop ecx
test eax, eax
js 0x4045e7
mov ecx, dword [ebp - 0x270]
call fcn.00404187
mov byte [ebp - 0x25d], 1
test al, al
jne 0x4045ed
mov byte [ebp - 0x25d], bl
mov ecx, dword [ebp - 0x25c]
lea ecx, [ecx - 0x10]
call fcn.00403f90
cmp byte [ebp - 0x25d], bl
je 0x404617
lea ecx, [ebp - 0x270]
call fcn.0040ca1b
mov edi, eax
mov ebx, edx
jmp 0x40481c
call fcn.00403fa8
push eax
lea ecx, [ebp - 0x264]
call fcn.00404df3
call fcn.00403fa8
push eax
lea ecx, [ebp - 0x268]
call fcn.00404df3
push esi
lea ecx, [ebp - 0x25c]
call fcn.00404b61
mov cl, byte [ebp - 0x25e]
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x268]
push eax
lea edx, [ebp - 0x25c]
call fcn.004043b0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x25c]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00403f90
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00403f90
test esi, esi
mov esi, dword [ebp - 0x264]
js 0x404812
cmp dword [esi - 0xc], ebx
je 0x404812
push 0x250
lea eax, [ebp - 0x258]
push ebx
push eax
call fcn.004e5020
add esp, 0xc
lea ecx, [ebp - 0x25c]
push esi
call fcn.00404b61
push 0x5140a4
lea ecx, [ebp - 0x25c]
call fcn.00404a6c
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4046ed
mov edi, ebx
jmp 0x4047d1
push esi
lea ecx, [ebp - 0x268]
call fcn.00404b61
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x268]
call fcn.00404a6c
test byte [ebp - 0x258], 0x10
je 0x40479a
lea eax, [ebp - 0x22c]
push 0x5140ac
push eax
call fcn.004e77f1
pop ecx
pop ecx
test eax, eax
je 0x40479a
lea eax, [ebp - 0x22c]
push 0x5140b4
push eax
call fcn.004e77f1
pop ecx
pop ecx
test eax, eax
je 0x40479a
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x26c], eax
call fcn.00404e70
add eax, 0x10
lea ecx, [ebp - 0x264]
push 0x513f78
mov dword [ebp - 0x264], eax
call fcn.00404a6c
mov ecx, dword [ebp - 0x264]
call fcn.00404187
test al, al
jne 0x4047e1
mov ecx, dword [ebp - 0x264]
lea ecx, [ecx - 0x10]
call fcn.00403f90
mov ecx, dword [ebp - 0x26c]
jmp 0x4047a3
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00403f90
lea eax, [ebp - 0x258]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4046ed
mov dword [ebp - 0x26c], ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x25c]
lea ecx, [ecx - 0x10]
call fcn.00403f90
jmp 0x404814
lea ecx, [ebp - 0x270]
call fcn.0040ca1b
mov ecx, dword [ebp - 0x264]
mov ebx, edx
mov dword [ebp - 0x26c], eax
lea ecx, [ecx - 0x10]
call fcn.00403f90
mov ecx, dword [ebp - 0x268]
lea ecx, [ecx - 0x10]
call fcn.00403f90
jmp 0x4047c4
mov edi, ebx
lea ecx, [esi - 0x10]
call fcn.00403f90
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.00403f90
mov ecx, dword [ebp - 0x278]
lea ecx, [ecx - 0x10]
call fcn.00403f90
mov ecx, dword [ebp - 0x274]
lea ecx, [ecx - 0x10]
call fcn.00403f90
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
mov edx, ebx
xor ecx, ebp
pop ebx
call fcn.004e302f
leave
ret