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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffd4
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
test byte [eax + 8], 1
je 0x601821
push 4
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00601970
add esp, 0xc
mov ecx, dword [ebp + 8]
test byte [ecx + 8], 4
je 0x60184b
push 0
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
push edx
call sub.KERNEL32.DLL_WriteFile
mov eax, dword [ebp - 4]
jmp 0x601940
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
mov dword [ebp - 8], eax
lea ebx, [ebp - 0x102c]
mov edx, dword [ebp + 0xc]
add edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 0x1000
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0x10]
jge 0x601877
lea eax, [ebp - 0x10]
jmp 0x60187a
lea eax, [ebp + 0x10]
mov edi, dword [eax]
jmp 0x6018cc
mov edi, dword [ebp - 0x14]
sub edi, esi
push edi
push esi
push ebx
call fcn.005d9c3c
add ebx, edi
xor ecx, ecx
inc edi
add esp, 0xc
mov byte [ebx], 0xd
inc ebx
add esi, edi
mov byte [ebx], 0xa
inc ebx
mov edx, dword [ebp - 8]
sub edx, ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jge 0x6018b5
lea eax, [ebp - 0x18]
jmp 0x6018b8
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
sub edx, esi
mov dword [ebp - 0x20], edx
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x20]
jl 0x6018ca
lea eax, [ebp - 0x20]
mov edi, dword [eax]
test edi, edi
jle 0x6018e3
push edi
push 0xa
push esi
call fcn.005d9e85
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x60187e
test edi, edi
jle 0x6018f6
push edi
push esi
push ebx
call fcn.005d9c3c
add esp, 0xc
add ebx, edi
add esi, edi
lea eax, [ebp - 0x102c]
mov dword [ebp - 0x24], eax
sub ebx, eax
test ebx, ebx
je 0x60193b
push 0
lea edx, [ebp - 0x28]
push edx
mov edi, ebx
push edi
mov eax, dword [ebp - 0x24]
push eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
push ecx
call sub.KERNEL32.DLL_WriteFile
cmp edi, dword [ebp - 0x28]
je 0x60193b
cmp dword [ebp - 0x28], 0
jne 0x60192c
xor eax, eax
jmp 0x601966
mov edx, dword [ebp - 0x28]
add dword [ebp - 0x24], edx
sub edi, dword [ebp - 0x28]
mov ebx, edi
test ebx, ebx
jne 0x601905
mov eax, esi
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jne 0x601949
mov al, 1
jmp 0x601966
test eax, eax
jle 0x60195d
cmp eax, dword [ebp + 0x10]
jge 0x60195d
sub dword [ebp + 0x10], eax
add dword [ebp + 0xc], eax
jmp 0x601808
xor eax, eax
jmp 0x601966
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x601a00
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebx]
push eax
call sub.KERNEL32.DLL_CreateFileMappingA
mov esi, eax
mov dword [ebx + 4], esi
test esi, esi
je 0x601a6c
mov eax, dword [ebp + 0x10]
mov edx, edi
and edx, 0xffffffff
push eax
mov eax, edi
push edx
cdq
mov eax, edx
xor edx, edx
push eax
push 4
push esi
call sub.KERNEL32.DLL_MapViewOfFile
mov esi, eax
test esi, esi
je 0x601a5a
push 1
add edi, dword [ebp + 0x10]
push edi
push ebx
call fcn.00601970
add esp, 0xc
test eax, eax
jge 0x601a6e
mov edx, dword [ebp + 0x10]
push edx
push esi
push ebx
call fcn.00601a78
add esp, 0xc
xor esi, esi
jmp 0x601a6e
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4673b0
Capabilities:
Packed with generic packer
Resolve function by parsing pe exports

Disassembly:
pushal
mov esi, 0x463015
lea edi, [esi - 0x62015]
push edi
mov ebp, esp
lea ebx, [esp - 0x3e80]
xor eax, eax
push eax
cmp esp, ebx
jne 0x4673c8
inc esi
inc esi
push ebx
push 0x659c6
push edi
add ebx, 4
push ebx
push 0x4395
push esi
add ebx, 4
push ebx
push eax
mov dword [ebx], 0x20003
nop
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov edx, dword [esp + 0x90]
mov dword [esp + 0x74], 0
mov byte [esp + 0x73], 0
mov ebp, dword [esp + 0x9c]
lea eax, [edx + 4]
mov dword [esp + 0x78], eax
mov eax, 1
movzx ecx, byte [edx + 2]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x41fc70
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41fc76
ret

Function at 0x42b678
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42b829
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004046d8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42b840
call fcn.00404334
mov eax, ebx
call fcn.0041dbdc
mov edi, eax
dec edi
test edi, edi
jl 0x42b730
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041dbb0
mov edx, dword [0x430f28]
call fcn.00403464
test al, al
je 0x42b72c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041dbb0
lea edx, [ebp - 0x14]
call fcn.0043bf58
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004046d8
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004043a8
inc esi
dec edi
jne 0x42b6de
mov al, byte [0x42b844]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42b850
mov eax, dword [ebp - 0xc]
call fcn.0040d730
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004040c0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043bf58
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42b840
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0043bf58
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42b840
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42b840
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x42b85c
call fcn.00409530
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b830
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0040404c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0040404c
lea eax, [ebp - 0x14]
call fcn.00404028
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040404c
ret
Function at 0x45fcec
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45fd1a
mov eax, ebx
call fcn.004607a0
cmp dword [ebx + 0x40], 0
je 0x45fd13
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45fd8b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45fd7d
cmp dword [ebx + 8], 0
je 0x45fd3c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45fd4e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45fd7d
cmp dword [ebx + 8], 0
je 0x45fd2f
cmp eax, 3
je 0x45fd61
dec eax
jne 0x45fd2f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45fd2f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45fd2f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45fda9
cmp dword [ebx + 0x14], 0xcc
je 0x45fda9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045fdb4
pop ebx
ret

Function at 0x47a228
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x47a29f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, edi
call fcn.0040407c
mov eax, edi
call fcn.004042e8
test eax, eax
jle 0x47a295
mov dword [ebp - 8], eax
mov ebx, 1
mov eax, dword [ebp - 4]
call fcn.00404540
mov dl, byte [edi + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
xor eax, eax
mov al, byte [edi + ebx - 1]
add si, ax
imul ax, si, 0x5a70
add ax, 0x5ffe
mov esi, eax
inc ebx
dec dword [ebp - 8]
jne 0x47a263
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47a2a9
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x47a2b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x47a32b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, edi
call fcn.0040407c
mov eax, edi
call fcn.004042e8
test eax, eax
jle 0x47a321
mov dword [ebp - 8], eax
mov ebx, 1
mov eax, dword [ebp - 4]
call fcn.00404540
mov dl, byte [edi + ebx - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
xor eax, eax
mov al, byte [edi + ebx - 1]
add si, ax
imul si, word [0x489090]
add si, word [0x489094]
inc ebx
dec dword [ebp - 8]
jne 0x47a2eb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47a335
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x47a33c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47a3de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404028
mov ebx, 1
mov eax, dword [ebp - 4]
call fcn.004042e8
mov esi, eax
test esi, esi
jle 0x47a3c8
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 8]
mov dl, byte [edx + ebx - 1]
xor al, dl
and eax, 0xff
lea ecx, [ebp - 0x10]
mov edx, 2
call fcn.00408614
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.004042f0
inc ebx
mov eax, dword [ebp - 8]
call fcn.004042e8
cmp ebx, eax
jle 0x47a3c2
mov ebx, 1
inc dword [ebp - 0xc]
dec esi
jne 0x47a381
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a3e5
lea eax, [ebp - 0x10]
call fcn.00404028
ret
Function at 0x423640
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
mov dword [edi + 0x170bc], 0x64686c83
push edi
or ebp, 0xffffffff
jmp 0x42366a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x423671
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x423660
mov eax, 1
add ebx, ebx
jne 0x423683
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x423678
jne 0x423694
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x423678
xor ecx, ecx
sub eax, 3
jb 0x4236a8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42371a
mov ebp, eax
add ebx, ebx
jne 0x4236b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4236c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4236e4
inc ecx
add ebx, ebx
jne 0x4236d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4236c5
jne 0x4236e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4236c5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x423704
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4236f5
jmp 0x423666
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x423704
add edi, ecx
jmp 0x423666
pop esi
mov edi, esi
mov ecx, 0xc3d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x423722
cmp byte [edi], 1
jne 0x423722
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x423727
lea edi, [esi + 0x21000]
mov eax, dword [edi]
or eax, eax
je 0x423796
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x23218]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2327c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x423754
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x23280]
or eax, eax
je 0x423790
mov dword [ebx], eax
add ebx, 4
jmp 0x423771
call dword [esi + 0x23284]
popal
jmp 0x4168a4
Function at 0x1000db60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x54
call fcn.1008ba80
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
push ebx
push ebp
mov ebp, dword [esp + 0x64]
push edi
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x10], eax
mov byte [esp + 0x14], 0x41
xor edi, edi
call fcn.1001eae0
lea edx, [esp + 0x18]
push 8
push edx
call fcn.1001f480
lea eax, [esp + 0x30]
push eax
call fcn.1001eae0
add esp, 0x10
xor ebx, ebx
test ebp, ebp
jg 0x1000dbf4
lea eax, [esp + 0x38]
push 0x14
push eax
call fcn.1001e800
lea ecx, [esp + 0x1c]
push ecx
call fcn.1001ece0
lea edx, [esp + 0x30]
push edx
call fcn.1001ece0
add esp, 0x10
pop edi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1007a730
add esp, 0x54
ret
mov edi, dword [esp + 0x34]
add edi, 1
cmp edi, 0x10
mov dword [esp + 0x34], edi
ja 0x1000dd2e
test edi, edi
jbe 0x1000dc1b
mov ecx, dword [esp + 0x10]
push edi
push ecx
lea edx, [esp + 0x54]
push edx
call fcn.10081610
add esp, 0xc
add byte [esp + 0x10], 1
push 0
call fcn.100194a0
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1001ebc0
push edi
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.1001ec50
mov eax, dword [esi + 0xbc]
mov ecx, dword [eax + 0x10]
push ecx
add eax, 0x14
push eax
lea edx, [esp + 0x44]
push edx
call fcn.1001ec50
mov eax, dword [esi + 0x58]
push 0x20
add eax, 0x98
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.1001ec50
mov edx, dword [esi + 0x58]
push 0x20
add edx, 0xb8
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.1001ec50
push 0
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.1001ec60
add esp, 0x48
push 0
call fcn.100199b0
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1001ebc0
mov eax, dword [esi + 0xbc]
mov ecx, dword [eax + 0x10]
push ecx
add eax, 0x14
push eax
lea edx, [esp + 0x28]
push edx
call fcn.1001ec50
push 0x14
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.1001ec50
add esp, 0x24
lea edi, [ebx + 0x10]
cmp edi, ebp
push 0
jle 0x1000dd08
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.1001ec60
mov eax, dword [esp + 0x18]
mov ecx, ebp
sub ecx, ebx
push ecx
lea edx, [esp + 0x48]
push edx
push eax
call fcn.10086400
add esp, 0x18
jmp 0x1000dd1a
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.1001ec60
add esp, 0xc
add dword [esp + 0xc], 0x10
mov ebx, edi
cmp ebx, ebp
jl 0x1000dbf0
jmp 0x1000dbb4
push 0x9d
push str.._ssl_s3_enc.c
push 0x44
push 0xee
push 0x14
call fcn.100129f0
mov ecx, dword [esp + 0x70]
add esp, 0x14
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1007a730
add esp, 0x54
ret
Function at 0x1000f330
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 4
call fcn.1008ba80
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov edi, edx
mov eax, ecx
cdq
sub eax, edx
mov esi, eax
and ecx, 1
sar esi, 1
lea eax, [esi + edi]
add esi, ecx
mov ecx, dword [esp + 0x20]
push ebx
push ecx
mov ecx, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x2c]
mov edx, ebp
mov dword [esp + 0x1c], eax
call fcn.1000f0d0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
push ebx
push edx
push esi
mov esi, dword [esp + 0x44]
push eax
mov edx, esi
call fcn.1000f0d0
add esp, 0x20
test ebx, ebx
jle 0x1000f3ad
mov ecx, esi
mov eax, ebp
sub ecx, ebp
mov esi, ebx
lea esp, [esp]
mov dl, byte [ecx + eax]
xor byte [eax], dl
add eax, 1
sub esi, 1
jne 0x1000f3a0
pop edi
pop esi
pop ebp
pop ecx
ret

Function at 0x10013480
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.1008ba80
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x100134e5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x100134e5
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.10087fb4
add eax, 0x40
push eax
call fcn.10091c4e
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1007a730
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.10091b87
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x10013574
call fcn.100133a0
test eax, eax
je 0x10013574
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
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.1007a730
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1007a730
add esp, 0x108
ret

Function at 0x100138e0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x10013929
mov al, byte [edx]
test al, al
je 0x10013929
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
mov ecx, eax
imul ecx, eax
mov al, byte [edx + 1]
add edx, 1
xor esi, ecx
test al, al
jne 0x100138f7
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x10014730
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
push 0
call sub.WS2_32.dll_WSASetLastError
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [edi + 0x1c]
push 0
push eax
push ecx
push edx
call sub.WS2_32.dll_send
push 0xf
push edi
mov esi, eax
call fcn.10013f60
add esp, 8
test esi, esi
jg 0x1001478b
je 0x1001476a
cmp esi, 0xffffffff
jne 0x1001478b
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 4
je 0x10014780
cmp eax, 0xb
je 0x10014780
cmp eax, 0x2733
jne 0x1001478b
push 0xa
push edi
call fcn.10013f80
add esp, 8
pop edi
mov eax, esi
pop esi
ret

Function at 0x1001e720
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
push ebx
call fcn.10092387
mov edi, eax
add esp, 8
test edi, edi
jne 0x1001e7b6
push 0x7e
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.100129f0
push 0x100a1844
push esi
push 0x100ab814
push ebx
push str.fopen_
push 5
call fcn.10012c00
add esp, 0x2c
call fcn.1007dc76
cmp dword [eax], 2
jne 0x1001e798
push 0x81
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.100129f0
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0x83
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.100129f0
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0x100d72e8
call fcn.10014490
mov esi, eax
add esp, 4
test esi, esi
jne 0x1001e7d8
push edi
call fcn.1008e80a
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0
push esi
call fcn.10013f60
push edi
push 1
push 0x6a
push esi
call fcn.10014270
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x1001f8e0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.1008ba80
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0xa0]
push ebp
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
xor eax, eax
test ebx, ebx
push edi
mov dword [esp + 0x14], ecx
je 0x1001f92f
mov eax, 1
mov dword [esi], ebx
jmp 0x1001f931
mov ebx, dword [esi]
test ecx, ecx
je 0x1001f9f8
push ebx
call fcn.1001f470
mov edi, eax
add esp, 4
cmp edi, 0x80
jle 0x1001f960
push str.j____int_sizeof_ctx__key_
push 0x54
push str..cryptohmachmac.c
call fcn.100135a0
add esp, 0xc
mov ebp, dword [esp + 0xa8]
cmp edi, ebp
jge 0x1001f999
mov ecx, dword [esp + 0x10]
push ecx
lea edi, [esi + 4]
push ebx
push edi
call fcn.1001ebc0
mov edx, dword [esp + 0x20]
push ebp
push edx
push edi
call fcn.1001ec50
lea ebp, [esi + 0x34]
push ebp
lea eax, [esi + 0x38]
push eax
push edi
call fcn.1001ec60
add esp, 0x24
jmp 0x1001f9d4
cmp ebp, 0x80
jbe 0x1001f9b5
push str.len_0__len__int_sizeof_ctx__key_
push 0x5e
push str..cryptohmachmac.c
call fcn.100135a0
add esp, 0xc
mov ecx, dword [esp + 0x14]
push ebp
push ecx
lea edx, [esi + 0x38]
push edx
call fcn.10086400
mov eax, dword [esp + 0xb4]
lea ebp, [esi + 0x34]
add esp, 0xc
mov dword [ebp], eax
mov ebp, dword [ebp]
cmp ebp, 0x80
je 0x1001f9fc
mov ecx, 0x80
sub ecx, ebp
push ecx
lea edx, [esi + ebp + 0x38]
push 0
push edx
call fcn.10081610
add esp, 0xc
jmp 0x1001f9fc
test eax, eax
je 0x1001fa75
xor eax, eax
mov edi, edi
mov cl, byte [esi + eax + 0x38]
xor cl, 0x36
mov byte [esp + eax + 0x18], cl
add eax, 1
cmp eax, 0x80
jl 0x1001fa00
mov ebp, dword [esp + 0x10]
push ebp
lea edi, [esi + 0x14]
push ebx
push edi
call fcn.1001ebc0
push ebx
call fcn.1001f470
push eax
lea edx, [esp + 0x2c]
push edx
push edi
call fcn.1001ec50
add esp, 0x1c
xor eax, eax
jmp 0x1001fa40
mov cl, byte [esi + eax + 0x38]
xor cl, 0x5c
mov byte [esp + eax + 0x18], cl
add eax, 1
cmp eax, 0x80
jl 0x1001fa40
push ebp
lea edi, [esi + 0x24]
push ebx
push edi
call fcn.1001ebc0
push ebx
call fcn.1001f470
push eax
lea edx, [esp + 0x2c]
push edx
push edi
call fcn.1001ec50
add esp, 0x1c
lea eax, [esi + 0x14]
push eax
add esi, 4
push esi
call fcn.1001ed50
mov ecx, dword [esp + 0xa0]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007a730
add esp, 0x8c
ret