joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5addbc30
Capabilities:
Query or enumerate registry value

Disassembly:
lea eax, [ebp - 0x210]
push eax
call fcn.5adcc3af
jmp 0x5addbcc3
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5adf1018]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x2001f
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], eax
call fcn.5addbbf3
xor ebx, ebx
cmp esi, ebx
je 0x5ade2b14
lea eax, [ebp - 0x214]
push eax
push 1
push ebx
push 0x5addbb80
push dword [ebp - 0x218]
mov dword [ebp - 0x21c], 0x20a
mov dword [ebp - 0x214], ebx
call dword [sym.imp._CADVAPI.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x5addbcc0
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x220]
push eax
push ebx
push edi
push dword [ebp - 0x214]
call dword [sym.imp._CADVAPI.dll_RegQueryValueExW]
cmp eax, ebx
je 0x5adcc7b4
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x214]
mov dword [esi], eax
call dword [sym.imp._CADVAPI.dll_RegCloseKey]
lea ecx, [ebp - 0x218]
call fcn.5addbc14
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
pop ebx
call fcn.5adc1549
leave
ret 0xc
push 0x80070057
call fcn.5adc157d
mov ebx, eax
jmp 0x5addbcd1

Function at 0x5addc169
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x14]
lea eax, [edi + edi]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 8]
push eax
xor esi, esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
mov dword [ebp - 8], esi
call dword [sym.imp._CADVAPI.dll_RegQueryValueExW]
cmp eax, esi
je 0x5ade2c88
push eax
call fcn.5adc157d
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp - 8], 2
je 0x5ade2ca0
push 0x25
push ebx
call sub._Cmvrt.dll_wcschr
test eax, eax
pop ecx
pop ecx
je 0x5addc1af
push ebx
call dword [sym.imp._CKERNEL.dll_lstrlenW]
lea esi, [eax + eax + 2]
lea eax, [esi + esi]
push eax
call sub._Cmvrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [ebp + 0x14], eax
je 0x5addc1af
push ebx
push esi
push eax
call fcn.5adc15cb
push edi
push ebx
push dword [ebp + 0x14]
call dword [sym.imp._CKERNEL.dll_ExpandEnvironmentStringsW]
cmp eax, edi
jbe 0x5ade2ce1
push 0x7a
call fcn.5adc157d
mov dword [ebp - 4], eax
push dword [ebp + 0x14]
call sub._Cmvrt.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x5addc1af
Function at 0x5ade43db
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
cmp dword [edi + 4], ebx
mov dword [ebp - 4], ebx
je 0x5ade442e
cmp dword [ebp + 8], ebx
jne 0x5ade43fa
xor eax, eax
jmp 0x5ade4420
push dword [ebp + 8]
call dword [sym.imp._CKERNEL.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and eax, 0xfffffffc
call fcn.5addf3a4
mov eax, esp
push esi
push dword [ebp + 8]
push eax
call fcn.5ade4267
push ebx
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 0xc]
shr ecx, 1
push ecx
push eax
jmp 0x5ade4439
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi]
call dword [sym.imp._CKERNEL.dll_WriteFile]
test eax, eax
jne 0x5ade444d
call fcn.5adeddc4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x5ade7f54
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x5adf1018]
push ebx
push edi
mov edi, dword [ebp + 8]
push 2
lea ecx, [ebp - 0xdc]
mov dword [ebp - 4], eax
call fcn.5addbbf3
lea eax, [ebp - 0xd8]
push eax
push 2
xor ebx, ebx
push ebx
push 0x5ade80e4
lea ecx, [ebp - 0xdc]
call fcn.5addbcf2
push eax
call dword [sym.imp._CADVAPI.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x5ade80a2
push esi
push ebx
lea eax, [ebp - 0xd4]
push eax
push ebx
push 0x1008
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xd4], ebx
call sym.UxTheme.dll_Ordinal_45
push ebx
call dword [sym.imp._CUSER.dll_GetDC]
mov esi, eax
cmp esi, ebx
je 0x5ade7fed
push 0xc
push esi
call dword [sym.imp._CGDI.dll_GetDeviceCaps]
cmp eax, 8
jg 0x5ade7fe5
mov dword [ebp - 0xd4], ebx
push esi
push ebx
call dword [sym.imp._CUSER.dll_ReleaseDC]
xor esi, esi
cmp dword [0x5ade8110], ebx
jle 0x5ade8093
add edi, 0x228
cmp esi, 0x1b
je 0x5ade800b
cmp esi, 0x1c
jne 0x5ade8013
cmp dword [ebp - 0xd4], ebx
je 0x5ade8083
mov eax, dword [edi]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
push ecx
movzx ecx, ah
push ecx
movzx eax, al
push eax
push 0x5ade80d0
lea eax, [ebp - 0xcc]
push 0x64
push eax
call fcn.5adcd351
add esp, 0x18
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp._CKERNEL.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0xcc]
push eax
push 1
push ebx
push dword [esi*4 + 0x5adf1e00]
push dword [ebp - 0xd8]
call dword [sym.imp._CADVAPI.dll_RegSetValueExW]
cmp eax, ebx
je 0x5ade8083
cmp dword [ebp - 0xd0], ebx
jl 0x5ade8083
push eax
call fcn.5adc157d
mov dword [ebp - 0xd0], eax
inc esi
add edi, 4
cmp esi, dword [0x5ade8110]
jl 0x5ade8001
push dword [ebp - 0xd8]
call dword [sym.imp._CADVAPI.dll_RegCloseKey]
pop esi
jmp 0x5ade80ae
push eax
call fcn.5adc157d
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0xdc]
call fcn.5addbc14
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xd0]
pop edi
pop ebx
call fcn.5adc1549
leave
ret 4
Function at 0x5ade8385
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5ade8434
cmp dword [ebp + 0xc], 0
push ebx
jne 0x5ade842b
push 0x5adca1fc
call dword [sym.imp._CKERNEL.dll_LoadLibraryW]
test eax, eax
mov dword [ebp - 4], eax
je 0x5ade842b
push 0x2dc
push 0x40
call dword [sym.imp._CKERNEL.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x5ade8422
push edi
mov ecx, 0xb6
mov edi, ebx
lea eax, [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
push eax
xor esi, esi
push esi
push 0xc
mov dword [ebp + 0xc], esi
call dword [sym.imp._CKERNEL.dll_GetCurrentThread]
push eax
call dword [sym.imp._CADVAPI.dll_OpenThreadToken]
test eax, eax
pop edi
je 0x5ade8415
mov eax, dword [ebp + 0xc]
push esi
push esi
push ebx
push 0x5ade8322
push esi
push esi
mov dword [ebx + 0x2d8], eax
call dword [sym.imp._CKERNEL.dll_CreateThread]
cmp eax, esi
je 0x5ade841b
push eax
call dword [sym.imp._CKERNEL.dll_CloseHandle]
jmp 0x5ade8433
call dword [sym.imp._CKERNEL.dll_GetLastError]
push ebx
call dword [sym.imp._CKERNEL.dll_LocalFree]
push dword [ebp - 4]
call dword [sym.imp._CKERNEL.dll_FreeLibrary]
push dword [ebp + 8]
call fcn.5ade8144
pop ebx
pop esi
leave
ret 8
Function at 0x5adeb150
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x5adf1018]
push ebx
push 0x2001f
lea ecx, [ebp - 0x82c]
mov dword [ebp - 4], eax
call fcn.5addbbf3
lea eax, [ebp - 0x828]
push eax
push 1
xor ebx, ebx
push ebx
push 0x5adeb4a0
lea ecx, [ebp - 0x82c]
call fcn.5addbcf2
push eax
call dword [sym.imp._CADVAPI.dll_RegOpenKeyExW]
test eax, eax
jne 0x5adeb30e
push esi
push edi
mov edx, 0x81
mov word [ebp - 0x61c], bx
mov ecx, edx
lea edi, [ebp - 0x61a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x20c], bx
mov ecx, edx
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x414], bx
mov ecx, edx
lea edi, [ebp - 0x412]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x104
push esi
lea eax, [ebp - 0x61c]
push eax
push 0x5adeb478
push dword [ebp - 0x828]
call fcn.5addc169
xor ecx, ecx
test eax, eax
push esi
setge cl
lea eax, [ebp - 0x20c]
push eax
push 0x5adeb448
push dword [ebp - 0x828]
mov edi, ecx
call fcn.5addc169
test eax, eax
jge 0x5adeb22d
cmp edi, ebx
jne 0x5adeb22d
xor edi, edi
jmp 0x5adeb230
xor edi, edi
inc edi
push esi
lea eax, [ebp - 0x414]
push eax
push 0x5adeb418
push dword [ebp - 0x828]
call fcn.5addc169
test eax, eax
jge 0x5adeb254
cmp edi, ebx
je 0x5adeb300
push esi
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp._CKERNEL.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x5adeb300
push 0xa28
call sub._Cmvrt.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
cmp esi, ebx
pop ecx
je 0x5adeb300
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x824]
push eax
push 0x5adeb390
push 0x514
push esi
call fcn.5adcd351
add esp, 0x20
lea eax, [ebp - 0x830]
push eax
push 2
push ebx
push 0x5adeb328
lea ecx, [ebp - 0x82c]
call fcn.5addbcf2
push eax
call dword [sym.imp._CADVAPI.dll_RegOpenKeyExW]
test eax, eax
jne 0x5adeb2f9
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x830]
call fcn.5aded9da
push dword [ebp - 0x830]
call dword [sym.imp._CADVAPI.dll_RegCloseKey]
push esi
call sub._Cmvrt.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 0x828]
call dword [sym.imp._CADVAPI.dll_RegCloseKey]
pop edi
pop esi
lea ecx, [ebp - 0x82c]
call fcn.5addbc14
mov ecx, dword [ebp - 4]
pop ebx
call fcn.5adc1549
leave
ret
Function at 0x5adec37f
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xaac
mov eax, dword [0x5adf1018]
or dword [ebp - 0xaa8], 0xffffffff
and dword [ebp - 0xaac], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0xaa0], edi
mov dword [ebp - 0xa9c], ebx
call dword [sym.imp._CKERNEL.dll_IsBadStringPtrW]
test eax, eax
je 0x5adec3d7
push 0x80004003
call fcn.5adc157d
mov esi, eax
jmp 0x5adec5dd
push ebx
call dword [sym.imp._CKERNEL.dll_IsBadCodePtr]
test eax, eax
jne 0x5adec3c6
test ebx, ebx
jne 0x5adec3fb
push 0x80070057
call fcn.5adc157d
mov dword [ebp - 0xa94], eax
jmp 0x5adec5d7
push edi
push 0x5adec62c
lea eax, [ebp - 0x834]
push esi
push eax
call fcn.5adcd351
add esp, 0x10
xor ebx, ebx
push 0x1000
inc ebx
call dword [sym.imp._CUSER.dll_GetSystemMetrics]
test eax, eax
setne byte [ebp - 0xa85]
and dword [ebp - 0xa98], 0
cmp byte [ebp - 0xa85], 0
je 0x5adec443
call fcn.5adedac3
mov dword [ebp - 0xa98], eax
lea eax, [ebp - 0xa84]
push eax
lea eax, [ebp - 0x834]
push eax
call dword [sym.imp._CKERNEL.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0xa90], eax
je 0x5adec5bb
mov edi, dword [sym.imp._CUSER.dll_LoadStringW]
test ebx, ebx
je 0x5adec5bb
test byte [ebp - 0xa84], 0x10
je 0x5adec5a1
mov ebx, dword [sym.imp._CKERNEL.dll_lstrcmpW]
push 0x5adec628
lea eax, [ebp - 0xa58]
push eax
call ebx
test eax, eax
je 0x5adec5a1
push 0x5adec620
lea eax, [ebp - 0xa58]
push eax
call ebx
test eax, eax
je 0x5adec5a1
lea eax, [ebp - 0xa58]
push eax
push eax
push dword [ebp - 0xaa0]
lea eax, [ebp - 0x210]
push 0x5adec5fc
push esi
push eax
call fcn.5adcd351
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
call fcn.5adeaed1
test eax, eax
jl 0x5adec5a1
lea eax, [ebp - 0xa8c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.5adcc493
test eax, eax
mov dword [ebp - 0xa94], eax
jl 0x5adec5a1
push esi
lea eax, [ebp - 0x41c]
push eax
push 0x1388
push dword [ebp - 0xa8c]
call edi
test eax, eax
jne 0x5adec52b
and word [ebp - 0x41c], ax
push esi
lea eax, [ebp - 0x628]
push eax
push 0x1389
push dword [ebp - 0xa8c]
call edi
test eax, eax
jne 0x5adec54b
and word [ebp - 0x628], ax
cmp byte [ebp - 0xa85], 0
mov bl, 1
je 0x5adec56b
push 0xffffffffffffffff
push dword [ebp - 0xa98]
push dword [ebp - 0xa8c]
call fcn.5adedb7b
mov bl, al
push dword [ebp - 0xa8c]
call dword [sym.imp._CKERNEL.dll_FreeLibrary]
test bl, bl
je 0x5adec5a1
push dword [ebp + 0x10]
lea eax, [ebp - 0x628]
push 0
push eax
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
call dword [ebp - 0xa9c]
test eax, eax
je 0x5adec5c2
lea eax, [ebp - 0xa84]
push eax
push dword [ebp - 0xa90]
call dword [sym.imp._CKERNEL.dll_FindNextFileW]
mov ebx, eax
jmp 0x5adec46c
and dword [ebp - 0xa94], 0
cmp dword [ebp - 0xa90], 0
je 0x5adec5d7
push dword [ebp - 0xa90]
call dword [sym.imp._CKERNEL.dll_FindClose]
mov esi, dword [ebp - 0xa94]
lea ecx, [ebp - 0xaac]
call fcn.5adc2193
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.5adc1549
leave
ret 0xc
Function at 0x5aded668
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0x20006
lea ecx, [ebp - 8]
call fcn.5addbbf3
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 2
push esi
push esi
push esi
push 0x5addbb80
push dword [ebp - 8]
mov dword [ebp - 4], esi
call dword [sym.imp._CADVAPI.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x5aded6af
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp._CADVAPI.dll_RegDeleteValueW]
cmp eax, esi
je 0x5aded6bd
jle 0x5aded6bb
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp._CADVAPI.dll_RegCloseKey]
lea ecx, [ebp - 8]
call fcn.5addbc14
mov eax, esi
pop esi
leave
ret 4

Function at 0x5aded756
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp._CKERNEL.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret 4

Function at 0x5aded95a
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5adf1018]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push 0x5adda3b4
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push 0x105
push eax
xor ebx, ebx
call fcn.5adcd351
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp._CKERNEL.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push ebx
push edi
push esi
call dword [sym.imp._CADVAPI.dll_RegSetValueExW]
test eax, eax
je 0x5aded9c4
push eax
call fcn.5adc157d
mov ebx, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
pop ebx
call fcn.5adc1549
leave
ret 0xc

Function at 0x5adeda1a
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5adf1018]
and dword [ebp - 0x214], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x105
lea ecx, [ebp - 0x210]
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push 0x5adda004
push eax
mov ebx, eax
call fcn.5adda023
test eax, eax
je 0x5adeda63
lea ebx, [ebp - 0x210]
push ebx
call dword [sym.imp._CKERNEL.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push ebx
push 2
push 0
push edi
push esi
call dword [sym.imp._CADVAPI.dll_RegSetValueExW]
test eax, eax
pop edi
pop esi
pop ebx
je 0x5adeda8f
push eax
call fcn.5adc157d
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x214]
call fcn.5adc1549
leave
ret 0xc
Function at 0x5adedbff
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
or dword [ebp - 0xc], 0xffffffff
push esi
push edi
xor edi, edi
push edi
push edi
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], edi
call fcn.5aded6da
cmp eax, edi
jge 0x5adedc2a
mov esi, eax
jmp 0x5adedd3b
push ebx
push edi
push dword [ebp - 0xc]
call dword [sym.imp._CKERNEL.dll_GetFileSize]
mov ebx, dword [sym.imp._CKERNEL.dll_LocalAlloc]
mov esi, eax
lea eax, [esi + 2]
push eax
push edi
call ebx
mov edi, eax
test edi, edi
jne 0x5adedc56
call fcn.5adeddc4
mov esi, eax
jmp 0x5adedd3a
test esi, esi
je 0x5adedc96
lea eax, [ebp - 4]
push eax
push esi
push edi
lea ecx, [ebp - 0xc]
call fcn.5aded720
test eax, eax
mov dword [ebp + 8], eax
jge 0x5adedc7e
push edi
call dword [sym.imp._CKERNEL.dll_LocalFree]
mov esi, dword [ebp + 8]
jmp 0x5adedd3a
cmp dword [ebp - 4], esi
je 0x5adedc96
push edi
call dword [sym.imp._CKERNEL.dll_LocalFree]
push 0x80004005
call fcn.5adc157d
jmp 0x5adedc4f
lea ecx, [ebp - 0xc]
call fcn.5adcdd4d
lea eax, [ebp + 8]
push eax
push edi
mov byte [edi + esi], 0
mov byte [edi + esi + 1], 0
call fcn.5aded8d6
test eax, eax
je 0x5adedce0
mov eax, dword [ebp + 8]
test eax, eax
je 0x5adedccf
test esi, esi
je 0x5adedccf
sub esi, eax
push esi
add eax, edi
push eax
push edi
call sub._Cmvrt.dll_memmove
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x5adedd38
and dword [eax], 0
jmp 0x5adedd38
lea eax, [esi + esi + 2]
push eax
push 0
call ebx
mov ebx, eax
test ebx, ebx
jne 0x5adedcff
call fcn.5adeddc4
push edi
mov esi, eax
call dword [sym.imp._CKERNEL.dll_LocalFree]
jmp 0x5adedd3a
inc esi
push esi
push ebx
push edi
call fcn.5aded91b
test eax, eax
mov dword [ebp + 8], eax
push edi
jge 0x5adedd20
mov esi, dword [sym.imp._CKERNEL.dll_LocalFree]
call esi
push ebx
call esi
jmp 0x5adedc76
call dword [sym.imp._CKERNEL.dll_LocalFree]
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x5adedd38
mov dword [eax], 1
xor esi, esi
pop ebx
lea ecx, [ebp - 0xc]
call fcn.5adcdd4d
pop edi
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x40bd2d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
push esi
mov esi, eax
push esi
call fcn.0040a331
cmp eax, 0x3f6
jae 0x40bf41
push ebx
push edi
push 0x3c
pop edi
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x44]
push eax
call fcn.0040a236
mov cl, byte [esi]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 0x5c0
cmp cl, 0x22
jne 0x40bd75
lea eax, [esi + 1]
mov dword [ebp - 0x34], eax
jmp 0x40bd78
mov dword [ebp - 0x34], esi
xor eax, eax
cmp cl, bl
je 0x40bdbd
mov ecx, esi
cmp byte [ecx], 0x22
jne 0x40bd99
jmp 0x40bd8d
cmp byte [eax + esi], 0x22
je 0x40bd95
inc eax
cmp byte [eax + esi], bl
jne 0x40bd87
jmp 0x40bd99
mov byte [eax + esi], 0x20
cmp byte [eax + esi], 0x20
je 0x40bdb0
cmp byte [eax + esi + 1], 0x2f
je 0x40bdb0
inc eax
lea ecx, [eax + esi]
cmp byte [ecx], bl
jne 0x40bd80
jmp 0x40bdbd
add eax, esi
cmp byte [eax], 0x20
jne 0x40bdb9
mov byte [eax], bl
inc eax
mov dword [ebp - 0x30], eax
cmp byte [ebp + 8], bl
jne 0x40bdd1
cmp byte [0x41a392], bl
je 0x40bdd1
mov dword [ebp - 0x30], 0x41a392
push dword [ebp - 0x34]
mov dword [ebp - 0x28], 1
call fcn.0040763d
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x40bdfd
push str..inf
push eax
call fcn.0040a547
test eax, eax
jne 0x40bdfd
mov dword [ebp - 0x38], str.Install
push ebx
push dword [ebp - 0x34]
call fcn.00405728
mov byte [ebp - 1], al
cmp al, bl
je 0x40be25
lea eax, [ebp - 0x844]
push eax
push dword [ebp - 0x34]
call fcn.004057de
lea eax, [ebp - 0x844]
mov dword [ebp - 0x34], eax
cmp byte [ebp + 8], bl
je 0x40be64
cmp byte [ebp - 1], bl
jne 0x40be64
push dword [ebp - 0x34]
lea eax, [ebp - 0x444]
push eax
call fcn.0040a424
push str..exe
lea eax, [ebp - 0x444]
push eax
call fcn.0040a58f
push ebx
lea eax, [ebp - 0x444]
push eax
call fcn.00405728
test al, al
je 0x40bf3f
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea eax, [ebp - 0x44]
push eax
call edi
test eax, eax
setne al
cmp al, bl
jne 0x40be96
and dword [ebp - 0x40], 0xfffffbff
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x34], esi
call edi
test eax, eax
setne al
cmp al, bl
je 0x40bf3f
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 1], bl
cmp byte [0x419f88], bl
jne 0x40beac
cmp byte [ebp + 8], bl
je 0x40bee3
mov eax, dword [0x419f80]
cmp eax, ebx
je 0x40becd
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40becd
push ebx
push dword [0x419f80]
call esi
mov byte [ebp - 1], 1
push 0x7d0
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0xc]
call fcn.0040b697
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], ebx
je 0x40bf02
push str..exe
push dword [ebp - 8]
call fcn.0040a547
test eax, eax
je 0x40bf30
cmp byte [0x419f88], bl
je 0x40bf16
cmp byte [ebp + 8], bl
jne 0x40bf16
push 0x1b58
jmp 0x40bf2a
xor eax, eax
cmp byte [ebp + 8], bl
sete al
dec eax
and eax, 0xfffffce0
add eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebp - 1], bl
je 0x40bf3f
push 1
push dword [0x419f80]
call esi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x40d8c2
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x465ec0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x43000]
push edi
or ebp, 0xffffffff
jmp 0x465ee2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x465ee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x465ed8
mov eax, 1
add ebx, ebx
jne 0x465efb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x465ef0
jne 0x465f0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465ef0
xor ecx, ecx
sub eax, 3
jb 0x465f20
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465f92
mov ebp, eax
add ebx, ebx
jne 0x465f2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465f38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465f5c
inc ecx
add ebx, ebx
jne 0x465f48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465f3d
jne 0x465f59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465f3d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465f7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465f6d
jmp 0x465ede
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465f7c
add edi, ecx
jmp 0x465ede
pop esi
mov edi, esi
mov ecx, 0xf58
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465f9a
cmp byte [edi], 0xe
jne 0x465f9a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x465f9f
lea edi, [esi + 0x62000]
mov eax, dword [edi]
or eax, eax
je 0x466017
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x871b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x872a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465fcc
mov ecx, edi
jns 0x465ffb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x872ac]
or eax, eax
je 0x466011
mov dword [ebx], eax
add ebx, 4
jmp 0x465fe9
call dword [esi + 0x872bc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x466048
cmp al, 0xef
ja 0x46603b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x46601d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x46602a
mov ebp, dword [esi + 0x872b0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x46607c
sub esp, 0xffffff80
jmp 0x41317f
Function at 0x401c96
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push ebx
mov esi, 0x19
mov eax, esi
sub eax, 1
movzx esi, al
mov eax, esi
shl eax, 8
movzx edi, al
mov eax, ebx
imul eax, eax
add eax, 0x125e
mov dword [ebp - 4], eax
mov ebx, ebx
push 0x5503
push 0x3d78
push 0x73e0
call fcn.00402221
mov dword [ebp - 8], eax
mov eax, esi
movzx edi, al
cmp edi, 0x18
je 0x401cf4
push 0x82806
push 0x94960
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov dword [ebp - 4], 0x6d99
mov eax, esi
shl eax, 8
movzx esi, al
mov eax, edi
imul eax, eax
mov dword [ebp - 0xc], eax
mov ebx, 0x777f
mov eax, dword [ebp - 4]
mov byte [ebp - 0x10], al
push 0xe86
push 0x36a4
call fcn.00401c26
mov ebx, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret