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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
push esi
jne 0x41401b
xor eax, eax
jmp 0x414062
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 8], 4
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
je 0x41405f
push esi
push str._GetLastError_
push dword [ebp + 0xc]
push str.:4:GetRegDword___s___FAILED:_RegQueryValueEx___FAILED:__s_ld
call fcn.0042bd38
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x414017
mov eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0x4147d6
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
and dword [ebp - 8], eax
lea edi, [ebp - 2]
stosw word es:[edi], ax
call fcn.00414d12
test eax, eax
mov ecx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov word [ebp - 4], cx
mov word [ebp - 2], bx
mov edi, dword [ebp - 4]
je 0x414815
cmp eax, 0xffffffff
je 0x414815
push edi
push eax
call esi
mov dword [ebp - 8], eax
jmp 0x41482a
push str._GetLastError_
push eax
push ebx
push ecx
push str.:7:SetConsoleCursorPosServer__d___d_:_FAILED___x:__s
call fcn.0042b70b
add esp, 0x14
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff5
call ebx
test eax, eax
je 0x414841
cmp eax, 0xffffffff
je 0x414841
push edi
push eax
call esi
push 0xfffffffffffffff4
call ebx
test eax, eax
je 0x414852
cmp eax, 0xffffffff
je 0x414852
push edi
push eax
call esi
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push str.CONOUT_
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x414878
push edi
push eax
call esi
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4163e5
Capabilities:
Set console window title

Disassembly:
mov eax, dword [0x60a4d4]
test eax, eax
push ebx
push edi
mov edi, dword [esp + 0xc]
je 0x416426
xor ebx, ebx
inc ebx
test eax, eax
mov dword [0x60a4d8], ebx
je 0x41640e
push 0x19
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x60a4d4]
test edi, edi
je 0x416418
test eax, eax
jne 0x4163f4
jmp 0x416429
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
jmp 0x416532
xor ebx, ebx
inc ebx
test edi, edi
je 0x416530
push esi
mov esi, 0x60a4e0
push edi
mov ecx, 0x104
mov eax, esi
call fcn.004ccc3f
pop ecx
mov eax, edi
call fcn.004ccb8b
mov cl, byte [0x60a4e0]
xor edx, edx
xor eax, eax
jmp 0x416482
test edx, edx
je 0x41646c
cmp cl, 0x29
jne 0x416463
xor edx, edx
mov byte [eax + 0x60a5e8], 0x20
jmp 0x41647b
cmp cl, 0x28
jne 0x416475
mov edx, ebx
jmp 0x416463
mov byte [eax + 0x60a5e8], cl
mov cl, byte [eax + 0x60a4e1]
inc eax
test cl, cl
jne 0x416458
push ebp
mov ebp, 0x60a5e8
push ebp
push esi
mov byte [eax + 0x60a5e8], cl
call fcn.00531180
test eax, eax
pop ecx
pop ecx
je 0x41650f
call fcn.00416283
test eax, eax
jne 0x41650f
and dword [esp + 0x14], eax
and dword [0x60a4d8], eax
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ebx, 0x60a4d8
call fcn.00411e46
test eax, eax
jne 0x416503
cmp dword [esp + 0x14], eax
mov dword [0x60a4d4], 1
je 0x4164e0
push ebp
call edi
mov eax, 0x2ee
jmp 0x4164e8
push esi
call edi
mov eax, 0x5dc
call fcn.004fa824
xor eax, eax
cmp dword [esp + 0x14], eax
sete al
cmp dword [0x60a4d8], 0
mov dword [esp + 0x14], eax
je 0x4164bd
push esi
call edi
and dword [0x60a4d4], 0
jmp 0x41652e
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
and dword [0x60a4d4], 0
push 0x3e8
mov dword [0x60a4d8], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
pop ebp
pop esi
xor eax, eax
pop edi
pop ebx
ret 4
Function at 0x416537
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and word [ebp - 4], 0
push ebx
push esi
mov ebx, eax
xor eax, eax
and dword [ebp - 8], eax
test ebx, ebx
push edi
lea edi, [ebp - 2]
mov esi, ecx
stosw word es:[edi], ax
jne 0x416568
cmp esi, 0x100
mov ebx, 0x60a6f0
jb 0x416568
mov esi, 0xff
mov eax, ebx
call fcn.004ccb8b
test esi, esi
jg 0x416587
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.:3:GetConsoleText__d___d___d__FAILED:_iCount_is_invalid:__d
call fcn.0042bd38
jmp 0x4165d2
mov ax, word [ebp + 8]
mov edi, dword [ebp + 0xc]
mov word [ebp - 4], ax
lea eax, [ebp - 8]
push eax
mov word [ebp - 2], di
push dword [ebp - 4]
push esi
push ebx
call fcn.00414d12
push eax
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
test eax, eax
jne 0x4165d5
cmp byte [0x609f02], al
jne 0x4165d5
push str._GetLastError_
push esi
push edi
push dword [ebp + 8]
push str.:3:GetConsoleText__d___d___d__FAILED:_ReadConsoleOutputCharacter___FAILED:__s
call fcn.0042bd38
mov byte [0x609f02], 1
add esp, 0x14
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x416629
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp + 0x90], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xa8]
mov ebx, 0x100
lea esi, [ebx - 1]
push esi
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x6f]
push 0
push eax
mov byte [ebp - 0x70], 0
call fcn.005306b0
and word [ebp - 0x74], 0
xor eax, eax
and dword [ebp - 0x80], eax
lea edi, [ebp - 0x72]
stosw word es:[edi], ax
mov eax, dword [ebp - 0x78]
add esp, 0xc
call fcn.004ccc2f
test eax, eax
je 0x416696
xor eax, eax
jmp 0x416742
push dword [ebp - 0x7c]
lea edi, [ebp - 0x70]
push dword [ebp - 0x78]
mov eax, edi
push esi
push eax
jmp 0x4166d3
lea eax, [ebp - 0x70]
cmp edi, eax
je 0x4166b3
push edi
call fcn.0053061e
pop ecx
add ebx, ebx
lea eax, [ebx + 0xa]
push eax
push 1
call fcn.00530848
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x41668f
push dword [ebp - 0x7c]
lea eax, [ebx - 1]
push dword [ebp - 0x78]
push eax
push edi
call fcn.00533027
add esp, 0x10
cmp eax, 0xffffffff
je 0x4166a5
mov ebx, dword [ebp + 0x9c]
mov esi, dword [ebp + 0xa0]
lea ecx, [ebp - 0x80]
push ecx
mov word [ebp - 0x74], bx
mov word [ebp - 0x72], si
push dword [ebp - 0x74]
push eax
push edi
call fcn.00414d12
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
test eax, eax
jne 0x416731
cmp byte [0x609f03], al
jne 0x416731
push str._GetLastError_
push edi
push esi
push ebx
push str.:3:OutConsole__d___d___s__FAILED:_WriteConsoleOutputCharacter___FAILED:__s
call fcn.0042bd38
add esp, 0x14
mov byte [0x609f03], 1
lea eax, [ebp - 0x70]
cmp edi, eax
je 0x41673f
push edi
call fcn.0053061e
pop ecx
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 0x90]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
add ebp, 0x94
leave
ret
Function at 0x417546
Capabilities:
Impersonate user

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
mov esi, 0x60ab20
mov edx, esi
call fcn.004ccc0d
test eax, eax
je 0x417563
xor eax, eax
jmp 0x4175d6
push ebx
lea eax, [ebp - 4]
push eax
push 3
push 4
push 0x60ac20
push 0x551adc
push esi
call dword [sym.imp.ADVAPI32.dll_LogonUserA]
test eax, eax
je 0x4175be
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov ebx, eax
test ebx, ebx
je 0x41759f
push esi
push str.:0:FYI_Alternate_logon__s_succeeded.
call fcn.0042bd38
pop ecx
pop ecx
jmp 0x4175b2
push str._GetLastError_
push esi
push str.:4:ImpAlternateCreateProcessLogon___encountered_a_problem:_LogonUser___s___Succeeded__but_ImpersonateLoggedOnUser___FAILED:__s
call fcn.0042b70b
add esp, 0xc
push edi
mov edi, dword [ebp - 4]
call fcn.00435716
pop edi
jmp 0x4175d3
push str._GetLastError_
push esi
push str.:4:ImpAlternateCreateProcessLogon___encountered_a_problem:_LogonUser___s___FAILED:__s
call fcn.0042b70b
add esp, 0xc
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
leave
ret
Function at 0x417ccc
Capabilities:
Shutdown system

Disassembly:
push esi
push str.SeShutdownPrivilege
xor esi, esi
push esi
call fcn.00418340
test eax, eax
pop ecx
pop ecx
jne 0x417cee
push 1
push str.:3:RestartWindows__d__could_not_enable_the_shut_down_privilege_
call fcn.0042b70b
pop ecx
pop ecx
push 0x80040002
push 1
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExA]
test eax, eax
jne 0x417d18
push esi
push esi
push 1
push str.:3:RestartWindows__d___d___d__FAILED:_InitiateSystemShutdownEx___FAILED_
call fcn.0042b70b
add esp, 0x10
xor eax, eax
pop esi
ret
xor eax, eax
inc eax
pop esi
ret

Function at 0x417d1d
Capabilities:
Get disk size
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0xf0]
push 0x90
mov dword [ebp - 0xf4], esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x9c]
push esi
push eax
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa0], esi
call fcn.005306b0
push 8
pop ecx
xor eax, eax
mov dword [ebp - 0xd4], esi
lea edi, [ebp - 0xd0]
rep stosd dword es:[edi], eax
mov edi, 0x94
push edi
lea eax, [ebp - 0xa0]
push esi
push eax
call fcn.005306b0
push 0x24
lea eax, [ebp - 0xd4]
push esi
push eax
call fcn.005306b0
push 0x20
lea eax, [ebp - 0xf4]
push esi
push eax
call fcn.005306b0
add esp, 0x30
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x417ded
push str._GetLastError_
push str.:6:CalculateHardwareID___FAILED:_GetVersionEx___FAILED:__s
call fcn.0042bd38
pop ecx
pop ecx
xor eax, eax
jmp 0x417e73
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push esi
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xb0]
push eax
push esi
push esi
call fcn.00493030
pop ecx
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x417e3b
push str._GetLastError_
push str.:6:CalculateHardwareID___FAILED:_GetDiskFreeSpaceEx___FAILED:__s
call fcn.0042b70b
jmp 0x417de4
movzx eax, word [ebp - 0xb2]
add eax, dword [ebp - 0xa8]
movzx ecx, word [ebp - 0xd4]
add ecx, eax
add ecx, dword [ebp - 0xec]
mov eax, dword [ebp - 0x9c]
add ecx, dword [ebp - 0x98]
lea eax, [ecx + eax + 0x2222]
cmp eax, esi
jne 0x417e73
mov eax, 0x111
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005317e7
leave
ret
Function at 0x417ef2
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x118], 0
push ebx
push esi
push edi
mov esi, 0x103
push esi
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.005306b0
add esp, 0xc
call fcn.004935a3
test eax, eax
je 0x417f3d
xor eax, eax
jmp 0x418032
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
mov dword [ebp - 0x118], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x417f6c
push str._GetLastError_
push str.:8:InitConsole___encountered_a_problem:_GetUserName___FAILED:__s
call fcn.0042b70b
pop ecx
pop ecx
lea eax, [ebp - 0x110]
push str.SeTcbPrivilege
push eax
call fcn.0041819f
mov esi, eax
lea eax, [ebp - 0x110]
push str.SeChangeNotifyPrivilege
push eax
call fcn.0041819f
or esi, eax
lea eax, [ebp - 0x110]
push str.SeIncreaseQuotaPrivilege
push eax
call fcn.0041819f
or esi, eax
mov ebx, str.SeAssignPrimaryTokenPrivilege
lea eax, [ebp - 0x110]
push ebx
push eax
call fcn.0041819f
or esi, eax
mov edi, str.SeCreateTokenPrivilege
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.0041819f
or esi, eax
mov dword [ebp - 0x114], esi
mov esi, str.SeTakeOwnershipPrivilege
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.0041819f
or dword [ebp - 0x114], eax
push str.SeTcbPrivilege
push 0
call fcn.00418340
push str.SeChangeNotifyPrivilege
push 0
call fcn.00418340
add esp, 0x40
push str.SeIncreaseQuotaPrivilege
push 0
call fcn.00418340
push ebx
xor ebx, ebx
push ebx
call fcn.00418340
push edi
push ebx
call fcn.00418340
push esi
push ebx
call fcn.00418340
mov eax, dword [ebp - 0x114]
add esp, 0x20
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret
Function at 0x41809f
Capabilities:
Get user security identifier

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp + 0x94], eax
and dword [ebp - 0x74], 0
push edi
mov edx, ebx
mov edi, ecx
mov dword [ebp - 0x7c], 0x104
call fcn.004ccc0d
test eax, eax
je 0x4180da
xor eax, eax
jmp 0x418189
mov edx, edi
call fcn.004ccc0d
test eax, eax
je 0x4180e7
xor edi, edi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push ebx
push edi
call esi
test eax, eax
jne 0x418123
cmp dword [ebp - 0x74], eax
jne 0x418123
push str._GetLastError_
push edi
push ebx
push str.:3:Name2SID___s_____s___FAILED:_LookupAccountName___FAILED_to_determine_the_SID_size:__s
call fcn.0042b70b
add esp, 0x10
jmp 0x418181
push dword [ebp - 0x74]
push 1
call fcn.00530848
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x78], eax
jne 0x41814c
push str._GetLastError_
push dword [ebp - 0x74]
push edi
push ebx
push str.:3:Name2SID___s_____s___FAILED:_calloc__d__FAILED:__s
call fcn.0042b70b
jmp 0x41817e
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x74]
push ecx
push eax
push ebx
push edi
call esi
test eax, eax
jne 0x418185
push str._GetLastError_
push edi
push ebx
push str.:3:Name2SID___s_____s___FAILED:_LookupAccountName___FAILED:__s
call fcn.0042b70b
push dword [ebp - 0x78]
call fcn.0053061e
add esp, 0x14
xor eax, eax
jmp 0x418188
mov eax, dword [ebp - 0x78]
pop esi
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
pop edi
call fcn.005317e7
add ebp, 0x98
leave
ret
Function at 0x41819f
Capabilities:
Manipulate user privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor eax, eax
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
mov edx, edi
mov dword [ebp - 4], ebx
call fcn.004ccc0d
test eax, eax
jne 0x41820f
mov edx, dword [ebp + 0xc]
call fcn.004ccc0d
test eax, eax
jne 0x41820f
push 0x18
pop esi
push esi
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.005306b0
add esp, 0xc
xor ecx, ecx
mov ebx, edi
mov dword [ebp - 0x24], esi
call fcn.0041809f
mov esi, eax
test esi, esi
jne 0x418216
push str._GetLastError_
push 1
push dword [ebp + 0xc]
push edi
push str.:3:GrantPrivilege___s_____s____d__FAILED:_Name2SID___FAILED:__s
call fcn.0042b70b
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push 0
call fcn.004cf8d0
push dword [ebp + 0xc]
mov ebx, eax
mov dword [ebp - 0xc], ebx
call fcn.004cf8d0
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 8], eax
jne 0x41825e
push str._GetLastError_
push 1
push dword [ebp + 0xc]
push edi
push str.:3:GrantPrivilege___s_____s____d__FAILED:_CreateLsaUnicodeStr___FAILED:__s
call fcn.0042b70b
push esi
call fcn.0053061e
add esp, 0x18
test ebx, ebx
je 0x41820f
push ebx
call fcn.0053061e
pop ecx
jmp 0x41820f
lea eax, [ebp - 4]
push eax
push 0x811
lea eax, [ebp - 0x24]
push eax
push ebx
call sub.ADVAPI32.dll_LsaOpenPolicy
push eax
call sub.ADVAPI32.dll_LsaNtStatusToWinError
test eax, eax
je 0x4182aa
push eax
push str._GetLastError_
push 1
push dword [ebp + 0xc]
push edi
push str.:3:GrantPrivilege___s_____s____d__FAILED:_LsaOpenPolicy___FAILED:__s_ld
call fcn.0042b70b
push esi
call fcn.0053061e
add esp, 0x1c
test ebx, ebx
je 0x4182a5
push ebx
call fcn.0053061e
pop ecx
push dword [ebp - 8]
jmp 0x418256
push 1
push dword [ebp - 8]
push esi
push dword [ebp - 4]
call sub.ADVAPI32.dll_LsaAddAccountRights
push eax
call sub.ADVAPI32.dll_LsaNtStatusToWinError
mov ebx, eax
test ebx, ebx
mov edi, str._GetLastError_
je 0x4182e0
push ebx
push edi
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.:3:GrantPrivilege___s_____s____d__FAILED:_LsaAddAccountRights___FAILED:__s_ld
call fcn.0042b70b
add esp, 0x18
push esi
call fcn.0053061e
cmp dword [ebp - 0xc], 0
pop ecx
je 0x4182f6
push dword [ebp - 0xc]
call fcn.0053061e
pop ecx
push dword [ebp - 8]
call fcn.0053061e
cmp dword [ebp - 4], 0
pop ecx
je 0x418330
push dword [ebp - 4]
call sub.ADVAPI32.dll_LsaClose
push eax
call sub.ADVAPI32.dll_LsaNtStatusToWinError
mov ebx, eax
test ebx, ebx
je 0x418338
push ebx
push edi
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.:3:GrantPrivilege___s_____s____d__FAILED:_LsaClose___FAILED:__s_ld
call fcn.0042b70b
add esp, 0x18
test ebx, ebx
jne 0x41820f
xor eax, eax
inc eax
jmp 0x418211
Function at 0x4185e3
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1bc
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x90
lea eax, [ebp - 0x1a4]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x1b8], edi
mov dword [ebp - 0x1a8], ebx
call fcn.005306b0
add esp, 0xc
mov esi, 0x94
push esi
lea eax, [ebp - 0x1a8]
push ebx
push eax
call fcn.005306b0
add esp, 0xc
lea eax, [ebp - 0x1a8]
push eax
mov dword [ebp - 0x1a8], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x418664
push str._GetLastError_
push str.:3:IsWindowsVISTA___FAILED:_GetVersionEx___FAILED:__s
call fcn.0042bd38
pop ecx
pop ecx
mov dword [ebp - 0x1b0], ebx
jmp 0x418674
cmp dword [ebp - 0x1a4], 6
sbb eax, eax
inc eax
mov dword [ebp - 0x1b0], eax
cmp edi, ebx
je 0x418764
cmp dword [ebp - 0x1b0], ebx
je 0x41875c
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.005306b0
add esp, 0xc
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
mov ecx, 0x104
lea eax, [ebp - 0x110]
mov dword [ebp - 0x1ac], ebx
call fcn.004ccc3f
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
pop ecx
push ebx
lea eax, [ebp - 0x1ac]
push eax
push ebx
mov edi, 0x20019
push edi
push ebx
push ebx
push ebx
lea eax, [ebp - 0x110]
push eax
push SysStringLen
call esi
cmp eax, ebx
mov dword [ebp - 0x1b4], eax
je 0x418736
push ebx
lea eax, [ebp - 0x1ac]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
lea eax, [ebp - 0x110]
push eax
push closesocket
call esi
test eax, eax
je 0x418728
push dword [ebp - 0x1b4]
push str._GetLastError_
push str.:8:IsWindowsVISTA___FAILED_to_detect_UAC:_RegCreateKeyEx___FAILED:__s_ld
call fcn.0042b70b
add esp, 0xc
jmp 0x41872e
mov dword [ebp - 0x1b4], ebx
cmp dword [ebp - 0x1b4], ebx
jne 0x41875c
push str.EnableLUA
push dword [ebp - 0x1ac]
call fcn.00414007
pop ecx
pop ecx
push dword [ebp - 0x1ac]
xor ecx, ecx
cmp ecx, eax
sbb ebx, ebx
neg ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1b8]
mov dword [eax], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1b0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret
Function at 0x4195f5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
jle 0x419650
cmp dword [ebp + 0x10], ebx
jle 0x419650
push 1
mov esi, 0x410
push esi
call fcn.00530848
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x419650
push esi
push ebx
push edi
call fcn.005306b0
mov eax, dword [0x60ae44]
add esp, 0xc
cmp eax, ebx
jne 0x41963a
call fcn.004b2094
mov dword [0x60ae44], eax
push edi
call fcn.004b218d
cmp dword [0x60ae44], ebx
pop ecx
jne 0x419657
push edi
call fcn.0053061e
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
lea eax, [edi + 0x1b8]
push 0x5594fc
push eax
call fcn.005312a0
mov dword [edi + 0x174], ebx
mov dword [edi + 0x190], ebx
lea ebx, [edi + 0x250]
push str..ConsoleField.c
push ebx
mov dword [edi + 0x15c], 1
mov dword [edi + 0x18c], 2
call fcn.0043a19c
add esp, 0x10
test eax, eax
jne 0x4196ab
push str.:5:CreateConField___EAP:_InitializeLock___FAILED.
call fcn.0042b70b
pop ecx
mov esi, str.A_Console_Field_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0043a49b
mov eax, 0xbb8
mov ecx, ebx
call fcn.0043a4d8
mov eax, edi
call fcn.0041e653
push 0x54f278
push 0xffffffffffffffff
push dword [ebp + 0x10]
mov eax, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004198d8
add esp, 0x14
test eax, eax
jne 0x4196f4
mov eax, edi
call fcn.0041970a
jmp 0x419650
mov esi, edi
call fcn.00419da8
push 0x5f
call fcn.00419ddc
pop ecx
mov eax, edi
jmp 0x419652
Function at 0x425cb2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3ff
xor ebx, ebx
lea eax, [ebp - 0x407]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x408], 0
call fcn.005306b0
add esp, 0xc
mov edx, esi
call fcn.004ccc0d
test eax, eax
je 0x425cfa
xor eax, eax
jmp 0x425d99
push 0xd1e
push str..CURL.c
mov edx, 0x54f4b8
mov ecx, esi
call fcn.00434df1
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x410], eax
je 0x425cf3
push eax
mov esi, 0x400
push esi
lea eax, [ebp - 0x408]
push 1
push eax
mov dword [ebp - 0x40c], ebx
call fcn.00530e93
mov edi, 0x7ffffe56
jmp 0x425d74
xor ecx, ecx
test eax, eax
jle 0x425d59
movzx edx, byte [ebp + ecx - 0x408]
add ebx, edx
cmp ebx, edi
jb 0x425d54
sub ebx, edi
inc ecx
cmp ecx, eax
jl 0x425d44
push dword [ebp - 0x410]
add dword [ebp - 0x40c], eax
push esi
lea eax, [ebp - 0x408]
push 1
push eax
call fcn.00530e93
add esp, 0x10
test eax, eax
ja 0x425d3e
add ebx, dword [ebp - 0x40c]
cmp ebx, edi
jb 0x425d87
sub ebx, edi
test ebx, ebx
jne 0x425d8c
inc ebx
mov ecx, dword [ebp - 0x410]
call fcn.00435239
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret
Function at 0x426efe
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 8], eax
and word [ebp - 0x19c], 0
push ebx
push edi
push 0x18e
lea eax, [ebp - 0x19a]
push 0
push eax
mov ebx, ecx
call fcn.005306b0
add esp, 0xc
test ebx, ebx
je 0x426f65
cmp dword [ebx], 0
je 0x426f65
cmp dword [ebx + 0xc], 0
je 0x426f65
lea eax, [ebp - 0x19c]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x426f75
push eax
push str.eMailSend___FAILED:_WSAStartup___failed_return_code__d
call fcn.0042b70b
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret
push dword [ebp + 8]
call fcn.00426f9a
pop ecx
mov edi, eax
call dword [sym.imp.WSOCK32.dll_WSACleanup]
xor eax, eax
test edi, edi
sete al
jmp 0x426f67