joyce8/EMBER2024-capa huggingface dataset:
Function at 0xbace6a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0xbf8f3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00b9e85c
and dword [ebp - 0x14], 0
cmp dword [0xc15270], 0
mov dword [ebp - 0x18], eax
jne 0xbacf1d
push 0xc00328
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0xbacfc5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xbfc778
push ebx
call edi
test eax, eax
je 0xbacfc5
mov esi, dword [0xbfa390]
push eax
call esi
push 0xc00318
push ebx
mov dword [0xc15270], eax
call edi
push eax
call esi
push 0xc00304
push ebx
mov dword [0xc15274], eax
call edi
push eax
call esi
push 0xc002e8
push ebx
mov dword [0xc15278], eax
call edi
push eax
call esi
mov dword [0xc15280], eax
test eax, eax
je 0xbacf1d
push 0xc002d0
push ebx
call edi
push eax
call esi
mov dword [0xc1527c], eax
mov eax, dword [0xc1527c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0xbfa394]
cmp eax, ecx
je 0xbacf76
cmp dword [0xc15280], ecx
je 0xbacf76
push eax
call esi
push dword [0xc15280]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0xbacf76
test ebx, ebx
je 0xbacf76
call edi
test eax, eax
je 0xbacf6d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0xbacf6d
test byte [ebp - 8], 1
jne 0xbacf76
or dword [ebp + 0x10], 0x200000
jmp 0xbacfa9
mov eax, dword [0xc15274]
cmp eax, dword [ebp - 0x18]
je 0xbacfa9
push eax
call esi
test eax, eax
je 0xbacfa9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0xbacfa9
mov eax, dword [0xc15278]
cmp eax, dword [ebp - 0x18]
je 0xbacfa9
push eax
call esi
test eax, eax
je 0xbacfa9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0xc15270]
call esi
test eax, eax
je 0xbacfc5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0xbacfc7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00b94bce
leave
ret
Function at 0xbba3b8
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 0xbba43d
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.00b94fe0
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 0xbba400
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 0xbba422
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0xbba498
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.00bba108
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
cmp esi, 3
pop ecx
pop ecx
jb 0xbba484
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0xbba498
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0xbba3c1
pop esi
pop ebx
leave
ret
Function at 0x100b5794
Capabilities:
Enumerate gui resources

Disassembly:
add al, 0x24
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x18]
push ecx
push ebx
push eax
mov eax, 0x2b4fe205
lea eax, [eax - 0x2b4fddf5]
xchg dword [esp], eax
push eax
call fcn.100b5794
loop 0x100b57ed
pop eax
pop eax
lea eax, [eax + 0xb6505c]
call eax
jp 0x100b576b
int3
loop 0x100b57fe
loop 0x100b586d
int3
fmul st(6)
invalid
cmc
mov word [ebp + 0x68c20bc5], ds
mov dl, 0x8b
pop es
das
invalid
Function at 0x100be8c0
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [edi + 8]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], ebx
mov ebx, dword [edi + 0xc]
mov dword [esp + 0xc], ebx
mov ebx, dword [edi + 4]
mov edi, dword [edi]
mov esi, 0x20
mov edx, 0xc6ef3720
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
mov edi, ecx
shr edi, 5
add edi, dword [esp + 0xc]
mov ebx, ecx
shl ebx, 4
add ebx, dword [esp + 0x10]
dec esi
xor edi, ebx
lea ebx, [edx + ecx]
xor edi, ebx
sub eax, edi
mov edi, eax
shl edi, 4
add edi, dword [esp + 0x14]
mov ebx, eax
shr ebx, 5
add ebx, dword [esp + 0x18]
xor edi, ebx
lea ebx, [edx + eax]
xor edi, ebx
sub ecx, edi
add edx, 0x61c88647
test esi, esi
ja 0x100be8f6
mov edx, dword [esp + 0x20]
pop edi
pop esi
mov dword [edx], ecx
mov dword [edx + 4], eax
pop ebx
add esp, 0x10
ret 4
Function at 0x100c1720
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x28]
push ebx
movzx ebx, word [eax + 2]
push ebp
push esi
movzx esi, word [eax]
shl ebx, 0x10
mov dword [esp + 0xc], esi
or ebx, esi
push edi
mov ecx, 0x1b434c83
mov edx, 0x3281ab71
mov dword [esp + 0x14], 0x21e1cde3
mov dword [esp + 0x18], 0xf4d50d87
mov dword [esp + 0x1c], 0x9cefa3f8
mov dword [esp + 0x20], 0xa4beea47
mov dword [esp + 0x24], 0xb5bfbc70
mov dword [esp + 0x28], 0x6aa127fa
mov dword [esp + 0x2c], 0x8a845dd1
mov dword [esp + 0x30], 0x1d3af235
mov eax, 1
mov esi, 0x4f111
nop
and ecx, 7
mov ecx, dword [esp + ecx*4 + 0x14]
xor ecx, edx
lea edi, [eax + 0x82a3]
lea edx, [edi - 1]
imul edi, eax
lea ebp, [eax - 1]
imul edx, ebp
add ecx, edx
lea edx, [esi - 0x980]
imul edx, ebp
mov ebp, ecx
shr ebx, 1
add edx, ebx
lea edx, [edx + ecx + 0xc9de]
and ebp, 7
mov ebp, dword [esp + ebp*4 + 0x14]
add ebp, ecx
xor edx, ebp
and edx, 7
mov edx, dword [esp + edx*4 + 0x14]
xor edx, ecx
add edx, edi
mov ecx, edx
and ecx, 7
mov ecx, dword [esp + ecx*4 + 0x14]
add ecx, edx
mov edi, esi
imul edi, eax
shr ebx, 1
add edi, ebx
lea edi, [edi + edx + 0xc9de]
xor ecx, edi
and ecx, 7
mov ecx, dword [esp + ecx*4 + 0x14]
xor ecx, edx
lea edi, [eax + 1]
lea edx, [eax + 0x82a4]
imul edx, edi
add ecx, edx
lea edx, [esi + 0x980]
imul edx, edi
mov edi, ecx
and edi, 7
mov edi, dword [esp + edi*4 + 0x14]
add edi, ecx
shr ebx, 1
add edx, ebx
lea edx, [edx + ecx + 0xc9de]
xor edx, edi
and edx, 7
mov edx, dword [esp + edx*4 + 0x14]
xor edx, ecx
lea edi, [eax + 2]
lea ecx, [eax + 0x82a5]
imul ecx, edi
add edx, ecx
lea ecx, [esi + 0x1300]
imul ecx, edi
mov edi, edx
and edi, 7
mov edi, dword [esp + edi*4 + 0x14]
shr ebx, 1
add ecx, ebx
add edi, edx
lea ecx, [ecx + edx + 0xc9de]
add eax, 4
xor ecx, edi
lea edi, [eax - 1]
add esi, 0x2600
cmp edi, 0x20
jb 0x100c1790
mov eax, dword [esp + 0x38]
movzx eax, word [eax + 2]
mov esi, eax
imul esi, eax
mov eax, dword [esp + 0x10]
add esi, ecx
mov dword [esp + 0x14], esi
mov esi, eax
imul esi, eax
add edx, ecx
add esi, ecx
and edx, 0xffff41d3
lea ecx, [esp + 0x10]
or edx, 0x41d3
push ecx
lea ecx, [esp + 0x18]
lea eax, [esp + 0x3c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x3c], edx
call fcn.100c15d0
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x100c803f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop edx
lea edx, [edx + 0xb8c0b2]
call edx
jge 0x100c80a4
shr ecx, 0x14
add ecx, edx
mov eax, 0x43fe6780
lea eax, [eax + 0x7ce208b9]
mov eax, eax
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
add ecx, eax
mov eax, 0x5632e6b4
lea eax, [eax + 0x2fe57ad3]
mov eax, eax
mul esi
mov eax, esi
call 0x10c5035c
loope 0x100c80e4
pop esi
pop ebp
pop ebx
push eax
call 0x100c808f
loopne 0x100c80e8
lea eax, [eax - 0x5d04]
jmp eax
mov dword [esp + 0x50], 0x636e6554
mov dword [esp + 0x54], 0x5c746e65
and al, 0x50
push esp
outsb dx, byte gs:[esi]
arpl di, ax
inc esp
and al, 0x54
outsb dx, byte gs:[esi]
je 0x100c810e
mov dword [esp + 0x58], 0x4532467b
mov dword [esp + 0x5c], 0x36433639
mov dword [esp + 0x60], 0x37422d46
mov dword [esp + 0x64], 0x342d3946
mov dword [esp + 0x68], 0x2d383731
mov dword [esp + 0x6c], 0x35433842
mov dword [esp + 0x70], 0x3931362d
and al, 0x70
sub eax, 0xc7393136
inc esp
and al, 0x74
inc ebp
xor al, 0x42
xor al, 0xc7
inc esp
and al, 0x78
inc esp
cmp dword [eax], esi
xor bh, al
inc esp
and al, 0x7c
xor edi, dword [ebp]
add bh, al
inc esp
and al, 0xc
inc ebp
jb 0x100c817b
xor dword [ecx], edi
mov dword [esp + 0x74], 0x34423445
mov dword [esp + 0x78], 0x30303944
mov dword [esp + 0x7c], 0x7d33
mov dword [esp + 0xc], 0x6f727245
outsd dx, dword [esi]
call 0x10c51fd8
loop 0x100c816a
add dl, ah
pop ecx
push ebx
xor ecx, ecx
push ebp
mov dword [esp + 0x38], ecx
pushfd
call 0x100c8120
jl 0x100c80a2
add al, 0x24
std
mov ax, 0xc300
jmp 0xf274d985
int3
cmp al, 0x36
bound esi, qword [ebx - 0x283b6275]
into
salc
add bl, byte [edx - 0x6677bd11]
salc
pop ebp
adc ch, byte [esp + ecx*4 - 0x73]
pop es
pop eax
invalid
Function at 0x100cd840
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x1018b630]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push edi
push 0x103
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.10112310
push 0x103
lea ecx, [esp + 0x11d]
push 0
push ecx
mov byte [esp + 0x124], 0
call fcn.10112310
add esp, 0x18
lea edx, [esp + 8]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [esp + 0x21c]
push eax
lea ecx, [esp + 0xc]
push ecx
push str._s_tenprotect_id__u.tmp
mov ecx, 0x104
lea edi, [esp + 0x118]
call fcn.1077be51
add esp, 0xc
mov esi, edi
call fcn.100cd900
cdq
mov ecx, 0x64
idiv ecx
mov ecx, dword [esp + 0x210]
pop edi
pop esi
cmp edx, dword [esp + 0x210]
setl al
xor ecx, esp
call fcn.1010c3d3
add esp, 0x20c
ret

Function at 0x100cd900
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 8
push 0x1016c78c
lea eax, [esp + 4]
push esi
push eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
call fcn.1010a1f9
mov eax, dword [esp + 0xc]
add esp, 0xc
test eax, eax
je 0x100cd952
push eax
push 1
lea ecx, [esp + 0xc]
push 4
push ecx
call fcn.1010a4ec
mov edx, dword [esp + 0x10]
push edx
call fcn.1010a580
mov eax, dword [esp + 0x18]
add esp, 0x14
add esp, 8
ret
push 0
call fcn.1010c893
push eax
call fcn.10108baf
call fcn.10108bc1
push 0x1016ec08
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push esi
push eax
call fcn.1010a1f9
mov eax, dword [esp + 0x14]
add esp, 0x14
test eax, eax
je 0x100cd99f
push eax
push 1
lea ecx, [esp + 0xc]
push 4
push ecx
call fcn.1010c811
mov edx, dword [esp + 0x10]
push edx
call fcn.1010a580
add esp, 0x14
mov eax, dword [esp + 4]
add esp, 8
ret

Function at 0x100d0190
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x1018b630]
xor eax, esp
mov dword [esp + 0x10], eax
xor eax, eax
push eax
mov byte [esp + 4], al
mov dword [esp + 5], eax
mov dword [esp + 9], eax
mov dword [esp + 0xd], eax
mov word [esp + 0x11], ax
mov byte [esp + 0x13], al
push 2
lea eax, [esp + 8]
push eax
push ecx
call sub.WS2_32.dll_recv
cmp eax, 2
jne 0x100d01ea
cmp byte [esp], 0xd
jne 0x100d01ea
cmp byte [esp + 1], 0xa
jne 0x100d01ea
mov al, 1
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.1010c3d3
add esp, 0x14
ret
mov ecx, dword [esp + 0x10]
xor ecx, esp
xor al, al
call fcn.1010c3d3
add esp, 0x14
ret
Function at 0x100d0f10
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x68
mov eax, dword [0x1018b630]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov esi, ecx
push edi
mov byte [esp + 0x13], 0
test esi, esi
je 0x100d1046
test ebp, ebp
je 0x100d1046
push 0x40000
call fcn.10106b9c
mov edi, eax
add esp, 4
test edi, edi
je 0x100d101e
push 0x1016d3d0
push esi
call fcn.1010ac1b
mov ebx, eax
xor esi, esi
add esp, 8
cmp ebx, esi
je 0x100d1013
xor eax, eax
mov dword [ebp], eax
push 0x40000
mov dword [ebp + 4], eax
push esi
mov dword [ebp + 8], eax
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
mov dword [ebp + 0xc], eax
call fcn.10112310
push ebx
push 0x40000
push 1
push edi
call fcn.1010a4ec
add esp, 0x1c
cmp eax, esi
jle 0x100d1003
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100d0fd0
push edi
lea ecx, [esp + 0x1c]
call fcn.100d31e0
add esp, 4
push 0x14
call esi
push 0x40000
push 0
push edi
call fcn.10112310
push ebx
push 0x40000
push 1
push edi
call fcn.1010a4ec
add esp, 0x1c
test eax, eax
jg 0x100d0fd0
lea esi, [esp + 0x18]
mov ecx, ebp
call fcn.100d3290
mov byte [esp + 0x13], 1
push edi
call fcn.101087d3
add esp, 4
jmp 0x100d1022
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x100d102f
push ebx
call fcn.1010a580
add esp, 4
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.1010c3d3
add esp, 0x68
ret
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.1010c3d3
add esp, 0x68
ret
Function at 0x100d1120
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101826d0
push 0x10116d40
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1018b630]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x19], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x100d118e
cmp dword [ebp + 0xc], ebx
je 0x100d118e
cmp dword [ebp + 0x10], ebx
je 0x100d118e
cmp dword [ebp + 0x14], ebx
je 0x100d118e
cmp dword [ebp + 0x18], ebx
je 0x100d118e
lea ecx, [ebp - 0x28]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
jne 0x100d119a
mov dword [ebp - 4], 0xfffffffe
jmp 0x100d1235
lea edx, [edi + 1]
push edx
call fcn.10106b9c
add esp, 4
mov esi, eax
mov dword [ebp - 0x24], esi
cmp esi, ebx
jne 0x100d11b8
mov dword [ebp - 4], 0xfffffffe
jmp 0x100d1235
mov dword [esi], ebx
push esi
push edi
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x100d1214
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0x10168744
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x100d1214
mov eax, dword [ebp - 0x20]
movzx ecx, word [eax + 0xa]
mov edx, dword [ebp + 0xc]
mov word [edx], cx
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0x10]
mov word [edx], cx
movzx ecx, word [eax + 0xe]
mov edx, dword [ebp + 0x14]
mov word [edx], cx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x18]
mov word [ecx], ax
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0xfffffffe
jmp 0x100d1235
cmp esi, ebx
je 0x100d1242
push esi
call fcn.101087d3
add esp, 4
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100d3a50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
test edx, edx
jbe 0x100d3a81
mov eax, dword [edi]
push ebx
push ebp
lea ebx, [ebx]
movzx ebx, byte [ecx + esi]
mov ebp, eax
and ebp, 0xff
xor ebx, ebp
shr eax, 8
xor eax, dword [ebx*4 + 0x1019c0c0]
inc ecx
cmp ecx, edx
jb 0x100d3a60
pop ebp
mov dword [edi], eax
pop ebx
ret
Function at 0x100d8f70
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x14]
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [edi + 4]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x10], ebx
mov ebx, dword [edi]
mov dword [esp + 0xc], ebx
mov ebx, dword [edi + 8]
mov edi, dword [edi + 0xc]
xor edx, edx
lea esi, [edx + 0x20]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
mov edi, ecx
shl edi, 4
add edi, dword [esp + 0xc]
mov ebx, ecx
shr ebx, 5
add ebx, dword [esp + 0x10]
sub edx, 0x61c88647
xor edi, ebx
lea ebx, [edx + ecx]
xor edi, ebx
add eax, edi
mov edi, eax
shr edi, 5
add edi, dword [esp + 0x14]
mov ebx, eax
shl ebx, 4
add ebx, dword [esp + 0x18]
dec esi
xor edi, ebx
lea ebx, [edx + eax]
xor edi, ebx
add ecx, edi
test esi, esi
ja 0x100d8fa1
mov edx, dword [esp + 0x20]
pop edi
pop esi
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
add esp, 0x10
ret 4

Function at 0x100d9100
Capabilities:
Encode data using xor

Disassembly:
xor ecx, ecx
mov eax, 0xa8b19c75
test edi, edi
jbe 0x100d9149
push ebx
push ebp
push esi
lea esi, [ecx + 1]
mov edx, 0x25
mov ebp, dword [esp + 0x10]
mov ebp, dword [ebp + ecx*4]
mov ebx, edx
imul ebx, ecx
lea ebx, [ebx + ebp + 0x536327]
mov ebp, esi
imul ebp, ecx
lea eax, [eax + ebp + 0x152d9]
inc ecx
xor eax, ebx
add edx, 0x3b
add esi, 0x14df
cmp ecx, edi
jb 0x100d9116
pop esi
pop ebp
pop ebx
ret 4

Function at 0x100d9150
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
call esi
xor edx, edx
mov ecx, 0x3e8
div ecx
cmp edx, 0x32
jbe 0x100d9178
cmp edx, 0x320
jb 0x100d917e
push 0x32
call edi
jmp 0x100d9160
call esi
mov edx, eax
mov eax, 0x10624dd3
mul edx
mov ebx, edx
shr ebx, 6
mov esi, 0x1765a2d3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [esp + 0x10]
xor ecx, ecx
xor edi, edi
add ebx, eax
add edx, 0x134
lea esp, [esp]
lea eax, [ecx + esi]
lea esi, [ecx + 6]
imul esi, ecx
xor eax, edi
mov dword [edx], eax
inc ecx
add edx, 4
add edi, ebx
lea esi, [esi + eax + 0x4e331f]
cmp ecx, 0x40
jb 0x100d91b0
pop edi
pop esi
pop ebx
ret 4
Function at 0x100df3b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [0x1018b630]
xor eax, esp
mov dword [esp + 0x14], eax
push 0
call fcn.1010c893
mov ecx, dword [esp + 0x20]
add esp, 4
lea edx, [esp]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov ecx, 0x10
lea edx, [esp + 0x13]
push esi
xor eax, 0x10
mov dword [esp + 0x10], 0x1016a540
mov dword [esp + 0x14], fcn.100df880
sub edx, ecx
push edi
movzx esi, byte [edx + ecx]
mov edi, eax
shl edi, 5
add esi, edi
mov edi, eax
shr edi, 2
add esi, edi
dec ecx
xor eax, esi
cmp ecx, 1
jae 0x100df3f7
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
call fcn.1010c3d3
add esp, 0x18
ret

Function at 0x100e3b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
push esi
push edi
mov edi, eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
lea eax, [esp + 0x18]
push eax
mov eax, edi
call fcn.100e3750
add esp, 4
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x10], eax
mov esi, eax
call fcn.100e37c0
add esi, eax
mov eax, dword [ebx + 4]
and eax, 0x7fffff00
add esp, 8
cmp eax, 0x7ff7a500
je 0x100e3c9a
fld qword [ebx]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fistp dword [esp + 0xc]
fild dword [esp + 0xc]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x44
jp 0x100e3c9a
mov eax, dword [esp + 0xc]
test eax, eax
jle 0x100e3c9a
cmp eax, 0x40000000
jg 0x100e3c9a
dec eax
xor ecx, ecx
cmp eax, 0x100
jb 0x100e3c82
shr eax, 8
add ecx, 8
cmp eax, 0x100
jae 0x100e3c75
movzx eax, byte [eax + 0x1016a548]
add eax, ecx
inc dword [esp + eax*4 + 0x18]
lea eax, [esp + eax*4 + 0x18]
mov eax, 1
jmp 0x100e3c9c
xor eax, eax
add dword [esp + 8], eax
lea ecx, [esp + 8]
push ecx
lea eax, [esp + 0x1c]
call fcn.100e36f0
mov edx, dword [esp + 0xa0]
sub esi, eax
mov eax, dword [esp + 0xc]
add esp, 4
inc esi
push esi
push edx
mov ecx, edi
call fcn.100e39c0
add esp, 8
pop edi
pop esi
add esp, 0x90
ret

Function at 0x100e4250
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
shr ecx, 5
mov eax, edx
xor eax, dword [esp + 4]
inc ecx
cmp edx, ecx
jb 0x100e427f
push ebx
push edi
movzx edi, byte [esi + edx - 1]
mov ebx, eax
shl ebx, 5
add edi, ebx
mov ebx, eax
shr ebx, 2
add edi, ebx
sub edx, ecx
xor eax, edi
cmp edx, ecx
jae 0x100e4262
pop edi
pop ebx
ret
Function at 0x100e4420
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [eax + 0xc]
mov ebx, dword [esi + 0x30]
mov eax, edi
shr eax, 5
inc eax
xor ebx, edi
mov dword [esp + 0xc], esi
mov ecx, edi
cmp edi, eax
jb 0x100e445f
mov edx, dword [esp + 0x18]
movzx edx, byte [edx + ecx - 1]
mov ebp, ebx
shl ebp, 5
add edx, ebp
mov ebp, ebx
shr ebp, 2
add edx, ebp
sub ecx, eax
xor ebx, edx
cmp ecx, eax
jae 0x100e4440
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x18]
dec eax
and eax, ebx
mov ebp, dword [ecx + eax*4]
test ebp, ebp
je 0x100e44db
nop
cmp ebx, dword [ebp + 8]
jne 0x100e44d4
cmp edi, dword [ebp + 0xc]
jne 0x100e44d4
mov esi, dword [esp + 0x18]
mov ecx, edi
lea edx, [ebp + 0x10]
cmp edi, 4
jb 0x100e449c
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x100e44d0
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x100e4488
test ecx, ecx
je 0x100e4578
mov al, byte [edx]
cmp al, byte [esi]
jne 0x100e44d0
cmp ecx, 1
jbe 0x100e4578
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x100e44d0
cmp ecx, 2
jbe 0x100e4578
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x100e4578
mov esi, dword [esp + 0xc]
mov ebp, dword [ebp]
test ebp, ebp
jne 0x100e4470
mov eax, dword [esi + 0x20]
cmp dword [esi + 0x1c], eax
jb 0x100e44fb
cmp eax, 0x3ffffffe
jg 0x100e44fb
lea edx, [eax + eax]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.100e4280
add esp, 8
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
mov eax, dword [esp + 0x14]
dec ecx
and ecx, ebx
lea ebp, [edx + ecx*4]
mov ecx, dword [eax + 0xc]
lea edx, [edi + 0x11]
push edx
push 4
push 0
push eax
mov dword [esp + 0x24], ecx
call fcn.100f6df0
add esp, 0x10
mov esi, eax
test ebp, ebp
jne 0x100e4530
mov ebp, dword [esp + 0x14]
add ebp, 0x3c
mov eax, dword [esp + 0x14]
mov cl, byte [eax + 0x34]
mov eax, dword [esp + 0x18]
and cl, 3
mov byte [esi + 5], cl
mov byte [esi + 4], 4
mov edx, dword [ebp]
push edi
push eax
lea ecx, [esi + 0x10]
mov dword [esi], edx
mov dword [ebp], esi
push ecx
mov dword [esi + 0xc], edi
mov dword [esi + 8], ebx
mov byte [esi + 6], 0
call fcn.10112390
mov eax, dword [esp + 0x18]
add esp, 0xc
mov byte [esi + edi + 0x10], 0
inc dword [eax + 0x1c]
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov edx, dword [esp + 0xc]
mov al, byte [ebp + 5]
mov cl, byte [edx + 0x34]
xor al, 3
xor cl, 3
test al, cl
jne 0x100e458e
mov byte [ebp + 5], al
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret