Function at 0x451250
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619433
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, 0x6a2b18
mov byte [ebp - 4], 1
test ecx, ecx
je 0x451352
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x451352
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0040e5a0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00401070
push 0x6a2b18
lea ecx, [ebp - 0x44]
call fcn.00402380
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00402400
push eax
call fcn.005e639f
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005feedc
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x38], edx
je 0x451337
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.00402400
push eax
lea ecx, [ebp - 0x44]
call fcn.00402400
push eax
mov eax, dword [ebp - 0x38]
push esi
push eax
call fcn.005e632f
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005e639f
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 0x451359
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 0x451390
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 0x4516a6
xor eax, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x28], bx
mov edx, 0x6a012c
mov byte [ebp - 4], 4
test edx, edx
je 0x4514d9
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x4514d9
lea ecx, [ebp - 0x2b0]
test ecx, ecx
je 0x4514d9
push edx
lea ecx, [ebp - 0x8c]
call fcn.00402380
push esi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.0040e5a0
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0x5c]
push edx
mov byte [ebp - 4], 6
call fcn.0040e5a0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00401070
mov esi, dword [ebp - 0x84]
lea ecx, [ebp - 0x5c]
call fcn.00402400
push eax
call fcn.005e639f
add esp, 4
lea ecx, [ebp - 0x74]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e639f
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005feedc
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x2c], edx
je 0x4514af
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.00402400
push eax
lea ecx, [ebp - 0x74]
call fcn.00402400
push eax
lea ecx, [ebp - 0x8c]
call fcn.00402400
push eax
mov eax, dword [ebp - 0x2c]
push esi
push eax
call fcn.005e632f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.005e639f
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 0x45172f
cmp eax, ebx
jne 0x4514f2
lea eax, [ebp - 0x28]
push 0x5f
push eax
call fcn.005e62ef
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x45172f
add esi, 2
push esi
call fcn.005e7e2c
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x45172f
mov bl, 1
mov ax, word [esi]
test ax, ax
je 0x45153d
push eax
call fcn.005e87e1
add esp, 4
test eax, eax
je 0x45172f
add esi, 2
jmp 0x45151f
test bl, bl
je 0x45172f
mov eax, dword [0x6cc708]
mov dword [ebp - 0x20], eax
push edi
lea ecx, [ebp - 0x20]
push str.SoftwareDownloadManager_ld
push ecx
mov byte [ebp - 4], 8
call fcn.005fb90b
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 0x451719
cmp dword [ebp - 0x4c], ebx
je 0x4516d4
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 [0x6d1998]
mov byte [ebp - 4], 9
cmp esi, ebx
je 0x45165e
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x45165e
push ecx
lea ecx, [ebp - 0x80]
call fcn.0040e5a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00401070
push esi
lea ecx, [ebp - 0x68]
call fcn.00402380
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xb
call fcn.00402400
push eax
call fcn.005e639f
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005feedc
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x1c], edx
je 0x451643
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.00402400
push eax
lea ecx, [ebp - 0x68]
call fcn.00402400
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.005e632f
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005e639f
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 0x451665
lea eax, [ebp - 0x18]
push 0x50044
push 0x6a5858
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 0x4516cf
call fcn.00401070
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00602ad6
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 0x4516ec
lea eax, [ebp - 0x28]
push eax
push 0x6a2b14
lea ecx, [ebp - 0x44]
call fcn.0041aef0
lea ecx, [ebp - 0x44]
call fcn.00402400
push eax
call fcn.005b3e00
add esp, 4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.00401070
jmp 0x451723
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.00602ad6
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401070
mov esi, dword [ebp - 0x48]
xor ebx, ebx
jmp 0x45139e