joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d2a90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x521014]
xor eax, ebp
mov dword [esp + 0x14], eax
xor eax, eax
lea edi, [esp + 8]
mov dword [edi + 4], eax
mov dword [edi], eax
mov dword [edi + 8], eax
mov edx, edi
call fcn.00446c30
movzx eax, byte [edi + 0xb]
mov ecx, eax
test al, al
jns 0x4d2ace
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4d2af6
mov dword [esp + 4], 0
test al, al
jns 0x4d2ae2
mov edi, dword [esp + 8]
lea eax, [esp + 4]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
jne 0x4d2b1a
mov al, byte [esp + 0x13]
test al, al
jns 0x4d2b06
push dword [esp + 8]
call fcn.0048b376
add esp, 4
mov ecx, dword [esp + 0x14]
xor ecx, ebp
call fcn.0048b980
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret 4
mov edi, eax
mov ecx, esi
push eax
push dword [esp + 8]
call fcn.004d2d20
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4d2af2
Function at 0x4d4180
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov edx, dword [ebp + 8]
mov eax, dword [0x521014]
xor eax, ebp
mov dword [esp + 0xb8], eax
lea esi, [esp + 0x6c]
mov dword [esi], 0xffffffff
mov ecx, esi
call fcn.004d42e0
mov eax, dword [esi]
lea ecx, [eax + 1]
cmp ecx, 2
jae 0x4d41ec
xor ebx, ebx
inc eax
cmp eax, 2
jb 0x4d41d4
call fcn.0046eab0
push dword [esp + 0x6c]
call fcn.00471760
add esp, 4
mov ecx, dword [esp + 0xb8]
xor ecx, ebp
call fcn.0048b980
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x70]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov dword [esi + 0x40], 0xffffffff
lea eax, [esp + 0x68]
mov dword [eax], 0x44
push eax
push esi
push 0
push 0x1a
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
jne 0x4d4288
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 4]
push eax
push edi
call fcn.004b9e70
add esp, 8
lea esi, [esp + 0x10]
mov ecx, esi
push edi
push 0x5d
push str.IsUserAnAdminGroup
push 1
call fcn.004b9c70
lea ecx, [esp + 0x4c]
push 0x50d77c
push str.CreateWellKnownSid_failed
call fcn.004b5d50
mov ecx, esi
call fcn.004b9cb0
cmp byte [edi + 0xb], 0
jns 0x4d427d
push dword [esp + 4]
call fcn.0048b376
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x6c]
jmp 0x4d41bd
xor ebx, ebx
lea edi, [esp + 0x10]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, dword [esp + 0x6c]
mov edx, 2
push edi
call fcn.004d43a0
add esp, 4
mov edi, dword [edi]
test al, al
je 0x4d42ce
xor ebx, ebx
cmp dword [edi], 0
je 0x4d42ce
push dword [edi + ebx*8 + 4]
push esi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4d42c9
inc ebx
cmp ebx, dword [edi]
jb 0x4d42b5
test eax, eax
setne bl
test edi, edi
je 0x4d427f
push edi
call fcn.0048b376
add esp, 4
jmp 0x4d427f
Function at 0x4d5b60
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov esi, edx
mov edi, ecx
mov eax, dword [0x521014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [ecx + 0xb], 0
mov eax, ecx
jns 0x4d5b81
mov eax, dword [edi]
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4d5c28
mov ebx, eax
mov dword [ebp - 0x28], esi
xor eax, eax
dec eax
lea esi, [ebp - 0x1c]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov ecx, esi
push ebx
call fcn.004363f0
mov eax, dword [esi]
cmp byte [edi + 0xb], 0
jns 0x4d5bb6
mov edi, dword [edi]
push eax
push ebx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
xor ebx, ebx
test eax, eax
je 0x4d5c13
lea esi, [ebp - 0x20]
mov dword [esi], ebx
lea eax, [ebp - 0x24]
mov dword [eax], ebx
push esi
push eax
push 0x506338
push dword [ebp - 0x1c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
sete al
cmp dword [esi], 0x34
setb bl
or bl, al
jne 0x4d5c10
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x30], ecx
movups xmm0, xmmword [eax + 0x20]
movups xmmword [edx + 0x20], xmm0
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmmword [edx + 0x10], xmm1
movups xmmword [edx], xmm0
xor bl, 1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4d5c2a
mov dword [ebp - 0x18], eax
push eax
call fcn.0048b376
add esp, 4
jmp 0x4d5c2a
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b980
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4d5fc0
Capabilities:
Get common file path
Get disk size
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x260
mov bl, byte [ebp + 8]
mov eax, dword [0x521014]
xor eax, ebp
mov dword [esp + 0x258], eax
xor edi, edi
lea esi, [esp + 0x50]
push 0x208
push edi
push esi
call fcn.0048ef90
add esp, 0xc
test bl, bl
mov eax, 0x26
mov ecx, 0x1c
cmovne ecx, eax
push esi
push edi
push edi
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4d6054
xor eax, eax
dec eax
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx], eax
push edi
push edi
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4d607b
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 4]
mov bl, 1
cmp dword [esp], eax
sbb ecx, 0
jb 0x4d60b0
mov ecx, dword [esp + 0x258]
xor ecx, ebp
call fcn.0048b980
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [esp + 8]
mov ecx, esi
push 0xe0
push str.HasEnoughDiskSpace
push 0
call fcn.004b9b40
lea ecx, [esp + 0x44]
push 0x50dcd2
push str.SHGetFolderPath_failed
jmp 0x4d60a0
lea esi, [esp + 8]
mov ecx, esi
push 0xe6
push str.HasEnoughDiskSpace
push 0
call fcn.004b9b40
lea ecx, [esp + 0x44]
push 0x50dcec
push str.GetDiskFreeSpaceEx_failed
call fcn.004b5d50
mov ecx, esi
call fcn.004379a0
mov bl, 1
jmp 0x4d603c
lea esi, [esp + 8]
mov ecx, esi
push 0xec
push str.HasEnoughDiskSpace
push 0
call fcn.004b9b40
lea ecx, [esp + 0x44]
push 0x50dd1e
push str.There_is_not_enough_disk_space_to_install_browser
call fcn.004b5d50
mov ecx, esi
call fcn.004379a0
xor ebx, ebx
jmp 0x4d603c
Function at 0x4d8410
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x521014]
xor eax, ebp
mov dword [esp + 0x68], eax
lea esi, [ecx + 4]
xor eax, eax
push esi
push eax
push eax
push 0x8004
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4d846d
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov bl, 1
test eax, eax
je 0x4d84a8
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.0048b980
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
lea ebx, [esp + 4]
push eax
push ebx
call fcn.004b9e70
add esp, 8
lea esi, [esp + 0x10]
mov ecx, esi
push ebx
push 0x35
push str.HashData
push 1
call fcn.004b9c70
lea ecx, [esp + 0x4c]
push 0x5101f9
push str.Failed_to_initialize_hash_object__error:
jmp 0x4d84e1
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
lea ebx, [esp + 4]
push eax
push ebx
call fcn.004b9e70
add esp, 8
lea esi, [esp + 0x10]
mov ecx, esi
push ebx
push 0x3a
push str.HashData
push 1
call fcn.004b9c70
lea ecx, [esp + 0x4c]
push 0x510216
push str.Failed_to_hash_data__error:
call fcn.004b5d50
call edi
lea ecx, [esp + 0x18]
push eax
call fcn.004b5c00
mov ecx, esi
call fcn.004b9cb0
cmp byte [ebx + 0xb], 0
jns 0x4d850b
push dword [esp + 4]
call fcn.0048b376
add esp, 4
xor ebx, ebx
jmp 0x4d8456

Function at 0x4d89a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov ebx, edx
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 8], edx
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4d8a09
mov edi, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4d8a09
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4d8a09
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4d8a09
mov edi, eax
mov ecx, esi
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004687b0
push ebx
push edi
push dword [esi]
call fcn.0048e490
add esp, 0xc
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4e4830
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov esi, ecx
mov eax, dword [0x521014]
xor eax, ebp
mov dword [esp + 0x68], eax
xor eax, eax
push eax
push eax
push ecx
push 0x456cf0
push eax
push eax
call fcn.00499eb0
add esp, 0x18
mov ecx, esi
push eax
call fcn.0046db00
mov edi, dword [esi]
inc edi
cmp edi, 1
jbe 0x4e4888
cmp edi, 2
setae bl
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.0048b980
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esp + 4]
push eax
push ebx
call fcn.004b9e70
add esp, 8
lea esi, [esp + 0x10]
mov ecx, esi
push ebx
push 0x71
push str.InitializeThread
push 1
call fcn.004b9c70
lea ecx, [esp + 0x4c]
push 0x514433
push str.Failed_to_create_thread_for_async_http_requests
call fcn.004b5d50
mov ecx, esi
call fcn.004b9cb0
cmp byte [ebx + 0xb], 0
jns 0x4e486d
push dword [esp + 4]
call fcn.0048b376
add esp, 4
jmp 0x4e486d

Function at 0x4e4fc0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.0048c1b0
mov esi, ecx
mov eax, dword [0x521014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0xff
push ebx
call fcn.0048ef90
add esp, 0xc
lea eax, [ebp - 0x1014]
mov dword [eax], 1
lea ecx, [ebp - 0x1018]
mov dword [ecx], edi
push ecx
push ebx
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x4e5039
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b980
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 2
je 0x4e505d
mov edi, 0x3f4
cmp eax, 1
jne 0x4e5020
mov ecx, esi
push ebx
call fcn.00437900
xor edi, edi
jmp 0x4e5020
lea edi, [ebp - 0x1010]
push 0x800
push 0xff
push edi
call fcn.0048ef90
add esp, 0xc
push 0x400
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
dec eax
mov edi, 0xea
cmp eax, 0x3ff
ja 0x4e5020
mov ecx, esi
lea eax, [ebp - 0x1010]
push eax
jmp 0x4e5054

Function at 0x4e50b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.004a4ac6
add esp, 4
add eax, eax
add eax, 2
push eax
push ebx
push 1
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4ed290
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [ebp - 0x10], ecx
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
test bl, bl
jns 0x4ed2ac
mov ebx, dword [esi + 4]
mov esi, dword [esi]
mov eax, ebx
mov ecx, esi
mov edx, ebx
mov dword [ebp - 0x14], ebx
cmp ebx, 4
jb 0x4ed2e7
mov eax, dword [ebp - 0x14]
mov edx, eax
mov ecx, esi
imul ebx, dword [ecx], 0x5bd1e995
mov edi, ebx
shr edi, 0x18
xor edi, ebx
imul edi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4ed2c1
cmp edx, 1
je 0x4ed308
cmp edx, 2
je 0x4ed2ff
cmp edx, 3
jne 0x4ed313
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx + 4]
xor ecx, ecx
test ebx, ebx
je 0x4ed43c
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov edx, ebx
shr edx, 1
and edx, 0x55555555
mov eax, ebx
sub eax, edx
mov edx, 0x33333333
mov ecx, ebx
mov ebx, eax
and ebx, edx
shr eax, 2
and eax, edx
add eax, ebx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x20], eax
cmp eax, 1
ja 0x4ed425
lea edx, [ecx - 1]
and edx, edi
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4ed43a
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
mov ebx, dword [eax]
test ebx, ebx
mov ecx, 0
je 0x4ed43c
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 4]
cmp edi, eax
jne 0x4ed3e6
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x4ed3be
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x14]
jne 0x4ed3f4
lea edx, [ebx + 8]
mov ecx, dword [edx]
test al, al
cmovs edx, ecx
js 0x4ed40b
test eax, eax
je 0x4ed421
dec eax
xor edx, edx
cmp cl, byte [esi + edx]
jne 0x4ed3f4
cmp eax, edx
je 0x4ed421
mov cl, byte [ebx + edx + 9]
inc edx
jmp 0x4ed3d6
cmp dword [ebp - 0x20], 1
ja 0x4ed3fc
and eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
jne 0x4ed43a
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4ed3aa
jmp 0x4ed43a
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
jb 0x4ed3ef
xor edx, edx
div ecx
mov eax, edx
jmp 0x4ed3ef
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4ed421
push eax
push esi
push edx
call fcn.0048d57d
add esp, 0xc
test eax, eax
jne 0x4ed3f4
mov ecx, ebx
jmp 0x4ed43c
mov edx, edi
cmp edi, ecx
jb 0x4ed37e
mov eax, edi
xor edx, edx
div ecx
jmp 0x4ed37e
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x4f3b90
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 8]
movzx edx, byte [eax + 0xb]
test dl, dl
jns 0x4f3ba5
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, edx
cmp edx, 4
jb 0x4f3bd2
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4f3bac
cmp edx, 3
je 0x4f3be3
cmp edx, 2
je 0x4f3bec
cmp edx, 1
jne 0x4f3c00
jmp 0x4f3bf5
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 4
Function at 0x6027e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x602805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x602878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x60283a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x60286d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x60286b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x602831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x6027fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x7002e77
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x701a85c]
jne 0x7002e81
repz ret
jmp fcn.0700f55f

Function at 0x70038fd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x700390c
pop dword [ebp - 0x40]
mov eax, 0x4dbc96a9
add eax, 0xb943a263
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xd34adb83
add dword [ebp - 0x50], 0x7b0769c8
mov dword [ebp - 0x4c], 0x76b4a3d4
sub dword [ebp - 0x4c], 0x4481578f
mov dword [ebp - 0x48], 0x4194119d
sub dword [ebp - 0x48], 0xf547cd6f
mov dword [ebp - 0x44], 0xe4e8935d
sub dword [ebp - 0x44], 0xe4e8935d
lea eax, [ebp - 0x50]
push eax
mov eax, 0x99d02298
sub eax, 0x92cf026c
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xb5df5834
add dword [ebp - 0x50], 0xbe931122
mov dword [ebp - 0x4c], 0xe7b78da1
add dword [ebp - 0x4c], 0x59b4d3d4
mov dword [ebp - 0x48], 0x7e7269dd
sub dword [ebp - 0x48], 0x1b02fd71
mov dword [ebp - 0x44], 0x1173b5f6
sub dword [ebp - 0x44], 0x1173b5f6
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3e184
push 0
call eax
mov ecx, 0xce87c4bc
add ecx, 0x317890e0
xor ebx, ebx
add ebx, eax
mov edx, 0x8722bb5c
sub edx, 0x8020db5c
add edx, dword [ebp - 0x40]
mov edi, 0xda548696
sub dword [ebp - 4], 0x7c623d34
mov esi, dword [edx]
sub dword [ebp - 0x38], ecx
sub esi, edi
xor dword [ebp - 0x34], ebx
mov dword [ebx], esi
add dword [ebp - 4], ecx
add ebx, 4
add edx, 4
loop 0x7003a25
add eax, 0x95b6388
sub eax, 0x95a1a45
xor ebx, ebx
add ebx, eax
add eax, 0xffd563ef
add eax, 0x2a9c16
mov ecx, 0x7000000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x700d408
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x700d476
cmp byte [esi + 0x10], 0
je 0x700d427
push eax
call dword [sym.imp.MSVCR100.dll_fflush]
pop ecx
mov byte [esi + 0x10], 0
push edi
push dword [esi + 0xc]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.MSVCR100.dll_fread]
push dword [esi + 0xc]
mov edi, eax
call dword [sym.imp.MSVCR100.dll_ferror]
add esp, 0x14
test eax, eax
je 0x700d464
push dword [esi + 0xc]
call dword [sym.imp.MSVCR100.dll_feof]
pop ecx
test eax, eax
jne 0x700d464
push str.stream_read_error
push eax
call fcn.070038fd
push dword [esi + 0xc]
call dword [sym.imp.MSVCR100.dll_ftell]
pop ecx
mov dword [esi + 8], eax
mov eax, edi
pop edi
jmp 0x700d478
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x700d940
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp byte [eax + 8], 0
je 0x700d95b
push str.Attempt_to_write_read_only_stream
push 0
call fcn.070038fd
mov eax, dword [esi + 0xc]
test eax, eax
je 0x700d999
push eax
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.MSVCR100.dll_fwrite]
push dword [esi + 0xc]
mov byte [esi + 0x10], 1
call dword [sym.imp.MSVCR100.dll_ferror]
add esp, 0x14
test eax, eax
je 0x700d98c
push 0x7013b70
jmp 0x700d954
push dword [esi + 0xc]
call dword [sym.imp.MSVCR100.dll_ftell]
pop ecx
mov dword [esi + 8], eax
pop esi
pop ebp
ret 8

Function at 0x700dbc5
Capabilities:
Set current directory

Disassembly:
push 4
mov eax, 0x7010ec2
call fcn.07001aa5
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.0700da5a
and dword [esi + 0xc], 0
and dword [ebp - 4], 0
mov dword [esi], vtable.FileSharedStream.0
mov byte [esi + 0x10], 0
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0700d99e
lea ecx, [ebp + 8]
call fcn.0700d6a0
mov eax, dword [esi + 0x14]
push dword [eax + 0x14]
mov edi, dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov byte [ebp - 4], 2
call edi
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700dc35
mov eax, dword [eax + 0x14]
jmp 0x700dc3a
mov eax, 0x7012365
push 0x7013bb4
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
pop ecx
pop ecx
mov dword [esi + 0xc], eax
test eax, eax
jne 0x700dc5a
push 0x7013ba0
push eax
call fcn.070038fd
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 8]
mov dword [esi + 8], eax
mov byte [ebp - 4], 1
call edi
push dword [ebp + 8]
mov ecx, 0x701a480
call fcn.070038fd
mov eax, esi
call fcn.07002d5f
ret 4
Function at 0x42a310
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00429ef6
push eax
push esi
push dword [ebp + 8]
call fcn.00429eab
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00429ee6
mov byte [ecx], al
mov ebx, 0x7c9d8897
invalid