joyce8/EMBER2024-capa huggingface dataset:
Function at 0x867e30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d7000]
push edi
or ebp, 0xffffffff
jmp 0x867e52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x867e59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x867e48
mov eax, 1
add ebx, ebx
jne 0x867e6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x867e7c
jne 0x867e9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x867e9b
dec eax
add ebx, ebx
jne 0x867e88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x867e60
add ebx, ebx
jne 0x867e97
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x867eed
xor ecx, ecx
sub eax, 3
jb 0x867eb3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x867f22
sar eax, 1
mov ebp, eax
jmp 0x867ebe
add ebx, ebx
jne 0x867ebe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x867e8c
inc ecx
add ebx, ebx
jne 0x867ecc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x867e8c
add ebx, ebx
jne 0x867ed9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x867ece
jne 0x867eea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x867ece
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x867f0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x867efe
jmp 0x867e4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x867f0c
add edi, ecx
jmp 0x867e4e
pop esi
mov edi, esi
mov ecx, 0x69e7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x867f2a
cmp byte [edi], 0x13
jne 0x867f2a
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 0x867f2f
lea edi, [esi + 0x45e000]
mov eax, dword [edi]
or eax, eax
je 0x867fa7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x46cb94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x46ccd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x867f5c
mov ecx, edi
jns 0x867f8b
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 + 0x46ccd8]
or eax, eax
je 0x867fa1
mov dword [ebx], eax
add ebx, 4
jmp 0x867f79
call dword [esi + 0x46cce8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x867fd8
cmp al, 0xef
ja 0x867fcb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x867fad
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x867fba
mov ebp, dword [esi + 0x46ccdc]
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 0x86800c
sub esp, 0xffffff80
jmp 0x4af4f0
Function at 0x401140
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x411d5c
call esi
push 0x411d70
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40116e
push 0x800
call eax
push 0x411d8c
call esi
push str.CLRCreateInstance
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 4], 0
test eax, eax
je 0x4011e8
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push 0x411e2c
push 0x411e3c
call eax
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x4011e0
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
push 0x411e4c
push str.v4.0.30319
push ecx
call dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4011e0
mov eax, dword [ecx]
lea edx, [esp + 4]
push edx
push 0x411dfc
push 0x411e1c
push ecx
call dword [eax + 0x24]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x401207
lea eax, [esp + 4]
push eax
push 0x411dfc
push 0x411e1c
push 0
push 0
push 0
call dword [sym.imp.mscoree.dll_CorBindToRuntimeEx]
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x28]
mov eax, dword [esp + 4]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
push 0x411e0c
push eax
mov ecx, dword [eax]
call dword [ecx]
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
push str._RESOLVER
call fcn.00401010
mov edx, dword [esp + 0x10]
add esp, 4
mov ecx, dword [ebp + 8]
push str._ENTRYPOINT
call fcn.00401010
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401a94
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401ad3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401ad3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401ad3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401ad3
cmp dword [ecx + 0x74], 0xe
jbe 0x401ad3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40bf80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40bfad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40bfad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x40117a
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40d3f0
call fcn.004023f8
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x40107b
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40107b
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40107b
cmp dword [eax + 0x400074], 0xe
jbe 0x40107b
sub ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x40107f
and dword [ebp - 0x1c], 0
push 1
call 0x4023c8
pop ecx
or eax, eax
jne 0x401093
push 0x1c
call 0x401000
pop ecx
call 0x40223b
or eax, eax
jne 0x4010a4
push 0x10
call 0x401000
pop ecx
call 0x401ddf
and dword [ebp - 4], 0
call fcn.00401b8b
or eax, eax
jge 0x4010be
push 0x1b
call fcn.00401204
pop ecx
call sub.KERNEL32.dll_GetCommandLineW
mov dword [0x410e78], eax
call 0x401b2e
mov dword [0x40ef64], eax
call 0x401a80
or eax, eax
jge 0x4010e3
push 8
call fcn.00401204
pop ecx
call 0x401851
or eax, eax
jge 0x4010f4
push 9
call fcn.00401204
pop ecx
push 1
call 0x4012c3
pop ecx
or eax, eax
je 0x401107
push eax
call fcn.00401204
pop ecx
mov eax, dword [0x40ef84]
mov dword [0x40ef88], eax
push eax
push dword [0x40ef78]
push dword [0x40ef70]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x401135
push eax
call 0x401474
call fcn.004014a0
jmp 0x40116a
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.0040243d
ret
call 0x4025ec
jmp 0x401029

Function at 0x404e88
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e9f8]
jne 0x404e92
repz ret
jmp 0x4065b5
nop
nop
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x40f7d0], eax
mov dword [0x40f7cc], ecx
mov dword [0x40f7c8], edx
mov dword [0x40f7c4], ebx
mov dword [0x40f7c0], esi
mov dword [0x40f7bc], edi
mov word [0x40f7e8], ss
mov word [0x40f7dc], cs
mov word [0x40f7b8], ds
mov word [0x40f7b4], es
mov word [0x40f7b0], fs
mov word [0x40f7ac], gs
pushfd
pop dword [0x40f7e0]
mov eax, dword [ebp]
mov dword [0x40f7d4], eax
mov eax, dword [ebp + 4]
mov dword [0x40f7d8], eax
lea eax, [ebp + 8]
mov dword [0x40f7e4], eax
mov eax, dword [ebp - 0x320]
mov dword [0x40f720], 0x10001
mov eax, dword [0x40f7d8]
mov dword [0x40f6d4], eax
mov dword [0x40f6c8], 0xc0000409
mov dword [0x40f6cc], 1
mov eax, dword [0x40e9f8]
mov dword [ebp - 0x328], eax
mov eax, dword [0x40e9fc]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x40f718], eax
push 1
call fcn.00405102
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x40c2b8
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x40f718], 0
jne 0x4066a7
push 1
call fcn.00405102
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x4065b5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e9f8]
jne 0x404e92
repz ret
jmp 0x4065b5
nop
nop
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x40f7d0], eax
mov dword [0x40f7cc], ecx
mov dword [0x40f7c8], edx
mov dword [0x40f7c4], ebx
mov dword [0x40f7c0], esi
mov dword [0x40f7bc], edi
mov word [0x40f7e8], ss
mov word [0x40f7dc], cs
mov word [0x40f7b8], ds
mov word [0x40f7b4], es
mov word [0x40f7b0], fs
mov word [0x40f7ac], gs
pushfd
pop dword [0x40f7e0]
mov eax, dword [ebp]
mov dword [0x40f7d4], eax
mov eax, dword [ebp + 4]
mov dword [0x40f7d8], eax
lea eax, [ebp + 8]
mov dword [0x40f7e4], eax
mov eax, dword [ebp - 0x320]
mov dword [0x40f720], 0x10001
mov eax, dword [0x40f7d8]
mov dword [0x40f6d4], eax
mov dword [0x40f6c8], 0xc0000409
mov dword [0x40f6cc], 1
mov eax, dword [0x40e9f8]
mov dword [ebp - 0x328], eax
mov eax, dword [0x40e9fc]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x40f718], eax
push 1
call fcn.00405102
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x40c2b8
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x40f718], 0
jne 0x4066a7
push 1
call fcn.00405102
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret

Function at 0x4070e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x40e9f8]
xor eax, ebp
mov dword [ebp - 4], eax
sub eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00405110
add esp, 0xc
push 0x104
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.StorePwd.ini
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
push 0
push str.Enabled
push str.Autologon
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
dec eax
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.00404e88
mov esp, ebp
pop ebp
ret
Function at 0x4072f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x40e9f8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push 0x40faa8
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
pop esi
cmp esi, 0xffffffff
je 0x4073a5
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x804]
push 0x400
push edx
call 0x4079e5
push 0x40c364
lea eax, [ebp - 0x804]
push 0x400
push eax
call 0x407a02
lea eax, [ebp - 0x804]
add esp, 0x1c
lea edx, [eax + 2]
mov cx, word [eax]
sub eax, 0xfffffffe
test cx, cx
jne 0x407363
push edi
push 2
push 0
sbb eax, edx
push 0
sar eax, 1
push esi
push eax
pop edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0x808]
push ecx
lea edx, [edi + edi]
push edx
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00404e88
mov esp, ebp
pop ebp
ret

Function at 0x4073c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
sub esi, esi
push str.Querying_for_size_of_DefaultPassword_value
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.004072f0
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 4
lea eax, [ebp - 4]
push eax
push esi
lea ecx, [ebp - 8]
push ecx
push esi
push str.DefaultPassword
push edi
call ebx
cmp eax, esi
je 0x407414
push eax
push str.RegQueryValueEx_failed__error:__ld
call fcn.004072f0
add esp, 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x407433
push eax
push str.Got_unexpected_data_type:__u
call fcn.004072f0
add esp, 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
sub ecx, ecx
shr eax, 1
push 2
nop
nop
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call 0x407af4
mov esi, dword [ebp + 0xc]
push str.Querying_for_contents_of_DefaultPassword_value
mov dword [esi], eax
call fcn.004072f0
mov ecx, dword [esi]
add esp, 8
lea eax, [ebp - 4]
push eax
push ecx
lea edx, [ebp - 8]
push edx
push 0
push str.DefaultPassword
push edi
call ebx
or eax, eax
je 0x40749e
push eax
push str.RegQueryValueEx_failed__error:__ld
call fcn.004072f0
mov eax, dword [esi]
push eax
call fcn.00407a7f
add esp, 0xc
pop edi
mov dword [esi], 0
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4075b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x40e9f8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40faa8
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.StorePwdLog.txt
push 0x40faa8
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x11c]
movzx edx, word [ebp - 0x11e]
movzx eax, word [ebp - 0x120]
push ecx
movzx ecx, word [ebp - 0x122]
push edx
movzx edx, word [ebp - 0x126]
push eax
movzx eax, word [ebp - 0x128]
push ecx
push edx
push eax
push str._Log_started:__04hu__02hu__02hu__02hu:_02hu:_02hu
call fcn.004072f0
push 0x110
lea ecx, [ebp - 0x114]
push 0
push ecx
mov dword [ebp - 0x118], 0x114
call fcn.00405110
add esp, 0x28
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
or eax, eax
je 0x407689
call fcn.00407180
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x114]
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x20
add eax, 0x20
push eax
push ecx
push edx
push str.OS_version:__u._u___d_bit
call fcn.004072f0
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404e88
mov esp, ebp
pop ebp
ret
Function at 0x4076a0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 2
jl 0x40770e
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push 0x40c9d8
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
or eax, eax
jne 0x40770e
call fcn.004070e0
test al, al
je 0x40770e
call fcn.004075b0
push str.Opening_Winlogon_key
call fcn.004072f0
lea edx, [ebp + 8]
add esp, 4
push edx
call fcn.004071d0
or eax, 3
push eax
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogon
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or eax, eax
je 0x407717
push eax
push str.Couldnt_open_Winlogon_key__error:__ld
call fcn.004072f0
add esp, 8
pushfd
xor eax, eax
inc eax
popfd
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0
push 0
push 0
push 0
push 6
call fcn.00407230
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add esp, 0x14
test al, al
jne 0x407808
push 0
push 0
push 0
push 2
push 5
call fcn.00407230
add esp, 0x14
test al, al
jne 0x4077c9
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push ecx
mov dword [ebp - 4], 0
call fcn.004073c0
add esp, 8
test al, al
je 0x40778e
mov esi, dword [ebp - 4]
push esi
call fcn.004074b0
add esp, 4
or eax, eax
je 0x407799
push eax
push str.SetAutologonPassword_failed__retval:__u
call fcn.004072f0
push esi
call fcn.00407a7f
add esp, 0xc
pop edi
pushfd
xor eax, eax
inc eax
popfd
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.00407a7f
push str.Deleting_DefaultPassword_value
call fcn.004072f0
mov edx, dword [ebp + 8]
add esp, 8
push str.DefaultPassword
push edx
call edi
or eax, eax
je 0x4077c9
push eax
push str.Warning:_RegDeleteValue_DefaultPassword__failed__error:__ld
call fcn.004072f0
add esp, 8
push str.Setting_AutoAdminLogon_value
mov dword [ebp - 8], 0x31
call fcn.004072f0
mov ecx, dword [ebp + 8]
add esp, 4
push 4
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.AutoAdminLogon
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or eax, eax
je 0x407808
push eax
push str.Warning:_RegSetValueEx_failed__error:__ld
call fcn.004072f0
add esp, 8
push str.Deleting_AutoLogonCount_value
call fcn.004072f0
mov edx, dword [ebp + 8]
add esp, 4
push str.AutoLogonCount
push edx
call edi
or eax, eax
je 0x407832
push eax
push str.Warning:_RegDeleteValue_AutoLogonCount__failed__error:__ld
call fcn.004072f0
add esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
sub eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c650
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x40c672
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40c679
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40c668
mov eax, 1
add ebx, ebx
jne 0x40c68b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40c680
jne 0x40c69c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c680
xor ecx, ecx
sub eax, 3
jb 0x40c6b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40c722
mov ebp, eax
add ebx, ebx
jne 0x40c6bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40c6c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40c6ec
inc ecx
add ebx, ebx
jne 0x40c6d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40c6cd
jne 0x40c6e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c6cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40c70c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40c6fd
jmp 0x40c66e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40c70c
add edi, ecx
jmp 0x40c66e
pop esi
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x40c774
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40c729
mov ecx, edi
jns 0x40c758
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 + 0xc054]
or eax, eax
je 0x40c76e
mov dword [ebx], eax
add ebx, 4
jmp 0x40c746
call dword [esi + 0xc064]
mov ebp, dword [esi + 0xc058]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x40c7a8
sub esp, 0xffffff80
jmp 0x40a6fc

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x121e6258
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0xd443abc
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4035c0
Capabilities:
Delete file

Disassembly:
sub esp, 0xcc
mov ecx, 0x33
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0xd4]
push edi
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
push eax
call dword [0x40e090]
mov ecx, eax
mov eax, dword [esp + 0xdc]
neg ecx
sbb ecx, ecx
pop edi
inc ecx
mov dword [eax + 4], 0
mov dword [eax], ecx
pop esi
add esp, 0xcc
ret

Function at 0x403610
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x120
mov ecx, 0x33
push esi
mov esi, dword [esp + 0x128]
push edi
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x5c]
xor esi, esi
cmp eax, esi
jge 0x4036ab
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
push esi
push esi
push esi
push esi
push esi
lea edx, [esp + 0x7c]
push esi
push edx
push esi
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x6c], 1
mov word [esp + 0x70], si
mov word [esp + 0x72], si
mov dword [esp + 0x74], esi
call dword [0x40e08c]
test eax, eax
je 0x403711
mov eax, dword [esp + 0xc]
mov edi, dword [0x40e168]
push eax
call edi
mov ecx, dword [esp + 8]
push ecx
call edi
mov eax, dword [esp + 0x130]
pop edi
mov dword [eax], esi
mov dword [eax + 4], esi
pop esi
add esp, 0x120
ret
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push edx
push eax
push esi
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x7c]
push esi
push ecx
push esi
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x48], 0x4136fc
call dword [0x40e08c]
test eax, eax
je 0x403711
mov edx, dword [esp + 0xc]
mov edi, dword [0x40e168]
push edx
call edi
mov eax, dword [esp + 8]
push eax
call edi
mov eax, dword [esp + 0x130]
pop edi
mov dword [eax], esi
mov dword [eax + 4], esi
pop esi
add esp, 0x120
ret
mov eax, dword [esp + 0x130]
pop edi
mov dword [eax + 4], esi
mov dword [eax], 1
pop esi
add esp, 0x120
ret

Function at 0x403730
Capabilities:
Copy file

Disassembly:
sub esp, 0xcc
mov ecx, 0x33
lea eax, [esp + 0x68]
push esi
mov esi, dword [esp + 0xd4]
push edi
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
push 1
lea ecx, [esp + 0x10]
push eax
push ecx
call dword [0x40e088]
mov edx, eax
mov eax, dword [esp + 0xdc]
neg edx
sbb edx, edx
pop edi
inc edx
mov dword [eax + 4], 0
mov dword [eax], edx
pop esi
add esp, 0xcc
ret

Function at 0x403780
Capabilities:
Move file

Disassembly:
sub esp, 0xcc
mov ecx, 0x33
lea eax, [esp + 0x68]
push esi
mov esi, dword [esp + 0xd4]
push edi
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [0x40e084]
mov edx, eax
mov eax, dword [esp + 0xdc]
neg edx
sbb edx, edx
pop edi
inc edx
mov dword [eax + 4], 0
mov dword [eax], edx
pop esi
add esp, 0xcc
ret