Function at 0x450b20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x611213
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, 0x6be8f8
mov byte [ebp - 4], 1
test ecx, ecx
je 0x450c22
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x450c22
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0040e020
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00401070
push 0x6be8f8
lea ecx, [ebp - 0x44]
call fcn.00402350
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.004023d0
push eax
call fcn.005de123
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005f6c5c
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x38], edx
je 0x450c07
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.004023d0
push eax
lea ecx, [ebp - 0x44]
call fcn.004023d0
push eax
mov eax, dword [ebp - 0x38]
push esi
push eax
call fcn.005de0b3
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.005de123
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 0x450c29
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 0x450c60
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 0x450f76
xor eax, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x28], bx
mov edx, 0x6bc11c
mov byte [ebp - 4], 4
test edx, edx
je 0x450da9
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x450da9
lea ecx, [ebp - 0x2b0]
test ecx, ecx
je 0x450da9
push edx
lea ecx, [ebp - 0x8c]
call fcn.00402350
push esi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 5
call fcn.0040e020
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0x5c]
push edx
mov byte [ebp - 4], 6
call fcn.0040e020
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00401070
mov esi, dword [ebp - 0x84]
lea ecx, [ebp - 0x5c]
call fcn.004023d0
push eax
call fcn.005de123
add esp, 4
lea ecx, [ebp - 0x74]
mov edi, eax
call fcn.004023d0
push eax
call fcn.005de123
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005f6c5c
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x2c], edx
je 0x450d7f
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.004023d0
push eax
lea ecx, [ebp - 0x74]
call fcn.004023d0
push eax
lea ecx, [ebp - 0x8c]
call fcn.004023d0
push eax
mov eax, dword [ebp - 0x2c]
push esi
push eax
call fcn.005de0b3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.005de123
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 0x450fff
cmp eax, ebx
jne 0x450dc2
lea eax, [ebp - 0x28]
push 0x5f
push eax
call fcn.005de073
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x450fff
add esi, 2
push esi
call fcn.005dfbac
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x450fff
mov bl, 1
mov ax, word [esi]
test ax, ax
je 0x450e0d
push eax
call fcn.005e0561
add esp, 4
test eax, eax
je 0x450fff
add esi, 2
jmp 0x450def
test bl, bl
je 0x450fff
mov eax, dword [0x6e7b6c]
mov dword [ebp - 0x20], eax
push edi
lea ecx, [ebp - 0x20]
push 0x6c15d4
push ecx
mov byte [ebp - 4], 8
call fcn.005f368b
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 0x450fe9
cmp dword [ebp - 0x4c], ebx
je 0x450fa4
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 [0x6ecd74]
mov byte [ebp - 4], 9
cmp esi, ebx
je 0x450f2e
mov ecx, dword [ebp + 8]
cmp ecx, ebx
je 0x450f2e
push ecx
lea ecx, [ebp - 0x80]
call fcn.0040e020
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00401070
push esi
lea ecx, [ebp - 0x68]
call fcn.00402350
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xb
call fcn.004023d0
push eax
call fcn.005de123
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005f6c5c
mov edx, eax
add esp, 8
cmp edx, ebx
mov dword [ebp - 0x1c], edx
je 0x450f13
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.004023d0
push eax
lea ecx, [ebp - 0x68]
call fcn.004023d0
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.005de0b3
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005de123
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 0x450f35
lea eax, [ebp - 0x18]
push 0x50044
push 0x6c15a0
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 0x450f9f
call fcn.00401070
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.005fa859
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 0x450fbc
lea eax, [ebp - 0x28]
push eax
push 0x6be8f4
lea ecx, [ebp - 0x44]
call fcn.0041a640
lea ecx, [ebp - 0x44]
call fcn.004023d0
push eax
call fcn.005abfe0
add esp, 4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.00401070
jmp 0x450ff3
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.005fa859
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401070
mov esi, dword [ebp - 0x48]
xor ebx, ebx
jmp 0x450c6e