Function at 0x45b1b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdfea
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x5091d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2f4], esi
xor eax, eax
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], edi
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x304], eax
push 0x250
push eax
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 1
push eax
call fcn.004a1860
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
mov byte [ebp - 0x2f8], 0
push dword [ebp - 0x2f8]
cmovae eax, dword [ebp + 0xc]
push dword [ebp + 0x1c]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00418e60
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.00419860
add esp, 0x28
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x45b2a4
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b29a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b958
push edx
push ecx
call fcn.0049f81a
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x40]
mov word [ebp - 0x88], ax
mov ecx, 0x5c
cmovae edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x74], 7
lea edx, [edx + eax*2]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp eax, edx
je 0x45b2f0
nop dword [eax]
cmp word [eax], 0x2f
jne 0x45b2e9
mov word [eax], cx
add eax, 2
cmp eax, edx
jne 0x45b2e0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.00419070
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2f0]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x44]
mov esi, eax
mov dword [ebp - 0x2f8], esi
cmp edx, 8
jb 0x45b357
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b34d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b95d
push edx
push ecx
call fcn.0049f81a
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp esi, 0xffffffff
je 0x45b85d
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b380
sub ecx, edx
mov dword [ebp - 0x28], 0
xor eax, eax
sar ecx, 1
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x2c4]
push ecx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.00414210
push dword [ebp - 0x2f4]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 5
call fcn.00419070
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xa0]
call fcn.00419930
push eax
lea ecx, [ebp - 0x70]
call fcn.00419070
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x45b42f
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b425
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b958
push edx
push ecx
call fcn.0049f81a
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x45b46d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b463
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b958
push edx
push ecx
call fcn.0049f81a
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x70]
mov word [ebp - 0x28], ax
cmovae edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x14], 7
lea edx, [edx + eax*2]
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
cmp eax, edx
je 0x45b4b8
mov edi, 0x5c
cmp word [eax], 0x2f
jne 0x45b4ab
mov word [eax], di
add eax, 2
cmp eax, edx
jne 0x45b4a2
mov edi, dword [ebp - 0x308]
cmp edi, dword [ebp - 0x2fc]
je 0x45b505
mov dword [edi], 0
xor ecx, ecx
mov dword [edi + 0x10], 0
mov eax, 7
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], eax
mov word [ebp - 0x70], cx
mov dword [ebp - 0x308], edi
jmp 0x45b52a
lea eax, [ebp - 0x70]
push eax
push edi
lea ecx, [ebp - 0x30c]
call fcn.004579c0
mov eax, dword [ebp - 0x304]
mov edi, dword [ebp - 0x308]
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x45b565
mov ecx, dword [ebp - 0x70]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b55b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b958
push edx
push ecx
call fcn.0049f81a
add esp, 8
mov esi, dword [ebp - 0x2f8]
lea eax, [ebp - 0x2f0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45b374
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x30c]
mov ecx, edi
sub ecx, esi
mov dword [ebp - 0x2f8], esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x300], eax
cmp eax, dword [ebp + 0x24]
jbe 0x45b85f
mov byte [ebp - 0x2f4], 0
push dword [ebp - 0x2f4]
push eax
push edi
push esi
call fcn.004592d0
mov eax, dword fs:[0x2c]
add esp, 0x10
mov ecx, dword [0x6d9fe0]
lea edi, [eax + ecx*4]
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x310], edi
lea eax, [eax + eax*2]
lea eax, [esi + eax*8]
mov dword [ebp - 0x2f4], eax
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x45b5fe
mov ecx, dword [eax]
push ecx
call fcn.0049cb6c
mov dword [ebp - 0x314], edx
test al, al
jne 0x45b731
mov ecx, dword [edi]
mov eax, dword [0x517ffc]
cmp eax, dword [ecx + 4]
jg 0x45b962
mov eax, dword [0x517ff8]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push 0xc0
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00402d80
mov dword [ebp - 0x18], 0xbf
mov ecx, 0x2f
mov dword [ebp - 0x14], 0xbf
mov esi, 0x4d9e48
mov edi, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov byte [eax + 0xbf], 0
mov dword [ebp - 0x28], eax
push dword [ebp - 0x314]
mov eax, dword [0x50900c]
lea ecx, [ebp - 0x58]
push ecx
mov ecx, 0x50900c
mov byte [ebp - 4], 0xa
call dword [eax + 8]
mov ecx, dword [ebp - 0x318]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00459d70
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x45b6e1
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45b6d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b958
push edx
push ecx
call fcn.0049f81a
add esp, 8
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x45b72b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45b721
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b958
push edx
push ecx
call fcn.0049f81a
add esp, 8
mov edi, dword [ebp - 0x310]
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp - 0x2f4]
inc edx
add eax, 0x18
mov dword [ebp + 0x24], edx
mov dword [ebp - 0x2f4], eax
cmp edx, dword [ebp - 0x300]
jb 0x45b5f4
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x45b78d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b783
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b9b5
push edx
push ecx
call fcn.0049f81a
add esp, 8
mov ecx, dword [ebp - 0x2f8]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
test ecx, ecx
je 0x45b909
mov edi, dword [ebp - 0x308]
mov esi, ecx
cmp esi, edi
je 0x45b819
nop dword [eax + eax]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x45b7f9
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x45b7ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b9b5
mov eax, edx
push ecx
push eax
call fcn.0049f81a
add esp, 8
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], cx
add esi, 0x18
cmp esi, edi
jne 0x45b7c0
mov ecx, dword [ebp - 0x2f8]
mov edx, dword [ebp - 0x2fc]
mov eax, 0x2aaaaaab
sub edx, ecx
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, ecx
shl edx, 3
cmp edx, 0x1000
jb 0x45b856
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b9b5
push edx
push ecx
jmp 0x45b901
xor esi, esi
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x45b899
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45b88f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b9b5
push edx
push ecx
call fcn.0049f81a
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
test esi, esi
je 0x45b909
lea eax, [ebp - 0x30c]
push eax
push edi
push esi
call fcn.00457950
mov ecx, dword [ebp - 0x2fc]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x45b8ff
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b9b5
push ecx
push esi
call fcn.0049f81a
add esp, 8
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x45b93d
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45b933
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45b9b5
push edx
push ecx
call fcn.0049f81a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049f836
mov esp, ebp
pop ebp
ret
call fcn.004a48ef
call fcn.004a48ef
push 0x517ffc
call fcn.0049fd00
add esp, 4
cmp dword [0x517ffc], 0xffffffff
jne 0x45b625
push 4
mov byte [ebp - 4], 9
call fcn.0049f7ea
add esp, 4
test eax, eax
je 0x45b996
mov dword [eax], 0
jmp 0x45b99a
xor eax, eax
jmp 0x45b99a
push 0x517ffc
mov byte [ebp - 4], 4
mov dword [0x517ff8], eax
call fcn.0049fcb6
add esp, 4
jmp 0x45b625
call fcn.004a48ef
int3