Function at 0x4515f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61a393
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, 0x6a3b18
mov byte [ebp - 4], 1
test ecx, ecx
je 0x4516f2
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x4516f2
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0040e580
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00401070
push 0x6a3b18
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.005e71bf
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005ffe3f
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x38], edx
je 0x4516d7
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.005e714f
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005e71bf
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 0x4516f9
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 0x451730
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 0x451a46
xor eax, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x28], bx
mov edx, 0x6a112c
mov byte [ebp - 4], 4
test edx, edx
je 0x451879
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x451879
lea ecx, [ebp - 0x2b0]
test ecx, ecx
je 0x451879
push edx
lea ecx, [ebp - 0x8c]
call fcn.00402380
push esi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.0040e580
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0x5c]
push edx
mov byte [ebp - 4], 6
call fcn.0040e580
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.005e71bf
add esp, 4
lea ecx, [ebp - 0x74]
mov edi, eax
call fcn.00402400
push eax
call fcn.005e71bf
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005ffe3f
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x2c], edx
je 0x45184f
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.005e714f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.005e71bf
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 0x451acf
cmp eax, ebx
jne 0x451892
lea eax, [ebp - 0x28]
push 0x5f
push eax
call fcn.005e710f
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x451acf
add esi, 2
push esi
call fcn.005e8c4c
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x451acf
mov bl, 1
mov ax, word [esi]
test ax, ax
je 0x4518dd
push eax
call fcn.005e9601
add esp, 4
test eax, eax
je 0x451acf
add esi, 2
jmp 0x4518bf
test bl, bl
je 0x451acf
mov eax, dword [0x6cd768]
mov dword [ebp - 0x20], eax
push edi
lea ecx, [ebp - 0x20]
push str.SoftwareDownloadManager_ld
push ecx
mov byte [ebp - 4], 8
call fcn.005fc86b
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 0x451ab9
cmp dword [ebp - 0x4c], ebx
je 0x451a74
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 [0x6d2a00]
mov byte [ebp - 4], 9
cmp esi, ebx
je 0x4519fe
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x4519fe
push ecx
lea ecx, [ebp - 0x80]
call fcn.0040e580
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.005e71bf
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005ffe3f
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x1c], edx
je 0x4519e3
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.005e714f
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005e71bf
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 0x451a05
lea eax, [ebp - 0x18]
push 0x50044
push 0x6a6858
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 0x451a6f
call fcn.00401070
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.00603a3c
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 0x451a8c
lea eax, [ebp - 0x28]
push eax
push 0x6a3b14
lea ecx, [ebp - 0x44]
call fcn.0041aed0
lea ecx, [ebp - 0x44]
call fcn.00402400
push eax
call fcn.005b4be0
add esp, 4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.00401070
jmp 0x451ac3
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.00603a3c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401070
mov esi, dword [ebp - 0x48]
xor ebx, ebx
jmp 0x45173e