joyce8/EMBER2024-capa huggingface dataset:
Function at 0x97e330
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, dword [0xbd33e0]
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
mov eax, esp
xor esi, esp
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x38]
push eax
push ebp
push dword [esp + 0x54]
push ebx
push edi
push esi
push edx
push ecx
push dword [esp + 0x4c]
push 0
push dword [esp + 0x50]
call fcn.0097e2d0
add esp, 0x2c
mov esi, eax
test eax, eax
jne 0x97e3b8
xor esi, esi
test ebp, ebp
je 0x97e3b8
mov ecx, dword [esp + 0x40]
xor eax, eax
xor edx, edx
movzx ebx, byte [esp + edx]
xor bl, byte [ecx + edx]
inc edx
movzx edi, bl
or eax, edi
cmp edx, ebp
jne 0x97e38e
test eax, eax
je 0x97e3b8
push dword [esp + 0x2c]
push dword [esp + 0x50]
call fcn.00965b40
add esp, 8
mov esi, 0xffffffee
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.00989fe9
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x9834a0
Capabilities:
Get common file path

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x108
mov eax, dword [0xbd33e0]
mov ebx, dword [esp + 0x11c]
mov ecx, 0xc2bca8
mov edx, str.SetDefaultDllDirectories
xor eax, esp
mov dword [esp + 0x104], eax
call fcn.00983360
test eax, eax
je 0x9834dc
push 0x800
push 0
push ebx
jmp 0x98351f
mov ebp, esp
push 0x104
push ebp
call sub.KERNEL32.dll_GetSystemDirectoryA
xor esi, esi
test eax, eax
je 0x983526
mov edi, eax
push ebx
call fcn.00989030
add esp, 4
lea ecx, [edi + eax + 2]
cmp ecx, 0x104
ja 0x983526
inc eax
mov byte [esp + edi], 0x5c
lea ecx, [esp + edi + 1]
push eax
push ebx
push ecx
call fcn.009876a0
add esp, 0xc
push 8
push 0
push ebp
call sub.KERNEL32.dll_LoadLibraryExA
mov esi, eax
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00989fe9
mov eax, esi
add esp, 0x108
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x983bd0
Capabilities:
Delete file

Disassembly:
push ebx
push edi
push esi
sub esp, 0x808
mov esi, dword [esp + 0x818]
mov eax, dword [0xbd33e0]
lea edi, [esp + 4]
lea ebx, [esp + 0x804]
xor eax, esp
mov dword [esp + 0x804], eax
mov dword [esp], edi
push esi
call fcn.00989030
add esp, 4
lea eax, [esi + eax + 1]
mov ecx, esp
lea edx, [esp + 0x818]
push 0
push ebx
push ecx
push eax
push edx
call fcn.00988cd0
add esp, 0x14
mov esi, 0xffffffff
test eax, eax
jne 0x983c34
push edi
call sub.KERNEL32.dll_DeleteFileW
cmp eax, 1
sbb esi, esi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.00989fe9
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebx
ret

Function at 0x983bee
Capabilities:
Delete file

Disassembly:
push ebx
push edi
push esi
sub esp, 0x808
mov esi, dword [esp + 0x818]
mov eax, dword [0xbd33e0]
lea edi, [esp + 4]
lea ebx, [esp + 0x804]
xor eax, esp
mov dword [esp + 0x804], eax
mov dword [esp], edi
push esi
call fcn.00989030
add esp, 4
lea eax, [esi + eax + 1]
mov ecx, esp
lea edx, [esp + 0x818]
push 0
push ebx
push ecx
push eax
push edx
call fcn.00988cd0
add esp, 0x14
mov esi, 0xffffffff
test eax, eax
jne 0x983c34
push edi
call sub.KERNEL32.dll_DeleteFileW
cmp eax, 1
sbb esi, esi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.00989fe9
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebx
ret

Function at 0x983cc0
Capabilities:
Create directory

Disassembly:
push ebx
push edi
push esi
sub esp, 0x808
mov esi, dword [esp + 0x818]
mov eax, dword [0xbd33e0]
lea edi, [esp + 4]
lea ebx, [esp + 0x804]
xor eax, esp
mov dword [esp + 0x804], eax
mov dword [esp], edi
push esi
call fcn.00989030
add esp, 4
lea eax, [esi + eax + 1]
mov ecx, esp
lea edx, [esp + 0x818]
push 0
push ebx
push ecx
push eax
push edx
call fcn.00988cd0
add esp, 0x14
mov esi, 0xffffffff
test eax, eax
jne 0x983d26
push 0
push edi
call sub.KERNEL32.dll_CreateDirectoryW
cmp eax, 1
sbb esi, esi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.00989fe9
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebx
ret
Function at 0x9842b0
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
sub esp, 8
mov ecx, dword [0xbd33e0]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
xor ecx, esp
mov dword [esp + 4], ecx
push eax
call fcn.00986740
add esp, 4
mov dword [esp], 0xffffffff
mov ecx, esp
push 0
push ecx
push edi
push esi
push eax
call sub.KERNEL32.dll_WriteFile
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [esp]
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00989fe9
mov eax, esi
add esp, 8
pop esi
pop edi
ret

Function at 0x984cb0
Capabilities:
Encode data using base64

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, dword [esp + 0x14]
xor esi, esi
test ebp, ebp
je 0x984df2
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x984df2
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x984df2
mov ecx, dword [esp + 0x18]
mov edx, 0xaaaaaaab
lea eax, [ecx + 2]
mul edx
and edx, 0x7ffffffe
lea eax, [edx + edx + 1]
cmp dword [ebx], eax
jb 0x984df2
mov eax, ecx
mov edx, 0xaaaaaaab
mul edx
mov eax, edi
shr edx, 1
lea esi, [edx + edx*2]
xor edx, edx
test esi, esi
je 0x984d89
xor ecx, ecx
movzx edi, byte [ebp]
shr edi, 2
movzx ebx, byte [edi + 0xb6dbcc]
mov byte [eax], bl
movzx edi, byte [ebp]
movzx ebx, byte [ebp + 1]
shl edi, 4
shr ebx, 4
and edi, 0x30
movzx ebx, byte [edi + ebx + 0xb6dbcc]
mov byte [eax + 1], bl
movzx edi, byte [ebp + 1]
movzx ebx, byte [ebp + 2]
and edi, 0xf
shr ebx, 6
movzx ebx, byte [ebx + edi*4 + 0xb6dbcc]
mov byte [eax + 2], bl
movzx edi, byte [ebp + 2]
and edi, 0x3f
cmp cl, 0x10
movzx ebx, byte [edi + 0xb6dbcc]
mov byte [eax + 3], bl
jae 0x984d74
add eax, 4
inc cl
jmp 0x984d7f
mov word [eax + 4], 0xa0d
add eax, 6
xor ecx, ecx
add edx, 3
add ebp, 3
cmp edx, esi
jb 0x984d12
mov edi, dword [esp + 0x18]
cmp edx, edi
jae 0x984dde
movzx esi, byte [ebp]
inc edx
xor ecx, ecx
cmp edx, edi
jae 0x984da0
movzx ecx, byte [ebp + 1]
mov edi, esi
shl esi, 4
mov ebx, ecx
shr edi, 2
and esi, 0x30
shr ebx, 4
cmp edx, dword [esp + 0x18]
mov dl, byte [edi + 0xb6dbcc]
mov byte [eax], dl
mov dl, byte [ebx + esi + 0xb6dbcc]
mov byte [eax + 1], dl
mov dl, 0x3d
jae 0x984dd4
and ecx, 0xf
mov dl, byte [ecx*4 + 0xb6dbcc]
mov byte [eax + 2], dl
mov byte [eax + 3], 0x3d
add eax, 4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov byte [eax], 0
mov esi, 1
sub eax, ecx
mov dword [edx], eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x984e00
Capabilities:
Encode data using base64

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, dword [esp + 0x14]
xor esi, esi
test ebp, ebp
je 0x984f2a
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x984f2a
cmp dword [esp + 0x20], 0
je 0x984f2a
mov ebx, dword [esp + 0x18]
mov ecx, 0xaaaaaaab
lea eax, [ebx + 2]
mul ecx
and edx, 0x7ffffffe
lea eax, [edx + edx + 1]
mov edx, dword [esp + 0x20]
cmp dword [edx], eax
jb 0x984f2a
mov eax, ebx
mul ecx
mov eax, edi
shr edx, 1
lea esi, [edx + edx*2]
xor edx, edx
test esi, esi
je 0x984ec1
movzx ecx, byte [ebp]
add edx, 3
shr ecx, 2
movzx ecx, byte [ecx + 0xb6dbcc]
mov byte [eax], cl
movzx ecx, byte [ebp]
movzx edi, byte [ebp + 1]
shl ecx, 4
shr edi, 4
and ecx, 0x30
movzx ecx, byte [ecx + edi + 0xb6dbcc]
mov byte [eax + 1], cl
movzx ecx, byte [ebp + 1]
movzx edi, byte [ebp + 2]
and ecx, 0xf
shr edi, 6
movzx ecx, byte [edi + ecx*4 + 0xb6dbcc]
mov byte [eax + 2], cl
movzx ecx, byte [ebp + 2]
add ebp, 3
and ecx, 0x3f
movzx ecx, byte [ecx + 0xb6dbcc]
mov byte [eax + 3], cl
add eax, 4
cmp edx, esi
jb 0x984e5e
mov edi, dword [esp + 0x18]
cmp edx, edi
jae 0x984f16
movzx ecx, byte [ebp]
inc edx
xor esi, esi
cmp edx, edi
jae 0x984ed8
movzx esi, byte [ebp + 1]
mov edi, ecx
shl ecx, 4
mov ebp, esi
shr edi, 2
and ecx, 0x30
shr ebp, 4
cmp edx, dword [esp + 0x18]
mov dl, byte [edi + 0xb6dbcc]
mov cl, byte [ebp + ecx + 0xb6dbcc]
mov byte [eax], dl
mov byte [eax + 1], cl
mov cl, 0x3d
jae 0x984f0c
and esi, 0xf
mov cl, byte [esi*4 + 0xb6dbcc]
mov byte [eax + 2], cl
mov byte [eax + 3], 0x3d
add eax, 4
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov byte [eax], 0
mov esi, 1
sub eax, ecx
mov dword [edx], eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x9854a0
Capabilities:
Get hostname

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x210
mov eax, dword [0xbd33e0]
mov esi, ecx
mov ecx, dword [esp + 0x228]
mov edi, edx
xor eax, esp
cmp dword [esp + 0x224], 0
mov dword [esp + 0x20c], eax
mov byte [esi], 0
je 0x985542
xor eax, eax
test ecx, ecx
setne al
lea eax, [eax + eax + 5]
lea ecx, [esp + 8]
lea ebp, [esp + 0xc]
mov dword [esp + 8], 0x100
push ecx
push ebp
push eax
call sub.KERNEL32.dll_GetComputerNameExW
mov ebx, 0xffff
test eax, eax
je 0x985550
mov eax, dword [esp + 8]
mov dword [esp + 4], ebp
mov dword [esp], esi
add edi, esi
lea edx, [esp + 4]
lea ecx, [eax + 1]
lea eax, [esp + eax*2 + 0xe]
mov dword [esp + 8], ecx
mov ecx, esp
push 0
push edi
push ecx
push eax
push edx
call fcn.00988ae0
add esp, 0x14
test eax, eax
jne 0x985550
mov ecx, esi
call fcn.009855b0
xor eax, eax
cmp byte [esi], 0
mov ebx, 0xffff
cmovne ebx, eax
jmp 0x985550
mov eax, 6
test ecx, ecx
jne 0x9854db
mov ebx, 0x16
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00989fe9
mov eax, ebx
add esp, 0x210
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x9856c0
Capabilities:
Read file on windows

Disassembly:
push edi
push esi
sub esp, 8
mov ecx, dword [0xbd33e0]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
xor ecx, esp
mov dword [esp + 4], ecx
push eax
call fcn.00986740
add esp, 4
mov dword [esp], 0xffffffff
mov ecx, esp
push 0
push ecx
push edi
push esi
push eax
call sub.KERNEL32.dll_ReadFile
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [esp]
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00989fe9
mov eax, esi
add esp, 8
pop esi
pop edi
ret

Function at 0x985740
Capabilities:
Encode data using base64

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edi, 0xaaaaaaab
lea eax, [esi + 2]
mul edi
mov eax, 0x54
and edx, 0x7ffffffe
lea edx, [edx + edx + 1]
cmp dword [ecx], edx
jb 0x985842
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mul edi
shr edx, 1
xor eax, eax
lea ebp, [edx + edx*2]
mov edx, ecx
test ebp, ebp
je 0x9857e7
movzx edi, byte [ebx]
add eax, 3
shr edi, 2
movzx ecx, byte [edi + 0xb6dc0d]
mov byte [edx], cl
movzx ecx, byte [ebx]
movzx edi, byte [ebx + 1]
shl ecx, 4
shr edi, 4
and ecx, 0x30
movzx ecx, byte [ecx + edi + 0xb6dc0d]
mov byte [edx + 1], cl
movzx ecx, byte [ebx + 1]
movzx edi, byte [ebx + 2]
shr edi, 6
and ecx, 0xf
movzx ecx, byte [edi + ecx*4 + 0xb6dc0d]
mov byte [edx + 2], cl
movzx ecx, byte [ebx + 2]
add ebx, 3
and ecx, 0x3f
movzx ecx, byte [ecx + 0xb6dc0d]
mov byte [edx + 3], cl
add edx, 4
cmp eax, ebp
jb 0x985786
cmp eax, esi
jae 0x985835
movzx edi, byte [ebx]
inc eax
xor ebp, ebp
cmp eax, esi
jae 0x9857f9
movzx ebp, byte [ebx + 1]
mov ecx, edi
shl edi, 4
mov ebx, ebp
shr ecx, 2
shr ebx, 4
and edi, 0x30
cmp eax, esi
mov al, byte [ecx + 0xb6dc0d]
mov byte [edx], al
mov al, byte [ebx + edi + 0xb6dc0d]
mov byte [edx + 1], al
mov al, 0x3d
jae 0x98582b
and ebp, 0xf
mov al, byte [ebp*4 + 0xb6dc0d]
mov byte [edx + 2], al
mov byte [edx + 3], 0x3d
add edx, 4
mov byte [edx], 0
mov ecx, dword [esp + 0x20]
sub edx, dword [esp + 0x1c]
xor eax, eax
mov dword [ecx], edx
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x9874b0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebx, dword [esp + 0x20]
mov ebp, 0x100000
mov eax, ebx
and eax, 4
shl eax, 0xf
test bl, 8
cmove ebp, eax
push 0x14
call fcn.004e93b3
add esp, 4
test eax, eax
jne 0x9874e3
mov eax, 0xc
jmp 0x987579
mov esi, eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov dword [esi], ecx
mov dword [esi + 4], eax
xor eax, eax
test edi, edi
mov dword [esi + 8], 0
sete al
test ebp, ebp
mov dword [esi + 0xc], eax
lea ecx, [eax*4 + 0x10000]
lea eax, [eax*4]
cmove ecx, eax
test bl, 0x10
cmovne ecx, eax
push 0
push ecx
push esi
push dword [0xbd31d8]
push ebp
push 0
call sub.KERNEL32.dll_CreateThread
test eax, eax
mov dword [esi + 0x10], eax
jne 0x987549
push esi
call fcn.004e9d74
add esp, 4
mov eax, 0xffff
jmp 0x987579
test bl, 2
je 0x987556
push 2
push eax
call sub.KERNEL32.dll_SetThreadPriority
test edi, edi
jne 0x987575
push dword [esi + 0x10]
call sub.KERNEL32.dll_ResumeThread
mov ecx, eax
xor eax, eax
cmp ecx, 0xffffffff
jne 0x987579
push dword [esi + 0x10]
call sub.KERNEL32.dll_CloseHandle
jmp 0x987539
xor eax, eax
mov dword [edi], esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x988160
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edi, 0x9e3779b9
cmp ecx, 3
jae 0x988186
mov ebx, 0x9e3779b9
mov edx, ecx
jmp 0x98820c
mov edx, ecx
mov ebx, 0x9e3779b9
movzx ebp, byte [eax]
add edx, 0xfffffffd
add ebp, ebx
movzx ebx, byte [eax + 1]
add ebx, edi
movzx edi, byte [eax + 2]
add eax, 3
sub ebp, ebx
add edi, esi
mov esi, edi
sub ebp, edi
sub ebx, edi
shr esi, 0xd
xor esi, ebp
mov ebp, esi
sub ebx, esi
sub edi, esi
shl ebp, 8
xor ebp, ebx
mov ebx, ebp
sub edi, ebp
sub esi, ebp
shr ebx, 0xd
xor ebx, edi
mov edi, ebx
sub esi, ebx
sub ebp, ebx
shr edi, 0xc
xor edi, esi
mov esi, edi
sub ebp, edi
sub ebx, edi
shl esi, 0x10
xor esi, ebp
mov ebp, esi
sub ebx, esi
sub edi, esi
shr ebp, 5
xor ebp, ebx
mov ebx, ebp
sub edi, ebp
sub esi, ebp
shr ebx, 3
xor ebx, edi
mov edi, ebx
sub esi, ebx
sub ebp, ebx
shl edi, 0xa
xor edi, esi
mov esi, edi
sub ebp, edi
shr esi, 0xf
xor esi, ebp
cmp edx, 2
ja 0x98818d
add esi, ecx
cmp edx, 1
je 0x98821e
cmp edx, 2
jne 0x988223
movzx ecx, byte [eax + 1]
add edi, ecx
movzx eax, byte [eax]
add ebx, eax
sub ebx, esi
mov eax, esi
sub ebx, edi
shr eax, 0xd
sub edi, esi
xor eax, ebx
mov ecx, eax
sub edi, eax
sub esi, eax
shl ecx, 8
xor ecx, edi
mov edx, ecx
sub esi, ecx
sub eax, ecx
shr edx, 0xd
xor edx, esi
mov esi, edx
sub eax, edx
sub ecx, edx
shr esi, 0xc
xor esi, eax
mov edi, esi
sub ecx, esi
sub edx, esi
shl edi, 0x10
xor edi, ecx
mov ecx, edi
sub edx, edi
sub esi, edi
shr ecx, 5
xor ecx, edx
mov eax, ecx
sub esi, ecx
sub edi, ecx
shr eax, 3
xor eax, esi
sub edi, eax
sub ecx, eax
shl eax, 0xa
xor eax, edi
sub ecx, eax
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x9890f0
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0xbd33e0]
xor eax, esp
mov dword [esp + 8], eax
push dword [esp + 0x20]
call sub.KERNEL32.dll_OutputDebugStringA
push str.ADVAPI32.DLL
call fcn.009834a0
add esp, 4
test eax, eax
je 0x98918f
mov esi, eax
push str.RegisterEventSourceA
push eax
call sub.KERNEL32.dll_GetProcAddress
mov ebp, eax
push str.ReportEventA
push esi
call sub.KERNEL32.dll_GetProcAddress
mov edi, eax
push str.DeregisterEventSource
push esi
call sub.KERNEL32.dll_GetProcAddress
test ebp, ebp
je 0x989189
test edi, edi
je 0x989189
mov ebx, eax
test eax, eax
je 0x989189
mov eax, dword [esp + 0x20]
mov dword [esp], 0xbd32a9
mov dword [esp + 4], eax
push str.hasplms
push 0
call ebp
test eax, eax
je 0x989189
mov ebp, eax
mov eax, esp
push 0
push eax
push 0
push 2
push 0
push 0xc0070003
push 0
push 1
push ebp
call edi
push ebp
call ebx
push esi
call sub.KERNEL32.dll_FreeLibrary
push str.USER32.DLL
call fcn.009834a0
add esp, 4
test eax, eax
je 0x9891c6
mov esi, eax
push str.MessageBoxA
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x9891c0
push 0x10
push str.Sentinel_HASP
push dword [esp + 0x28]
push 0
call eax
push esi
call sub.KERNEL32.dll_FreeLibrary
call sub.KERNEL32.dll_GetCurrentProcess
push 1
push eax
call sub.KERNEL32.dll_TerminateProcess
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00989fe9
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x989600
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov ebp, esi
mov edi, ecx
mov dword [esp + 0xc], edx
neg ebp
neg edi
cmp dword [esp + 0x2c], 0xc
jae 0x98963a
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
jmp 0x9896f2
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
add edi, ebp
add ecx, ebp
mov dword [esp + 8], eax
add edi, ebx
mov ebx, esi
shr ebx, 0xd
xor ebx, edi
mov edi, ebx
sub ecx, ebx
sub esi, ebx
shl edi, 8
xor edi, ecx
mov eax, edi
sub esi, edi
sub ebx, edi
shr eax, 0xd
xor eax, esi
mov esi, eax
sub ebx, eax
sub edi, eax
shr esi, 0xc
xor esi, ebx
mov ebx, esi
sub edi, esi
sub eax, esi
shl ebx, 0x10
xor ebx, edi
mov edi, ebx
sub eax, ebx
sub esi, ebx
shr edi, 5
xor edi, eax
mov edx, edi
sub esi, edi
sub ebx, edi
shr edx, 3
xor edx, esi
mov ebp, edx
sub ebx, edx
sub edi, edx
shl ebp, 0xa
xor ebp, ebx
mov ebx, dword [esp]
sub edi, ebp
mov ecx, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov eax, ecx
xor eax, ebp
shr ebp, 0xf
xor ebp, esi
xor ebp, edi
mov edi, dword [ebx]
add ebx, 0xc
mov dword [esp], ebx
mov dword [esp + 4], edi
xor edx, edi
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 4]
mov dword [edi], edx
mov dword [edi + 4], eax
mov eax, dword [esp + 8]
mov dword [edi + 8], ebp
add edi, 0xc
mov ebp, esi
mov dword [esp + 0xc], edi
mov edi, ecx
neg ebp
neg edi
add eax, 0xfffffff4
cmp eax, 0xb
ja 0x989641
test eax, eax
je case.default.0x98977a
dec eax
cmp eax, 0xa
ja case.default.0x98977a
add edi, ebp
mov dword [esp + 8], eax
mov eax, esi
add ecx, ebp
add edi, ebx
shr eax, 0xd
mov ebp, dword [esp + 8]
xor eax, edi
mov edx, eax
sub ecx, eax
sub esi, eax
shl edx, 8
xor edx, ecx
mov ecx, edx
sub esi, edx
sub eax, edx
shr ecx, 0xd
xor ecx, esi
mov esi, ecx
sub eax, ecx
sub edx, ecx
shr esi, 0xc
xor esi, eax
mov eax, esi
sub edx, esi
sub ecx, esi
shl eax, 0x10
xor eax, edx
mov edx, eax
sub ecx, eax
sub esi, eax
shr edx, 5
xor edx, ecx
mov ecx, edx
sub esi, edx
sub eax, edx
shr ecx, 3
xor ecx, esi
mov esi, dword [esp + 0xc]
mov ebx, ecx
sub eax, ecx
sub edx, ecx
mov dword [esp + 4], ecx
shl ebx, 0xa
xor ebx, eax
sub edx, ebx
mov edi, ebx
shr ebx, 0xf
xor ebx, edx
mov edx, dword [esp]
jmp dword [ebp*4 + 0xb6dfe8]
mov ecx, ebx
shr ecx, 0x10
xor cl, byte [edx + 0xa]
mov byte [esi + 0xa], cl
mov cl, byte [edx + 9]
xor cl, bh
mov byte [esi + 9], cl
xor bl, byte [edx + 8]
mov byte [esi + 8], bl
mov ecx, edi
shr ecx, 0x18
xor cl, byte [edx + 7]
mov byte [esi + 7], cl
mov ecx, edi
shr ecx, 0x10
xor cl, byte [edx + 6]
mov byte [esi + 6], cl
mov ecx, dword [esp + 4]
mov ebx, edi
xor bh, byte [edx + 5]
mov byte [esi + 5], bh
xor al, byte [edx + 4]
mov byte [esi + 4], al
mov eax, ecx
shr eax, 0x18
xor al, byte [edx + 3]
mov byte [esi + 3], al
mov eax, ecx
shr eax, 0x10
xor al, byte [edx + 2]
mov byte [esi + 2], al
mov al, byte [edx + 1]
xor al, ch
mov byte [esi + 1], al
xor cl, byte [edx]
mov byte [esi], cl
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x98b822
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
xor ebx, ebx
test edi, edi
jne 0x98b83e
call fcn.0098da0d
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x98b8b0
push esi
push 0x8c
push 1
call fcn.0098d56c
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x98b896
push esi
call fcn.0098c715
mov eax, dword [esp + 0x1c]
pop ecx
push esi
push 4
push esi
push 0x98b790
push dword [esp + 0x24]
mov dword [esi + 0x4c], edi
push 0
mov dword [esi + 0x50], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
mov dword [esi + 4], edi
je 0x98b88e
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x98b8ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.0098be7c
test ebx, ebx
pop ecx
je 0x98b8a8
push ebx
call fcn.0098da1f
pop ecx
or eax, 0xffffffff
jmp 0x98b8af
mov eax, edi
pop esi
pop edi
pop ebx
ret

Function at 0x98bc71
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x98bc8e
call fcn.0098da0d
mov dword [eax], 0x16
xor eax, eax
jmp 0x98bcf8
push esi
push 0x8c
push 1
call fcn.0098d56c
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x98bce3
push esi
call fcn.0098c715
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x98bcc1
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x98bbdc
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x98bcf7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.0098be7c
test ebx, ebx
pop ecx
je 0x98bcf5
push ebx
call fcn.0098da1f
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x98d786
Capabilities:
Terminate process

Disassembly:
push 8
push 0xb6e590
call fcn.0098c460
push 8
call fcn.0098d9dc
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0xc2bd30], esi
jne 0x98d7ba
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0xc2bd2c], esi
mov al, byte [ebp + 0x10]
mov byte [0xc2bd28], al
cmp dword [ebp + 0xc], edi
jne 0x98d804
cmp dword [0xc2cbd8], edi
je 0x98d7f4
mov eax, dword [0xc2cbd4]
sub eax, 4
mov dword [0xc2cbd4], eax
cmp eax, dword [0xc2cbd8]
jb 0x98d7f4
mov eax, dword [eax]
cmp eax, edi
je 0x98d7d5
call eax
jmp 0x98d7d5
push 0xb71028
mov eax, 0xb71020
call fcn.0098d704
pop ecx
push 0xb71030
mov eax, 0xb7102c
call fcn.0098d704
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x98d835
cmp dword [ebp + 0x10], edi
jne 0x98d843
mov dword [0xc2bd30], esi
push dword [ebp + 8]
call fcn.0098d6c2
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x98d842
push 8
call fcn.0098d927
pop ecx
ret
call fcn.0098c49b
ret