joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x430a67ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430aa9f0]
jne 0x430a67c4
repz ret
jmp fcn.430a7df9

Function at 0x430a74b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x430a74bf
pop dword [ebp - 0x40]
mov eax, 0xb2d551f6
add eax, 0x903522c9
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x385b6
push 0
mov eax, 0x91bd10f
sub eax, 0xc611c06f
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x4afc
xor ebx, ebx
add ebx, eax
mov esi, 0x430ade00
add esi, dword [ebp - 0x40]
mov edx, 0x491fbf39
sub edx, 0x7094dd61
sub dword [ebp - 0x30], 0xcf268cfd
mov edi, dword [esi]
sub dword [ebp - 0x28], 0xba99688f
xor edi, edx
xor dword [ebp - 0x24], edx
mov dword [ebx], edi
xor dword [ebp - 0x14], esi
add ebx, 0xba0fef56
sub ebx, 0xba0fef52
add esi, 4
loop 0x430a7514
add eax, 0xf7c0da94
add eax, 0x840442f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x54027dc8
add ecx, 0xef078238
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x11927058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x119271a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1192707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1192706a
add dl, dl
jne 0x11927089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x119270dc
xor eax, eax
add dl, dl
jne 0x11927096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1192717d
add dl, dl
jne 0x119270a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x119270b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x119270bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x119270c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x119270d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x11927075
mov eax, 1
add dl, dl
jne 0x119270ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x119270f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x119270e1
sub eax, ebx
mov ebx, 1
jne 0x11927128
mov ecx, 1
add dl, dl
jne 0x1192710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x11927119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11927105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11927075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1192713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1192714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x11927136
cmp eax, 0x7d00
jae 0x1192716d
cmp eax, 0x500
jb 0x11927168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11927075
cmp eax, 0x7f
ja 0x11927170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x11927075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1192719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x11927075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401070
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x818030]
jne 0x40107a
repz ret
jmp fcn.00401c61

Function at 0x408bbd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004049ab
and dword [ebp - 4], 0
cmp dword [0x819bb0], 0
mov ebx, eax
jne 0x408c6e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408d1f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408d1f
push eax
call fcn.00404939
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x819bb0], eax
call esi
push eax
call fcn.00404939
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x819bb4], eax
call esi
push eax
call fcn.00404939
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x819bb8], eax
call esi
push eax
call fcn.00404939
pop ecx
mov dword [0x819bc0], eax
test eax, eax
je 0x408c6e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404939
pop ecx
mov dword [0x819bbc], eax
mov eax, dword [0x819bbc]
cmp eax, ebx
je 0x408cc6
cmp dword [0x819bc0], ebx
je 0x408cc6
push eax
call fcn.004049b4
push dword [0x819bc0]
mov esi, eax
call fcn.004049b4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408cc6
test edi, edi
je 0x408cc6
call esi
test eax, eax
je 0x408cbd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408cbd
test byte [ebp - 0xc], 1
jne 0x408cc6
or dword [ebp + 0x10], 0x200000
jmp 0x408cff
mov eax, dword [0x819bb4]
cmp eax, ebx
je 0x408cff
push eax
call fcn.004049b4
pop ecx
test eax, eax
je 0x408cff
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408cff
mov eax, dword [0x819bb8]
cmp eax, ebx
je 0x408cff
push eax
call fcn.004049b4
pop ecx
test eax, eax
je 0x408cff
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x819bb0]
call fcn.004049b4
pop ecx
test eax, eax
je 0x408d1f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408d21
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40672b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40673a
pop dword [ebp - 0x28]
mov eax, 0x40673a
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x97bc2d8c
sub dword [ebp - 0x38], 0x4969e841
mov dword [ebp - 0x34], 0x519d7c6e
sub dword [ebp - 0x34], 0x1f6a3029
mov dword [ebp - 0x30], 0x2b54fa02
sub dword [ebp - 0x30], 0xdf08b5d4
mov dword [ebp - 0x2c], 0x2e8cbd1e
add dword [ebp - 0x2c], 0xd17342e2
lea eax, [ebp - 0x38]
push eax
mov eax, 0x5edc9732
add eax, 0xa163e9d2
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x3dc8d834
add dword [ebp - 0x38], 0x36a99122
mov dword [ebp - 0x34], 0x5ddb8d66
add dword [ebp - 0x34], 0xe390d40f
mov dword [ebp - 0x30], 0xde643045
add dword [ebp - 0x30], 0x850b3c27
mov dword [ebp - 0x2c], 0xfc46a4b2
sub dword [ebp - 0x2c], 0xfc46a4b2
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x49dc463d
sub eax, 0x499bc53d
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x39ed5
push 0
call eax
mov ecx, 0x662d1ffd
sub ecx, 0x662cce58
mov esi, eax
mov edi, 0x46e400
add edi, dword [ebp - 0x28]
mov edx, 0x8f278dc6
sub dword [ebp - 0x10], 0x84dda1bc
mov ebx, dword [edi]
mov dword [ebp - 0x10], 0x343634e6
xor ebx, edx
sub dword [ebp - 4], 0x3c959c5c
mov dword [esi], ebx
add dword [ebp - 0x1c], esi
add esi, 0x2ca8c6e
add esi, 0xfd357396
add edi, 0x6c7dd6de
sub edi, 0x6c7dd6da
loop 0x40684b
add eax, 0x2f8396cb
sub eax, 0x2f825d64
mov ebx, eax
add eax, 5
mov ecx, 0x9f881d9a
add ecx, 0x60b7e266
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000ba71
Capabilities:
Create directory

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
xor eax, eax
inc ebx
mov esi, edx
cmp ax, word [edi]
je 0x1000baf5
push 0x10039374
push edi
call fcn.1001de79
pop ecx
pop ecx
test eax, eax
jne 0x1000baf5
push 0x100396a4
push edi
call fcn.1001de79
pop ecx
pop ecx
test eax, eax
jne 0x1000baf5
push 0x5c
pop eax
push eax
push esi
jmp 0x1000bae4
push 0x3a
pop eax
cmp ax, word [esi - 2]
je 0x1000bad9
xor eax, eax
push eax
push edi
mov word [esi], ax
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
jne 0x1000bad6
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
je 0x1000bad6
xor ebx, ebx
jmp 0x1000bad9
xor ebx, ebx
inc ebx
push 0x5c
pop eax
push eax
lea ecx, [esi + 2]
mov word [esi], ax
push ecx
call fcn.1001ddb2
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1000baab
mov eax, ebx
jmp 0x1000baf7
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x1000eb0d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1000eb1c
pop dword [ebp - 0x10]
mov eax, 0x1000eb1c
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3e659
push 0
mov eax, 0xeb8812a0
add eax, 0x247b0eb8
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0xe855be9b
sub ecx, 0xe8558215
xor edi, edi
add edi, eax
mov ebx, 0x10048000
add ebx, dword [ebp - 0x10]
mov edx, 0x2c1cbf1d
sub edx, 0x90640500
xor dword [ebp - 0xc], 0x4509178b
mov esi, dword [ebx]
mov dword [ebp - 4], 0xa7819a3f
add esi, edx
mov dword [ebp - 4], 0xc5552a30
mov dword [edi], esi
add edi, 0xac923a14
add edi, 0x536dc5f0
add ebx, 4
loop 0x1000eb72
add eax, 0x97818337
add eax, 0x687f61b4
mov ebx, eax
add eax, 0xbfb30a89
sub eax, 0xbfb30a84
mov ecx, 0xced116de
add ecx, 0x412ee922
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x100194d5
Capabilities:
Query environment variable
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xea0
mov eax, dword [0x100400b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x14]
push edi
test esi, esi
jne 0x100194fb
mov eax, 0x80070057
jmp 0x1001970d
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x484]
xor ebx, ebx
push str.SoftwareMicrosoftOffice_i.0Registration
push 0x100
push eax
mov dword [esi], ebx
mov dword [ebp - 0xe9c], ebx
call fcn.1000eb0d
add esp, 0x10
test eax, eax
je 0x100196fd
lea eax, [ebp - 0xe9c]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x484]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100196fd
push 0x40
lea eax, [ebp - 0x84]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0xe9c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push dword [ebp - 0xe9c]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 0x103
je 0x100196fd
test edi, edi
jne 0x1001970a
push 0xffffffffffffffff
lea eax, [ebp - 0x484]
mov edi, 0x100
push eax
lea eax, [ebp - 0x284]
push edi
push eax
call fcn.1000eb0d
add esp, 0x10
cmp eax, 0x50
je 0x1001970a
push 0xffffffffffffffff
push 0x100393f0
lea eax, [ebp - 0x284]
push edi
push eax
call fcn.1000eb0d
add esp, 0x10
cmp eax, 0x50
je 0x1001970a
push 0xffffffffffffffff
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x284]
push edi
push eax
call fcn.1000eb0d
add esp, 0x10
cmp eax, 0x50
je 0x1001970a
lea eax, [ebp - 0xe94]
mov dword [ebp - 0xe98], ebx
push eax
push 1
push ebx
lea eax, [ebp - 0x284]
mov dword [ebp - 0xe94], ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x10019655
lea eax, [ebp - 0xea0]
mov dword [ebp - 0xea0], 0x802
push eax
lea eax, [ebp - 0xe90]
push eax
lea eax, [ebp - 0xe98]
push eax
push ebx
push 0x1003b278
push dword [ebp - 0xe94]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp dword [ebp - 0xe94], ebx
je 0x10019669
push dword [ebp - 0xe94]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x100196ce
cmp dword [ebp - 0xe98], 1
je 0x1001967f
cmp dword [ebp - 0xe98], 2
jne 0x100196ce
cmp dword [ebp - 0xe98], 2
jne 0x100196d2
push 0x104
lea eax, [ebp - 0x68c]
push eax
lea eax, [ebp - 0xe90]
push eax
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x102
ja 0x100196d2
push 0xffffffffffffffff
lea eax, [ebp - 0x68c]
push eax
lea eax, [ebp - 0xe90]
push 0x401
push eax
call fcn.1000eb0d
xor ebx, ebx
add esp, 0x10
cmp eax, 0x50
setne bl
test ebx, ebx
je 0x1001970a
lea eax, [ebp - 0xe90]
push str._no_more_entries_
push eax
call fcn.1000eb0d
pop ecx
pop ecx
test eax, eax
je 0x1001970a
xor eax, eax
cmp ax, word [ebp - 0xe90]
je 0x1001970a
lea eax, [ebp - 0xe90]
push eax
jmp 0x10019702
push str._no_more_entries_
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001c65c
leave
ret 0x10
Function at 0x1001a6e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1001a6f3
pop dword [ebp - 0x28]
mov eax, 0xe761be7d
add eax, 0x289fe876
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x45deb
push 0
mov eax, 0xbdf2402
add eax, 0x4243cda
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x5db0
xor edx, edx
add edx, eax
mov esi, 0xaeda49d9
add esi, 0x61297427
add esi, dword [ebp - 0x28]
mov ebx, 0xf857c889
mov dword [ebp - 0x14], 0x849c0208
mov edi, dword [esi]
sub dword [ebp - 8], 0xa62d61ad
add edi, ebx
add dword [ebp - 0x24], edi
mov dword [edx], edi
xor dword [ebp - 0x14], 0xc1623949
add edx, 0x32a25665
add edx, 0xcd5da99f
add esi, 4
loop 0x1001a748
add eax, 0x5d9c4186
sub eax, 0x5d9ad7f3
xor ebx, ebx
add ebx, eax
add eax, 0x1ad34ff7
sub eax, 0x1ad34ff2
mov ecx, 0xd411a5aa
add ecx, 0x3bee5a56
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x100289d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x100330b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10035b0c]
test dword [ebp + 8], eax
je 0x10028a7a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push eax
call fcn.1001a6e4
xor eax, eax
add esp, 0xc
mov word [ebp - 8], ax
mov eax, dword [0x10035b08]
test eax, eax
je 0x10028a6d
lea ecx, [ebp - 0x808]
push ecx
push eax
call fcn.1001a6e4
mov eax, dword [0x100330ac]
pop ecx
pop ecx
test eax, eax
jle 0x10028a7a
push esi
mov esi, dword [0x10035b10]
push edi
mov edi, dword [0x10035b14]
cdq
push edx
push eax
push edi
push esi
call fcn.10029420
add esi, 1
mov dword [0x10035b10], esi
adc edi, 0
or eax, edx
mov dword [0x10035b14], edi
pop edi
pop esi
jne 0x10028a7a
push dword [0x10035b08]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
pop ecx
jmp 0x10028a7a
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028d50
leave
ret
Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40e505
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x40e514
pop dword [ebp - 0x2c]
mov eax, 0xf9d2d8d
add eax, 0xf0a3b787
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x913bf4d3
sub dword [ebp - 0x3c], 0x42e9af88
mov dword [ebp - 0x38], 0xc1ae81ac
sub dword [ebp - 0x38], 0x8f7b3567
mov dword [ebp - 0x34], 0x9f906c31
sub dword [ebp - 0x34], 0x53442803
mov dword [ebp - 0x30], 0x52c66d9e
add dword [ebp - 0x30], 0xad399262
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x2781db67
add eax, 0xd8c0550d
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xfff3e769
sub dword [ebp - 0x3c], 0x8b817e13
mov dword [ebp - 0x38], 0x91ab9657
sub dword [ebp - 0x38], 0x503f34e2
mov dword [ebp - 0x34], 0x6f74bef2
sub dword [ebp - 0x34], 0xc055286
mov dword [ebp - 0x30], 0x90ff916b
sub dword [ebp - 0x30], 0x90ff916b
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x4208c
push 0
call eax
mov ecx, 0xba029938
sub ecx, 0xba023ff9
mov edi, eax
mov edx, 0x733ef80
add edx, 0xf90f5480
add edx, dword [ebp - 0x2c]
mov esi, 0x46c9169e
mov dword [ebp - 8], 0x8f6dd6c9
mov ebx, dword [edx]
add dword [ebp - 0x28], 0xdf62af43
sub ebx, esi
xor dword [ebp - 0x28], ebx
mov dword [edi], ebx
xor dword [ebp - 0x20], 0x254c18c6
add edi, 4
add edx, 0xc42ebc
sub edx, 0xc42eb8
loop 0x40e62b
add eax, 0xf3fa114b
add eax, 0xc074684
mov ebx, eax
add eax, 0x268c3611
sub eax, 0x268c360c
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x405630
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
adc dword [0x698e0c11], ecx
xor bl, al
sub esi, dword [edi]
pop es
adc dword [esi + ecx*4], ecx
imul esi, dword [edx], 0x7372bd8
jb 0x405632
push es
add byte [eax + 0x6f], dh
jo 0x4056b0
xor al, byte [eax]
add byte [edx], cl
sub al, 0x28
pop es
jb 0x40563f
push es
add byte [eax + 0x6f], dh
add byte cs:[eax], al
or bl, byte [eax]
outsd dx, dword [esi]
xor eax, dword [eax]
add byte [edx], cl
adc ecx, dword [ecx]
add bh, byte [ebx + 0xa]
add byte [eax], al
add al, 0x11
or dword [esi], edx
lcall 0x346f, 0x9a170911
add byte [eax], al
or ch, byte [ebx]
add dl, byte [esi]
sub al, byte [esi]
pop ss
pop eax
or al, byte [esi]
add ecx, dword [esi - 0x29ac097]
invalid
add byte [eax + 0x28], dh
sbb byte [eax], al
add byte [edx], cl
jge 0x4056c6
add byte [eax], al
add al, 2
jnp 0x4056cc
add byte [eax], al
add al, 0x28
xor eax, 0x2d0a0000
or al, 2
jnp 0x4056d9
or ch, byte [0xd7b020c]
add byte [eax], al
add al, 0x28
add byte ss:[eax], al
or ah, byte [esi]
add bh, byte [ebx + 6]
add byte [eax], al
add al, 0x28
add byte [eax + ebp], al
and al, byte [eax]
add byte [edx], cl
sub eax, 0x77b0229
add byte [eax], al
add al, 0x6f
aaa
add byte [eax], al
or bl, byte [edi]
rdmsr
sbb al, byte [edx]
jnp 0x4056fd
add byte [eax], al
add al, 0x6f
cmp byte [eax], al
add byte [edx], cl
sub al, 0xd
add bh, byte [ebx + 8]
add byte [eax], al
add al, 0x6f
or eax, 0x87b02
add byte [edi + ebp*2], al
cmp byte [eax], al
add byte [edx], cl
sub eax, 0x22a1602
jnp 0x405719
add byte [eax], al
add al, 0x72
sysret
cmp dword [eax], eax
add byte [edx], cl
sub eax, 0x97b0211
add byte [eax], al
add al, 0x72
sysret
Function at 0x401933
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x42683f
call fcn.004256c0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x14]
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], bl
mov byte [esi + 3], bl
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.004032ae
lea ecx, [esi + 0x20]
mov dword [ebp - 4], ebx
call fcn.0040198c
lea ecx, [esi + 0x30]
call fcn.004032ae
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405386
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x405512
Capabilities:
Create directory

Disassembly:
mov eax, 0x426bd0
call fcn.004256c0
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push esi
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
je 0x405535
mov al, 1
jmp 0x40557b
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
je 0x405546
xor al, al
jmp 0x40557b
lea ecx, [ebp - 0x44]
call fcn.0040573f
lea ecx, [ebp - 0x1c]
call fcn.004032ae
push ebx
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.0040598d
test al, al
je 0x405570
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.00403a73
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40598c
or eax, eax
ret

Function at 0x406d48
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x406d57
pop dword [ebp - 0x14]
mov eax, 0x3e561972
add eax, 0xc1ea53e5
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x3acbe
push 0
mov eax, 0x83990e08
add eax, 0x7ca98224
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x64120aea
add ecx, 0x9bee4433
mov edx, eax
mov ebx, 0xe50a9d24
sub ebx, 0xe4c72f24
add ebx, dword [ebp - 0x14]
mov edi, 0xe04bc8d9
sub dword [ebp - 0xc], 0xc680cfbd
mov esi, dword [ebx]
sub esi, edi
xor dword [ebp - 8], ebx
mov dword [edx], esi
add dword [ebp - 8], 0x36640294
add edx, 0x9240c880
add edx, 0x6dbf3784
add ebx, 0xe9219185
add ebx, 0x16de6e7f
loop 0x406db0
add eax, 0x12f47
xor ebx, ebx
add ebx, eax
add eax, 0x8bf0e9b5
sub eax, 0x8bf0e9b0
mov ecx, 0x9e81703d
add ecx, 0x61be8fc3
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x402878
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4028a7
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004039f4
jmp 0x4028c5
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402800
mov edi, eax
test ebx, ebx
je 0x4028c5
cmp dword [esi], 0
je 0x4028c5
dec ebx
jmp 0x4028ae
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402b7c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402c14
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402bf4
xor eax, eax
push ebp
push 0x402bed
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402c30
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402bf4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x4038c4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026a8
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x443045], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40388c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc