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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [0x1012c550]
sub esp, 8
push ebx
push esi
push edi
test edx, edx
je 0x100acfc1
cvttss2si eax, dword [0x10118014]
mov ecx, dword [0x1012f4bc]
mov dword [ebp - 8], eax
test cl, 1
jne 0x100acf20
or ecx, 1
mov dword [0x1012f4bc], ecx
mov ebx, dword [edx + 0x30]
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x100aceff
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [esi + ecx], 0
jne 0x100acec0
xor edx, edx
test ecx, ecx
je 0x100acee9
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100aced0
cmp edi, 0x7ac0d5a
je 0x100acf0c
mov ebx, dword [ebx + 4]
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x100aceb4
mov ecx, dword [0x1012f4bc]
mov edx, dword [0x1012c550]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [0x1012f4b8], ebx
jmp 0x100acf28
mov ecx, dword [0x1012f4bc]
mov edx, dword [0x1012c550]
mov dword [0x1012f4b8], ebx
jmp 0x100acf28
mov eax, dword [0x1012f4b8]
mov dword [ebp - 4], eax
test cl, 2
jne 0x100acf86
or ecx, 2
mov dword [0x1012f4bc], ecx
mov ebx, dword [edx + 0x30]
jmp 0x100acf7c
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x100acf50
xor edx, edx
test ecx, ecx
je 0x100acf79
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100acf60
cmp edi, 0xa0f6f854
je 0x100acf80
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x100acf40
mov dword [0x1012f4c0], ebx
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
test esi, esi
jle 0x100acfae
push 1
call eax
mov ecx, dword [0x1012f4c0]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call eax
mov ecx, dword [0x1012f4c0]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b2970
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c6863
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x10123fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], edi
mov dword [edi], 0
push 0x10
mov dword [ebp - 0x20], ebx
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.100bb298
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
lea ecx, [edi + 0xc]
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [edi + 0x18], 7
mov dword [edi + 0x1c], 8
mov dword [edi], 0x3f800000
push dword [edi + 4]
mov byte [ebp - 4], 1
push 0x10
call fcn.1003b210
mov dword [ebp - 4], 2
cmp esi, ebx
je 0x100b2b39
nop
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x18]
imul ebx, ecx, 0x1000193
mov ecx, edi
push ebx
push esi
push eax
call fcn.10037c70
cmp dword [ebp - 0x14], 0
jne 0x100b2b2d
cmp dword [edi + 8], 0xfffffff
je 0x100b2b4f
lea eax, [edi + 4]
mov dword [ebp - 0x28], eax
push 0x10
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], 0
call fcn.100bb298
mov ecx, dword [esi + 4]
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], eax
lea edx, [eax + 8]
mov eax, dword [esi]
mov dword [ebp - 0x1c], edx
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [edi + 8]
inc eax
mov byte [ebp - 4], 4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100ca7a0]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100ca7a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
seta al
test al, al
je 0x100b2b13
mov ecx, edi
call fcn.1003b810
push ebx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.10037c70
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
jmp 0x100b2b16
mov ecx, dword [ebp - 0x18]
push dword [ebp - 0x10]
mov dword [ebp - 0x24], 0
push ecx
push ebx
mov ecx, edi
call fcn.1003b7b0
mov byte [ebp - 4], 2
add esi, 8
cmp esi, dword [ebp - 0x20]
jne 0x100b2a20
mov eax, edi
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.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3
Function at 0x100b9b80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x100b9cda
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.1002e1c0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x100b9cad
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x100b9c33
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100b9ca3
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x100b9c6d
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x100b9c65
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x100b9ca0
cmp edi, edx
je 0x100b9c7d
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x100b9cb6
cmp edi, edx
jne 0x100b9c71
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x100b9be2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x100b9ca0
push str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x401c66
pop dword [ebp - 0x34]
mov eax, 0x401c66
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x787ea73e
add dword [ebp - 0x44], 0xd5d39e0d
mov dword [ebp - 0x40], 0xd8f9539
add dword [ebp - 0x40], 0x24a3b70c
mov dword [ebp - 0x3c], 0x121bd5a9
add dword [ebp - 0x3c], 0x3a306e85
mov dword [ebp - 0x38], 0xcce99937
add dword [ebp - 0x38], 0x331666c9
lea eax, [ebp - 0x44]
push eax
mov eax, 0x9a2ee3af
sub eax, 0x99eeb35b
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xcdb5f5e4
add dword [ebp - 0x44], 0xa6bc7372
mov dword [ebp - 0x40], 0x965a2617
sub dword [ebp - 0x40], 0x54edc4a2
mov dword [ebp - 0x3c], 0xc2ba0a8a
add dword [ebp - 0x3c], 0xa0b561e2
mov dword [ebp - 0x38], 0x8ddde0eb
add dword [ebp - 0x38], 0x72221f15
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0xcdab8338
add eax, 0x3294acf4
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3627a
push 0
call eax
mov ecx, 0xf6ccb271
sub ecx, 0xf6cc6bbf
mov ebx, eax
mov esi, 0xff9552aa
sub esi, 0xff54e2aa
add esi, dword [ebp - 0x34]
mov edi, 0xbd210d5b
add edi, 0x47113ab9
sub dword [ebp - 0x20], esi
mov edx, dword [esi]
mov dword [ebp - 0x1c], 0xd81e99eb
xor edx, edi
xor dword [ebp - 0x28], edx
mov dword [ebx], edx
add dword [ebp - 0x20], 0xaf511418
add ebx, 4
add esi, 0xd1cc88b
add esi, 0xf2e33779
loop 0x401d83
add eax, 0xf1ab1cc1
sub eax, 0xf1aa0f26
xor ebx, ebx
add ebx, eax
add eax, 0x914117d3
sub eax, 0x914117ce
mov ecx, 0x4d107f60
sub ecx, 0x4cd07f60
add ecx, dword [ebp - 0x34]
call ebx
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 0x403240
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x4032d2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x4032c4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x4032bc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x403285
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x403840
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x28]
sub esp, 0x18
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, 0x80000301
ja 0x4038c1
je 0x4038b2
cmp eax, 0x80000101
ja 0x4038ab
je 0x4038b2
cmp eax, 0x80000004
je 0x40388c
cmp eax, 0x80000005
jne 0x4038d6
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 3
test eax, eax
je 0x403923
mov ebx, dword [eax + 4]
lea ebp, [eax + 8]
jmp 0x403923
mov eax, dword [esp + 0x40]
mov dword [esp + 8], 1
push eax
call dword [0x415220]
mov ebp, dword [esp + 0x44]
mov ebx, eax
add esp, 4
inc ebx
jmp 0x403923
cmp eax, 0x80000201
jne 0x4038d6
mov ebx, 4
lea ebp, [esp + 0x40]
mov dword [esp + 8], ebx
jmp 0x403923
cmp eax, 0x80000401
je 0x40390e
cmp eax, 0x80000501
je 0x4038f6
cmp eax, 0x80000601
je 0x4038de
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
fld qword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
call sub.MSVCRT.dll__ftol
mov dword [esp + 0xc], eax
jmp 0x40391f
fld dword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
call sub.MSVCRT.dll__ftol
mov dword [esp + 0xc], eax
jmp 0x40391f
mov ecx, dword [esp + 0x40]
mov ebx, 4
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
lea ebp, [esp + 0xc]
mov edx, dword [esp + 0x28]
push esi
push edx
call fcn.004045b0
mov esi, eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], 0
call dword [0x415220]
add esp, 8
test esi, esi
je 0x4039fc
test eax, eax
je 0x4039fc
inc eax
push edi
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, dword [esp + 0x40]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x2c], edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_strrchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40399e
mov byte [esi], 0
inc esi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4039f2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4039e7
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
mov eax, dword [esp + 0x18]
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x403a40
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebp
push esi
push edi
push eax
call fcn.004045b0
mov edi, dword [esp + 0x28]
mov ebp, eax
push edi
xor esi, esi
call dword [0x415220]
add esp, 8
test ebp, ebp
je 0x403b0a
test eax, eax
je 0x403b0a
inc eax
push ebx
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
push 0x5c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_strrchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x403aac
mov byte [esi], 0
inc esi
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403ae6
mov ecx, dword [esp + 0x10]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x10]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x403af9
mov eax, dword [esp + 0x28]
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ecx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x402c00
pop dword [ebp - 0x28]
mov eax, 0x12e0fd49
add eax, 0xed5f2eb7
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xfd1122e8
sub dword [ebp - 0x38], 0xaebedd9d
mov dword [ebp - 0x34], 0x12a48d38
sub dword [ebp - 0x34], 0xe07140f3
mov dword [ebp - 0x30], 0xaf639761
add dword [ebp - 0x30], 0x9ce8accd
mov dword [ebp - 0x2c], 0xff305e4f
sub dword [ebp - 0x2c], 0xff305e4f
lea eax, [ebp - 0x38]
push eax
mov eax, 0xe04cf83b
add eax, 0x1ff38851
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xefd4371a
add dword [ebp - 0x38], 0x849e323c
mov dword [ebp - 0x34], 0x4d710083
add dword [ebp - 0x34], 0xf3fb60f2
mov dword [ebp - 0x30], 0x6216d64b
sub dword [ebp - 0x30], 0xfea769df
mov dword [ebp - 0x2c], 0xdac68cd5
add dword [ebp - 0x2c], 0x2539732b
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xf717d46
add eax, 0xf0cf038e
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3b8e6
push 0
call eax
mov ecx, 0x7d50f281
add ecx, 0x82af68f7
xor edx, edx
add edx, eax
mov esi, 0x9c0e4446
add esi, 0x6432cbba
add esi, dword [ebp - 0x28]
mov ebx, 0x89b038c9
add ebx, 0x9c504d5e
xor dword [ebp - 0x1c], ecx
mov edi, dword [esi]
xor dword [ebp - 0x18], eax
add edi, ebx
add dword [ebp - 0x1c], ebx
mov dword [edx], edi
add dword [ebp - 0x10], ebx
add edx, 0x3a39665e
add edx, 0xc5c699a6
add esi, 0x1f32c98f
add esi, 0xe0cd3675
loop 0x402d24
add eax, 0x160b3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x3aa48ea3
add ecx, 0xc59b715d
add ecx, dword [ebp - 0x28]
call ebx
leave
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, 0x28
pushal
call 0x700390c
pop dword [ebp - 0x18]
mov eax, 0x700390c
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x94fddb22
sub dword [ebp - 0x28], 0x46ab95d7
mov dword [ebp - 0x24], 0x3a9a1d45
sub dword [ebp - 0x24], 0x866d100
mov dword [ebp - 0x20], 0x8005b1c9
sub dword [ebp - 0x20], 0x33b96d9b
mov dword [ebp - 0x1c], 0x91e5f5dc
add dword [ebp - 0x1c], 0x6e1a0a24
lea eax, [ebp - 0x28]
push eax
mov eax, 0x350b13a6
sub eax, 0x2e09f37a
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xc98bfb4a
add dword [ebp - 0x28], 0xaae66e0c
mov dword [ebp - 0x24], 0xc82ba309
add dword [ebp - 0x24], 0x7940be6c
mov dword [ebp - 0x20], 0x503894d6
sub dword [ebp - 0x20], 0xecc9286a
mov dword [ebp - 0x1c], 0xc73b00fe
sub dword [ebp - 0x1c], 0xc73b00fe
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xd844290e
add eax, 0x2ebcf71a
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3cc3c
push 0
call eax
mov ecx, 0x504a
mov edx, eax
mov ebx, 0x701e000
add ebx, dword [ebp - 0x18]
mov esi, 0x4c5f0cb4
sub dword [ebp - 0x14], edi
mov edi, dword [ebx]
xor dword [ebp - 4], ecx
xor edi, esi
add dword [ebp - 0x10], 0xef4a96cf
mov dword [edx], edi
add dword [ebp - 0xc], esi
add edx, 0xc0985179
add edx, 0x3f67ae8b
add ebx, 4
loop 0x7003a17
add eax, 0x133fb
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x7000000
add ecx, dword [ebp - 0x18]
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