joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c93e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
push edi
cmp dword [esi + 0x14], 8
jb 0x5c93f0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5c9415
push dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x14]
push esi
call fcn.005c8ba0
add esp, 0xc
mov eax, esi
pop edi
pop esi
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x5c942c
mov dword [ebx], 0
call fcn.005c43e0
mov dword [ebx + 4], eax
test edi, 0x400
je 0x5c9463
push esi
call fcn.005c8860
push edi
push esi
mov bl, al
call fcn.005c8aa0
add esp, 0xc
mov ecx, eax
mov edx, 4
test bl, bl
jne 0x5c9456
mov edx, 9
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
mov dword [eax], edx
mov dword [eax + 4], ecx
ret
push edi
push esi
mov ebx, edi
call fcn.005c8aa0
add esp, 8
mov edx, eax
and ebx, 0x10
je 0x5c947c
mov esi, dword [esp + 0x14]
jmp 0x5c9482
mov esi, edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
setne cl
add ecx, 2
test ebx, ebx
pop ebx
cmove edx, esi
mov dword [eax], ecx
pop edi
mov dword [eax + 4], edx
pop esi
ret

Function at 0x5ca1e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c69e4
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x7ec06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edi
mov dword [edi], vtable.boost::detail::thread_data_base.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea esi, [edi + 0x14]
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005cabe0
mov dword [esi], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
push 0
push 0
push 1
push 0
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
je 0x5ca2bb
mov dword [edi + 0x34], eax
mov eax, edi
mov byte [edi + 0x38], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053bd3e
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x3c]
call fcn.00436615
push eax
mov byte [ebp - 4], 4
call fcn.004373c1
int3
Function at 0x5cb080
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c6ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x7ec06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x7ecb84]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
je 0x5cb0c8
push eax
call esi
mov ebx, eax
test ebx, ebx
jne 0x5cb0e0
call fcn.005cb870
mov eax, dword [0x7ecb84]
cmp eax, 0xffffffff
jne 0x5cb0db
xor ebx, ebx
jmp 0x5cb0e0
push eax
call esi
mov ebx, eax
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
test esi, esi
je 0x5cb0ff
mov ecx, 1
lea edx, [esi + 4]
mov eax, ecx
lock xadd dword [edx], eax
lock xadd dword [edx], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
or edi, 0xffffffff
mov byte [ebp - 4], 1
test esi, esi
je 0x5cb13a
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x5cb13a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x5cb13a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebx + 0x14]
call fcn.005c9840
push eax
add eax, 0x10
lea ecx, [ebx + 0x14]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.005c9c60
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 4
test esi, esi
je 0x5cb1b5
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x5cb1b5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
cmp edx, 1
jne 0x5cb1b5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], 6
test esi, esi
je 0x5cb1eb
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x5cb1eb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x5cb1eb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5cb670
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x7ecb84]
cmp eax, 0xffffffff
je 0x5cb6c0
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5cb6c0
push esi
mov esi, dword [eax + 0x14]
mov eax, esi
mov ecx, dword [eax + 4]
cmp byte [ecx + 0xd], 0
jne 0x5cb6b5
mov edx, dword [esp + 8]
cmp dword [ecx + 0x10], edx
jae 0x5cb6a2
mov ecx, dword [ecx + 8]
jmp 0x5cb6a6
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x5cb698
cmp eax, esi
je 0x5cb6b5
cmp edx, dword [eax + 0x10]
jae 0x5cb6b7
mov eax, esi
cmp eax, esi
pop esi
je 0x5cb6c0
add eax, 0x14
ret
xor eax, eax
ret
Function at 0x5cb870
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c6c00
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x7ec06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.005c9f20
mov esi, eax
mov dword [ebp - 4], 0
push 0x5cb540
push 0x80768c
mov dword [ebp - 0x14], esi
call fcn.005cb200
mov eax, dword [0x7ecb84]
add esp, 8
cmp eax, 0xffffffff
je 0x5cb8d0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5d2160
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
mov esi, dword [eax]
mov edx, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x5d2171
sub edx, ecx
mov eax, 0x811c9dc5
push edi
xor edi, edi
lea ecx, [edx + esi]
cmp esi, ecx
cmova edx, edi
test edx, edx
je 0x5d21a3
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
xor ecx, eax
inc edi
imul eax, ecx, 0x1000193
cmp edi, edx
jne 0x5d2190
and eax, 0x7fffffff
push 0x1f31d
push eax
call fcn.006b68bb
imul ecx, edx, 0x41a7
add esp, 8
imul eax, eax, 0xb14
pop edi
sub ecx, eax
jns 0x5d21cd
add ecx, 0x7fffffff
mov eax, dword [ebx + 0x1c]
pop esi
and eax, ecx
pop ebx
pop ebp
ret 4
Function at 0x5e46c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c8037
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x7ec06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov dword [ebp - 4], 0
mov byte [edi + 0x1c], 0
lea esi, [edi + 0x3c]
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005f69e0
mov dword [esi], eax
lea esi, [edi + 0x44]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005f69e0
mov dword [esi], eax
mov dword [edi + 0x4c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0xf
mov byte [edi + 0x50], 0
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 4
mov dword [ecx + 0x10], 0
push 0
mov dword [ecx + 0x14], 0xf
push 0x7347ca
mov byte [ecx], 0
call fcn.00406551
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5e5dd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, dword [eax]
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5e5de0
sub ecx, edx
xor edi, edi
push ebx
xor ebx, ebx
mov eax, 0x811c9dc5
lea edx, [ecx + esi]
cmp esi, edx
cmova ecx, ebx
pop ebx
test ecx, ecx
je 0x5e5e13
movzx edx, byte [esi]
lea esi, [esi + 1]
xor edx, eax
inc edi
imul eax, edx, 0x1000193
cmp edi, ecx
jne 0x5e5e00
and eax, 0x7fffffff
push 0x1f31d
push eax
call fcn.006b68bb
imul eax, eax, 0xb14
add esp, 8
imul ecx, edx, 0x41a7
pop edi
pop esi
sub ecx, eax
lea eax, [ecx + 0x7fffffff]
js 0x5e5e40
mov eax, ecx
pop ebp
ret 4

Function at 0x607a10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ca438
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x7ec06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x80762c]
cmp eax, 2
je 0x607a74
mov dword [ebp - 0x18], 0x6e91c8
mov dword [ebp - 0x14], 0x5c22f0
mov byte [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0x80762c
call fcn.005c3160
add esp, 8
lea ecx, [ebp - 0x18]
call fcn.005c2650
mov dword [esi + 0xc], 0
mov eax, dword [0x807628]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 1
mov dword [esi + 0x24], 1
mov eax, dword [0x807628]
mov dword [esi + 0x1c], eax
mov eax, dword [0x807628]
mov dword [esi + 0x20], eax
mov eax, dword [0x807628]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x607e30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ca438
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x7ec06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x80762c]
cmp eax, 2
je 0x607e94
mov dword [ebp - 0x18], 0x6e91c8
mov dword [ebp - 0x14], 0x5c22f0
mov byte [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0x80762c
call fcn.005c3160
add esp, 8
lea ecx, [ebp - 0x18]
call fcn.005c2650
mov dword [esi + 0xc], 0
mov eax, dword [0x807628]
mov dword [esi + 0x30], eax
mov eax, dword [0x807628]
mov dword [esi + 0x34], eax
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x607ed0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ca438
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x7ec06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x80762c]
cmp eax, 2
je 0x607f34
mov dword [ebp - 0x18], 0x6e91c8
mov dword [ebp - 0x14], 0x5c22f0
mov byte [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 0x80762c
call fcn.005c3160
add esp, 8
lea ecx, [ebp - 0x18]
call fcn.005c2650
mov dword [esi + 0xc], 0
xorps xmm0, xmm0
mov eax, dword [0x807628]
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
movsd qword [esi + 0x38], xmm0
mov eax, dword [0x807628]
mov dword [esi + 0x40], eax
mov eax, dword [0x807628]
mov dword [esi + 0x44], eax
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x62c0a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x4c
push 0
lea eax, [esi + 0x10]
push eax
call fcn.005530b0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov eax, 1
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
pop esi
pop ebp
ret
Function at 0x62caf0
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x4c
push 0
lea eax, [esi + 0x20]
push eax
call fcn.005530b0
add esp, 0xc
mov dword [esi], 0xc1059ed8
mov dword [esi + 4], 0x367cd507
mov eax, 1
mov dword [esi + 8], 0x3070dd17
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
pop esi
pop ebp
ret

Function at 0x62ce40
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x4c
push 0
lea eax, [esi + 0x20]
push eax
call fcn.005530b0
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov eax, 1
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
pop esi
pop ebp
ret
Function at 0x62dee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0062dfb0

Function at 0x62def0
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x30
mov eax, 1
pop ebp
ret
Function at 0x62e490
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0x40
mov eax, 1
pop ebp
ret
Function at 0x62ef60
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x4c
push 0
lea eax, [esi + 0x14]
push eax
call fcn.005530b0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov eax, 1
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
pop ebp
ret
Function at 0x632850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp + 8], edx
mov esi, dword [esi + 0x60]
mov dword [ebp - 0x10], esi
mov edi, dword [esi + 0x70]
test edi, edi
je 0x6328b8
test ecx, ecx
je 0x632898
nop dword [eax]
cmp edi, 0x40
jae 0x632898
mov al, byte [edi + esi + 0x30]
inc edi
xor al, byte [ebx]
inc ebx
mov byte [edx], al
inc edx
mov dword [ebp + 8], edx
sub ecx, 1
jne 0x632880
mov dword [esi + 0x70], edi
test ecx, ecx
je 0x63297c
cmp edi, 0x40
jne 0x6328b8
mov dword [esi + 0x70], 0
add dword [esi + 0x20], 1
jne 0x6328b8
inc dword [esi + 0x24]
mov edi, dword [esi + 0x20]
mov eax, ecx
and eax, 0x3f
mov dword [ebp - 0xc], edi
sub ecx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
cmp ecx, 0x40
jb 0x632928
mov eax, ecx
xor edx, edx
mov ecx, dword [ebp - 0xc]
shr eax, 6
add ecx, eax
cmp ecx, eax
cmovae edx, ecx
neg edi
cmp ecx, eax
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 8]
cmovae edi, eax
lea eax, [esi + 0x20]
push eax
push esi
shl edi, 6
push edi
push ebx
push edx
call fcn.00658fe0
mov ecx, dword [ebp - 8]
add esp, 0x14
mov eax, dword [ebp - 0xc]
sub ecx, edi
add dword [ebp + 8], edi
add ebx, edi
mov dword [ebp - 8], ecx
mov dword [esi + 0x20], eax
test eax, eax
jne 0x63291b
inc dword [esi + 0x24]
mov dword [ebp - 0xc], eax
mov edi, eax
cmp ecx, 0x40
jae 0x6328d0
mov eax, dword [ebp - 4]
test eax, eax
je 0x63297c
push 0x40
lea edi, [esi + 0x30]
push 0
push edi
mov dword [ebp - 0xc], edi
call fcn.005530b0
lea eax, [esi + 0x20]
push eax
push esi
push 0x40
push edi
push edi
call fcn.00658fe0
mov eax, dword [ebp - 4]
add esp, 0x20
xor edi, edi
test eax, eax
je 0x632979
mov edx, dword [ebp + 8]
mov esi, eax
sub ebx, edx
nop dword [eax]
mov eax, dword [ebp - 0xc]
lea ecx, [edi + edx]
mov al, byte [eax + edi]
inc edi
xor al, byte [ebx + ecx]
mov byte [ecx], al
cmp edi, esi
jb 0x632960
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov dword [esi + 0x70], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x63c680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor dl, dl
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x63c6a6
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x63c696
pop edi
movzx eax, dl
pop esi
pop ebp
ret
Function at 0x63c810
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x7ec06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x63c8a1
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x63c8a1
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.00415d03
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.00560284
add esp, 0x1c
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [ebp - 0x108]
push 0
push ecx
test eax, eax
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [ebp - 0x104]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053bd3e
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0xff
push eax
call fcn.00415d03
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.00560284
add esp, 0x1c
mov byte [ebp - 5], 0
call fcn.0063c6e0
test eax, eax
jle 0x63c92a
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x63c940
push 0
lea eax, [ebp - 0x104]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x108]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053bd3e
mov esp, ebp
pop ebp
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0053bd3e
mov esp, ebp
pop ebp
ret
Function at 0x6433b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
sub ecx, 4
jb 0x6433d7
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x6433de
add edx, 4
add esi, 4
sub ecx, 4
jae 0x6433c6
xor edi, edi
cmp ecx, 0xfffffffc
je 0x643419
movzx edi, byte [edx]
movzx eax, byte [esi]
sub edi, eax
jne 0x643419
cmp ecx, 0xfffffffd
je 0x643419
movzx edi, byte [edx + 1]
movzx eax, byte [esi + 1]
sub edi, eax
jne 0x643419
cmp ecx, 0xfffffffe
je 0x643419
movzx edi, byte [edx + 2]
movzx eax, byte [esi + 2]
sub edi, eax
jne 0x643419
cmp ecx, 0xffffffff
je 0x643419
movzx edi, byte [edx + 3]
movzx eax, byte [esi + 3]
sub edi, eax
test edi, edi
jle 0x643434
push 0x159
push str.d:jenkinsworkspacecurl_1_f14b4b73cryptox509v3_v3_addr.c
push str.assertion_failed:_memcmp_min__max__length____0
call fcn.0063c6b0
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor ecx, ecx
test ebx, ebx
jle 0x643451
mov esi, dword [ebp + 8]
mov edx, edi
sub esi, edi
mov al, byte [esi + edx]
cmp al, byte [edx]
jne 0x643451
inc ecx
inc edx
cmp ecx, ebx
jl 0x643444
lea edx, [ebx - 1]
mov ebx, dword [ebp + 8]
test edx, edx
js 0x643473
mov esi, ebx
lea eax, [edx + edi]
sub esi, edi
cmp byte [eax + esi], 0
jne 0x643473
cmp byte [eax], 0xff
jne 0x643473
dec eax
sub edx, 1
jns 0x643462
cmp ecx, edx
jl case.0x64349f.2
jle 0x643485
pop edi
pop esi
lea eax, [ecx*8]
pop ebx
pop ebp
ret
mov dh, byte [ecx + ebx]
mov bl, byte [ecx + edi]
mov dl, bl
xor dl, dh
movzx eax, dl
dec eax
cmp eax, 0x7e
ja case.0x64349f.2
movzx eax, byte [eax + 0x643510]
jmp dword [eax*4 + 0x6434f0]
mov eax, 7
jmp 0x6434d5
mov eax, 6
jmp 0x6434d5
mov eax, 5
jmp 0x6434d5
mov eax, 4
jmp 0x6434d5
mov eax, 3
jmp 0x6434d5
mov eax, 2
jmp 0x6434d5
mov eax, 1
test dl, dh
jne case.0x64349f.2
and bl, dl
cmp bl, dl
jne case.0x64349f.2
pop edi
pop esi
lea eax, [eax + ecx*8]
pop ebx
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov cl, byte [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
add ebx, esi
push edi
mov edi, dword [ebp + 8]
movzx eax, cl
add edi, esi
and eax, 1
test esi, esi
je 0x647a3e
movzx edx, byte [ebx - 1]
lea ebx, [ebx - 1]
movzx ecx, cl
lea edi, [edi - 1]
xor edx, ecx
mov cl, byte [ebp + 0x14]
add eax, edx
mov byte [edi], al
shr eax, 8
sub esi, 1
jne 0x647a20
pop edi
pop esi
pop ebx
pop ebp
ret