joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004e710
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x101a49d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1004e740
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1004e77c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1004e77c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x1004e866
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1004e7a4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1004e7d7
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.1011f388
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x25], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x1004e839
sub eax, 1
je 0x1004e839
sub eax, 2
jne 0x1004e866
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.1011f388
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1004e856
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10124aa3
add esp, 0x10
cmp edi, eax
jne 0x1004e866
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x1004e767
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret 4
Function at 0x10054890
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101a49d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10054954
cmp byte [esi + 0x3e], 0
je 0x10054954
mov eax, dword [esi]
push edi
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x10054942
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x1005490a
sub eax, 1
je 0x1005490e
sub eax, 2
jne 0x10054942
mov byte [esi + 0x3e], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1005492b
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10124aa3
add esp, 0x10
cmp edi, eax
jne 0x10054942
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret

Function at 0x10054a60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101a49d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10054b1c
cmp byte [esi + 0x3d], 0
je 0x10054b1c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10054b0a
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x10054ad2
sub eax, 1
je 0x10054ad6
sub eax, 2
jne 0x10054b0a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10054af3
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.10124aa3
add esp, 0x10
cmp edi, eax
jne 0x10054b0a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret

Function at 0x10059e40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 4
mov esi, ecx
call fcn.1011a4d9
mov edx, dword [ebp + 8]
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x100611e0
push 0
push 0
mov dword [eax], edx
call fcn.10123c98
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x10059e79
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
push 6
mov dword [edi], 0
call fcn.1010535e
int3
Function at 0x10059f60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x44
mov edi, ecx
call fcn.1011a4d9
mov edx, dword [ebp + 0x18]
mov esi, eax
mov ecx, dword [ebp + 0x14]
add esp, 4
mov edx, dword [edx]
mov dword [esi], edx
lea edx, [esi + 4]
mov dword [edx], 0
cmp edx, ecx
je 0x10059f95
mov eax, dword [ecx]
mov dword [edx], eax
mov dword [ecx], 0
push dword [ebp + 0x10]
mov byte [edx + 4], 0
mov al, byte [ecx + 8]
lea ecx, [esi + 0x10]
mov byte [edx + 8], al
call fcn.10052c90
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
call fcn.10052c90
lea ebx, [edi + 4]
mov dword [esi + 0x40], 0x10035760
push ebx
push 0
push esi
push 0x10061210
push 0
push 0
call fcn.10123c98
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x10059fe3
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
push 6
mov dword [ebx], 0
call fcn.1010535e
int3

Function at 0x1005a080
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 8
mov esi, ecx
call fcn.1011a4d9
mov edx, dword [0x101ab1b8]
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x10061410
push 0
push 0
mov dword [eax], edx
mov dword [eax + 4], 0x1003af50
call fcn.10123c98
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x1005a0bf
pop edi
mov eax, esi
pop esi
ret 8
push 6
mov dword [edi], 0
call fcn.1010535e
int3

Function at 0x1005a0d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 8
mov esi, ecx
call fcn.1011a4d9
mov edx, dword [ebp + 0xc]
lea edi, [esi + 4]
push edi
push 0
push eax
mov dl, byte [edx]
push 0x100614b0
push 0
push 0
mov byte [eax], dl
mov dword [eax + 4], 0x10042980
call fcn.10123c98
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x1005a112
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
push 6
mov dword [edi], 0
call fcn.1010535e
int3

Function at 0x1005a120
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 8
mov esi, ecx
call fcn.1011a4d9
mov edx, dword [ebp + 0xc]
lea edi, [esi + 4]
push edi
push 0
push eax
mov edx, dword [edx]
push 0x10061410
mov dword [eax], edx
mov edx, dword [ebp + 8]
push 0
push 0
mov dword [eax + 4], edx
call fcn.10123c98
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x1005a161
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
push 6
mov dword [edi], 0
call fcn.1010535e
int3
Function at 0x1005a170
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x34
mov edi, ecx
call fcn.1011a4d9
mov edx, dword [ebp + 0x30]
mov esi, eax
mov eax, dword [ebp + 0x24]
add esp, 4
mov edx, dword [edx]
mov dword [esi], edx
mov edx, dword [ebp + 0x2c]
mov ecx, dword [edx]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
lea ecx, [esi + 0x24]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esi + 0x20], eax
mov dword [ecx], 0
cmp ecx, edx
je 0x1005a1e5
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [edx], 0
lea ebx, [edi + 4]
mov byte [ecx + 4], 0
mov al, byte [edx + 8]
push ebx
push 0
push esi
push 0x100614e0
push 0
mov byte [ecx + 8], al
push 0
mov dword [esi + 0x30], 0x10045ff0
call fcn.10123c98
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x1005a21d
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x2c
push 6
mov dword [ebx], 0
call fcn.1010535e
int3

Function at 0x1005a230
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x1c
mov edi, ecx
call fcn.1011a4d9
mov edx, dword [ebp + 0x18]
mov esi, eax
add esp, 4
mov edx, dword [edx]
mov dword [esi], edx
mov edx, dword [ebp + 0x14]
mov ecx, dword [edx]
mov edx, dword [ebp + 0xc]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
lea ecx, [esi + 0xc]
mov dword [ecx], 0
cmp ecx, edx
je 0x1005a275
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [edx], 0
lea ebx, [edi + 4]
mov byte [ecx + 4], 0
mov al, byte [edx + 8]
push ebx
push 0
push esi
push 0x10061570
mov byte [ecx + 8], al
mov eax, dword [ebp + 8]
push 0
push 0
mov dword [esi + 0x18], eax
call fcn.10123c98
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x1005a2ac
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
push 6
mov dword [ebx], 0
call fcn.1010535e
int3
Function at 0x1005a2c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x24
mov edi, ecx
call fcn.1011a4d9
mov edx, dword [ebp + 0x20]
mov esi, eax
mov eax, dword [ebp + 0x14]
add esp, 4
mov edx, dword [edx]
mov dword [esi], edx
mov edx, dword [ebp + 0x1c]
mov ecx, dword [edx]
mov edx, dword [ebp + 0xc]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
lea ecx, [esi + 0x14]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov dword [esi + 0x10], eax
mov dword [ecx], 0
cmp ecx, edx
je 0x1005a315
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [edx], 0
lea ebx, [edi + 4]
mov byte [ecx + 4], 0
mov al, byte [edx + 8]
push ebx
push 0
push esi
push 0x100615b0
push 0
mov byte [ecx + 8], al
push 0
mov dword [esi + 0x20], 0x10045f30
call fcn.10123c98
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x1005a34d
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x1c
push 6
mov dword [ebx], 0
call fcn.1010535e
int3

Function at 0x1005a360
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x20
mov edi, ecx
call fcn.1011a4d9
mov edx, dword [ebp + 0x1c]
mov esi, eax
mov eax, dword [ebp + 0x10]
add esp, 4
mov edx, dword [edx]
mov dword [esi], edx
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx]
mov edx, dword [ebp + 0xc]
mov dword [esi + 4], ecx
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
lea ecx, [esi + 0x10]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
mov dword [ecx], 0
cmp ecx, edx
je 0x1005a3ad
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [edx], 0
lea ebx, [edi + 4]
mov byte [ecx + 4], 0
mov al, byte [edx + 8]
push ebx
push 0
push esi
push 0x10061660
push 0
mov byte [ecx + 8], al
push 0
mov dword [esi + 0x1c], 0x100460d0
call fcn.10123c98
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x1005a3e5
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
push 6
mov dword [ebx], 0
call fcn.1010535e
int3

Function at 0x1005a4e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x38
mov edi, ecx
call fcn.1011a4d9
mov edx, dword [ebp + 0x14]
add esp, 4
mov esi, eax
mov edx, dword [edx]
push dword [ebp + 0x10]
lea ecx, [esi + 4]
mov dword [esi], edx
call fcn.10052530
push dword [ebp + 0xc]
lea ecx, [esi + 0x1c]
call fcn.10052530
lea ebx, [edi + 4]
mov dword [esi + 0x34], 0x10023e30
push ebx
push 0
push esi
push 0x100616a0
push 0
push 0
call fcn.10123c98
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x1005a53f
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
push 6
mov dword [ebx], 0
call fcn.1010535e
int3

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x1005cf01
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1005cef0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x1005d180
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x1005d1b1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1005d1a0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x1005f820
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0xc
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
jb 0x1005f83b
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x1005f85c
mov edx, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1005f848
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0xc]
mov ecx, ebx
push eax
call fcn.1005f190
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x1005f882
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x7ffffff
je 0x1005f9be
push 0x20
call fcn.1011a4d9
add esp, 4
mov edi, eax
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.10052530
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
mov dword [ebp - 4], eax
movss xmm3, dword [ebx]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x10194ec0]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10194ec0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1005f957
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.10122580
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
add esp, 8
fstp dword [ebp + 0xc]
movss xmm0, dword [ebp + 0xc]
call fcn.10148650
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 4]
cmp eax, ecx
jae 0x1005f93b
cmp eax, 0x200
jae 0x1005f939
shl eax, 3
cmp eax, ecx
jae 0x1005f93b
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1005e0d0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1005f190
mov edx, dword [eax]
jmp 0x1005f95a
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x1005f986
mov dword [ecx + eax*8], edi
jmp 0x1005f9a8
cmp esi, edx
jne 0x1005f99f
mov dword [ecx + eax*8], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1005f9ac
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.101055ea
int3
Function at 0x10071480
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x108
call fcn.1011abd0
mov eax, dword [0x101a49d4]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x1007151f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x1007151f
lea eax, [esp + 0x114]
push eax
push 0
push dword [esp + 0x118]
lea eax, [esp + 0x14]
push 0x100
push eax
call fcn.10020ea0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.10122514
add esp, 0x1c
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [esp + 4]
push 0
push ecx
test eax, eax
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1011a2e1
add esp, 0x108
ret
lea eax, [esp + 0x114]
push eax
push 0
push dword [esp + 0x118]
lea eax, [esp + 0x14]
push 0xff
push eax
call fcn.10020ea0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.10122514
add esp, 0x1c
mov byte [esp + 0x107], 0
call fcn.10071340
test eax, eax
jle 0x100715b3
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x100715c7
push 0
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
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 [esp + 0x104]
xor ecx, esp
call fcn.1011a2e1
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.1011a2e1
add esp, 0x108
ret
Function at 0x100824f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.1011abd0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
mov ebx, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x160]
shld eax, edi, 3
shld ecx, ebx, 3
shl edi, 3
shl ebx, 3
cmp dword [esi + 0x168], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
jne 0x10082545
cmp dword [esi + 0x16c], 0
jne 0x10082545
lea ebp, [esi + 0x60]
jmp 0x1008255a
lea ebp, [esi + 0x60]
lea eax, [esi + 0x40]
push ebp
push eax
call edx
mov eax, dword [esp + 0x24]
add esp, 8
mov ecx, dword [esp + 0x10]
lea edx, [esi + 0x40]
bswap eax
xor dword [edx], eax
bswap ecx
xor dword [esi + 0x48], ecx
push ebp
bswap edi
xor dword [edx + 4], edi
bswap ebx
xor dword [esi + 0x4c], ebx
push edx
call dword [esp + 0x1c]
mov eax, dword [esi + 0x20]
lea ecx, [esi + 0x40]
xor dword [ecx], eax
add esp, 8
mov eax, dword [esi + 0x24]
xor dword [ecx + 4], eax
mov eax, dword [esi + 0x28]
xor dword [esi + 0x48], eax
mov eax, dword [esi + 0x2c]
xor dword [esi + 0x4c], eax
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
test edx, edx
je 0x100825bc
mov eax, dword [esp + 0x14]
cmp eax, 0x10
ja 0x100825bc
add esp, 8
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
jmp fcn.100711d0
or eax, 0xffffffff
add esp, 8
ret
Function at 0x10085900
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push dword [esp + 0x10]
call fcn.100859e0
mov edi, eax
add esp, 8
test edi, edi
jne 0x10085991
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.1006e0f0
push 0x10167e14
push esi
push 0x10167e18
push dword [esp + 0x2c]
push str.fopen_
push 5
call fcn.1006d7e0
add esp, 0x2c
call fcn.10124c14
cmp dword [eax], 2
je 0x1008596f
call fcn.10124c14
cmp dword [eax], 6
je 0x1008596f
lea eax, [edi + 2]
mov ecx, 0xb8
jmp 0x10085979
mov eax, 0x80
mov ecx, 0xb6
push ecx
push str..crypto_bio_bss_file.c
push eax
push 0x6d
push 0x20
call fcn.1006e0f0
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0x101a216c
call fcn.1006e6e0
mov esi, eax
add esp, 4
test esi, esi
jne 0x100859b2
push edi
call fcn.101238e1
add esp, 4
xor eax, eax
pop edi
pop esi
ret
push 0
push esi
call fcn.1006e310
push edi
push 1
push 0x6a
push esi
call fcn.1006e340
add esp, 0x18
mov eax, esi
pop edi
pop esi
ret
Function at 0x10097600
Capabilities:
Encode data using base64

Disassembly:
mov eax, 4
call fcn.1011abd0
push esi
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 4], ecx
test esi, esi
jle 0x10097703
mov edx, dword [esp + 0xc]
push ebx
push ebp
push edi
mov edi, dword [esp + 0x1c]
inc edi
nop dword [eax]
movzx eax, byte [edi - 1]
cmp esi, 3
jb 0x10097688
movzx ecx, byte [edi]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 1]
shl eax, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + 0x1016ea98]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x1016ea98]
mov byte [edx + 1], cl
mov ecx, eax
and ecx, 0x3f
shr eax, 6
add edx, 2
and eax, 0x3f
mov bl, byte [ecx + 0x1016ea98]
mov ecx, edx
mov al, byte [eax + 0x1016ea98]
jmp 0x100976d4
shl eax, 0x10
cmp esi, 2
jne 0x10097698
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + 0x1016ea98]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x1016ea98]
mov byte [edx + 1], cl
add edx, 2
mov ecx, edx
cmp esi, 1
jne 0x100976c6
mov al, 0x3d
jmp 0x100976d2
shr eax, 6
and eax, 0x3f
mov al, byte [eax + 0x1016ea98]
mov bl, 0x3d
lea ebp, [ecx + 2]
mov byte [edx], al
mov byte [ecx + 1], bl
sub esi, 3
mov ecx, dword [esp + 0x10]
add edi, 3
add ecx, 4
mov edx, ebp
mov dword [esp + 0x10], ecx
test esi, esi
jg 0x10097630
pop edi
mov byte [ebp], 0
mov eax, ecx
pop ebp
pop ebx
pop esi
pop ecx
ret
mov eax, dword [esp + 0xc]
pop esi
mov byte [eax], cl
mov eax, ecx
pop ecx
ret