Function at 0x458bd0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9a1c
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x66c214]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x2ec], eax
call fcn.0045a1b0
mov dword [ebp - 0x2e4], eax
test eax, eax
jne 0x459169
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x2e0], edi
mov dword [ebp - 0x2dc], ebx
mov dword [ebp - 0x2d8], ebx
mov dword [ebp - 4], ebx
push 8
mov dword [ebp - 0x2d4], ebx
mov dword [ebp - 0x2d0], ebx
mov dword [ebp - 0x2cc], ebx
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 0x2c4], ebx
call fcn.00562e63
add esp, 4
mov dword [ebp - 0x2d4], eax
test eax, eax
je 0x458c70
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x2d4]
lea ecx, [ebp - 0x2d4]
mov dword [eax], ecx
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x58], al
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00455910
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00442a40
mov esi, eax
add esp, 4
test esi, esi
jne 0x458cd8
push str.Calloc_failure__Failed_to_convert_string_to_utf16.
push 4
call fcn.004541a0
add esp, 8
mov esi, 3
jmp 0x4590b8
push esi
lea ecx, [ebp - 0x28]
call fcn.00433230
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2d4]
call fcn.00459b00
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x458d0d
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433df0
push esi
call fcn.0058d115
add esp, 4
xor edx, edx
push dword [ebp - 0x2e8]
push ecx
xor ecx, ecx
call fcn.00442750
xor ebx, ebx
add esp, 8
mov dword [ebp - 0x2dc], ebx
cmp dword [ebp - 0x2c4], ebx
je 0x458ff4
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
push 1
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x304]
push eax
lea ecx, [ebp - 0x2d4]
call fcn.00459da0
mov ecx, eax
call fcn.00459c20
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x458d7c
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push 0x6409e8
push dword [eax + ecx*4]
lea eax, [ebp - 0x70]
push eax
call fcn.00459e70
push 0x643724
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
call fcn.00442060
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x458de8
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x458dcb
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433df0
xor eax, eax
mov dword [ebp - 0x2c], 7
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00440940
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x458dfd
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433df0
xor eax, eax
mov byte [ebp - 4], 3
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x458e2a
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00433df0
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [ebp - 0x2c8]
dec eax
mov edx, dword [ebp - 0x2cc]
add ecx, eax
mov eax, dword [ebp - 0x2d0]
dec edx
and edx, ecx
mov esi, dword [eax + edx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x458e5e
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00433df0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x458e74
mov esi, dword [esi]
xor eax, eax
mov ecx, 0
mov word [esi], ax
sub dword [ebp - 0x2c4], 1
mov eax, dword [ebp - 0x2c8]
cmove eax, ecx
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x2c8], eax
lea ecx, [ebp - 0x2c0]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45901c
nop dword [eax + eax]
mov edx, 0x640510
lea ecx, [ebp - 0x294]
nop dword [eax + eax]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x458ef6
test ax, ax
je 0x458ef2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x458ef6
add ecx, 4
add edx, 4
test ax, ax
jne 0x458ed0
xor eax, eax
jmp 0x458efb
sbb eax, eax
or eax, 1
test eax, eax
je 0x458fbb
mov ecx, 0x641dd0
lea eax, [ebp - 0x294]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x458f36
test dx, dx
je 0x458f32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x458f36
add eax, 4
add ecx, 4
test dx, dx
jne 0x458f10
xor eax, eax
jmp 0x458f3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x458fbb
test byte [ebp - 0x2c0], 0x10
jne 0x458fbb
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [ebp - 0x294], ax
je 0x458f7f
lea eax, [ebp - 0x294]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x458f70
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x28]
call fcn.00433520
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x2e0]
call fcn.004599a0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x458fbb
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433df0
lea eax, [ebp - 0x2c0]
push eax
push esi
call edi
test eax, eax
jne 0x458ec0
call ebx
push esi
cmp eax, 0x12
jne 0x45900a
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x2c4], 0
jne 0x458d50
mov ebx, dword [ebp - 0x2dc]
mov edi, dword [ebp - 0x2e0]
mov esi, edi
cmp edi, ebx
je 0x4590b2
nop
cmp dword [esi + 0x14], 8
jb 0x459041
mov eax, dword [esi]
jmp 0x459043
call dword [sym.imp.KERNEL32.dll_FindClose]
call ebx
push eax
push str.ERROR:Error_while_iterating_through_slstore:_error_code__d
push 2
jmp 0x459026
call ebx
push eax
push str.Error_while_iterating_through_slstore:_error_code__d.
push 4
call fcn.004541a0
mov ebx, dword [ebp - 0x2dc]
add esp, 0xc
mov edi, dword [ebp - 0x2e0]
mov esi, 0x31c
jmp 0x4590b8
mov eax, esi
push eax
call fcn.00442aa0
mov edi, eax
add esp, 4
test edi, edi
je 0x459092
push edi
lea ecx, [ebp - 0x28]
call fcn.00433350
mov ecx, dword [ebp - 0x2ec]
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 8
call fcn.0043eb50
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x459087
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00430ec0
push edi
call fcn.0058d115
add esp, 4
jmp 0x4590a1
push str.Failed_to_convert_utf16_to_utf8.
push 4
call fcn.004541a0
add esp, 8
add esi, 0x18
cmp esi, ebx
jne 0x459000
mov edi, dword [ebp - 0x2e0]
mov esi, dword [ebp - 0x2e4]
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x4590cd
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00430ec0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 8
jb 0x4590f4
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433df0
xor eax, eax
mov dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x2d4]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00459a50
push 1
push dword [ebp - 0x2d4]
call fcn.00451ce0
mov dword [ebp - 0x2d4], 0
test edi, edi
je 0x459167
push dword [ebp - 0x2e8]
mov edx, ebx
push ecx
mov ecx, edi
call fcn.00442750
mov ecx, dword [ebp - 0x2d8]
mov eax, 0x2aaaaaab
sub ecx, edi
add esp, 8
imul ecx
lea ecx, [ebp - 0x2e0]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
call fcn.004378f0
mov eax, esi
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.00562e44
mov esp, ebp
pop ebp
ret 4