Function at 0x455e20
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58868b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x344
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x64], edi
xor esi, esi
mov dword [ebp - 4], esi
wait
cmp dword [edi + 0x2a8], esi
jne 0x455e6b
xor eax, eax
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0x2f8]
call fcn.004940b0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 1
push esi
lea ecx, [edi + 0x50]
call fcn.004f9c70
push eax
mov ecx, dword [edi + 0x2a8]
call fcn.00510a80
mov dword [ebp - 0x74], eax
mov ecx, 0x5f5774
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
lea eax, [ebp - 0x38]
push eax
call fcn.0050a4d0
add esp, 4
push 0x104
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.00405c40
push eax
push str.LogsDir
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0050a330
add esp, 0x10
lea ecx, [ebp - 0x1c]
test eax, eax
jne 0x455f4e
push 0x104
call fcn.00405c40
push eax
push 1
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, esi
jge 0x455f2c
push str.SHGetFolderPathW__0__0x001a__0__SHGFP_TYPE_DEFAULT__strSysDir.GetBuffer__260__
push eax
lea ecx, [ebp - 0xe8]
call fcn.00434a80
push 0x5cc0a0
lea edx, [ebp - 0xe8]
push edx
call fcn.00554cbc
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00403ab0
push 0x59fbdc
push str._sData_
lea eax, [ebp - 0x1c]
push eax
call fcn.0040a750
add esp, 0xc
jmp 0x455f62
push 0xffffffffffffffff
call fcn.00403ab0
push 0x59e4c8
lea ecx, [ebp - 0x1c]
call fcn.00407ed0
mov ecx, dword [edi + 0x2a8]
add ecx, 0x10
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.00425d90
mov byte [ebp - 4], 4
push 0x59e4c4
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00425e40
mov byte [ebp - 4], 5
push 0x59fc28
push eax
lea edx, [ebp - 0x24]
push edx
call fcn.00425e40
mov byte [ebp - 4], 6
push 0x59e658
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00425e40
mov bl, 7
mov byte [ebp - 4], bl
push 0x59fc38
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00425e40
add esp, 0x3c
mov byte [ebp - 4], 8
mov eax, dword [eax]
lea edx, [ebp - 0x350]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.00404d60
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
call fcn.00404d60
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24]
call fcn.00404d60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00404d60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00404d60
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0xffffffff
je 0x456337
lea ecx, [ebp - 0x94]
call fcn.004374b0
mov byte [ebp - 4], 9
mov ecx, edi
call fcn.00453a30
mov bl, 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x324]
push edx
mov ecx, edi
call fcn.004a9640
test al, al
je 0x4561a6
lea eax, [edi + 0x2cc]
push eax
lea ecx, [ebp - 0x84]
call fcn.00415ff0
push eax
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x100]
call fcn.00431360
mov ecx, eax
call fcn.00431470
test al, al
je 0x4561a6
lea edx, [edi + 0x2bc]
push edx
lea ecx, [ebp - 0xf0]
call fcn.00415ff0
push eax
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00431360
mov ecx, eax
call fcn.00431440
test al, al
je 0x4561a6
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0xf8]
call fcn.00431360
fld qword [eax]
fstp qword [ebp - 0xd0]
mov edx, dword [edi + 0x2a8]
add edx, 0x10
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.00425d90
mov byte [ebp - 4], 0xa
push 0x59e4c4
push eax
lea edx, [ebp - 0x18]
push edx
call fcn.00425e40
mov byte [ebp - 4], 0xb
push 0x59fc28
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00425e40
mov byte [ebp - 4], 0xc
push 0x59e4c4
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00425e40
mov byte [ebp - 4], bl
lea edx, [ebp - 0x324]
push edx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00425e40
add esp, 0x3c
mov esi, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0x94]
call fcn.004367f0
push esi
mov ecx, eax
call fcn.00407d40
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.00404d60
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
call fcn.00404d60
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x14]
call fcn.00404d60
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18]
call fcn.00404d60
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
call fcn.00404d60
mov esi, dword [ebp - 0x28]
lea edx, [ebp - 0x350]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x456044
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [edi + 0x2b4]
call fcn.0042c7a0
push eax
lea ecx, [ebp - 0x20]
call fcn.00404d10
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x90]
mov ebx, dword [eax]
mov dword [ebp - 0x3c], ebx
cmp ebx, dword [ebp - 0x90]
je 0x45631c
push 0
push 0
lea ecx, [ebp - 0x54]
push ecx
mov eax, dword [ebx + 0x18]
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.0040bfb0
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0xf
call fcn.00455a90
push 0x59d4a4
lea edx, [edi + 0x2b4]
push edx
call fcn.00442c30
add esp, 0x18
test al, al
je 0x4562d8
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x34], esi
cmp esi, dword [ebp - 0x50]
je 0x4562d8
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404d10
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x14]
call fcn.0042c7a0
push 0
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004177a0
cmp eax, 0xffffffff
jne 0x4562be
push esi
lea ecx, [ebp - 0x54]
cmp esi, dword [ebp - 0x54]
je 0x4562a1
lea edx, [ebp - 0x68]
push edx
call fcn.004544a0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x34], eax
lea esi, [eax + 0x18]
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x14]
call fcn.00404d60
jmp 0x456241
lea eax, [ebp - 0x80]
push eax
call fcn.004544a0
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x14]
call fcn.00404d60
jmp 0x456241
mov dword [ebp - 0x58], esi
add esi, 0x18
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x14]
call fcn.00404d60
jmp 0x456241
cmp byte [ebx + 0x21], 0
jne 0x4561ec
mov eax, dword [ebx + 8]
cmp byte [eax + 0x21], 0
jne 0x456300
mov ebx, eax
mov dword [ebp - 0x70], ebx
mov eax, dword [ebx]
cmp byte [eax + 0x21], 0
jne 0x4561e9
jmp 0x4562eb
mov eax, dword [ebx + 4]
cmp byte [eax + 0x21], 0
jne 0x456315
cmp ebx, dword [eax + 8]
jne 0x456315
mov ebx, eax
mov dword [ebp - 0x3c], ebx
jmp 0x456300
mov ebx, eax
jmp 0x4561e9
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x20]
call fcn.00404d60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x94]
call fcn.00437450
mov ecx, dword [edi + 0x28]
mov dword [ebp - 0x5c], ecx
mov dl, byte [edi + 0x24]
mov byte [ebp - 0x68], dl
mov dword [0x5ed808], 0
lea ecx, [edi + 4]
call fcn.00431340
lea eax, [ebp - 0x30]
push eax
push str.ItemsPerPage
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0050a210
add esp, 0xc
test eax, eax
jne 0x456386
push 0x1f4
push str.ItemsPerPage
mov edx, dword [ebp - 0x38]
push edx
call fcn.0050a260
add esp, 0xc
jmp 0x45638c
cmp dword [ebp - 0x30], 0
jne 0x456393
mov dword [ebp - 0x30], 0x1f4
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x54]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, esi
xor edx, edx
mov ecx, dword [ebp - 0x30]
div ecx
mov dword [ebp - 0x28], edx
mov eax, esi
sub eax, edx
xor edx, edx
div ecx
mov ebx, eax
mov dword [ebp - 0x7c], ebx
cmp dword [ebp - 0x28], 0
je 0x4563d7
inc ebx
mov dword [ebp - 0x7c], ebx
lea eax, [esi - 1]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebx - 1]
imul eax, ecx
mov dword [ebp - 0x2c], eax
lea ecx, [edi + 0x2f8]
push ebx
call fcn.00494860
lea ecx, [edi + 0x2f8]
cmp byte [edi + 0x340], 0
jne 0x456422
call fcn.004940a0
mov ecx, dword [ebp - 0x30]
imul eax, ecx
mov dword [ebp - 0x2c], eax
lea ecx, [eax + ecx - 1]
mov dword [ebp - 0x24], ecx
mov byte [edi + 0x340], 1
jmp 0x456428
push ebx
call fcn.004949a0
cmp dword [ebp - 0x24], esi
jl 0x456433
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x40], 0
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 0x78], ebx
cmp ebx, dword [ebp - 0x50]
je 0x45680b
mov ecx, 0x5f5774
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x13
mov ecx, 0x5f5774
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x15
mov ecx, 0x5f5774
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x20]
cmp byte [ebx + 0x14], 0
je 0x4564b0
push 0xbf
jmp 0x4564b5
push 0xb9
call fcn.00407ea0
push 0
push 1
push 0x1002
add edi, 4
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov dword [ebp - 0xc8], 0
push 0x30
push 0
lea ecx, [ebp - 0xc4]
push ecx
call fcn.00555020
add esp, 0xc
mov dword [ebp - 0xc8], 2
mov eax, dword [ebx + 0x10]
dec eax
cmp eax, 6
ja case.default.0x456505
jmp dword [eax*4 + 0x45688c]
push 0x117
mov edx, dword [0x5fd7c0]
push edx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x18], eax
push eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
push str.Jabber
jmp 0x4566c7
push 0x119
mov ecx, dword [0x5fd7c0]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x18], eax
push eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0x59ffb0
jmp 0x4566c7
push 0xdf
mov eax, dword [0x5fd7c0]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x18], eax
push eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0x59ffac
jmp 0x4566c7
push 0xfe
mov edx, dword [0x5fd7c0]
push edx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x18], eax
push eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
push str.YAHOO
jmp 0x4566c7
push 0xfd
mov ecx, dword [0x5fd7c0]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x18], eax
push eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0x59ffa0
jmp 0x4566c7
push 0x10d
mov eax, dword [0x5fd7c0]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x18], eax
push eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
push str.Mail.ru
jmp 0x4566c7
push 0xdc
mov edx, dword [0x5fd7c0]
push edx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x18], eax
push eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0x59ff94
jmp 0x4566c7
push 0x118
mov ecx, dword [0x5fd7c0]
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x18], eax
push eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0x59ff90
lea ecx, [ebp - 0x14]
call fcn.00405c70
lea ecx, [ebp - 0x14]
call fcn.00404db0
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x2c]
jl 0x4567d9
cmp eax, dword [ebp - 0x24]
jg 0x4567d9
mov dword [ebp - 0xc4], getsockname
lea eax, [ebp - 0xc8]
push eax
push 0
push 0x104d
mov ecx, dword [edi]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov edx, dword [ebp - 0x14]
push edx
push 0
push esi
mov ecx, edi
call fcn.00401a50
mov eax, dword [ebx]
push eax
push 1
push esi
mov ecx, edi
call fcn.00401a50
mov eax, dword [ebx + 4]
push eax
push 2
push esi
mov ecx, edi
call fcn.00401a50
mov eax, dword [ebx + 8]
push eax
push 3
push esi
mov ecx, edi
call fcn.00401a50
mov eax, dword [ebp - 0x20]
push eax
push 4
push esi
mov ecx, edi
call fcn.00401a50
push 0x59e2bc
push 0x59d684
lea ecx, [ebx + 0xc]
call fcn.00419570
cmp dword [0x5f7bf0], 0
jne 0x4567c7
mov ecx, dword [ebx + 0xc]
cmp dword [ecx - 0xc], 0x3c
jbe 0x4567c7
push 0x3c
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebx + 0xc]
call fcn.0041e300
mov byte [ebp - 4], 0x18
push 0x59e5dc
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00425e40
add esp, 0xc
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebx + 0xc]
call fcn.00407d40
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x28]
call fcn.00404d60
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x44]
call fcn.00404d60
mov edi, dword [ebx + 0xc]
push edi
push 5
push esi
mov ecx, dword [ebp - 0x64]
add ecx, 4
call fcn.00401a50
inc dword [ebp - 0x40]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x20]
call fcn.00404d60
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x80]
call fcn.00404d60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00404d60
add ebx, 0x18
mov edi, dword [ebp - 0x64]
jmp 0x45643d
mov dword [0x5ed808], 1
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
lea ecx, [edi + 0x24]
call fcn.00432140
lea ecx, [edi + 0x2f8]
call fcn.004940c0
lea ecx, [edi + 0x2f8]
call fcn.00494150
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00404d60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00454460
mov eax, dword [ebp - 0x74]
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret