joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59fe60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.0065ab80
mov edi, dword [ebp + 0x14]
add esp, 0xc
mov dword [ebp - 0x54], esi
test edi, edi
je 0x59fec4
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea eax, [ebp + 0x14]
push 2
push 1
push ebx
push eax
call esi
push eax
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
mov ecx, dword [ebp - 0x28]
neg eax
mov dword [ebp - 0x18], edi
sbb eax, eax
or ecx, 0x100
and eax, dword [ebp + 0x14]
or ecx, 1
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0x10]
xor eax, eax
test edi, edi
push ebx
push ebx
setne al
push eax
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebx, eax
test ebx, ebx
je 0x59ff0b
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x59ff01
mov ecx, dword [ebp - 0x10]
mov dword [edx], ecx
jmp 0x59ff06
push dword [ebp - 0x10]
call esi
push dword [ebp - 0xc]
call esi
test edi, edi
je 0x59ff14
push dword [ebp - 0x14]
call esi
xor eax, eax
test ebx, ebx
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x5a00b6
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x6afae8
call fcn.00640244
push ecx
push esi
push dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00427b8e
push dword [ebp + 8]
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.00427b8e
mov al, byte [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x30], al
mov al, byte [ebp + 0x14]
mov byte [esi + 0x32], al
mov eax, esi
mov byte [esi + 0x31], 0
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5a3d71
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x6b00d2
call fcn.00640244
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x7137d0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], al
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov byte [ebp - 4], 1
call fcn.005a458a
mov ecx, esi
call fcn.005a58a9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x5a40f1
Capabilities:
Delete file

Disassembly:
mov eax, 0x6a16fc
call fcn.00640244
sub esp, 0x18
push ebx
push esi
push edi
push 0x713d4c
lea eax, [ebp - 0x24]
mov esi, ecx
push eax
call fcn.00473603
mov edi, str.sua_pmr
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call fcn.00428460
pop ecx
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.004282ce
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x5a4138
lea eax, [ebp - 0x24]
push ebx
push ebx
push 3
push ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp byte [esi + 0x25], bl
jne 0x5a4154
cmp eax, 0xffffffff
je 0x5a4175
mov bl, 1
cmp eax, 0xffffffff
je 0x5a4175
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x5a416e
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push 0
push 1
lea ecx, [ebp - 0x24]
mov byte [esi + 0x25], 0
call fcn.004281f2
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x5a458a
Capabilities:
Create directory

Disassembly:
mov eax, 0x6a16fc
call fcn.00640244
sub esp, 0x18
push 0x713d4c
lea eax, [ebp - 0x24]
push eax
call fcn.00473603
and dword [ebp - 4], 0
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x5a45b5
lea eax, [ebp - 0x24]
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x5a45ed
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x5a45ed
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x5a45dc
lea eax, [ebp - 0x24]
push eax
push str.Failed_to_create_directory:__S_n
call fcn.0040dfc1
pop ecx
pop ecx
xor bl, bl
jmp 0x5a45ef
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.004281f2
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5a4a98
Capabilities:
Get number of processors

Disassembly:
push ebp
sub esp, 0x64
mov eax, 0x6b0243
call fcn.00640244
sub esp, 0x48
push ebx
push esi
xor ebx, ebx
mov dword [ebp + 0x5c], 7
xor eax, eax
mov dword [ebp + 0x60], ebx
push edi
mov esi, ecx
mov dword [ebp + 0x58], ebx
mov word [ebp + 0x48], ax
push 1
push 0xffffffffffffffff
lea eax, [ebp + 0x64]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp + 0x64], 0x75
call fcn.0043fb86
cmp eax, 0xffffffff
je 0x5a4b02
push dword [esi + 0x10]
mov ecx, esi
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.004407ff
push eax
lea ecx, [ebp + 0x48]
call fcn.00427c6d
push ebx
push 1
lea ecx, [ebp + 0x30]
call fcn.004281f2
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
call fcn.005a4d14
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 1
jb 0x5a4b19
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x30]
call fcn.0040eeff
lea eax, [ebp + 0x48]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00440856
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x5a4b3f
mov eax, dword [eax]
push eax
lea ecx, [ebp + 0x18]
call fcn.0040eeff
lea eax, [ebp + 0x30]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0043964e
mov edi, eax
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp]
push eax
call fcn.0043964e
mov ecx, eax
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 4], 6
jb 0x5a4b7a
mov edi, dword [edi]
cmp dword [ecx + 0x14], 0x10
jb 0x5a4b82
mov ecx, dword [ecx]
movzx eax, byte [esi + 0x35]
push edi
push eax
push dword [esi + 0x38]
movzx eax, byte [esi + 0x34]
push eax
push dword [esi + 0x30]
push ecx
push str._path_:__s___version_:__d___blacklisted_:__d___crash_count_:__d___opt_out_:__d___running_:__s_
push dword [ebp + 0x70]
call fcn.004654bc
add esp, 0x20
lea ecx, [ebp]
push ebx
push 1
call fcn.0040f52f
push ebx
push 1
lea ecx, [ebp - 0x24]
call fcn.0040f52f
push ebx
push 1
lea ecx, [ebp + 0x18]
call fcn.0040f52f
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040f52f
push ebx
push 1
lea ecx, [ebp + 0x30]
call fcn.0040f52f
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.0040f52f
push ebx
push 1
lea ecx, [ebp + 0x48]
call fcn.004281f2
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x70]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x68]
pop ebp
ret 4
Function at 0x5a61a4
Capabilities:
Delete file

Disassembly:
mov eax, 0x6b04e8
call fcn.00640244
sub esp, 0x20
push esi
push edi
mov edi, ecx
mov byte [ebp - 0xd], 1
call fcn.00478821
and dword [ebp - 4], 0
lea eax, [edi + 0x44]
mov esi, dword [eax]
cmp esi, dword [edi + 0x48]
je 0x5a625b
mov ecx, dword [ebp + 8]
and ecx, 0x1ffeffff
mov dword [ebp + 8], ecx
push ebx
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
and eax, 0x1ffeffff
sub eax, ecx
test eax, eax
jle 0x5a6252
lea eax, [ebp - 0x2c]
mov ecx, edx
push eax
call fcn.005a4a1e
push eax
mov byte [ebp - 4], 1
call fcn.0046103f
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
mov bl, al
call fcn.004281f2
test bl, bl
je 0x5a623e
mov ecx, dword [esi]
lea eax, [ebp - 0x2c]
push eax
call fcn.005a4a1e
cmp dword [eax + 0x14], 8
jb 0x5a622b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004281f2
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x44]
call fcn.004f785e
mov ecx, dword [ebp + 8]
mov esi, dword [eax]
jmp 0x5a6255
add esi, 4
cmp esi, dword [edi + 0x48]
jne 0x5a61dd
pop ebx
mov ecx, edi
call fcn.005a6e6d
mov dword [ebp - 4], 2
call fcn.00478862
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x5a6282
Capabilities:
Delete file

Disassembly:
mov eax, 0x6a16fc
call fcn.00640244
mov eax, dword [ebp + 8]
sub esp, 0x18
push edi
mov edi, ecx
test eax, eax
jne 0x5a629d
xor al, al
jmp 0x5a62c6
push esi
mov esi, dword [edi + 0x44]
cmp esi, dword [edi + 0x48]
je 0x5a62c3
mov ecx, dword [eax + 0x30]
mov edx, 0x1ffeffff
and ecx, edx
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
and eax, edx
sub eax, ecx
je 0x5a62d7
add esi, 4
cmp esi, dword [edi + 0x48]
jne 0x5a62b0
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi]
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.005a4a1e
and dword [ebp - 4], 0
push eax
call fcn.0046103f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
push 0
push 1
mov bl, al
call fcn.004281f2
test bl, bl
pop ebx
je 0x5a632a
mov ecx, dword [esi]
lea eax, [ebp - 0x24]
push eax
call fcn.005a4a1e
cmp dword [eax + 0x14], 8
jb 0x5a6317
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.004281f2
push esi
lea ecx, [ebp + 8]
push ecx
lea ecx, [edi + 0x44]
call fcn.004f785e
mov ecx, edi
call fcn.005a6e6d
mov al, 1
jmp 0x5a62c5
Function at 0x5ad31d
Capabilities:
Get file version info

Disassembly:
mov eax, 0x6b0dc3
call fcn.00640244
sub esp, 0x4c
xor edx, edx
mov dword [ebp - 0x20], edx
push esi
mov esi, dword [ebp + 8]
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edx
jb 0x5ad347
mov eax, dword [esi]
jmp 0x5ad349
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], edx
mov dword [ebp - 0x20], 1
call fcn.005ad28e
push eax
lea ecx, [ebp - 0x40]
call fcn.00427b8e
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 1
push eax
call fcn.0046103f
test al, al
je 0x5ad495
cmp dword [ebp - 0x2c], 8
mov eax, dword [ebp - 0x40]
jae 0x5ad38a
lea eax, [ebp - 0x40]
push ebx
lea ecx, [ebp - 0x24]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
or eax, 0
je 0x5ad494
push edi
push ebx
call fcn.004600d6
mov edi, eax
test edi, edi
je 0x5ad493
cmp dword [ebp - 0x2c], 8
mov eax, dword [ebp - 0x40]
jae 0x5ad3bd
lea eax, [ebp - 0x40]
push edi
push ebx
push dword [ebp - 0x24]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x5ad48b
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
and dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x18]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
mov ecx, dword [ebp - 0x14]
shr ecx, 2
mov dword [ebp - 0x28], ecx
test eax, eax
je 0x5ad48b
xor ebx, ebx
test ecx, ecx
je 0x5ad48b
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + ebx*4 + 2]
push eax
movzx eax, word [ecx + ebx*4]
push eax
lea eax, [ebp - 0x58]
push str.StringFileInfo_04x_04xProductVersion
push eax
call fcn.004654e1
add esp, 0x10
and dword [ebp - 0x10], 0
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x44], 8
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 2
jae 0x5ad43d
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x5ad456
cmp dword [ebp - 0x10], 0
jne 0x5ad46e
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.004281f2
inc ebx
cmp ebx, dword [ebp - 0x28]
jl 0x5ad406
jmp 0x5ad48b
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x1c]
call fcn.00438cfb
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.004281f2
push 1
push edi
call fcn.004600c9
pop edi
pop ebx
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.004281f2
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x5ad7a1
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x6b0e43
call fcn.00640244
sub esp, 0x4c
push ebx
push esi
xor bl, bl
call fcn.005ad28e
push eax
call fcn.0046103f
test al, al
je 0x5ad89e
lea eax, [ebp - 0x58]
push eax
call fcn.005ad31d
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0
je 0x5ad873
lea eax, [ebp - 0x58]
mov esi, 0x7e14e0
push eax
sub esp, 0xc
mov ecx, esi
push esp
call fcn.004ba9fd
sub esp, 0xc
mov ecx, esi
push esp
call fcn.005adf84
lea eax, [ebp - 0x1c]
push eax
call fcn.005ac4e9
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.004ba9fd
mov ecx, eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ecx + 8]
setne al
test al, al
je 0x5ad873
call fcn.005ad8b0
call fcn.005ad4b4
push eax
lea ecx, [ebp - 0x34]
call fcn.00427b8e
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 1
jae 0x5ad841
lea eax, [ebp - 0x34]
push eax
call fcn.00460e1e
push 0
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.004281f2
mov ecx, 0x7e1ca8
call fcn.006920e5
test al, al
jne 0x5ad892
and dword [0x7e14d0], 0
call fcn.005acf0e
jmp 0x5ad892
lea eax, [ebp - 0x40]
mov bl, 1
push eax
call dword [sym.imp.KERNEL32.DLL_GetNativeSystemInfo]
cmp word [ebp - 0x40], 6
je 0x5ad892
cmp word [ebp - 0x40], 9
setne al
dec al
and bl, al
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.004281f2
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5aec17
Capabilities:
Read file on windows

Disassembly:
push ebp
sub esp, 0x3c
mov eax, 0x6b1004
call fcn.00640244
sub esp, 0x58
xor eax, eax
push ebx
push esi
push edi
push 8
pop ecx
xor esi, esi
lea edi, [ebp]
push esi
rep stosd dword es:[edi], eax
push 0x80
push 3
lea edi, [ebp + 0x20]
stosd dword es:[edi], eax
push esi
push 3
push SysReAllocString
push dword [ebp + 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
or edi, 0xffffffff
cmp ebx, edi
je 0x5aedd1
push esi
lea eax, [ebp + 0x48]
push eax
push 0x20
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x5aedca
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x2c], esi
cmp dword [ebp + 8], esi
jbe 0x5aedc8
push 0
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
add dword [ebp + 0x38], 0xc
lea eax, [ebp + 0x48]
push 0
push eax
push 0xc
lea eax, [ebp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x5aedca
cmp dword [ebp + 0x20], 5
jne 0x5aed8c
xor esi, esi
push esi
push esi
push dword [ebp + 0x28]
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push esi
lea eax, [ebp + 0x48]
push eax
push 4
lea eax, [ebp + 0x3c]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x5aedca
mov eax, dword [ebp + 0x3c]
shl eax, 4
push eax
call fcn.004600d6
mov esi, eax
lea eax, [ebp + 0x48]
push 0
push eax
mov eax, dword [ebp + 0x3c]
shl eax, 4
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x5aedb6
mov ecx, dword [ebp + 0x3c]
xor edx, edx
mov dword [ebp + 0x34], edx
test ecx, ecx
je 0x5aed73
lea eax, [esi + 0xc]
mov dword [ebp + 0x30], eax
cmp dword [eax - 4], 0x58
jb 0x5aed65
push 0
push 0
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp + 0x48]
push eax
push 0x58
lea eax, [ebp - 0x64]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x5aeda9
cmp dword [ebp - 0x64], 0x464e4956
je 0x5aed9d
mov ecx, dword [ebp + 0x3c]
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x34]
inc edx
add eax, 0x10
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x30], eax
cmp edx, ecx
jb 0x5aed29
mov dword [ebp - 4], 3
test esi, esi
je 0x5aed86
push 1
push esi
call fcn.004600c9
mov esi, dword [ebp + 0x2c]
mov dword [ebp - 4], edi
inc esi
mov dword [ebp + 0x2c], esi
cmp esi, dword [ebp + 8]
jae 0x5aedc8
mov eax, dword [ebp + 0x38]
jmp 0x5aec8f
mov edi, dword [ebp - 0x58]
mov dword [ebp - 4], 2
jmp 0x5aedba
xor eax, eax
inc eax
mov dword [ebp - 4], eax
test esi, esi
je 0x5aedca
push eax
jmp 0x5aedc0
and dword [ebp - 4], 0
test esi, esi
je 0x5aedca
push 1
push esi
call fcn.004600c9
jmp 0x5aedca
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x40]
pop ebp
ret 4
Function at 0x5b8a7a
Capabilities:
Get common file path

Disassembly:
mov eax, 0x6b1b3b
call fcn.00640244
sub esp, 0x254
push esi
push edi
push 1
push 0x1a
lea eax, [ebp - 0x260]
xor edi, edi
push eax
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0047dece
mov esi, 0x6c7da8
mov dword [ebp - 4], edi
push esi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00428988
push str.utorrent
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00428988
push esi
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00428988
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.0040f52f
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.0040f52f
push edi
push 1
lea ecx, [ebp - 0x58]
call fcn.0040f52f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x5b9dcc
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x7e2824]
test eax, eax
je 0x5b9de6
cmp dword [eax + 0x18], 0
je 0x5b9de6
push 0
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x5bfa75
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x5bfb34
cmp edi, dword [esi + 0x200]
je 0x5bfb34
mov ecx, dword [esi + 0x1e0]
xor eax, eax
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, ecx
push 0
sete al
push eax
push 0x8099
push ecx
call ebp
mov ecx, dword [esi + 0x1e4]
xor eax, eax
cmp edi, ecx
push 0
sete al
push eax
push 0x809b
push ecx
call ebp
mov edx, dword [esi + 0x200]
cmp edx, dword [esi + 0x204]
jne 0x5bfaec
mov ecx, dword [esi + 0x194]
test ecx, ecx
je 0x5bfaec
cmp dword [ecx + 0x18], edi
je 0x5bfaec
call fcn.006959ad
jmp 0x5bfb24
mov eax, dword [esi + 0x1dc]
cmp edx, eax
jne 0x5bfb16
cmp edi, eax
je 0x5bfb16
call fcn.005f5c60
test al, al
je 0x5bfb16
push 0
push 0
push 0x8077
push dword [esi + 0x1dc]
call ebp
jmp 0x5bfb24
push 0
push dword [esi + 0x200]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x200], edi
pop ebp
pop edi
pop esi
ret 4
Function at 0x5c0520
Capabilities:
Check internet connectivity via wininet

Disassembly:
mov eax, 0x6b22df
call fcn.00640244
sub esp, 0x50
lea eax, [ebp - 0x10]
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x5c0653
call fcn.005a8e44
test al, al
jne 0x5c0653
call fcn.005dd31e
cmp eax, 1
je 0x5c0653
cmp byte [0x7e13fd], bl
jne 0x5c0653
cmp byte [0x7e29fd], bl
je 0x5c0582
call fcn.005bd197
test al, al
je 0x5c0653
cmp byte [0x7e13fc], bl
je 0x5c0653
cmp dword [0x7e1410], ebx
je 0x5c0653
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
push str.action
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.0040eeff
push ebx
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
push 0x7e1400
call fcn.0040f4ab
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00483a72
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040eb52
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.0040f52f
push ebx
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.0040f52f
push str.BIGADS
lea ecx, [ebp - 0x44]
call fcn.0040eeff
push ebx
push ebx
push ebx
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x30
call fcn.00488d2d
push ebx
push 1
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.0040f52f
push 0x1dd
push 0x350
push 0x80ea
mov ecx, esi
call fcn.005ba1d1
push 0
push 1
lea ecx, [ebp - 0x2c]
mov bl, al
call fcn.0040f52f
mov al, bl
jmp 0x5c0655
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5c14b4
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x194]
call fcn.00695a53
mov eax, dword [esi + 0x200]
cmp eax, dword [esi + 0x204]
je 0x5c14e5
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x204]
mov dword [esi + 0x200], eax
pop esi
ret

Function at 0x5c1fa2
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x7e2828]
test eax, eax
je 0x5c1fcd
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5c1fcd
mov ecx, dword [0x7e2828]
push 0x6c111c
call fcn.0069527e
jmp fcn.005b9d8f
ret
Function at 0x5cbab2
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push ebp
push esi
push edi
mov edi, ecx
push 0x1b
push dword [edi + 4]
mov byte [edi + 0x324], 1
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xb
push eax
call ebp
push 0x1b
push dword [edi + 4]
call ebx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x1b
push dword [edi + 4]
mov esi, eax
and esi, 0xffffbfff
call ebx
push esi
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [edi + 0x23c]
mov ecx, esi
call fcn.005c3d6a
test al, al
je 0x5cbb21
push 0
push dword [esi + 8]
mov ecx, esi
call fcn.0059753d
mov eax, dword [edi + 0x23c]
push 1
mov byte [eax + 0x54], 0
mov ecx, dword [edi + 0x23c]
call fcn.005968b9
mov ecx, dword [edi + 0x23c]
call fcn.0059673e
push 0xd
push 0x71
push 0x42b
push dword [edi + 0x50c]
call ebp
push 0x1b
push dword [edi + 4]
call ebx
push 0
push 1
push 0xb
push eax
call ebp
push 0
push dword [edi + 0x1c8]
call fcn.00591dc5
mov ecx, edi
call fcn.005bfe3c
push 0x1b
push dword [edi + 4]
mov byte [edi + 0x324], 0
call ebx
mov ecx, dword [edi + 0x200]
cmp ecx, eax
jne 0x5cbb99
mov ecx, edi
call fcn.005bdfb6
jmp 0x5cbba8
cmp ecx, dword [edi + 0x1d8]
jne 0x5cbba8
mov ecx, edi
call fcn.005c2690
mov ecx, edi
call fcn.005bb773
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x5cd764
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x6b308e
call fcn.00640244
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0058e7a8
xor edi, edi
mov dword [esi], 0x716cac
mov dword [ebp - 4], edi
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 1
mov dword [esi + 0x40], edi
call fcn.005d9a91
push edi
lea ecx, [esi + 0x54]
call fcn.005d9966
xor ecx, ecx
lea eax, [esi + 0xa8]
mov dword [esi + 0x60], ecx
mov dword [esi + 0x84], ecx
mov word [esi + 0x88], cx
mov byte [esi + 0x8f], cl
mov dword [eax + 0x10], ecx
push 8
pop ecx
mov dword [eax + 0x14], 7
cmp dword [eax + 0x14], ecx
jb 0x5cd7d4
mov eax, dword [eax]
xor edx, edx
mov word [eax], dx
push dword [ebp + 8]
xor eax, eax
mov byte [ebp - 4], 3
lea edi, [esi + 0x64]
rep stosd dword es:[edi], eax
inc dword [0x7e2978]
lea ecx, [esi + 0x30]
call fcn.005cd934
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x58]
mov dword [esi + 0x34], eax
xor edx, edx
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x3c], edx
pop edi
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, esi
mov dword [esi + 0x5c], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x8a], edx
mov byte [esi + 0x8e], 1
mov dword [esi + 0x94], edx
mov dword [esi + 0x98], edx
mov dword [esi + 0xa0], edx
mov dword [esi + 0xa4], edx
mov dword [esi + 0x9c], edx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10