joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b1c00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.1011abd0
mov eax, dword [0x101a49d4]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
push ebx
push ebp
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
shl ebx, 0x18
push esi
push edi
mov edi, dword [esp + 0x50]
movzx eax, byte [edx]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov esi, dword [edi]
movzx eax, byte [edx + 2]
or ebx, eax
mov dword [esp + 0x14], edi
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x24], ebp
movzx eax, byte [edx + 6]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x18], ebx
mov eax, ebx
mov byte [esp + 0x2f], bl
shr eax, 0x18
or edx, ecx
mov byte [esp + 0x2c], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], edx
mov byte [esp + 0x33], dl
test eax, eax
je 0x100b1dc5
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
nop dword [eax]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x100b1d55
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
call fcn.10018980
mov ebx, dword [esp + 0x20]
add esp, 8
mov edx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ebx
mov ecx, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
inc ebp
mov byte [esp + 0x2f], bl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov al, byte [esp + esi + 0x2c]
inc esi
xor al, byte [edi]
and esi, 7
mov byte [ecx + edi], al
inc edi
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x100b1cf0
test ebp, ebp
mov ebp, dword [esp + 0x24]
je 0x100b1dac
mov ecx, dword [esp + 0x28]
mov eax, ebx
shr eax, 0x18
mov byte [ebp + 2], bl
mov byte [ebp + 6], dl
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp], al
mov eax, ebx
shr eax, 8
mov byte [ebp + 1], al
mov eax, edx
shr eax, 0x18
mov byte [ebp + 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 4], al
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1011a2e1
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011a2e1
add esp, 0x28
ret
Function at 0x100b4370
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x100b4384
mov dword [esp + 0x18], fcn.100b2b50
jmp fcn.10080fd0
mov dword [esp + 0x18], fcn.100b1df0
jmp fcn.10080ce0
Function at 0x100b7c50
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x90
call fcn.1011abd0
mov eax, dword [0x101a49d4]
xor eax, esp
mov dword [esp + 0x8c], eax
mov edx, dword [esp + 0xa4]
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 4], edx
push ebp
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x10], ebp
push esi
mov esi, dword [esp + 0xa0]
push edi
mov edi, dword [esp + 0xac]
mov eax, dword [esi]
test ebx, ebx
je 0x100b7cbc
cmp ebx, eax
je 0x100b7cb3
test ebp, ebp
je 0x100b7e39
test edi, edi
js 0x100b7e39
mov ecx, 1
mov dword [esi], ebx
jmp 0x100b7cc6
test eax, eax
je 0x100b7e39
mov ebx, eax
test ebp, ebp
je 0x100b7e30
push ebx
call fcn.10070be0
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x100b7cfa
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.100715e0
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, edi
jge 0x100b7d4b
push dword [esp + 0x10]
lea ebp, [esi + 4]
push ebx
push ebp
call fcn.10074050
add esp, 0xc
test eax, eax
je 0x100b7e39
push edi
push dword [esp + 0x1c]
push ebp
call fcn.10074200
add esp, 0xc
test eax, eax
je 0x100b7e39
lea eax, [esi + 0x4c]
push eax
lea eax, [esi + 0x50]
push eax
push ebp
call fcn.10073fb0
add esp, 0xc
test eax, eax
je 0x100b7e39
mov edi, dword [esi + 0x4c]
jmp 0x100b7d68
cmp edi, 0x80
ja 0x100b7e39
push edi
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.1011b630
add esp, 0xc
mov dword [esi + 0x4c], edi
cmp edi, 0x80
je 0x100b7d88
mov eax, 0x80
sub eax, edi
push eax
lea eax, [esi + 0x50]
add eax, edi
push 0
push eax
call fcn.1011ce00
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
nop
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x1c], al
inc ecx
cmp ecx, 0x80
jl 0x100b7d90
push edx
lea edi, [esi + 0x1c]
push ebx
push edi
call fcn.10074050
add esp, 0xc
test eax, eax
je 0x100b7e39
push ebx
call fcn.10070be0
push eax
lea eax, [esp + 0x24]
push eax
push edi
call fcn.10074200
add esp, 0x10
test eax, eax
je 0x100b7e39
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x1c], al
inc ecx
cmp ecx, 0x80
jl 0x100b7dd4
push dword [esp + 0x10]
lea edi, [esi + 0x34]
push ebx
push edi
call fcn.10074050
add esp, 0xc
test eax, eax
je 0x100b7e39
push ebx
call fcn.10070be0
push eax
lea eax, [esp + 0x24]
push eax
push edi
call fcn.10074200
add esp, 0x10
test eax, eax
je 0x100b7e39
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.10074410
add esp, 8
test eax, eax
je 0x100b7e39
mov eax, 1
jmp 0x100b7e3b
test ecx, ecx
je 0x100b7e15
jmp 0x100b7d8c
xor eax, eax
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011a2e1
add esp, 0x90
ret
Function at 0x100b9550
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x100b9619
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x100b9571
cmp al, 0x6b
jne 0x100b9619
inc ecx
cmp al, 0x6b
jne 0x100b95db
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x100b9592
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x100b9592
cmp dl, 0xbb
jne 0x100b95bb
inc eax
cmp eax, esi
jl 0x100b9580
sub esi, eax
test eax, eax
jne 0x100b95de
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.1006e0f0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.1006e0f0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x100b9607
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.1006e0f0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.1011b630
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.1006e0f0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x100bba50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.1011abd0
mov eax, dword [0x101a49d4]
xor eax, esp
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x88], 0x40000000
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
push esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 0
ja 0x100bbc27
mov esi, dword [esp + 0x80]
cmp esi, 0x40000000
ja 0x100bbc27
cmp dword [esp + 0x88], 0x40000000
ja 0x100bbc27
push ebx
push edi
push eax
call fcn.10070bf0
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.100745b0
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x34]
mov ebx, 1
push eax
call fcn.10074050
push dword [esp + 0xa4]
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], 0x1000000
push dword [esp + 0x30]
push eax
call fcn.10074200
add esp, 0x20
test eax, eax
je 0x100bbc03
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10074200
add esp, 0xc
test eax, eax
je 0x100bbc03
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x24]
push eax
call fcn.10074200
add esp, 0xc
test eax, eax
je 0x100bbc03
push 0
cmp esi, edi
jb 0x100bbbcb
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.10073f30
add esp, 0xc
test eax, eax
je 0x100bbc03
sub esi, edi
je 0x100bbbfb
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x2c]
add ebp, edi
push eax
inc ebx
call fcn.10074050
push dword [esp + 0x9c]
mov eax, ebx
mov byte [esp + 0x23], bl
push dword [esp + 0x28]
shr eax, 8
mov byte [esp + 0x26], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x25], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x24], al
lea eax, [esp + 0x38]
push eax
call fcn.10074200
add esp, 0x18
test eax, eax
jne 0x100bbb17
jmp 0x100bbc03
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10073f30
add esp, 0xc
test eax, eax
je 0x100bbc03
push esi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.1011b630
lea eax, [esp + 0x48]
push edi
push eax
call fcn.10001360
add esp, 0x14
mov dword [esp + 0x1c], 1
lea eax, [esp + 0x24]
push eax
call fcn.10074210
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1011a2e1
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
xor eax, eax
pop esi
pop ebp
xor ecx, esp
call fcn.1011a2e1
add esp, 0x70
ret
Function at 0x100bbd80
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x100bbd92
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.1006c790
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x100bbe55
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x100bbde6
test esi, esi
jle 0x100bbe34
mov edx, ebp
lea ecx, [edi + 0x8c]
mov ebx, esi
nop word [eax + eax]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x100bbdd0
jmp 0x100bbe34
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x100bbe0a
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.1011ce00
add esp, 0xc
test esi, esi
jle 0x100bbe34
mov edx, ebp
lea ecx, [edi + 0xac]
mov ebx, esi
nop dword [eax + eax]
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x100bbe20
push esi
push ebp
push ebp
push edi
call fcn.10070b90
add esp, 0x10
pop ebx
test eax, eax
jne 0x100bbe55
push esi
push ebp
call fcn.10001360
add esp, 8
xor eax, eax
pop esi
pop ebp
pop edi
ret
pop esi
pop ebp
mov eax, 1
pop edi
ret
Function at 0x100c48c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.1011abd0
mov eax, dword [0x101a49d4]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
mov dword [esp + 0xc], eax
xor ebx, ebx
mov eax, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [eax], ebx
lea eax, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x8c]
push eax
call fcn.100745b0
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.10074410
add esp, 0xc
test eax, eax
je 0x100c49c2
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.10073fb0
add esp, 0xc
test eax, eax
je 0x100c49c2
lea eax, [esp + 0x20]
push eax
call fcn.10074210
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x100c49e0
push edi
call fcn.10074cf0
push ebx
push edi
mov dword [esp + 0x1c], eax
call fcn.10089660
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100c49c2
push esi
call fcn.100bf890
add esp, 4
test eax, eax
jle 0x100c49c2
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.100893d0
add esp, 0x18
test eax, eax
jle 0x100c49c2
push dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x24]
push esi
call fcn.100bf7a0
add esp, 0x14
test eax, eax
jle 0x100c49c2
mov ecx, dword [esp + 0x14]
mov ebx, 1
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
push esi
call fcn.10089600
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1011a2e1
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x100c49f8
cmp dword [edi], edx
je 0x100c4a22
inc eax
add ecx, 4
cmp eax, 4
jl 0x100c49e5
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.1006e0f0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1011a2e1
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x100c4a56
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.1006e0f0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.1011a2e1
add esp, 0x6c
ret
push dword [edi + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x44]
push dword [esp + 0x28]
push ecx
push dword [esi]
call eax
mov ecx, dword [esp + 0x90]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011a2e1
add esp, 0x6c
ret
Function at 0x100d0d20
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ecx, dword [edx + 4]
mov ebp, edx
push edi
cmp ecx, dword [ebx + 4]
mov edi, dword [esp + 0x10]
cmovge ebp, ebx
cmovge ebx, edx
mov eax, dword [ebx + 4]
cmp eax, dword [edi + 8]
jg 0x100d0d49
mov eax, edi
jmp 0x100d0d53
push eax
push edi
call fcn.100882a0
add esp, 8
test eax, eax
jne 0x100d0d5b
pop edi
pop ebp
pop ebx
ret
push esi
xor esi, esi
cmp dword [ebp + 4], esi
jle 0x100d0d79
mov eax, dword [ebp]
mov ecx, dword [ebx]
mov edx, dword [eax + esi*4]
mov eax, dword [edi]
xor edx, dword [ecx + esi*4]
mov dword [eax + esi*4], edx
inc esi
cmp esi, dword [ebp + 4]
jl 0x100d0d63
mov eax, dword [ebx + 4]
cmp esi, eax
jge 0x100d0d92
mov eax, dword [ebx]
mov ecx, dword [edi]
mov eax, dword [eax + esi*4]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebx + 4]
cmp esi, eax
jl 0x100d0d80
mov dword [edi + 4], eax
pop esi
test eax, eax
jle 0x100d0db5
mov edx, dword [edi]
add edx, 0xfffffffc
lea edx, [edx + eax*4]
mov ecx, dword [edx]
lea edx, [edx - 4]
test ecx, ecx
jne 0x100d0db0
dec eax
test eax, eax
jg 0x100d0da2
mov dword [edi + 4], eax
test eax, eax
jne 0x100d0dbe
mov dword [edi + 0xc], 0
pop edi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x100f20d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa8
call fcn.1011abd0
mov eax, dword [0x101a49d4]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xac]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xbc]
xor ebp, ebp
push edi
mov edi, dword [esp + 0xc4]
mov dword [esp + 0x30], eax
mov esi, dword [esi + 4]
mov dword [esp + 0x1c], esi
sub esi, edi
mov dword [esp + 0x10], esi
cmp dword [esp + 0xc8], edi
jae 0x100f2134
push str.orig_len___md_size
push 0xf8
push str.._ssl_s3_cbc.c
call fcn.100715e0
add esp, 0xc
cmp edi, 0x40
jbe 0x100f2150
push str.md_size___EVP_MAX_MD_SIZE
push 0xf9
push str.._ssl_s3_cbc.c
call fcn.100715e0
add esp, 0xc
mov ecx, dword [esp + 0xc8]
lea eax, [esp + 0x34]
neg eax
lea ebx, [esp + 0x34]
and eax, 0x3f
add ebx, eax
lea eax, [edi + 0x100]
mov dword [esp + 0x20], ebx
cmp ecx, eax
jbe 0x100f217e
mov ebp, ecx
sub ebp, edi
sub ebp, 0x100
mov eax, edi
xor edx, edx
and eax, 0xfffffffe
shl eax, 0x17
sub eax, ebp
add eax, esi
div edi
push edi
mov esi, edx
push 0
push ebx
mov dword [esp + 0x38], esi
call fcn.1011ce00
add esp, 0xc
mov dword [esp + 0x18], 0
cmp ebp, dword [esp + 0xc8]
jae 0x100f225b
mov ecx, dword [esp + 0x1c]
mov esi, ebx
mov edx, dword [esp + 0x10]
mov eax, ecx
shr eax, 0x1f
sub ebp, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc0]
shr edx, 0x1f
mov dword [esp + 0x10], edx
mov eax, dword [eax + 0xc]
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
lea ebx, [ecx + ebp]
shr ebx, 0x1f
lea ecx, [edi + ebp]
shr ecx, 0x1f
xor cl, dl
xor dl, bl
or cl, dl
mov edx, ebp
xor cl, bl
shr edx, 0x1f
xor dl, byte [esp + 0x14]
dec cl
mov dword [esp + 0x28], ecx
mov cl, byte [eax + ebp]
mov al, bl
xor al, byte [esp + 0x14]
inc ebp
or dl, al
xor dl, bl
mov ebx, dword [esp + 0x18]
neg dl
and dl, cl
and dl, byte [esp + 0x28]
or byte [ebx + esi], dl
inc ebx
mov edx, dword [esp + 0x10]
mov ecx, ebx
sub ecx, edi
mov eax, ebx
xor ecx, edi
xor eax, edi
or ecx, eax
xor ecx, ebx
shr ecx, 0x1f
neg ecx
and ebx, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ebx
lea eax, [ecx + ebp]
cmp eax, dword [esp + 0xc8]
jb 0x100f21e1
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x20]
xor edx, edx
test edi, edi
je 0x100f228f
mov ebp, dword [esp + 0x30]
mov eax, esi
xor eax, 0x20
mov al, byte [eax + ebx]
movzx eax, byte [esi + ebx]
inc esi
mov byte [edx + ebp], al
mov ecx, esi
sub ecx, edi
mov eax, esi
xor ecx, edi
xor eax, edi
or ecx, eax
inc edx
xor ecx, esi
shr ecx, 0x1f
neg ecx
and esi, ecx
cmp edx, edi
jb 0x100f2265
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011a2e1
add esp, 0xa8
ret
Function at 0x100f2da0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.1011abd0
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x14]
inc ebp
push edi
mov edi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x64]
test byte [eax + 0x38], 1
je 0x100f2e62
mov edx, dword [esp + 0x1c]
lea eax, [edx + ebp]
cmp eax, ecx
ja 0x100f2e66
add dword [esi + 0xc], edx
add dword [esi + 0x10], edx
sub ecx, edx
mov dword [esi + 4], ecx
test dword [edi + 0x100], 0x200
mov eax, dword [esi + 0xc]
push ebx
movzx ebx, byte [eax + ecx - 1]
je 0x100f2e37
cmp dword [edi + 0x88], 0
jne 0x100f2e37
mov eax, dword [edi + 0x58]
push 8
add eax, 8
push 0x1017f014
push eax
call fcn.100711d0
add esp, 0xc
test eax, eax
jne 0x100f2e2a
test bl, 1
jne 0x100f2e2a
mov eax, dword [edi + 0x58]
or dword [eax], 8
mov eax, dword [edi + 0x58]
test byte [eax], 8
je 0x100f2e37
test ebx, ebx
je 0x100f2e37
dec ebx
mov eax, dword [edi + 0x80]
push dword [eax]
call fcn.100707a0
mov edi, dword [esi + 4]
add esp, 4
and eax, 0x200000
je 0x100f2e6d
sub edi, ebx
mov eax, 1
dec edi
pop ebx
mov dword [esi + 4], edi
pop edi
pop esi
pop ebp
pop ecx
ret
cmp ebp, ecx
jbe 0x100f2de7
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
lea ecx, [ebx + ebp]
mov edx, edi
sub edx, ecx
mov eax, edi
xor edx, ecx
xor eax, ecx
or edx, eax
mov ecx, 0xff
xor edx, edi
lea eax, [edi - 1]
shr edx, 0x1f
dec edx
cmp eax, ecx
mov dword [esp + 0x24], edx
cmovb ecx, eax
xor edx, edx
test ecx, ecx
je 0x100f2eef
mov ebp, dword [esi + 0xc]
mov eax, ebx
shr eax, 0x1f
dec ebp
mov dword [esp + 0x18], eax
add ebp, edi
mov esi, ecx
nop word [eax + eax]
mov ecx, ebx
lea ebp, [ebp - 1]
sub ecx, edx
mov eax, edx
shr ecx, 0x1f
inc edx
shr eax, 0x1f
xor cl, al
xor al, byte [esp + 0x18]
or cl, al
movzx eax, byte [ebp + 1]
xor cl, byte [esp + 0x18]
xor eax, ebx
dec cl
movzx ecx, cl
and ecx, eax
mov eax, dword [esp + 0x24]
not ecx
and eax, ecx
mov dword [esp + 0x24], eax
cmp edx, esi
jb 0x100f2eb0
mov esi, dword [esp + 0x1c]
jmp 0x100f2ef3
mov eax, dword [esp + 0x24]
not eax
movzx ecx, al
lea eax, [ebx + 1]
dec ecx
shr ecx, 0x1f
neg ecx
and eax, ecx
sub edi, eax
shl eax, 8
or dword [esi], eax
mov eax, ecx
pop ebx
mov dword [esi + 4], edi
and eax, 1
pop edi
not ecx
pop esi
or eax, ecx
pop ebp
pop ecx
ret
Function at 0x10136884
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10136535

Function at 0x1013688f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.101366bf

Function at 0x1013d969
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1013d4bc
Function at 0x40149b
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
and dword [ebp - 0x14], 0
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x14]
push edi
mov dword [ebp - 0x34], esi
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [ebp - 8], eax
mov eax, dword [0x41b5d0]
mov dword [ebp - 0x28], eax
mov eax, dword [0x41b5d4]
mov dword [ebp - 0x30], eax
call fcn.00401494
mov edi, dword [ebp - 0x14]
mov eax, dword [0x41b5d8]
add edi, 0x23f
mov dword [ebp - 0x20], eax
mov eax, dword [0x41b5dc]
push 0x20
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], eax
pop esi
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov edx, dword [ebp - 8]
mov eax, edx
mov ecx, dword [0x2d5ea6c]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401524
push 0x418248
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [0x2d5ea6c]
add eax, dword [ebp - 0x20]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x2d5ea68]
mov dword [ebp - 0x1c], 0xedeb2e40
cmove eax, dword [ebp - 0x1c]
and dword [ebp - 0x1c], 0
cmp ecx, 0x3eb
mov dword [0x2d5ea68], eax
mov eax, dword [0x2d5e9c0]
cmove eax, dword [ebp - 0x1c]
mov dword [0x2d5e9c0], eax
lea eax, [edi + edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov dword [0x2d5ea64], 0xf4ea3dee
call fcn.00401471
mov ecx, dword [ebp - 0x10]
xor ecx, eax
sub ebx, ecx
mov dword [ebp - 0x10], ecx
mov eax, ebx
mov dword [ebp - 0x2c], ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x2c]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov eax, ebx
shr eax, cl
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
xor eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 8], eax
add edi, 0x61c88647
mov dword [ebp - 0x14], edi
dec esi
jne 0x4014ec
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 4], ebx
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4015f4
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x2d5ea6c]
push esi
mov esi, eax
shr esi, 3
push edi
mov edi, dword [0x2d5e9c4]
test esi, esi
je 0x401637
cmp eax, 0x959
jne 0x401623
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, edi
call fcn.0040149b
add edi, 8
dec esi
je 0x401637
mov eax, dword [0x2d5ea6c]
jmp 0x40160a
pop edi
pop esi
ret 4