Function at 0x425bd0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b8498
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x629688]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push esi
push edi
mov eax, dword [0x629688]
xor eax, esp
push eax
lea eax, [esp + 0x310]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
call fcn.004276e0
mov dword [esp + 0x38], eax
test eax, eax
jne 0x4261af
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x318], ebx
call fcn.00426e40
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], ax
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], eax
mov byte [esp + 0x84], al
lea ecx, [esp + 0x84]
mov byte [esp + 0x318], 3
call fcn.004253f0
cmp dword [esp + 0x98], 0x10
lea eax, [esp + 0x84]
cmovae eax, dword [esp + 0x84]
push eax
call fcn.00401100
mov esi, eax
add esp, 4
test esi, esi
jne 0x425cc5
push str.Calloc_failure__Failed_to_convert_string_to_utf16.
push 4
call fcn.0041f8e0
add esp, 8
lea esi, [edi + 3]
jmp 0x426114
push esi
lea ecx, [esp + 0x70]
call fcn.00407fb0
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x31c], 4
call fcn.00426fb0
mov byte [esp + 0x318], 3
cmp dword [esp + 0x80], 8
jb 0x425d03
push dword [esp + 0x6c]
call fcn.0058603b
add esp, 4
push esi
call fcn.005864b7
add esp, 4
xor edx, edx
push dword [esp + 0x20]
push ecx
xor ecx, ecx
call fcn.00427420
xor ebx, ebx
add esp, 8
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x34], ebx
je 0x426039
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea esp, [esp]
push ecx
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
call fcn.00427150
mov ecx, eax
call fcn.004272e0
mov ecx, eax
mov eax, dword [ecx]
test eax, eax
je 0x425d65
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
dec edx
and edx, dword [ecx + 8]
push ecx
lea ecx, [esp + 0xa0]
mov edx, dword [eax + edx*4]
call fcn.00427360
push 0x5e2b6c
mov edx, eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x320], 5
call fcn.0040e200
mov esi, eax
lea eax, [esp + 0x5c]
add esp, 8
cmp eax, esi
je 0x425e1a
cmp dword [esp + 0x68], 8
jb 0x425db7
push dword [esp + 0x54]
call fcn.0058603b
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
cmp dword [esi + 0x14], 8
jae 0x425ded
mov eax, dword [esi + 0x10]
inc eax
je 0x425df9
add eax, eax
push eax
lea eax, [esp + 0x58]
push esi
push eax
call fcn.005864f0
add esp, 0xc
jmp 0x425df9
mov eax, dword [esi]
mov dword [esp + 0x54], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [esp + 0x80], 8
jb 0x425e30
push dword [esp + 0x6c]
call fcn.0058603b
add esp, 4
xor eax, eax
mov byte [esp + 0x318], 3
cmp dword [esp + 0xb0], 8
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
jb 0x425e6b
push dword [esp + 0x9c]
call fcn.0058603b
add esp, 4
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x425ebf
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
dec eax
add ecx, eax
mov eax, dword [esp + 0x28]
dec edx
and edx, ecx
mov esi, dword [eax + edx*4]
cmp dword [esi + 0x14], 8
jb 0x425e98
push dword [esi]
call fcn.0058603b
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
dec dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, 0
cmove eax, ecx
mov dword [esp + 0x30], eax
cmp dword [esp + 0x68], 8
lea ecx, [esp + 0xb4]
lea eax, [esp + 0x54]
cmovae eax, dword [esp + 0x54]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x426077
jmp 0x425ef0
mov edx, 0x5db9c4
lea ecx, [esp + 0xe0]
lea esp, [esp]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x425f26
test ax, ax
je 0x425f22
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x425f26
add ecx, 4
add edx, 4
test ax, ax
jne 0x425f00
xor eax, eax
jmp 0x425f2b
sbb eax, eax
or eax, 1
test eax, eax
je 0x426005
mov ecx, 0x5e2bac
lea eax, [esp + 0xe0]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x425f66
test dx, dx
je 0x425f62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x425f66
add eax, 4
add ecx, 4
test dx, dx
jne 0x425f40
xor eax, eax
jmp 0x425f6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x426005
test byte [esp + 0xb4], 0x10
jne 0x426005
xor eax, eax
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
cmp word [esp + 0xe0], ax
je 0x425fbf
lea eax, [esp + 0xe0]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425fb0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x74]
call fcn.00408410
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x31c], 6
call fcn.00426d80
mov byte [esp + 0x318], 3
cmp dword [esp + 0x80], 8
jb 0x426005
push dword [esp + 0x6c]
call fcn.0058603b
add esp, 4
lea eax, [esp + 0xb4]
push eax
push esi
call edi
test eax, eax
jne 0x425ef0
call ebx
push esi
cmp eax, 0x12
jne 0x42604d
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x34], 0
jne 0x425d40
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov esi, edi
cmp edi, ebx
je 0x426110
cmp dword [esi + 0x14], 8
jb 0x426098
mov eax, dword [esi]
jmp 0x42609a
call dword [sym.imp.KERNEL32.dll_FindClose]
call ebx
push eax
push str.ERROR:Error_while_iterating_through_slstore:_error_code__d
push 2
call fcn.0041f8e0
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
add esp, 0xc
mov esi, 0x31c
jmp 0x426114
call ebx
push eax
push str.Error_while_iterating_through_slstore:_error_code__d.
push 4
call fcn.0041f8e0
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
add esp, 0xc
mov esi, 0x31c
jmp 0x426114
mov eax, esi
push eax
call fcn.00401160
mov edi, eax
add esp, 4
test edi, edi
je 0x4260f2
push edi
lea ecx, [esp + 0x70]
call fcn.00407ed0
lea eax, [esp + 0x6c]
mov byte [esp + 0x318], 7
mov ecx, dword [esp + 0x20]
push eax
call fcn.00426e90
mov byte [esp + 0x318], 3
cmp dword [esp + 0x80], 0x10
jb 0x4260e7
push dword [esp + 0x6c]
call fcn.0058603b
add esp, 4
push edi
call fcn.005864b7
add esp, 4
jmp 0x426101
push str.Failed_to_convert_utf16_to_utf8.
push 4
call fcn.0041f8e0
add esp, 8
add esi, 0x18
cmp esi, ebx
jne 0x426043
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x38]
cmp dword [esp + 0x98], 0x10
jb 0x42612d
push dword [esp + 0x84]
call fcn.0058603b
add esp, 4
cmp dword [esp + 0x68], 8
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], 0
mov byte [esp + 0x84], 0
jb 0x42615e
push dword [esp + 0x54]
call fcn.0058603b
add esp, 4
xor eax, eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
call fcn.00427020
push dword [esp + 0x24]
call fcn.0058603b
add esp, 4
mov dword [esp + 0x24], 0
test edi, edi
je 0x4261ad
push dword [esp + 0x20]
mov edx, ebx
push ecx
mov ecx, edi
call fcn.00427420
push edi
call fcn.0058603b
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x310]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.00586d1b
mov esp, ebp
pop ebp
ret 4