Function at 0x424e50
Capabilities:
Enumerate files on windows
Get common file path
Get session user name
Get startup folder
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x447264
mov eax, dword fs:[0]
push eax
sub esp, 0x61c
mov eax, dword [0x4561c4]
xor eax, esp
mov dword [esp + 0x618], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4561c4]
xor eax, esp
push eax
lea eax, [esp + 0x630]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x640]
xor edi, edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x638], 1
xor eax, eax
mov dword [esp + 0x158], 7
mov dword [esp + 0x154], edi
mov word [esp + 0x144], ax
push edi
push 0x21
lea ecx, [esp + 0x42c]
push ecx
push edi
mov byte [esp + 0x648], 2
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x424]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x424ee7
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x428]
lea esi, [esp + 0x144]
call fcn.00401b20
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3e8]
push eax
mov dword [esp + 0x30], 0x20
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov ecx, esi
push ecx
mov ebx, str..txt
lea esi, [esp + 0x54]
mov dword [esp + 0x20], edi
call fcn.004057f0
mov esi, 8
add esp, 4
cmp dword [eax + 0x18], esi
jb 0x424f4c
mov eax, dword [eax + 4]
jmp 0x424f4f
add eax, 4
lea edx, [esp + 0x194]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x68], esi
jb 0x424f75
mov eax, dword [esp + 0x54]
push eax
call fcn.0042bcf0
add esp, 4
mov eax, 7
xor esi, esi
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x174], eax
lea eax, [esp + 0x3e4]
mov word [esp + 0x160], dx
mov dword [esp + 0x64], esi
mov word [esp + 0x54], cx
mov dword [esp + 0x170], esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x424fb0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x3e8]
lea esi, [esp + 0x160]
call fcn.00401b20
mov eax, esi
push eax
mov ebx, 0x44d004
lea esi, [esp + 0x17c]
mov byte [esp + 0x63c], 3
call fcn.004057f0
add esp, 4
mov edi, 7
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x13c], edi
mov dword [esp + 0x138], ebx
mov word [esp + 0x128], cx
mov byte [esp + 0x638], 5
xor edx, edx
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
push ebx
mov eax, 0x44ac48
mov esi, ebp
mov word [ebp + 4], dx
call fcn.00401b20
cmp dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x24], 1
je 0x4254cb
cmp dword [esp + 0x1c], 0x12
je 0x4254cb
lea eax, [esp + 0x1c0]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x425060
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x1c4]
lea esi, [esp + 0x128]
call fcn.00401b20
lea eax, [esp + 0x140]
push eax
mov ebx, 0x44ce40
lea esi, [esp + 0x30]
call fcn.004057f0
add esp, 4
push eax
lea ebx, [esp + 0x1c4]
lea esi, [esp + 0x10c]
mov byte [esp + 0x63c], 6
call fcn.004057f0
add esp, 4
push 0xffffffffffffffff
xor ebp, ebp
mov ebx, 7
push ebp
lea ecx, [esp + 0x12c]
mov byte [esp + 0x640], bl
call fcn.00401990
mov edi, 8
cmp dword [esp + 0x120], edi
jb 0x4250f6
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.0042bcf0
add esp, 4
xor edx, edx
mov byte [esp + 0x638], 5
mov dword [esp + 0x120], ebx
mov dword [esp + 0x11c], ebp
mov word [esp + 0x10c], dx
cmp dword [esp + 0x44], edi
jb 0x425129
mov eax, dword [esp + 0x30]
push eax
call fcn.0042bcf0
add esp, 4
mov eax, dword [esp + 0x128]
cmp dword [esp + 0x13c], edi
jae 0x425140
lea eax, [esp + 0x128]
push 0x21
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.0041eb90
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 4]
mov ecx, dword [esp + eax + 0x7c]
lea eax, [esp + eax + 0x74]
and cl, 6
movsx edx, cl
neg edx
sbb edx, edx
not edx
test eax, edx
je 0x4252bb
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], ebp
mov byte [esp + 0x10c], 0
mov bl, 9
push 2
lea esi, [esp + 0x78]
mov byte [esp + 0x63c], bl
call fcn.00425860
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
test byte [esp + eax + 0x7c], 6
jne 0x4251c8
mov eax, dword [esp + eax + 0x9c]
mov edx, dword [eax]
mov edx, dword [edx + 0x24]
push 1
push 1
push ebp
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call edx
jmp 0x4251dd
mov eax, dword [0x44874c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x11c]
cmp eax, ecx
ja 0x425204
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x110]
call fcn.00402360
jmp 0x425218
push ebp
sub eax, ecx
lea edi, [esp + 0x10c]
call fcn.0040aef0
mov edi, 8
push ebp
lea esi, [esp + 0x78]
call fcn.00425860
cmp dword [esp + 0x120], 0x10
mov eax, dword [esp + 0x10c]
jae 0x42523a
lea eax, [esp + 0x10c]
mov ecx, dword [esp + 0x11c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0040b030
push 0x10
push str.ispass_37wan_com
lea ecx, [esp + 0x110]
push ecx
call fcn.0041f950
cmp eax, 0xffffffff
jne 0x4253e7
lea esi, [esp + 0x7c]
call fcn.0040b150
test eax, eax
jne 0x4252a1
mov edx, dword [esp + 0x74]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x7c]
lea ecx, [esp + ecx + 0x74]
or eax, 2
cmp dword [ecx + 0x28], ebp
jne 0x425290
or eax, 4
and eax, 0x17
mov dword [ecx + 8], eax
test dword [ecx + 0xc], eax
je 0x4252a1
push ebp
call fcn.0040c1e0
cmp dword [esp + 0x120], 0x10
jb 0x4252bb
mov eax, dword [esp + 0x10c]
push eax
call fcn.0042bcf0
add esp, 4
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x194]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
jne 0x4252dc
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4252e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
lea eax, [esp + 0xcc]
mov dword [esp + 0x70], eax
mov dword [esp + edx + 0x74], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
lea eax, [esp + 0x7c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x7c], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esp + 0x638], 0xc
cmp byte [esp + 0xc4], 0
je 0x425329
mov esi, eax
call fcn.0040b150
mov dword [esp + 0x7c], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov byte [esp + 0x638], 0xd
mov eax, dword [esp + 0xb4]
mov ebx, eax
cmp eax, ebp
je 0x425391
mov edi, dword [eax]
cmp edi, ebp
je 0x425388
push ebp
lea ecx, [esp + 0x24]
call fcn.0042a950
mov eax, dword [edi + 4]
cmp eax, ebp
jbe 0x425366
cmp eax, 0xffffffff
jae 0x425366
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x20]
and esi, edi
call fcn.0042a978
cmp esi, ebp
je 0x425388
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebx
call fcn.0042bcf0
add esp, 4
lea ecx, [esp + 0x80]
mov byte [esp + 0x638], 0xb
call fcn.0042af8d
mov byte [esp + 0x638], 5
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
lea eax, [esp + 0xcc]
mov dword [esp + edx + 0x74], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
push eax
mov dword [esp + 0xd0], vtable.std::ios_base.0
call fcn.0042b028
mov ebp, dword [esp + 0x18]
add esp, 4
mov edi, 7
xor ebx, ebx
jmp 0x425045
lea edx, [esp + 0x108]
lea ecx, [esp + 0x50]
call fcn.00423380
push 0xffffffffffffffff
mov byte [esp + 0x63c], 0xa
mov ecx, dword [esp + 0x18]
push ebp
call fcn.00401990
mov byte [esp + 0x638], bl
cmp dword [esp + 0x68], edi
jb 0x425425
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0042bcf0
add esp, 4
lea esi, [esp + 0x7c]
call fcn.0040b150
test eax, eax
jne 0x42545d
mov edx, dword [esp + 0x74]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x7c]
lea ecx, [esp + ecx + 0x74]
or eax, 2
cmp dword [ecx + 0x28], ebp
jne 0x42544c
or eax, 4
and eax, 0x17
mov dword [ecx + 8], eax
test dword [ecx + 0xc], eax
je 0x42545d
push ebp
call fcn.0040c1e0
cmp dword [esp + 0x120], 0x10
jb 0x425477
mov eax, dword [esp + 0x10c]
push eax
call fcn.0042bcf0
add esp, 4
lea ecx, [esp + 0xcc]
mov dword [esp + 0x120], 0xf
mov dword [esp + 0x11c], ebp
mov byte [esp + 0x10c], 0
mov byte [esp + 0x638], 5
call fcn.0041ecb0
lea ecx, [esp + 0xcc]
push ecx
mov dword [esp + 0xd0], vtable.std::ios_base.0
call fcn.0042b028
mov ebp, dword [esp + 0x18]
add esp, 4
mov edi, 7
xor ebx, ebx
mov esi, 8
cmp dword [esp + 0x13c], esi
jb 0x4254e9
mov edx, dword [esp + 0x128]
push edx
call fcn.0042bcf0
add esp, 4
xor eax, eax
mov dword [esp + 0x13c], edi
mov dword [esp + 0x138], ebx
mov word [esp + 0x128], ax
cmp dword [esp + 0x190], esi
jb 0x42551a
mov ecx, dword [esp + 0x17c]
push ecx
call fcn.0042bcf0
add esp, 4
xor edx, edx
mov dword [esp + 0x190], edi
mov dword [esp + 0x18c], ebx
mov word [esp + 0x17c], dx
cmp dword [esp + 0x174], esi
jb 0x42554b
mov eax, dword [esp + 0x160]
push eax
call fcn.0042bcf0
add esp, 4
xor ecx, ecx
mov dword [esp + 0x174], edi
mov dword [esp + 0x170], ebx
mov word [esp + 0x160], cx
cmp dword [esp + 0x158], esi
jb 0x42557c
mov edx, dword [esp + 0x144]
push edx
call fcn.0042bcf0
add esp, 4
xor eax, eax
mov dword [esp + 0x158], edi
mov dword [esp + 0x154], ebx
mov word [esp + 0x144], ax
cmp dword [esp + 0x65c], esi
jb 0x4255ad
mov ecx, dword [esp + 0x648]
push ecx
call fcn.0042bcf0
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x630]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x618]
xor ecx, esp
call fcn.0042bcfb
add esp, 0x628
ret