Function at 0x4743c0
Capabilities:
Enumerate files on windows
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6187a6
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x7161c0]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7161c0]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2d4]
mov edi, ecx
mov dword [esp + 0x18], ebp
xor esi, esi
mov dword [esp + 0x2c8], esi
call fcn.005bc35c
mov eax, dword [eax + 4]
lea ecx, [esp + 0x50]
mov dword [esp + 0x5c], eax
call fcn.004019e0
mov byte [esp + 0x2c8], 1
lea ecx, [esp + 0x54]
call fcn.004019e0
mov byte [esp + 0x2c8], 2
lea ecx, [esp + 0x4c]
call fcn.004019e0
mov byte [esp + 0x2c8], 3
lea ecx, [esp + 0x1c]
call fcn.004019e0
mov byte [esp + 0x2c8], 4
lea ecx, [esp + 0x2d0]
push ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x1c], esi
call fcn.00467630
add esp, 8
mov byte [esp + 0x2c8], 5
push eax
lea ecx, [esp + 0x2d4]
call fcn.00403020
mov byte [esp + 0x2c8], 4
lea ecx, [esp + 0x28]
call fcn.00401a50
mov edx, dword [esp + 0x2d0]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x4744ca
push esi
lea ecx, [esp + 0x2d4]
call fcn.00401990
mov edx, dword [esp + 0x2d0]
push edx
call fcn.005ddfc6
mov ebx, eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x4c]
push ecx
push ebx
mov dword [esp + 0x40], ebx
call fcn.0042c9b0
mov eax, dword [esp + 0x50]
add esp, 0x1c
cmp eax, esi
je 0x474508
cmp byte [eax], 0
jne 0x474537
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x474510
sub eax, edx
cmp byte [eax + ebx - 1], 0x2f
je 0x474537
lea edx, [esp + 0x33]
push edx
mov byte [esp + 0x37], cl
call fcn.005ddfc6
add esp, 4
mov dword [esp + 0x34], eax
cmp dword [esp + 0x40], esi
je 0x4745f3
mov eax, dword [esp + 0x40]
lea esi, [ebp + 0x20]
lea edx, [eax + 1]
jmp 0x474550
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x474550
sub eax, edx
push eax
mov eax, dword [esp + 0x44]
push eax
mov ecx, esi
call fcn.00401bb0
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x4745e9
push 0x636284
push eax
call fcn.005d9339
add esp, 8
test eax, eax
je 0x4745e9
sub eax, dword [esi]
test eax, eax
jle 0x4745e9
push esi
lea ecx, [esp + 0x40]
push 0x63cdd8
push ecx
call fcn.0042f4c0
mov bl, 6
mov byte [esp + 0x2d4], bl
push 0x63cdd4
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.00403170
add esp, 0x18
mov byte [esp + 0x2c8], 7
push eax
mov ecx, esi
call fcn.00403020
mov byte [esp + 0x2c8], bl
lea ecx, [esp + 0x28]
call fcn.00401a50
mov byte [esp + 0x2c8], 4
lea ecx, [esp + 0x3c]
call fcn.00401a50
mov ebx, dword [esp + 0x24]
push esi
lea ecx, [esp + 0x50]
call fcn.00403020
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x474604
mov dword [ebp + 0x24], 0x50
jmp 0x474607
mov dword [ebp + 0x24], eax
mov edx, dword [esp + 0x38]
test edx, edx
je 0x47465e
mov eax, edx
lea ecx, [ebp + 0x28]
lea esi, [eax + 1]
mov bl, byte [eax]
add eax, 1
test bl, bl
jne 0x474617
sub eax, esi
push eax
push edx
call fcn.00401bb0
mov edx, dword [esp + 0x38]
test edx, edx
jne 0x474635
xor eax, eax
jmp 0x47464b
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x474640
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x58]
call fcn.00401bb0
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x44]
test esi, esi
je 0x4746b5
mov eax, esi
lea ecx, [ebp + 0x2c]
lea ebx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x474670
sub eax, ebx
push eax
push esi
call fcn.00401bb0
mov edx, dword [esp + 0x44]
test edx, edx
jne 0x47468e
xor eax, eax
jmp 0x47469e
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x474693
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x5c]
call fcn.00401bb0
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4746f9
lea esi, [ebp + 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4746c3
sub eax, edx
push eax
mov eax, dword [esp + 0x38]
push eax
mov ecx, esi
call fcn.00401bb0
push 0x631518
mov ecx, esi
call fcn.00404770
push esi
lea ecx, [esp + 0x20]
call fcn.00403020
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
test edx, edx
je 0x47470a
push edx
call fcn.005d9100
mov esi, dword [esp + 0x48]
add esp, 4
test esi, esi
je 0x474717
push esi
call fcn.005d9100
add esp, 4
cmp dword [esp + 0x40], 0
je 0x47472b
mov ecx, dword [esp + 0x40]
push ecx
call fcn.005d9100
add esp, 4
cmp dword [esp + 0x34], 0
je 0x47473f
mov edx, dword [esp + 0x34]
push edx
call fcn.005d9100
add esp, 4
test ebx, ebx
je 0x47474c
push ebx
call fcn.005d9100
add esp, 4
lea ecx, [esp + 0x20]
xor esi, esi
call fcn.004019e0
mov byte [esp + 0x2c8], 8
lea ecx, [esp + 0x48]
call fcn.004019e0
mov byte [esp + 0x2c8], 9
lea ecx, [esp + 0x2c]
call fcn.004019e0
mov byte [esp + 0x2c8], 0xa
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x474791
or edx, 0xffffffff
jmp 0x4747bc
push 0x6387f0
push ecx
call fcn.005d9339
mov ecx, dword [esp + 0x24]
add esp, 8
test eax, eax
jne 0x4747ac
or edx, 0xffffffff
jmp 0x4747bc
sub eax, ecx
mov edx, eax
test edx, edx
jle 0x4747bc
mov dword [esp + 0x14], 1
mov eax, dword [ecx - 0xc]
sub eax, edx
sub eax, 1
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24]
call fcn.00404820
mov byte [esp + 0x2c8], 0xb
push eax
lea ecx, [esp + 0x30]
call fcn.00403020
mov byte [esp + 0x2c8], 0xa
lea ecx, [esp + 0x3c]
call fcn.00401a50
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx - 0xc]
lea eax, [esi + 1]
test eax, eax
jl 0x474820
cmp eax, edx
jg 0x474820
add eax, ecx
push 0x6387ec
push eax
call fcn.005d9339
mov ecx, dword [esp + 0x34]
add esp, 8
test eax, eax
jne 0x474825
or ebp, 0xffffffff
jmp 0x47482e
sub eax, ecx
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x474872
mov eax, dword [ecx - 0xc]
sub eax, esi
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x34]
call fcn.00404820
mov byte [esp + 0x2c8], 0xc
push eax
lea ecx, [esp + 0x24]
call fcn.00403020
mov byte [esp + 0x2c8], 0xa
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4748b4
mov ecx, ebp
sub ecx, esi
push ecx
push esi
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x38]
call fcn.00402e40
mov byte [esp + 0x2c8], 0xe
push eax
lea ecx, [esp + 0x24]
call fcn.00403020
mov byte [esp + 0x2c8], 0xa
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4748c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
jl 0x474a11
push 0x6387e8
push eax
call fcn.005d9339
add esp, 8
test eax, eax
je 0x474a11
sub eax, dword [esp + 0x20]
mov esi, eax
test esi, esi
jle 0x474a11
push esi
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x28]
call fcn.004048d0
mov byte [esp + 0x2c8], 0x10
push eax
lea ecx, [esp + 0x4c]
call fcn.00403020
mov byte [esp + 0x2c8], 0xa
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47493b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x48]
push 0x6387e0
push ecx
call fcn.005db99d
add esp, 8
test eax, eax
jne 0x4749ab
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 0xc]
sub eax, esi
sub eax, 1
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x28]
call fcn.00404820
mov byte [esp + 0x2c8], 0x12
mov ecx, dword [esp + 0x18]
add ecx, 4
push eax
call fcn.00403020
mov byte [esp + 0x2c8], 0xa
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x474a11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x474a11
mov ecx, dword [esp + 0x48]
push str.preview
push ecx
call fcn.005db99d
add esp, 8
test eax, eax
jne 0x474a11
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 0xc]
sub eax, esi
sub eax, 1
push eax
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x28]
call fcn.00404820
mov byte [esp + 0x2c8], 0x14
mov eax, dword [eax]
push eax
call fcn.005dc226
add esp, 4
cmp eax, 1
sete bl
mov byte [esp + 0x2c8], 0xa
lea ecx, [esp + 0x58]
call fcn.00401a50
test bl, bl
je 0x474a11
mov byte [edi + 0x1fc], 1
test ebp, ebp
lea esi, [ebp + 1]
jge 0x4747f6
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 4]
add ebx, 4
push 0x630be8
push eax
call fcn.005da730
add esp, 8
test eax, eax
sete al
test al, al
je 0x474ab8
mov ecx, dword [esp + 0x1c]
push 0x2f
push ecx
call fcn.005d940c
mov ecx, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x474a5f
sub eax, ecx
mov esi, eax
js 0x474a5f
add esi, 1
jmp 0x474a61
xor esi, esi
push 0x3f
push ecx
call fcn.005d940c
mov ecx, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x474a7f
sub eax, ecx
test eax, eax
jle 0x474a7f
sub eax, 1
jmp 0x474a82
mov eax, dword [ecx - 0xc]
sub eax, esi
add eax, 1
push eax
push esi
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x28]
call fcn.00402e40
mov byte [esp + 0x2c8], 0x15
push eax
mov ecx, ebx
call fcn.00403020
mov byte [esp + 0x2c8], 0xa
lea ecx, [esp + 0x58]
call fcn.00401a50
push ebx
lea ecx, [edi + 0x1f8]
call fcn.00403020
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.005da50f
add esp, 4
lea esi, [edi + 0x2cc]
call fcn.00462f40
cmp dword [esp + 0x14], 0
je 0x474b1f
movzx edx, word [esp + 0x6c]
movzx ecx, ax
movzx eax, word [esp + 0x6a]
push ecx
movzx ecx, word [esp + 0x6c]
push edx
movzx edx, word [esp + 0x6e]
push eax
movzx eax, word [esp + 0x6e]
push ecx
movzx ecx, word [esp + 0x70]
push edx
push eax
push ecx
push str.session_d_d_d_d_d_d_d
jmp 0x474b4c
movzx ecx, word [esp + 0x6a]
movzx edx, ax
movzx eax, word [esp + 0x6c]
push edx
movzx edx, word [esp + 0x6c]
push eax
movzx eax, word [esp + 0x6e]
push ecx
movzx ecx, word [esp + 0x6e]
push edx
movzx edx, word [esp + 0x70]
push eax
push ecx
push edx
push str._session_d_d_d_d_d_d_d
push esi
call fcn.004030a0
mov ecx, dword [edi + 0x2b4]
add esp, 0x24
lea eax, [esp + 0x4c]
push eax
call fcn.00403020
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 0x2b4]
mov eax, dword [edx + 0x24]
mov dword [ecx + 4], eax
mov ecx, dword [edi + 0x2b4]
push 0
add ecx, 0x18
push 0x630be8
call fcn.00401bb0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x74]
push edx
mov ecx, edi
call fcn.00468b90
mov byte [esp + 0x2c8], 0x16
mov ecx, dword [edi + 0x2b4]
lea eax, [esp + 0x70]
add ecx, 0x14
push eax
call fcn.00403020
mov ecx, dword [edi + 0x2b4]
lea edx, [esp + 0x54]
add ecx, 0xc
push edx
call fcn.00403020
mov ecx, dword [edi + 0x2b4]
lea eax, [esp + 0x50]
add ecx, 8
push eax
call fcn.00403020
mov ecx, dword [edi + 0x2b4]
add ecx, 0x1c
push esi
call fcn.00403020
mov ecx, dword [edi + 0x2b4]
push 3
add ecx, 0x10
push 0x63cabc
call fcn.00401bb0
mov ecx, dword [edi + 0x2b4]
push 0
add ecx, 0x34
push 0x630be8
call fcn.00401bb0
mov ebp, dword [esp + 0x5c]
cmp byte [ebp + 0x8ac], 0
je 0x474c83
mov ecx, dword [edi + 0x2b4]
lea edx, [ebp + 0x8bc]
add ecx, 0x24
push edx
call fcn.00403020
mov eax, dword [edi + 0x2b4]
mov ecx, dword [ebp + 0x8c0]
mov dword [eax + 0x28], ecx
mov edx, dword [edi + 0x2b4]
mov eax, dword [ebp + 0x8b0]
mov dword [edx + 0x20], eax
mov ecx, dword [edi + 0x2b4]
lea edx, [ebp + 0x8b4]
add ecx, 0x2c
push edx
call fcn.00403020
mov edi, dword [edi + 0x2b4]
add edi, 0x30
lea eax, [ebp + 0x8b8]
push eax
mov ecx, edi
call fcn.00403020
jmp 0x474c9a
mov edi, dword [edi + 0x2b4]
add edi, 0x24
push 0
push 0x630be8
mov ecx, edi
call fcn.00401bb0
mov ecx, dword [esp + 0x18]
add ecx, 8
mov dword [esp + 0x28], ecx
call fcn.00406b60
cmp byte [ebp + 0x8d4], 0
mov byte [ebp + 0x8dc], 0
je 0x474f1c
lea ecx, [esp + 0x1bc]
push ecx
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x474f1c
lea edx, [esp + 0x1bc]
push edx
lea ecx, [esp + 0x18]
call fcn.00401eb0
mov byte [esp + 0x2c8], 0x17
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401c90
push 4
push str..srt
lea ecx, [esp + 0x1c]
call fcn.00401c90
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [esp + 0x7c]
push eax
push ecx
call esi
cmp eax, 0xffffffff
je 0x474d45
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x14]
push edx
call fcn.0040b2f0
mov byte [ebp + 0x8dc], 1
lea eax, [esp + 0x1bc]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x474d50
sub eax, edx
push eax
lea eax, [esp + 0x1c0]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401bb0
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401c90
push 2
push 0x63cd90
lea ecx, [esp + 0x1c]
call fcn.00401c90
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x7c]
push ecx
push edx
call esi
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.004019e0
mov byte [esp + 0x2c8], 0x18
lea ecx, [esp + 0x18]
call fcn.004019e0
mov byte [esp + 0x2c8], 0x19
cmp edi, 0xffffffff
je 0x474ee9
lea eax, [esp + 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x474ed7
lea ebx, [ebx]
lea eax, [esp + 0xa8]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x474df0
sub eax, edx
push eax
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x20]
call fcn.00401bb0
mov eax, dword [esp + 0x18]
mov esi, dword [eax - 0xc]
push 0x2e
push eax
call fcn.005d940c
add esp, 8
test eax, eax
jne 0x474e28
or eax, 0xffffffff
jmp 0x474e2c
sub eax, dword [esp + 0x18]
sub esi, eax
push esi
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x20]
call fcn.00404820
mov byte [esp + 0x2c8], 0x1a
push eax
lea ecx, [esp + 0x28]
call fcn.00403020
mov byte [esp + 0x2c8], 0x19
lea ecx, [esp + 0x5c]
call fcn.00401a50
mov eax, dword [esp + 0x24]
push str..srt
push eax
call fcn.005db99d
add esp, 8
test eax, eax
je 0x474e8c
mov ecx, dword [esp + 0x24]
push str..sub
push ecx
call fcn.005db99d
add esp, 8
test eax, eax
jne 0x474ec3
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
push edx
push eax
lea ecx, [esp + 0x1c4]
push ecx
lea edx, [esp + 0x20]
push str._s_s_s
push edx
call fcn.004030a0
mov ecx, dword [esp + 0x3c]
add esp, 0x14
lea eax, [esp + 0x14]
push eax
call fcn.0040b2f0
mov byte [ebp + 0x8dc], 1
lea ecx, [esp + 0x7c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x474de0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x474ee9
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x2c8], 0x18
lea ecx, [esp + 0x18]
call fcn.00401a50
mov byte [esp + 0x2c8], 0x17
lea ecx, [esp + 0x24]
call fcn.00401a50
mov byte [esp + 0x2c8], 0x16
lea ecx, [esp + 0x14]
call fcn.00401a50
mov byte [esp + 0x2c8], 0xa
lea ecx, [esp + 0x70]
call fcn.00401a50
mov byte [esp + 0x2c8], 9
lea ecx, [esp + 0x2c]
call fcn.00401a50
mov byte [esp + 0x2c8], 8
lea ecx, [esp + 0x48]
call fcn.00401a50
mov byte [esp + 0x2c8], 4
lea ecx, [esp + 0x20]
call fcn.00401a50
mov byte [esp + 0x2c8], 3
lea ecx, [esp + 0x1c]
call fcn.00401a50
mov byte [esp + 0x2c8], 2
lea ecx, [esp + 0x4c]
call fcn.00401a50
mov byte [esp + 0x2c8], 1
lea ecx, [esp + 0x54]
call fcn.00401a50
mov byte [esp + 0x2c8], 0
lea ecx, [esp + 0x50]
call fcn.00401a50
mov dword [esp + 0x2c8], 0xffffffff
lea ecx, [esp + 0x2d0]
call fcn.00401a50
mov eax, 1
mov ecx, dword [esp + 0x2c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.005d8d34
add esp, 0x2b8
ret 8