Function at 0x45e5d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a879f
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x4d63e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x314], ebx
mov dword [ebp - 0x30c], esi
mov dword [ebp - 0x318], ebx
mov dword [ebp - 0x2f8], esi
mov dword [ebp - 0x304], esi
mov dword [ebp - 0x300], esi
mov dword [ebp - 0x2fc], esi
mov dword [ebp - 4], esi
cmp dword [edi + 0x10], esi
jne 0x45e644
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
jmp 0x45ebdb
push 0x250
lea eax, [ebp - 0x2f0]
push 0
push eax
call fcn.0046edf0
mov ax, word [0x4ac8f4]
mov word [ebp - 0x40], ax
xor eax, eax
mov word [ebp - 0x3e], ax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 7
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push edi
push eax
call fcn.0041d0e0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0045d450
add esp, 0x20
lea ecx, [ebp - 0x70]
call fcn.00402340
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x45e6f9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e6ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ed63
push edx
push ecx
call fcn.0046c40b
add esp, 8
mov ax, word [0x4b7cfc]
mov word [ebp - 0x40], ax
xor eax, eax
mov word [ebp - 0x3e], ax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0045d450
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xa
cmp edx, 8
jb 0x45e78b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e781
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ed68
push edx
push ecx
call fcn.0046c40b
add esp, 8
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x2f0]
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x310], eax
cmp eax, 0xffffffff
jne 0x45e8c5
mov eax, dword [ebp - 0x304]
lea ecx, [ebp - 0x88]
mov dword [ebx], eax
mov eax, dword [ebp - 0x300]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x2fc]
mov dword [ebx + 8], eax
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 0
call fcn.00402340
lea ecx, [ebp - 0xa0]
call fcn.00402340
mov esi, dword [ebp - 0x304]
test esi, esi
je 0x45ebdb
mov edi, dword [ebp - 0x300]
cmp esi, edi
je 0x45e879
nop
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x45e859
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x45e84f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ed68
mov eax, edx
push ecx
push eax
call fcn.0046c40b
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x45e820
mov esi, dword [ebp - 0x304]
mov ecx, dword [ebp - 0x2fc]
mov eax, 0x2aaaaaab
sub ecx, esi
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 0x45e8b6
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45ed68
push ecx
push esi
call fcn.0046c40b
add esp, 8
jmp 0x45ebdb
mov ebx, dword [ebp - 0x310]
test byte [ebp - 0x2f0], 0x10
mov edx, 0xa
mov eax, dword [ebp + 0xc]
je 0x45ecc4
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea edi, [ebp - 0x2c4]
mov byte [ebp - 4], 0xb
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x45e901
sub edi, ecx
mov dword [ebp - 0x14], 7
sar edi, 1
xor eax, eax
mov word [ebp - 0x28], ax
cmp edi, 7
ja 0x45e954
lea esi, [edi + edi]
mov dword [ebp - 0x18], edi
push esi
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0046e870
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x308], esi
jmp 0x45e9ae
cmp edi, 0x7ffffffe
ja 0x45ed5e
mov ebx, edi
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x45e974
mov ebx, 0x7ffffffe
jmp 0x45e97a
cmp ebx, 0xa
cmovb ebx, edx
lea eax, [ebx + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402c50
lea esi, [edi + edi]
mov dword [ebp - 0x308], eax
push esi
lea ecx, [ebp - 0x2c4]
push ecx
push eax
call fcn.0046e2f0
mov eax, dword [ebp - 0x308]
add esp, 0xc
xor ecx, ecx
mov word [eax + esi], cx
mov esi, eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], ebx
mov ax, word [0x4ac8f8]
mov edx, 7
mov word [ebp - 0x28], ax
xor eax, eax
mov word [ebp - 0x26], ax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x314], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x2f8]
lea eax, [ebp - 0x40]
or edx, 2
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x314], 8
mov dword [ebp - 0x2f8], edx
cmovae eax, ecx
mov dword [ebp - 0x30c], edx
cmp ebx, 8
lea ecx, [ebp - 0x58]
cmovae ecx, esi
mov si, word [ecx]
cmp si, word [eax]
jne 0x45ea5b
test si, si
je 0x45ea57
mov si, word [ecx + 2]
cmp si, word [eax + 2]
jne 0x45ea5b
add ecx, 4
add eax, 4
test si, si
jne 0x45ea35
xor eax, eax
jmp 0x45ea60
sbb eax, eax
or eax, 1
test eax, eax
je 0x45ead6
push 0xffffffffffffffff
push 0x4b7d00
lea ecx, [ebp - 0x70]
call fcn.0045ce40
mov edx, dword [ebp - 0x2f8]
or edx, 4
mov dword [ebp - 0x2f8], edx
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x30c], edx
jb 0x45ea90
mov eax, dword [eax]
cmp ebx, 8
lea ecx, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x308]
lea ecx, [ecx]
mov si, word [ecx]
cmp si, word [eax]
jne 0x45eac6
test si, si
je 0x45eac2
mov si, word [ecx + 2]
cmp si, word [eax + 2]
jne 0x45eac6
add ecx, 4
add eax, 4
test si, si
jne 0x45eaa0
xor eax, eax
jmp 0x45eacb
sbb eax, eax
or eax, 1
mov byte [ebp - 0x2f1], 0
test eax, eax
jne 0x45eadd
mov byte [ebp - 0x2f1], 1
test dl, 4
je 0x45eaff
and edx, 0xfffffffb
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x2f8], edx
mov dword [ebp - 0x30c], edx
call fcn.00402340
mov edx, dword [ebp - 0x2f8]
mov dword [ebp - 4], 0xc
test dl, 2
je 0x45eb1a
and edx, 0xfffffffd
mov dword [ebp - 0x2f8], edx
mov dword [ebp - 0x30c], edx
cmp byte [ebp - 0x2f1], 0
je 0x45ebfb
mov byte [ebp - 4], 0xa
cmp ebx, 8
jb 0x45eb42
lea eax, [ebx + 1]
push eax
push dword [ebp - 0x308]
lea ecx, [ebp - 0x58]
call fcn.00428520
mov ebx, dword [ebp - 0x310]
lea eax, [ebp - 0x2f0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45e8cb
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x318]
lea eax, [ebp - 0x304]
push eax
mov ecx, ebx
call fcn.00411ef0
lea ecx, [ebp - 0x88]
call fcn.00402340
lea ecx, [ebp - 0xa0]
call fcn.00402340
mov eax, dword [ebp - 0x304]
test eax, eax
je 0x45ebdb
lea ecx, [ebp - 0x304]
push ecx
push dword [ebp - 0x300]
push eax
call fcn.00401910
mov ecx, dword [ebp - 0x2fc]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x304]
add esp, 0xc
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x304]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040dff0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c678
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x45ec0b
test al, 1
je 0x45eca7
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x70]
call fcn.00401980
mov esi, dword [ebp - 0x2f8]
lea eax, [ebp - 0x58]
or esi, 0x20
lea ecx, [ebp - 0x70]
cmp ebx, 8
mov dword [ebp - 0x30c], esi
push edi
cmovae eax, dword [ebp - 0x308]
push eax
call fcn.00402cb0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041d0e0
add esp, 8
mov eax, dword [ebp - 0x300]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x10
push ecx
cmp eax, dword [ebp - 0x2fc]
je 0x45ec7a
mov ecx, eax
call fcn.00401980
add dword [ebp - 0x300], 0x18
jmp 0x45ec86
push eax
lea ecx, [ebp - 0x304]
call fcn.0045c640
lea ecx, [ebp - 0x28]
call fcn.00402340
and esi, 0xffffffdf
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x2f8], esi
call fcn.00402340
mov ebx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x58]
jmp 0x45ecad
mov ecx, dword [ebp - 0x308]
mov byte [ebp - 4], 0xa
cmp ebx, 8
jb 0x45eb42
lea eax, [ebx + 1]
push eax
push ecx
jmp 0x45eb3a
cmp eax, 0xffffffff
je 0x45ecd1
test al, 2
je 0x45eb48
push 0xffffffffffffffff
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x28]
call fcn.0045ce40
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0045d450
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x12
push eax
call fcn.0041d0e0
add esp, 0x14
mov eax, dword [ebp - 0x300]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x13
push ecx
cmp eax, dword [ebp - 0x2fc]
je 0x45ed31
mov ecx, eax
call fcn.00401980
add dword [ebp - 0x300], 0x18
jmp 0x45ed3d
push eax
lea ecx, [ebp - 0x304]
call fcn.0045c640
lea ecx, [ebp - 0x70]
call fcn.00402340
lea ecx, [ebp - 0x58]
call fcn.00402340
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.00402340
jmp 0x45eb48
call fcn.00402a70
call fcn.00477ce9
call fcn.00477ce9
int3