joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100eeb63
Capabilities:
Create thread

Disassembly:
push 0x4c
mov eax, 0x1018dba4
call fcn.1015d7fb
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.100ed9e7
xor edi, edi
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
call fcn.10001450
push edi
push edi
push edi
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 1
call fcn.1002e360
push edi
push edi
push edi
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.1002e360
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push 0x100ee8c5
push edi
push edi
mov byte [ebp - 4], 3
call fcn.101598a9
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x40], eax
jne 0x100eebeb
push str.create_thread_failed
lea ecx, [ebp - 0x30]
call fcn.10006700
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.10006570
push eax
mov byte [ebp - 4], 5
call fcn.10071c20
mov eax, esi
call fcn.1015d8d3
ret

Function at 0x100ef249
Capabilities:
Create thread

Disassembly:
push 0x48
mov eax, 0x1018dcc8
call fcn.1015d7fb
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0xc]
mov dword [esi], 0x1019cb48
mov dword [esi + 8], eax
call fcn.10001450
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
push 0x101997a1
push edi
push dword [ebp + 0x10]
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 1
call fcn.10071c50
push edi
push edi
push edi
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 2
call fcn.1002e360
push edi
push edi
push edi
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 3
call fcn.1002e360
lea eax, [ebp + 0xc]
push eax
push edi
push esi
push 0x100eed93
push edi
push edi
mov byte [ebp - 4], 4
call fcn.101598a9
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x5c], eax
jne 0x100ef2ff
push str.create_thread_failed
lea ecx, [ebp - 0x2c]
call fcn.10006700
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.10006570
push eax
mov byte [ebp - 4], 6
call fcn.10071c20
mov eax, esi
call fcn.1015d8d3
ret 0xc

Function at 0x100f9754
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0xc], ecx
xor ebx, ebx
lea ecx, [ebp - 4]
push ecx
push ebx
lea eax, [esi + 8]
push eax
push 0x10129c0c
push ebx
push ebx
mov byte [esi + 0x18], bl
mov dword [eax], esi
call fcn.101598a9
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x100f978c
mov dword [esi + 4], ebx
cmp dword [esi + 4], ebx
jne 0x100f9799
mov byte [esi + 0x18], 1
xor al, al
jmp 0x100f979b
mov al, 1
pop esi
pop ebx
leave
ret 4
Function at 0x100fe50c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x14]
mov dword [ebp + 0xc], eax
mov eax, ebx
shr eax, 3
and eax, 0x3f
mov byte [eax + esi + 0x1c], 0x80
inc eax
cmp eax, 0x38
jle 0x100fe55b
push 0x40
pop ecx
sub ecx, eax
push ecx
lea eax, [eax + esi + 0x1c]
push 0
push eax
call fcn.10158dd0
mov eax, esi
call fcn.100fd842
push 0x38
lea eax, [esi + 0x1c]
push 0
push eax
call fcn.10158dd0
add esp, 0x18
jmp 0x100fe570
push 0x38
pop ecx
sub ecx, eax
push ecx
lea eax, [eax + esi + 0x1c]
push 0
push eax
call fcn.10158dd0
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 0x54], cl
mov ecx, eax
mov byte [esi + 0x57], al
shr ecx, 0x10
mov byte [esi + 0x55], cl
mov ecx, eax
mov eax, ebx
shr eax, 0x18
mov byte [esi + 0x58], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0x59], al
mov eax, ebx
shr eax, 8
shr ecx, 8
mov byte [esi + 0x5a], al
mov eax, esi
mov byte [esi + 0x56], cl
mov byte [esi + 0x5b], bl
call fcn.100fd842
mov cl, byte [esi + 3]
mov eax, dword [ebp + 8]
mov byte [eax], cl
mov cl, byte [esi + 2]
mov byte [eax + 1], cl
mov cl, byte [esi + 1]
mov byte [eax + 2], cl
mov cl, byte [esi]
mov byte [eax + 3], cl
mov cl, byte [esi + 7]
mov byte [eax + 4], cl
mov cl, byte [esi + 6]
mov byte [eax + 5], cl
mov cl, byte [esi + 5]
mov byte [eax + 6], cl
mov cl, byte [esi + 4]
mov byte [eax + 7], cl
mov cl, byte [esi + 0xb]
mov byte [eax + 8], cl
mov cl, byte [esi + 0xa]
mov byte [eax + 9], cl
mov cl, byte [esi + 9]
mov byte [eax + 0xa], cl
mov cl, byte [esi + 8]
mov byte [eax + 0xb], cl
mov cl, byte [esi + 0xf]
mov byte [eax + 0xc], cl
mov cl, byte [esi + 0xe]
mov byte [eax + 0xd], cl
mov cl, byte [esi + 0xd]
mov byte [eax + 0xe], cl
mov cl, byte [esi + 0xc]
mov byte [eax + 0xf], cl
mov cl, byte [esi + 0x13]
mov byte [eax + 0x10], cl
mov cl, byte [esi + 0x12]
mov byte [eax + 0x11], cl
mov cl, byte [esi + 0x11]
mov byte [eax + 0x12], cl
mov cl, byte [esi + 0x10]
pop esi
mov byte [eax + 0x13], cl
pop ebx
pop ebp
ret
Function at 0x100fe62d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
je 0x100fe720
mov eax, dword [esp + 0xc]
test eax, eax
jle 0x100fe720
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov ecx, 0xff
jl 0x100fe700
push edi
mov edi, eax
shr edi, 3
mov ebx, edi
imul ebx, ebx, 0xfffffff8
add eax, ebx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1019cd68]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1019cd68]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1019cd68]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1019cd68]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1019cd68]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1019cd68]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1019cd68]
inc edx
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1019cd68]
inc edx
dec edi
jne 0x100fe668
pop edi
test eax, eax
je 0x100fe719
movzx ebx, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1019cd68]
inc edx
dec eax
jne 0x100fe704
mov eax, esi
pop esi
not eax
pop ebx
ret
mov eax, dword [esp + 4]
ret
Function at 0x100fefde
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret

Function at 0x100ff1c0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [0x101993a4]
push edi
mov edi, eax
push dword [edi]
call esi
push dword [edi + 4]
mov ebx, eax
call esi
and dword [ebp - 4], 0
mov edi, eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 8], eax
jmp 0x100ff1f2
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
push dword [ebp + eax - 0x18]
call esi
mov ecx, dword [ebp - 4]
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
mov dword [ebp + ecx*4 - 0x18], eax
jl 0x100ff1ef
push 0x10
xor eax, eax
pop ecx
mov edx, edi
shr edx, 5
add edx, dword [ebp - 0x14]
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x18]
sub eax, 0x61c88647
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
add ebx, edx
mov edx, ebx
shr edx, 5
add edx, dword [ebp - 0xc]
mov esi, ebx
shl esi, 4
add esi, dword [ebp - 0x10]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add edi, edx
dec ecx
jne 0x100ff213
mov esi, dword [0x101993ac]
push ebx
call esi
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebx], eax
call esi
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebx
leave
ret

Function at 0x100ff266
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [0x101993a4]
push edi
mov edi, eax
push dword [edi]
call esi
push dword [edi + 4]
mov ebx, eax
call esi
and dword [ebp - 4], 0
mov edi, eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 8], eax
jmp 0x100ff298
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
push dword [ebp + eax - 0x18]
call esi
mov ecx, dword [ebp - 4]
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
mov dword [ebp + ecx*4 - 0x18], eax
jl 0x100ff295
push 0x10
mov eax, 0xe3779b90
pop ecx
mov edx, ebx
shr edx, 5
add edx, dword [ebp - 0xc]
mov esi, ebx
shl esi, 4
add esi, dword [ebp - 0x10]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
sub edi, edx
mov edx, edi
shr edx, 5
add edx, dword [ebp - 0x14]
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x18]
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
sub ebx, edx
add eax, 0x61c88647
dec ecx
jne 0x100ff2bc
mov esi, dword [0x101993ac]
push ebx
call esi
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebx], eax
call esi
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebx
leave
ret
Function at 0x10101a22
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [ecx]
mov edx, eax
xor edx, dword [esp + 4]
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edi + edx*4]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edi + edx*4]
pop esi
mov dword [ecx + 8], eax
mov eax, dword [esp + 4]
ret

Function at 0x10101a9d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101cd7b4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ebx
jge 0x10101ad0
xor eax, eax
jmp 0x10101bd1
inc dword [0x101cf21c]
cmp dword [0x101cf21c], 1
jne 0x10101af3
push 0
call fcn.10158e4a
xor eax, 0xbb40e64e
push eax
call fcn.10159780
pop ecx
pop ecx
push edi
mov ecx, ebx
mov eax, esi
call fcn.10101a65
add esp, 4
xor esi, esi
call fcn.1015978d
mov ebx, eax
mov eax, dword [ebp - 0x14]
sar ebx, 7
and ebx, 0xff
call fcn.10101a0b
mov ecx, dword [ebp - 0x14]
push ebx
mov dword [ebp - 0x18], eax
call fcn.10101a22
xor bl, byte [ebp - 0x18]
add esp, 4
mov byte [ebp + esi - 0x10], bl
inc esi
cmp esi, 0xa
jl 0x10101b02
mov eax, dword [ebp - 0x20]
push edi
call fcn.10101a65
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
add esp, 4
xor esi, esi
sub eax, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
call fcn.10101a0b
mov bl, byte [ebp + esi - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
movzx eax, bl
push eax
call fcn.10101a22
xor bl, byte [ebp - 0x18]
mov eax, dword [ebp - 0x20]
add eax, esi
add esp, 4
inc esi
cmp esi, 0xa
mov byte [ebp + eax - 0x10], bl
jl 0x10101b4f
mov eax, ecx
call fcn.10101a0b
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
shr ebx, 0x10
mov eax, ebx
and eax, 0xff
push eax
call fcn.10101a22
xor bl, byte [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov byte [eax + esi], bl
mov eax, ecx
inc esi
call fcn.10101a0b
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
shr ebx, 0x18
push ebx
mov dword [ebp - 0x18], eax
call fcn.10101a22
mov eax, dword [ebp - 0x1c]
add esp, 8
xor bl, byte [ebp - 0x18]
mov byte [eax + esi], bl
lea eax, [esi + 1]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101593ee
leave
ret
Function at 0x10102b73
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
xor edi, edi
cmp dword [esi + 0x100ac], edi
mov dword [ebp - 8], edi
je 0x10102bd3
cmp dword [esi + 0x7c], edi
jbe 0x10102bd3
mov dword [ebp - 4], 0xffffff5c
sub dword [ebp - 4], esi
lea ebx, [esi + 0xa4]
lea edx, [esi + 0x100d0]
mov eax, edx
call fcn.10101a0b
mov edi, dword [esi + 0x100dc]
mov dword [ebp - 0xc], eax
movzx eax, byte [ebx]
push eax
mov ecx, edx
call fcn.10101a22
mov al, byte [ebp - 0xc]
xor byte [ebx], al
mov eax, dword [ebp - 4]
add esp, 4
inc ebx
add eax, ebx
cmp eax, dword [esi + 0x7c]
jb 0x10102b9d
xor edi, edi
mov ebx, dword [esi + 0x7c]
push ebx
lea eax, [esi + 0xa4]
push eax
push dword [esi + 0x2c]
push dword [esi + 0x1c]
call dword [esi + 8]
add esp, 0x10
cmp eax, ebx
je 0x10102bf2
or dword [ebp - 8], 0xffffffff
mov ecx, dword [esi + 0x48]
lea eax, [esi + 0x100c0]
add dword [eax], ebx
mov dword [esi + 0x48], edi
mov dword [esi + 0x7c], edi
adc dword [eax + 4], edi
lea eax, [esi + 0x100c8]
add dword [eax], ecx
adc dword [eax + 4], edi
mov eax, dword [ebp - 8]
pop edi
pop ebx
leave
ret
Function at 0x10103492
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
cmp edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
jne 0x101034b1
push 0xffffffffffffff9a
pop eax
jmp 0x101035cd
cmp dword [edi + 0x38], 1
jne 0x101034c1
push edi
call fcn.10103481
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], ebx
jne 0x101034cf
mov eax, dword [edi + 0x10100]
mov dword [ebp + 0xc], eax
push esi
push dword [edi + 0x2c]
push edi
call fcn.10105d81
cmp dword [ebp - 4], ebx
pop ecx
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jne 0x10103520
mov esi, dword [edi + 0x30]
test esi, esi
je 0x10103520
cmp dword [ebp - 4], 0
jne 0x10103514
mov eax, dword [esi + 8]
test eax, eax
jbe 0x10103514
push eax
lea eax, [esi + 0x10]
push eax
push dword [edi + 0x2c]
push dword [edi + 0x1c]
call dword [edi + 8]
add esp, 0x10
cmp eax, dword [esi + 8]
je 0x10103514
or dword [ebp - 4], 0xffffffff
add ebx, dword [esi + 8]
mov esi, dword [esi]
test esi, esi
jne 0x101034ed
mov dword [ebp - 8], ebx
lea esi, [edi + 0x30]
call fcn.10101c1c
mov eax, dword [ebp - 0x10]
sub eax, dword [edi + 0x100f0]
mov ecx, dword [ebp - 0xc]
sbb ecx, dword [edi + 0x100f4]
mov dword [ebp - 0x14], ecx
jne 0x10103544
cmp eax, 0xffffffff
jb 0x1010356b
push dword [edi + 0x2c]
push edi
call fcn.10105d81
push dword [ebp - 0xc]
mov esi, eax
push dword [ebp - 0x10]
mov ebx, edx
push dword [ebp - 8]
push edi
call fcn.10103203
push ebx
push esi
push edi
call fcn.1010318c
add esp, 0x24
cmp dword [ebp - 4], 0
pop esi
jne 0x10103599
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 8]
push edi
call fcn.101032fc
add esp, 0x10
test eax, eax
mov dword [ebp - 4], eax
jne 0x10103599
push dword [ebp + 0xc]
push edi
call fcn.1010340c
pop ecx
pop ecx
mov dword [ebp - 4], eax
push dword [edi + 0x2c]
push dword [edi + 0x1c]
call dword [edi + 0x14]
test eax, eax
pop ecx
pop ecx
je 0x101035b2
cmp dword [ebp - 4], 0
jne 0x101035b2
or dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0x10100]
test eax, eax
je 0x101035c3
push eax
call fcn.10158d37
pop ecx
push edi
call fcn.10158d37
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop ebx
leave
ret
Function at 0x101064a5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x1010652a
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.10159960
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x101064ed
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x1010650f
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x101065fa
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.1010627f
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
cmp edx, 3
pop ecx
pop ecx
jb 0x10106575
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x10106589
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x101064ae
mov ecx, dword [edi + 0x16c0]
mov eax, dword [edi + 0x3c]
cmp ecx, eax
jae 0x101065fa
mov esi, dword [edi + 0x6c]
add esi, edx
cmp ecx, esi
jae 0x101065c9
sub eax, esi
mov ebx, eax
mov eax, 0x102
cmp ebx, eax
jbe 0x101065ae
mov ebx, eax
mov eax, dword [edi + 0x38]
push ebx
add eax, esi
push 0
push eax
call fcn.10158dd0
add esp, 0xc
add ebx, esi
mov dword [edi + 0x16c0], ebx
jmp 0x101065fa
lea edx, [esi + 0x102]
cmp ecx, edx
jae 0x101065fa
sub esi, ecx
add esi, 0x102
sub eax, ecx
cmp esi, eax
jbe 0x101065e3
mov esi, eax
mov eax, dword [edi + 0x38]
push esi
add eax, ecx
push 0
push eax
call fcn.10158dd0
add esp, 0xc
add dword [edi + 0x16c0], esi
pop esi
pop ebx
leave
ret

Function at 0x10110011
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
or dword [esi], 0xffffffff
xor ebx, ebx
cmp dword [esi + 0x88], ebx
push edi
lea edi, [esi + 0x8c]
mov dword [edi], ebx
jne 0x10110062
lea eax, [esi + 0x28]
push eax
lea ecx, [ebp - 8]
call fcn.100016f0
inc dword [esi + 0x94]
push edi
push ebx
push esi
push 0x1010ffd2
push ebx
push ebx
call fcn.101598a9
add esp, 0x18
lea ecx, [ebp - 8]
mov dword [esi + 0x88], eax
call fcn.10001710
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10126e96
Capabilities:
Encode data using xor

Disassembly:
push 0x88
mov eax, 0x101932fc
call fcn.1015d864
mov edi, dword [ebp + 0xc]
push 0x14
xor ebx, ebx
lea eax, [ebp - 0x24]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], 1
call fcn.10158dd0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x2c], ebx
call fcn.10126666
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
call fcn.100086d0
mov ecx, eax
call fcn.100086a0
push eax
call fcn.10126b61
pop ecx
pop ecx
mov ecx, eax
call fcn.100086d0
mov ecx, eax
call fcn.100086d0
cmp byte [esi + 0x200], bl
mov byte [esi + 0x202], 1
je 0x10126f29
cmp byte [esi + 0x201], bl
je 0x10126f29
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x2c], ebx
jne 0x10126f5c
push 0x14
lea eax, [ebp - 0x94]
push ebx
push eax
call fcn.10158dd0
mov esi, dword [esi + 0x134]
mov eax, dword [esi]
add esp, 0xc
push ebx
lea ecx, [ebp - 0x94]
push ecx
push 0x15
mov ecx, esi
call dword [eax + 0x48]
jmp 0x10127065
jbe 0x10127065
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
jbe 0x10127047
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x6c], ebx
call fcn.100448d0
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x68]
push eax
call fcn.100086d0
mov edi, eax
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x25]
push eax
call fcn.10007dd0
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x26]
push eax
call fcn.10007dd0
lea eax, [ebp - 0x52]
push eax
lea eax, [ebp - 0x56]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x5e]
push eax
lea eax, [ebp - 0x62]
push eax
mov ecx, edi
call fcn.100086d0
mov ecx, eax
call fcn.100086a0
mov ecx, eax
call fcn.100086d0
mov ecx, eax
call fcn.100086a0
mov ecx, eax
call fcn.100086d0
mov ecx, eax
call fcn.100086a0
mov al, byte [ebp - 0x26]
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 0x63], al
mov al, byte [ebp - 0x64]
xor al, byte [ebp - 0x25]
and al, 0x1f
xor byte [ebp - 0x64], al
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x49]
push eax
call fcn.100086a0
mov ecx, eax
call fcn.100086d0
mov ecx, eax
call fcn.100086a0
lea ecx, [ebp - 0x4a]
push ecx
mov ecx, dword [eax + 4]
call fcn.10007dd0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.10066ac0
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x2c]
jb 0x10126f7a
mov esi, dword [esi + 0x134]
mov eax, dword [esi]
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push ebx
mov ecx, esi
call dword [eax + 0x48]
lea ecx, [ebp - 0x7c]
call fcn.1001ed40
mov eax, dword [ebp - 0x34]
call fcn.1015d8e7
ret 8

Function at 0x1013dea4
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 8], eax
jne 0x1013dec9
lea ecx, [esi + 0xc]
push ecx
push eax
push esi
push 0x1013de61
push eax
push eax
mov byte [esi + 0x11], al
call fcn.101598a9
add esp, 0x18
mov dword [esi + 8], eax
pop esi
ret
Function at 0x10150e01
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 8], eax
jne 0x10150e26
lea ecx, [esi + 0xc]
push ecx
push eax
push esi
push 0x10150de7
push eax
push eax
mov byte [esi + 0x11], al
call fcn.101598a9
add esp, 0x18
mov dword [esi + 8], eax
pop esi
ret
Function at 0x10175dc0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [0x101993a4]
push edi
mov edi, eax
push dword [edi]
call esi
push dword [edi + 4]
mov ebx, eax
call esi
and dword [ebp - 4], 0
mov edi, eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 8], eax
jmp 0x10175df2
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
push dword [ebp + eax - 0x18]
call esi
mov ecx, dword [ebp - 4]
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
mov dword [ebp + ecx*4 - 0x18], eax
jl 0x10175def
push 0xd
xor eax, eax
pop ecx
mov edx, edi
shr edx, 5
add edx, dword [ebp - 0x14]
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x18]
sub eax, 0x61c88647
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
add ebx, edx
mov edx, ebx
shr edx, 5
add edx, dword [ebp - 0xc]
mov esi, ebx
shl esi, 4
add esi, dword [ebp - 0x10]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add edi, edx
dec ecx
jne 0x10175e13
mov esi, dword [0x101993ac]
push ebx
call esi
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebx], eax
call esi
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebx
leave
ret