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

Disassembly:
mov eax, 0x28
call fcn.100e4860
mov eax, dword [0x1014c240]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x4c]
movzx edx, byte [edi + 1]
mov dword [esp + 0x18], ecx
movzx ecx, byte [edi]
shl edx, 8
or ecx, edx
lea eax, [edi + 1]
movzx edx, byte [eax + 1]
mov dword [esp + 0x28], eax
inc eax
inc eax
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax]
inc eax
movzx ebx, byte [eax + 1]
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax]
inc eax
mov ebp, dword [esp + 0x40]
inc eax
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax + 1]
movzx eax, byte [eax]
shl ebx, 8
or ebx, eax
mov eax, ecx
shr eax, 8
shl ebx, 0x10
or edx, ebx
mov byte [esp + 0x2d], al
mov eax, ecx
mov ebx, ecx
mov byte [esp + 0x2c], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], cl
mov ecx, edx
mov eax, edx
mov dword [esp + 0x20], edx
mov byte [esp + 0x30], dl
shr ecx, 8
shr eax, 0x10
shr edx, 0x18
cmp dword [esp + 0x44], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
je 0x1009f440
dec dword [esp + 0x18]
test esi, esi
jne 0x1009f3ac
mov ecx, dword [esp + 0x24]
push 1
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.1009d200
mov ebx, dword [esp + 0x28]
mov eax, ebx
shr eax, 8
mov ecx, ebx
shr ecx, 0x10
mov edx, ebx
shr edx, 0x18
mov byte [esp + 0x39], al
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x3a], cl
mov byte [esp + 0x3b], dl
mov ecx, eax
mov edx, eax
mov byte [esp + 0x3c], al
shr ecx, 8
shr edx, 0x10
shr eax, 0x18
add esp, 0xc
inc dword [esp + 0x10]
mov byte [esp + 0x2c], bl
mov byte [esp + 0x31], cl
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], al
mov cl, byte [esp + esi + 0x2c]
mov eax, dword [esp + 0x3c]
xor cl, byte [eax]
inc esi
mov byte [ebp], cl
inc eax
inc ebp
and esi, 7
cmp dword [esp + 0x18], 0
mov dword [esp + 0x3c], eax
jne 0x1009f348
cmp dword [esp + 0x10], 0
je 0x1009f427
mov eax, dword [esp + 0x28]
mov byte [edi], bl
mov edx, ebx
shr edx, 8
mov byte [eax], dl
inc eax
mov ecx, ebx
shr ecx, 0x10
mov byte [eax], cl
mov ecx, dword [esp + 0x20]
inc eax
shr ebx, 0x18
mov byte [eax], bl
mov byte [eax + 1], cl
inc eax
inc eax
mov edx, ecx
shr edx, 8
mov byte [eax], dl
inc eax
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
shr ecx, 0x18
mov byte [eax + 1], cl
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.100e200a
add esp, 0x28
ret
mov ecx, dword [esp + 0x14]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.100e200a
add esp, 0x28
ret
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100e200a
add esp, 0x28
ret
Function at 0x100a0250
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x88
call fcn.100e4860
mov eax, dword [0x1014c240]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x9c]
push ebx
mov ebx, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x94]
mov dword [esp + 8], eax
xor eax, eax
push edi
mov edi, dword [esp + 0x9c]
test ebx, ebx
je 0x100a02c5
cmp ebx, dword [esi]
je 0x100a02bc
test edi, edi
je 0x100a02a2
cmp dword [esp + 0xa0], eax
jge 0x100a02bc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.100e200a
add esp, 0x88
ret
mov eax, 1
mov dword [esi], ebx
jmp 0x100a02cb
mov ebx, dword [esi]
test ebx, ebx
je 0x100a02a2
push ebp
test edi, edi
je 0x100a039d
push ebx
call fcn.10042750
mov ebp, eax
add esp, 4
cmp ebp, 0x80
jle 0x100a02fb
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.10029730
add esp, 0xc
mov eax, dword [esp + 0xa4]
cmp ebp, eax
jge 0x100a0355
mov ecx, dword [esp + 0x10]
push ecx
lea ebp, [esi + 4]
push ebx
push ebp
call fcn.10042010
add esp, 0xc
test eax, eax
je 0x100a044a
mov edx, dword [esp + 0xa4]
push edx
push edi
push ebp
call fcn.100421c0
add esp, 0xc
test eax, eax
je 0x100a044a
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebp
call fcn.100421d0
add esp, 0xc
test eax, eax
je 0x100a044a
jmp 0x100a037a
cmp eax, 0x80
ja 0x100a044a
push eax
lea ecx, [esi + 0x50]
push edi
push ecx
call fcn.100e20b0
mov edx, dword [esp + 0xb0]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], edx
mov edi, dword [edi]
cmp edi, 0x80
je 0x100a03a5
mov eax, 0x80
sub eax, edi
push eax
lea ecx, [edi + esi + 0x50]
push 0
push ecx
call fcn.100e1f90
add esp, 0xc
jmp 0x100a03a5
test eax, eax
je 0x100a0436
xor eax, eax
jmp 0x100a03b0
mov dl, byte [esi + eax + 0x50]
xor dl, 0x36
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 0x80
jl 0x100a03b0
mov eax, dword [esp + 0x10]
push eax
lea ebp, [esi + 0x1c]
push ebx
push ebp
call fcn.10042010
add esp, 0xc
test eax, eax
je 0x100a044a
push ebx
call fcn.10042750
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.100421c0
add esp, 0x10
test eax, eax
je 0x100a044a
xor eax, eax
mov dl, byte [esi + eax + 0x50]
xor dl, 0x5c
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 0x80
jl 0x100a03f4
mov eax, dword [esp + 0x10]
push eax
lea ebp, [esi + 0x34]
push ebx
push ebp
call fcn.10042010
add esp, 0xc
test eax, eax
je 0x100a044a
push ebx
call fcn.10042750
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.100421c0
add esp, 0x10
test eax, eax
je 0x100a044a
lea edx, [esi + 0x1c]
push edx
add esi, 4
push esi
call fcn.10042360
add esp, 8
test eax, eax
jne 0x100a044e
xor eax, eax
jmp 0x100a0453
mov eax, 1
mov ecx, dword [esp + 0x94]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100e200a
add esp, 0x88
ret
Function at 0x100b2180
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x10]
cmp ecx, dword [ebx + 4]
push esi
push edi
jge 0x100b2199
mov esi, ebx
mov ebx, eax
jmp 0x100b219b
mov esi, eax
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x10]
cmp eax, dword [edi + 8]
jg 0x100b21ab
mov eax, edi
jmp 0x100b21b5
push eax
push edi
call fcn.10034de0
add esp, 8
test eax, eax
jne 0x100b21bd
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [ebx + 4], eax
jle 0x100b21d9
mov edx, dword [esi]
mov ecx, dword [ebx]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [edi]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 4]
jl 0x100b21c4
cmp eax, dword [esi + 4]
jge 0x100b21f0
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [edi]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x100b21e0
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
test eax, eax
jle 0x100b2211
mov ecx, dword [edi]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x100b220e
dec eax
test eax, eax
jg 0x100b2200
mov dword [edi + 4], eax
cmp dword [edi + 4], 0
jne 0x100b221e
mov dword [edi + 0xc], 0
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x100d48c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc
call fcn.100e4860
push ebp
push esi
mov esi, dword [esp + 0x54]
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
xor ebp, ebp
push ebp
xor edi, edi
call fcn.100c2cf0
add esp, 0xc
test eax, eax
je 0x100d491c
lea esp, [esp]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
shl edx, 0xa
test eax, edx
je 0x100d4900
inc edi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
inc ebp
push ebp
call fcn.100c2cf0
add esp, 0xc
test eax, eax
jne 0x100d48f0
test edi, edi
jne 0x100d4940
push 0x109
push str.._ssl_t1_enc.c
push 0x44
push 0x11c
push 0x14
call fcn.10030ee0
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
mov eax, dword [esp + 0x4c]
cdq
idiv edi
push ebx
mov ebx, eax
cmp edi, 1
jne 0x100d4957
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x4c]
push esi
push 0
push eax
call fcn.100e1f90
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
mov dword [esp + 0x30], 0
call fcn.100c2cf0
add esp, 0x18
test eax, eax
je 0x100d4a3f
lea esp, [esp]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
shl eax, 0xa
test ecx, eax
je 0x100d4a1b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100d4a4c
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push esi
push ebp
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x5c]
and edx, 1
add edx, ebx
push edx
mov edx, dword [esp + 0x68]
push edi
push eax
call fcn.100d44c0
add esp, 0x34
test eax, eax
je 0x100d4a6a
add edi, ebx
test esi, esi
jle 0x100d4a1b
mov eax, dword [esp + 0x54]
mov ecx, ebp
sub ecx, eax
mov ebp, esi
lea esp, [esp]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub ebp, 1
jne 0x100d4a10
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
inc eax
push edx
push eax
mov dword [esp + 0x24], eax
call fcn.100c2cf0
add esp, 0xc
test eax, eax
jne 0x100d4990
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0xc
ret
push 0x114
push str.._ssl_t1_enc.c
push 0x146
push 0x11c
push 0x14
call fcn.10030ee0
add esp, 0x14
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0xc
ret
Function at 0x100d6c20
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.100e4860
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x64]
inc ebp
test byte [ecx + 0x38], 1
je 0x100d6c68
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 4]
lea edx, [ecx + ebp]
cmp edx, eax
jbe 0x100d6c5b
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
add dword [esi + 0xc], ecx
add dword [esi + 0x10], ecx
sub eax, ecx
mov dword [esi + 4], eax
jmp 0x100d6c73
mov eax, dword [esp + 0x18]
cmp ebp, dword [eax + 4]
ja 0x100d6c54
mov esi, eax
test dword [edi + 0x100], 0x200
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push ebx
movzx ebx, byte [ecx + edx - 1]
je 0x100d6cc6
cmp dword [edi + 0x88], 0
jne 0x100d6cc6
mov eax, dword [edi + 0x58]
push 8
add eax, 8
push 0x10138478
push eax
call fcn.10029760
add esp, 0xc
test eax, eax
jne 0x100d6cb9
test bl, 1
jne 0x100d6cb9
mov eax, dword [edi + 0x58]
or dword [eax], 8
mov ecx, dword [edi + 0x58]
test byte [ecx], 8
je 0x100d6cc6
test ebx, ebx
jbe 0x100d6cc6
dec ebx
mov edx, dword [edi + 0x80]
mov eax, dword [edx]
push eax
call fcn.10042710
add esp, 4
test eax, 0x200000
je 0x100d6cf1
or ecx, 0xffffffff
sub ecx, ebx
add dword [esi + 4], ecx
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret
mov edi, dword [esi + 4]
lea eax, [ebx + ebp]
mov esi, edi
sub esi, eax
xor esi, eax
mov edx, edi
xor edx, eax
or esi, edx
xor esi, edi
shr esi, 0x1f
mov ecx, 0xff
lea eax, [edi - 1]
dec esi
mov dword [esp + 0x18], ecx
cmp eax, ecx
jae 0x100d6d1f
mov ecx, eax
mov dword [esp + 0x18], eax
xor ebp, ebp
test ecx, ecx
jbe 0x100d6d77
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0xc]
mov ecx, ebx
shr ecx, 0x1f
lea eax, [edi + edx - 1]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], eax
lea ecx, [ecx]
mov edx, ebx
sub edx, ebp
shr edx, 0x1f
mov eax, ebp
shr eax, 0x1f
xor dl, al
xor cl, al
or dl, cl
mov ecx, dword [esp + 0x10]
xor dl, cl
dec dl
movzx eax, dl
mov edx, dword [esp + 0x24]
movzx edx, byte [edx]
dec dword [esp + 0x24]
xor edx, ebx
and eax, edx
not eax
inc ebp
and esi, eax
cmp ebp, dword [esp + 0x18]
jb 0x100d6d40
mov edx, dword [esp + 0x1c]
not esi
and esi, 0xff
lea ecx, [esi - 1]
shr ecx, 0x1f
not esi
shr esi, 0x1f
and ecx, esi
neg ecx
lea eax, [ebx + 1]
and eax, ecx
sub edi, eax
shl eax, 8
or dword [edx], eax
pop ebx
mov dword [edx + 4], edi
mov eax, ecx
pop edi
and eax, 1
not ecx
pop esi
or eax, ecx
pop ebp
pop ecx
ret
Function at 0x100d6db0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa4
call fcn.100e4860
mov eax, dword [0x1014c240]
xor eax, esp
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
push ebx
mov ebx, dword [esp + 0xb8]
push ebp
push esi
mov esi, dword [ecx + 4]
push edi
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x18], esi
sub esi, edi
xor ebp, ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
cmp ebx, edi
jae 0x100d6e1a
push str.orig_len___md_size
push 0xf8
push str.._ssl_s3_cbc.c
call fcn.10029730
add esp, 0xc
cmp edi, 0x40
jbe 0x100d6e36
push str.md_size___EVP_MAX_MD_SIZE
push 0xf9
push str.._ssl_s3_cbc.c
call fcn.10029730
add esp, 0xc
lea ecx, [esp + 0x30]
neg ecx
and ecx, 0x3f
lea edx, [edi + 0x100]
lea ecx, [esp + ecx + 0x30]
mov dword [esp + 0x1c], ecx
cmp ebx, edx
jbe 0x100d6e60
mov eax, ebx
sub eax, edi
sub eax, 0x100
mov dword [esp + 0x10], eax
mov ebp, eax
mov eax, edi
and eax, 0xfffffffe
shl eax, 0x17
sub eax, ebp
add eax, esi
xor edx, edx
div edi
push edi
push 0
push ecx
mov ebx, edx
mov dword [esp + 0x30], ebx
call fcn.100e1f90
mov edx, dword [esp + 0x1c]
add esp, 0xc
xor esi, esi
cmp edx, dword [esp + 0xc4]
jae 0x100d6f3f
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
sub edx, ecx
mov ebx, ecx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xbc]
mov edx, dword [edx + 0xc]
shr eax, 0x1f
shr ebx, 0x1f
sub ecx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
jmp 0x100d6ed8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
add ecx, ebx
shr ecx, 0x1f
xor cl, al
mov edx, ebp
shr edx, 0x1f
xor al, dl
or cl, al
mov eax, ebx
mov bl, byte [esp + 0x2c]
shr eax, 0x1f
xor al, bl
xor bl, dl
or al, bl
xor al, dl
dec al
xor cl, dl
mov edx, dword [esp + 0x14]
mov dl, byte [edx + ebp]
not al
inc dword [esp + 0x10]
and al, dl
dec cl
and al, cl
mov ecx, dword [esp + 0x1c]
or byte [esi + ecx], al
inc esi
mov eax, esi
sub eax, edi
xor eax, edi
mov ecx, esi
xor ecx, edi
or eax, ecx
xor eax, esi
shr eax, 0x1f
neg eax
inc ebp
and esi, eax
cmp ebp, dword [esp + 0xc4]
jb 0x100d6ed0
mov ebx, dword [esp + 0x24]
xor eax, eax
test edi, edi
jbe 0x100d6f76
mov esi, dword [esp + 0x1c]
mov edx, ebx
xor edx, 0x20
mov cl, byte [edx + esi]
mov dl, byte [ebx + esi]
mov ecx, dword [esp + 0x28]
mov byte [ecx + eax], dl
inc ebx
mov edx, ebx
sub edx, edi
xor edx, edi
mov ecx, ebx
xor ecx, edi
or edx, ecx
xor edx, ebx
shr edx, 0x1f
neg edx
inc eax
and ebx, edx
cmp eax, edi
jb 0x100d6f45
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100e200a
add esp, 0xa4
ret
Function at 0x100e200a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1014c240]
jne 0x100e2014
repz ret
jmp fcn.100eaf9d
Function at 0x100f9a26
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100eb115
and dword [ebp - 4], 0
cmp dword [0x101574ec], 0
mov ebx, eax
jne 0x100f9ad7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100f9b88
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1013a82c
push edi
call esi
test eax, eax
je 0x100f9b88
push eax
call fcn.100eb0a3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101574ec], eax
call esi
push eax
call fcn.100eb0a3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101574f0], eax
call esi
push eax
call fcn.100eb0a3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101574f4], eax
call esi
push eax
call fcn.100eb0a3
pop ecx
mov dword [0x101574fc], eax
test eax, eax
je 0x100f9ad7
push 0x1013a7d4
push edi
call esi
push eax
call fcn.100eb0a3
pop ecx
mov dword [0x101574f8], eax
mov eax, dword [0x101574f8]
cmp eax, ebx
je 0x100f9b2f
cmp dword [0x101574fc], ebx
je 0x100f9b2f
push eax
call fcn.100eb11e
push dword [0x101574fc]
mov esi, eax
call fcn.100eb11e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100f9b2f
test edi, edi
je 0x100f9b2f
call esi
test eax, eax
je 0x100f9b26
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100f9b26
test byte [ebp - 0xc], 1
jne 0x100f9b2f
or dword [ebp + 0x10], 0x200000
jmp 0x100f9b68
mov eax, dword [0x101574f0]
cmp eax, ebx
je 0x100f9b68
push eax
call fcn.100eb11e
pop ecx
test eax, eax
je 0x100f9b68
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100f9b68
mov eax, dword [0x101574f4]
cmp eax, ebx
je 0x100f9b68
push eax
call fcn.100eb11e
pop ecx
test eax, eax
je 0x100f9b68
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101574ec]
call fcn.100eb11e
pop ecx
test eax, eax
je 0x100f9b88
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100f9b8a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100fffa0
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.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 dword [sym.imp.WS2_32.dll_send]
push 0xf
push edi
mov esi, eax
call fcn.1002c010
add esp, 8
test esi, esi
jg 0x100ffffe
je 0x100fffdc
cmp esi, 0xffffffff
jne 0x100ffffe
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 4
je 0x100ffff3
cmp eax, 0xb
je 0x100ffff3
cmp eax, 0x2733
jne 0x100ffffe
push 0xa
push edi
call fcn.1002c030
add esp, 8
pop edi
mov eax, esi
pop esi
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x710c8c
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x7109ec
add edi, ebx
call fcn.00710cc2
add edi, 0x388ad22
mov ebx, 0xd5ac0cf3
inc ebx
xor dword [ecx], esi
add ebx, 0x43126b7e
inc ecx
sub ebx, 0x7b922274
cmp ecx, edx
jne fcn.00710c8c
mov ebx, edi
ret
Function at 0x10001777
Capabilities:
Get system information on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x24
mov edi, dword [esp + 0x34]
test edi, edi
je 0x100018f3
lea esi, [edi - 8]
mov ecx, dword [edi - 4]
mov eax, ecx
and eax, 0xfffffffc
mov edx, dword [0x10009b24]
cmp eax, edx
jbe 0x10001823
test cl, 2
jne 0x10001844
or edx, 1
mov dword [0x10009b24], edx
lea edx, [esi + eax]
mov ecx, dword [edi + eax - 4]
test byte [edi - 4], 1
jne 0x100017d3
mov edi, dword [esi]
add eax, edi
sub esi, edi
mov edi, dword [esi + 8]
mov ebx, dword [esi + 0xc]
mov dword [edi + 0xc], ebx
mov dword [ebx + 8], edi
and ecx, 0xfffffffc
cmp dword [0x10009b50], edx
je 0x100018b6
test byte [edx + ecx + 4], 1
mov dword [edx + 4], ecx
jne 0x100017fa
mov edi, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [edi + 0xc], edx
mov dword [edx + 8], edi
add eax, ecx
mov ecx, dword [0x10009b60]
mov dword [esi + 0xc], 0x10009b58
mov dword [esi + 8], ecx
mov dword [0x10009b60], esi
mov dword [ecx + 0xc], esi
mov ecx, eax
or ecx, 1
mov dword [esi + 4], ecx
mov dword [esi + eax], eax
jmp 0x100018c6
or edx, 3
mov dword [0x10009b24], edx
shr ecx, 3
mov eax, dword [ecx*4 + 0x10009b20]
mov dword [edi], eax
mov dword [ecx*4 + 0x10009b20], esi
jmp 0x100018f3
mov edi, dword [esi]
dec dword [0x10009e74]
add eax, edi
sub dword [0x10009e88], eax
cmp dword [0x10009ec0], 0
jne 0x1000187c
mov eax, dword [0x10009ea4]
test eax, eax
jne 0x10001877
mov ebx, esp
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebx + 4]
mov dword [0x10009ea4], eax
mov dword [0x10009ec0], eax
sub esi, edi
cmp dword [0x10009ec4], 0
jne 0x100018a6
mov eax, dword [0x10009ea8]
test eax, eax
jne 0x100018a1
mov edi, esp
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [edi + 0x1c]
mov dword [0x10009ea8], eax
mov dword [0x10009ec4], eax
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x100018f3
add eax, ecx
mov ecx, eax
or ecx, 1
mov dword [esi + 4], ecx
mov dword [0x10009b50], esi
cmp eax, 0x10000
jb 0x100018f3
test byte [0x10009b24], 2
je 0x100018e0
mov ecx, 0x10009b24
call fcn.10001ddd
mov eax, dword [0x10009b50]
mov eax, dword [eax + 4]
and eax, 0xfffffffc
cmp eax, dword [0x10009e68]
jae 0x100018fa
add esp, 0x24
pop esi
pop edi
pop ebx
ret
mov ecx, dword [0x10009e6c]
mov edx, 0x10009b24
add esp, 0x24
pop esi
pop edi
pop ebx
jmp 0x10001910
push ebp
push ebx
push edi
push esi
mov esi, edx
mov edi, dword [edx + 0x35c]
mov eax, dword [edx + 0x2c]
mov ebx, dword [eax + 4]
and ebx, 0xfffffffc
mov eax, edi
sub eax, ecx
add eax, ebx
add eax, 0xffffffef
xor ecx, ecx
xor edx, edx
div edi
mov ebp, eax
dec ebp
imul ebp, edi
test ebp, ebp
jle 0x10001952
xor ecx, ecx
call fcn.10001a07
xor ecx, ecx
mov edi, eax
mov eax, dword [esi + 0x2c]
add eax, ebx
cmp edi, eax
je 0x10001959
mov eax, ecx
pop esi
pop edi
pop ebx
pop ebp
ret
neg ebp
mov ecx, ebp
call fcn.10001a07
xor ecx, ecx
call fcn.10001a07
cmp eax, 0xffffffff
je 0x1000198d
sub edi, eax
mov ecx, 0
je 0x10001952
sub dword [esi + 0x368], edi
sub ebx, edi
or ebx, 1
mov eax, dword [esi + 0x2c]
mov dword [eax + 4], ebx
xor ecx, ecx
inc ecx
jmp 0x10001952
xor ecx, ecx
jmp 0x10001952