Function at 0x420c90
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45a48d
mov eax, dword fs:[0]
push eax
sub esp, 0x73c
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x738], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x750]
mov dword fs:[0], eax
mov eax, dword [ecx]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x20], ecx
mov esi, edx
jbe 0x4210fb
add eax, 0xffffffff
push 0x206
mov dword [ecx], eax
lea eax, [esp + 0x54a]
push ebp
push eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
lea edi, [ebp + 1]
mov word [esp + 0x550], bp
call fcn.00443e10
add esp, 0xc
push 0x206
lea ecx, [esp + 0x342]
push ebp
push ecx
mov word [esp + 0x348], bp
call fcn.00443e10
add esp, 0xc
push 0x250
lea edx, [esp + 0xf0]
push ebp
push edx
call fcn.00443e10
add esp, 0xc
push 0xffffffffffffffff
mov ebx, 7
push ebp
mov eax, esi
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ebp
mov word [esp + 0x6c], bp
call fcn.00406cc0
mov dword [esp + 0x758], ebp
mov eax, dword [esp + 0x74]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x420d79
call fcn.0043f7bb
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x420d88
lea eax, [esp + 0x64]
cmp word [eax + esi*2], 0x5c
je 0x420d9f
push 1
push 0x46042c
lea ecx, [esp + 0x68]
call fcn.00406e50
push 3
push 0x46354c
lea esi, [esp + 0x4c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebp
mov word [esp + 0x50], bp
call fcn.00406f20
lea eax, [esp + 0x98]
push eax
mov edx, esi
lea ecx, [esp + 0x64]
mov byte [esp + 0x75c], 1
call fcn.0041ddb0
add esp, 4
mov esi, 8
mov byte [esp + 0x758], 3
cmp dword [esp + 0x5c], esi
jb 0x420dfa
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0xb0], esi
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], bp
jae 0x420e1e
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x544]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bp
jne 0x420e25
lea edx, [esp + 0xec]
push edx
lea eax, [esp + 0x548]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x4210a8
cmp edi, ebp
je 0x42109f
mov ecx, dword [esp + 0x20]
cmp dword [ecx], ebp
jbe 0x42109f
lea eax, [esp + 0x118]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebp
mov word [esp + 0x80], bp
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x420e90
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x11c]
push edx
lea esi, [esp + 0x84]
call fcn.00406f20
mov byte [esp + 0x758], 4
mov eax, dword [esp + 0x90]
push 0x4620cc
mov edi, 1
mov ecx, esi
call fcn.00411e60
test eax, eax
je 0x42105f
mov eax, dword [esp + 0x90]
push 0x463554
mov edi, 2
mov ecx, esi
call fcn.00411e60
test eax, eax
je 0x42105f
test byte [esp + 0xec], 0x10
je 0x42105f
lea eax, [esp + 0x118]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebp
mov word [esp + 0x2c], bp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x420f21
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x11c]
push eax
lea esi, [esp + 0x30]
call fcn.00406f20
mov ecx, esi
push ecx
lea ecx, [esp + 0xb8]
mov byte [esp + 0x75c], 5
call fcn.00427030
add esp, 4
mov esi, 8
mov byte [esp + 0x758], bl
cmp dword [esp + 0x40], esi
jb 0x420f7b
mov edx, dword [esp + 0x2c]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0xcc], esi
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebp
mov word [esp + 0x2c], bp
jae 0x420f9f
lea ecx, [esp + 0xb8]
lea edx, [esp + 0x33c]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bp
jne 0x420fa6
lea ecx, [esp + 0x33c]
call fcn.00421130
test eax, eax
je 0x420fe8
mov eax, dword [esp + 0xc8]
push str.all_users
mov edi, 9
lea ecx, [esp + 0xb8]
call fcn.00411e60
test eax, eax
jne 0x421045
lea eax, [esp + 0x60]
push eax
lea ebx, [esp + 0x11c]
lea esi, [esp + 0xd4]
call fcn.00408750
add esp, 4
mov edx, dword [esp + 0x20]
mov ecx, esi
push ecx
mov ebx, 8
push edx
mov byte [esp + 0x760], bl
call fcn.004208a0
add esp, 8
add dword [esp + 0x14], eax
adc dword [esp + 0x18], edx
cmp dword [esp + 0xe8], ebx
jb 0x421040
mov eax, dword [esp + 0xd4]
push eax
call fcn.0043ef40
add esp, 4
mov ebx, 7
cmp dword [esp + 0xcc], 8
jb 0x42105f
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.0043ef40
add esp, 4
mov eax, dword [esp + 0x24]
lea edx, [esp + 0xec]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov byte [esp + 0x758], 3
cmp dword [esp + 0x94], 8
mov edi, eax
jb 0x420e59
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0043ef40
add esp, 4
jmp 0x420e59
mov eax, dword [esp + 0x24]
mov esi, 8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0xb0], esi
jb 0x4210c8
mov edx, dword [esp + 0x9c]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x78], esi
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], ebp
mov word [esp + 0x9c], bp
jb 0x4210f1
mov eax, dword [esp + 0x64]
push eax
call fcn.0043ef40
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x4210ff
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x750]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x738]
xor ecx, esp
call fcn.0043ef12
add esp, 0x748
ret