Function at 0x4510f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x618463
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d0
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x34], bx
mov ecx, 0x6c7b10
mov byte [ebp - 4], 1
test ecx, ecx
je 0x4511f2
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x4511f2
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0040e5b0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00401070
push 0x6c7b10
lea ecx, [ebp - 0x44]
call fcn.00402330
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.004023b0
push eax
call fcn.005e519b
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005fdccd
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x38], edx
je 0x4511d7
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x1c]
call fcn.004023b0
push eax
lea ecx, [ebp - 0x44]
call fcn.004023b0
push eax
mov eax, dword [ebp - 0x38]
push esi
push eax
call fcn.005e512b
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005e519b
add esp, 0x14
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [ebp - 0x38]
cmp eax, ebx
jne 0x4511f9
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x2dc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x48], esi
jne 0x451230
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00401070
or eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x2dc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [ebp - 0x2dc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x451546
xor eax, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x28], bx
mov edx, 0x6c5124
mov byte [ebp - 4], 4
test edx, edx
je 0x451379
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x451379
lea ecx, [ebp - 0x2b0]
test ecx, ecx
je 0x451379
push edx
lea ecx, [ebp - 0x8c]
call fcn.00402330
push esi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.0040e5b0
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0x5c]
push edx
mov byte [ebp - 4], 6
call fcn.0040e5b0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00401070
mov esi, dword [ebp - 0x84]
lea ecx, [ebp - 0x5c]
call fcn.004023b0
push eax
call fcn.005e519b
add esp, 4
lea ecx, [ebp - 0x74]
mov edi, eax
call fcn.004023b0
push eax
call fcn.005e519b
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005fdccd
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x2c], edx
je 0x45134f
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x5c]
call fcn.004023b0
push eax
lea ecx, [ebp - 0x74]
call fcn.004023b0
push eax
lea ecx, [ebp - 0x8c]
call fcn.004023b0
push eax
mov eax, dword [ebp - 0x2c]
push esi
push eax
call fcn.005e512b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.005e519b
add esp, 0x18
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.00401070
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.00401070
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 4
call fcn.00401070
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x2dc]
and edx, 0x10
cmp dl, 0x10
jne 0x4515cf
cmp eax, ebx
jne 0x451392
lea eax, [ebp - 0x28]
push 0x5f
push eax
call fcn.005e50eb
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4515cf
add esi, 2
push esi
call fcn.005e6c2c
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4515cf
mov bl, 1
mov ax, word [esi]
test ax, ax
je 0x4513dd
push eax
call fcn.005e75e1
add esp, 4
test eax, eax
je 0x4515cf
add esi, 2
jmp 0x4513bf
test bl, bl
je 0x4515cf
mov eax, dword [0x6f175c]
mov dword [ebp - 0x20], eax
push edi
lea ecx, [ebp - 0x20]
push str.SoftwareDownloadManager_ld
push ecx
mov byte [ebp - 4], 8
call fcn.005fa6fb
mov eax, dword [ebp - 0x20]
add esp, 0xc
lea edx, [ebp - 0x50]
xor ebx, ebx
push edx
push 1
push ebx
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4515b9
cmp dword [ebp - 0x4c], ebx
je 0x451574
xor eax, eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x18], bx
mov esi, dword [0x6f69e0]
mov byte [ebp - 4], 9
cmp esi, ebx
je 0x4514fe
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x4514fe
push ecx
lea ecx, [ebp - 0x80]
call fcn.0040e5b0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00401070
push esi
lea ecx, [ebp - 0x68]
call fcn.00402330
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xb
call fcn.004023b0
push eax
call fcn.005e519b
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005fdccd
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x1c], edx
je 0x4514e3
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x80]
call fcn.004023b0
push eax
lea ecx, [ebp - 0x68]
call fcn.004023b0
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.005e512b
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005e519b
add esp, 0x14
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xa
call fcn.00401070
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 9
call fcn.00401070
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x451505
lea eax, [ebp - 0x18]
push 0x50044
push 0x6ca850
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1c]
je 0x45156f
call fcn.00401070
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.006018cc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00401070
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00401070
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x40], bx
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xc
cmp eax, ebx
jne 0x45158c
lea eax, [ebp - 0x28]
push eax
push 0x6c7b0c
lea ecx, [ebp - 0x44]
call fcn.0041afe0
lea ecx, [ebp - 0x44]
call fcn.004023b0
push eax
call fcn.005b2b40
add esp, 4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.00401070
jmp 0x4515c3
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.006018cc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401070
mov esi, dword [ebp - 0x48]
xor ebx, ebx
jmp 0x45123e