joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b6700
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call edi
cmp bl, 0xff
je 0x100b6721
mov byte [esi], bl
mov ecx, dword [ebp + 0xc]
sub ecx, esi
sub ecx, 5
lea edx, [ebp - 4]
push edx
mov dword [esi + 1], ecx
mov eax, dword [ebp - 4]
push eax
push 5
push esi
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100b6740
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
mov ecx, dword [ebp + 0xc]
push esi
push ecx
push edi
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push esi
push edi
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100b6780
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x90
push edi
call sub.MSVCR100.dll_memset
mov edx, dword [ebp - 4]
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push edx
push esi
push edi
call ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b67c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c1c86
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x100d9018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dx, word [0x100d1c20]
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x620]
mov esi, ecx
mov ecx, dword [0x100d1c1c]
push eax
push 0x3ff
mov dword [ebp - 0x660], esi
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], dx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x100b69e8
lea ebx, [ebp - 0x620]
xor edi, edi
jmp 0x100b6840
mov cx, word [ebx]
push 0x104
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0x18], cx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x100b68f6
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x628], 7
mov dword [ebp - 0x62c], edi
mov word [ebp - 0x63c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100b6883
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x63c]
call fcn.100b7b90
lea eax, [ebp - 0x220]
mov dword [ebp - 4], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100b68b0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x63c]
push eax
call fcn.100b72c0
mov esi, eax
cmp esi, 0xffffffff
jne 0x100b6915
mov dword [ebp - 4], eax
cmp dword [ebp - 0x628], 8
jb 0x100b68f6
mov ecx, dword [ebp - 0x63c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dx, word [ebx]
add ebx, 2
test dx, dx
jne 0x100b68f6
cmp word [ebx], di
je 0x100b69e8
mov esi, dword [ebp - 0x660]
jmp 0x100b6840
xor eax, eax
mov word [ebp - 0x658], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x644], 7
mov dword [ebp - 0x648], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100b6937
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x658]
call fcn.100b7b90
mov eax, ebx
mov byte [ebp - 4], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100b6961
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x648]
push ebx
inc eax
push esi
lea ecx, [ebp - 0x63c]
call fcn.100b7130
mov esi, 8
cmp dword [ebp - 0x644], esi
jb 0x100b69a2
mov ecx, dword [ebp - 0x658]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x63c]
cmp dword [ebp - 0x628], esi
jae 0x100b69b6
lea eax, [ebp - 0x63c]
mov edx, dword [ebp - 0x65c]
push eax
push 0x104
push edx
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
cmp dword [ebp - 0x628], esi
jb 0x100b69e4
mov eax, dword [ebp - 0x63c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
jmp 0x100b69ea
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c06a6
mov esp, ebp
pop ebp
ret
Function at 0x100b6b50
Capabilities:
Create thread
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
push 0x100
push 0
push 0x103e4c78
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x100c8530]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x103e4c78], cl
inc eax
cmp eax, 0x100
jb 0x100b6b70
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push 1
push eax
push 0x103e4c78
push 0
mov ecx, 0x1027c400
call fcn.10090540
mov eax, dword [0x103676fc]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
add esp, 0x14
test eax, eax
je 0x100b6be0
push 0
push 0
push 0x10
push eax
call edi
mov ecx, dword [0x103a65d8]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x103676fc], 0
call ebx
mov eax, dword [0x10367824]
test eax, eax
je 0x100b6c0b
push 0
push 0
push 0x10
push eax
call edi
mov eax, dword [0x103a65d8]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x10367824], 0
call ebx
mov eax, dword [0x1036794c]
test eax, eax
je 0x100b6c36
push 0
push 0
push 0x10
push eax
call edi
mov edx, dword [0x103a65d8]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x1036794c], 0
call ebx
mov eax, dword [ebp + 8]
sub eax, 0
je 0x100b6c5c
dec eax
je 0x100b6c50
dec eax
jne 0x100b6c68
mov eax, 0x6a
mov ecx, 0x2b2bb9
jmp 0x100b6c6e
mov eax, 0x69
mov ecx, 0x116896
jmp 0x100b6c6e
mov eax, 0x67
mov ecx, 0x9ca476
jmp 0x100b6c6e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
push ecx
push eax
mov eax, dword [ebp + 0xc]
mov ecx, esi
call fcn.100b5150
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x100b6ab0
push 0
push 0
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 8]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x100b6cf1
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 8], 0
je 0x100b6cf1
mov eax, dword [esi + 4]
test eax, eax
je 0x100b6cec
push 0
push 0
push 0x10
push eax
call edi
mov eax, dword [0x103a65d8]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
mov dword [esi + 4], 0
call ebx
call fcn.100b6650
pop edi
pop ebx
pop ecx
pop ebp
ret

Function at 0x100b6dc0
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0x100
push 0
push 0x103e4c78
mov esi, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
shl esi, 8
lea ecx, [esi + 0x100c5b30]
pop esi
mov dl, byte [ecx + eax]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x103e4c78], dl
inc eax
cmp eax, 0x100
jb 0x100b6de3
mov eax, 0x103e4c78
ret

Function at 0x100b6e00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call edi
fld dword [ebp + 8]
mov edx, dword [ebp - 4]
fstp dword [esi]
lea ecx, [ebp - 4]
push ecx
push edx
push 4
push esi
call edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x100b6e30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 8
push esi
call edi
fld qword [ebp + 8]
mov edx, dword [ebp - 4]
fstp qword [esi]
lea ecx, [ebp - 4]
push ecx
push edx
push 8
push esi
call edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100b6e60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [0x103a65d8]
push esi
push 0x100d1c3c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x100b6f54
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0xc
jb 0x100b6f54
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x100b6f54
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x100b6f49
mov edx, dword [edi + 4]
push esi
push ebx
cmp edx, dword [edi + 8]
jne 0x100b6f0a
mov eax, dword [edi]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
lea edx, [ecx*4 + 0xc]
cmp eax, edx
jb 0x100b6f53
xor ebx, ebx
test ecx, ecx
je 0x100b6f49
mov eax, dword [ebp + 8]
mov esi, dword [edi + ebx*4 + 0xc]
push eax
call fcn.100b66d0
inc ebx
add esp, 4
cmp ebx, dword [edi]
jb 0x100b6ee4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
lea edx, [ecx*8 + 0xc]
cmp eax, edx
jb 0x100b6f53
xor ebx, ebx
test ecx, ecx
je 0x100b6f49
lea esp, [esp]
mov eax, dword [edi + ebx*8 + 0x10]
add eax, dword [ebp + 8]
mov esi, dword [edi + ebx*8 + 0xc]
push eax
call fcn.100b66d0
inc ebx
add esp, 4
cmp ebx, dword [edi]
jb 0x100b6f30
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b7c80
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x1027c3d4]
push edi
cmp esi, dword [0x1027c3d8]
je 0x100b7d4e
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
nop
cmp byte [esi], 2
jne 0x100b7cbe
lea eax, [ebp - 4]
push eax
lea ecx, [esi + 1]
push ecx
xor ebx, ebx
push closesocket
mov dword [ebp - 4], ebx
call edi
cmp dword [ebp - 4], ebx
jne 0x100b7cd3
add esi, 0x105
cmp esi, dword [0x1027c3d8]
jne 0x100b7ca0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x1027c3d8]
mov esi, dword [0x1027c3d4]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100b7d36
xor edi, edi
cmp byte [edi + esi], 2
jne 0x100b7d12
lea ecx, [edi + esi + 1]
push ecx
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, dword [0x1027c3d4]
mov ecx, dword [0x1027c3d8]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add edi, 0x105
cmp ebx, eax
jb 0x100b7cf6
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 6
xor ecx, ecx
call fcn.100422d0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100bb060
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x5b57ed
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x5b57ed], 0x400
mov edx, dword [ebp - 4]
push edx
push 4
push 0x5b57ed
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x589dbe
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x589dbe], 0x400
mov edx, dword [ebp - 4]
push edx
push 4
push 0x589dbe
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x4d2cb2
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x4d2cb2], 0x3800
mov edx, dword [ebp - 4]
push edx
push 4
push 0x4d2cb2
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x4d2d9c
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x4d2d9c], 0x3800
mov edx, dword [ebp - 4]
push edx
push 4
push 0x4d2d9c
call esi
push 0x100bb040
push 0x4051b9
mov bl, 0xe8
call fcn.100b6700
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100bc010
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
push edi
push 4
mov dword [0x103ac174], 0xd48
call esi
add esp, 4
test eax, eax
je 0x100bc03a
mov dword [eax], vtable.SEASON3B::CUIControl.0
jmp 0x100bc03c
xor eax, eax
push 0x7f8
mov dword [0x103abe48], eax
call esi
mov edi, eax
add esp, 4
test edi, edi
je 0x100bc065
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xc
call fcn.100bb130
jmp 0x100bc067
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x853822
mov dword [0x103abe44], edi
mov dword [0x103abe20], 0x100a8670
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x853822], 5
mov edx, dword [ebp - 4]
push edx
push 1
push 0x853822
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x8538f9
call esi
lea ecx, [ebp - 4]
push ecx
mov byte [0x8538f9], 6
mov edx, dword [ebp - 4]
push edx
push 1
push 0x8538f9
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x853796
call esi
lea ecx, [ebp - 4]
push ecx
mov dword [0x853796], 0x1039fe18
mov edx, dword [ebp - 4]
push edx
push 4
push 0x853796
call esi
push 0x100bbb60
push 0x80f86a
mov bl, 0xe8
call fcn.100b6700
push 0x100bbfa0
push 0x811b99
call fcn.100b6700
push 0x100bb7c0
push 0x853753
call fcn.100b6700
push 0x100bb960
push 0x8533a0
mov bl, 0xe9
call fcn.100b6700
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100bc170
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push esi
push str..Config.ini
push 1
push str.MUEmojiSwitch
push str.MUEmoji
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [0x100d9098], eax
call fcn.100bd8d0
fld dword [ebp + 8]
mov ecx, dword [0x100d90b4]
fstp dword [0x100d909c]
fld dword [ebp + 0xc]
xor esi, esi
fstp dword [0x100d90a0]
mov dword [0x103ac2b4], 0
mov dword [0x100d90a4], 4
mov dword [0x100d90a8], 0
mov dword [0x103ac2a8], 0x30d46
mov dword [0x103ac2a0], 0x30d45
mov dword [0x103ac2a4], 0x30d44
test ecx, ecx
je 0x100bc21c
xor eax, eax
push ebx
mov edx, dword [eax + 0x100d90b8]
mov bl, byte [eax + 0x100d90b0]
push edx
push ecx
call fcn.100b6700
inc esi
lea eax, [esi + esi*2]
add eax, eax
mov ecx, dword [eax + eax + 0x100d90b4]
add eax, eax
add esp, 8
test ecx, ecx
jne 0x100bc1f2
pop ebx
pop esi
pop ebp
ret

Function at 0x100be6c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100be860
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100be784
cmp dword [ebp - 4], 0x50000000
jb 0x100be701
cmp dword [ebp - 4], 0x80000000
ja 0x100be701
mov dword [ebp - 4], 0x4fff0000
jmp 0x100be6da
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100be727
jmp 0x100be784
cmp dword [ebp - 0x14], 0x10000
jne 0x100be76a
cmp dword [ebp - 0x18], 0x10000
jb 0x100be76a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100be75d
mov eax, dword [ebp - 8]
jmp 0x100be786
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100be77f
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100be860
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100be6da
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100be790
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100be890
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100be84c
cmp dword [ebp - 4], 0x50000000
jb 0x100be7cc
cmp dword [ebp - 4], 0x80000000
ja 0x100be7cc
mov dword [ebp - 4], 0x80010000
jmp 0x100be7a5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100be7f2
jmp 0x100be84c
cmp dword [ebp - 0x14], 0x10000
jne 0x100be835
cmp dword [ebp - 0x18], 0x10000
jb 0x100be835
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100be828
mov eax, dword [ebp - 8]
jmp 0x100be84e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100be847
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100be890
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100be7a5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100befc0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x100befd5
xor eax, eax
jmp 0x100bf04a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x10000
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x100bf002
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x38d
jae 0x100bf045
mov edx, dword [ebp - 4]
imul edx, edx, 0x48
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0x40], 0
je 0x100bf043
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0xc]
jb 0x100bf03f
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0x10]
jb 0x100bf043
xor eax, eax
jmp 0x100bf04a
jmp 0x100beff9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x100bf210
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1039fe70]
mov dword [ebp - 4], eax
jmp 0x100bf229
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100bf246
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x100bf220
mov esp, ebp
pop ebp
ret
Function at 0x100bf690
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1039fe80], eax
je 0x100bf6ae
mov eax, 0x10dd
jmp 0x100bf78f
mov eax, dword [0x1039fe90]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100bf72c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x100bf70a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x100bf70a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.100bed30
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x100bf6b6
mov dword [0x1039fe90], 0
call fcn.100bf050
mov ecx, dword [0x1039fe8c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x100bf779
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x100bf744
mov dword [0x1039fe8c], 0
mov dword [0x1039fe80], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100bfc80
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1039fe84], 0
je 0x100bfc99
mov eax, dword [0x1039fe84]
jmp 0x100bfd39
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x100bfcab
xor eax, eax
jmp 0x100bfd39
push 8
call fcn.100c07c6
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100bfd01
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x100bfcea
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1039fe84], eax
mov dword [0x1039fe88], 0
mov eax, dword [ebp - 8]
jmp 0x100bfd39
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x100bfd1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x100bfccb
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x1039fe8c]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1039fe8c], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x100c06a6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100d9018]
jne 0x100c06b0
repz ret
jmp fcn.100c0be9
Function at 0x10008880
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [ebp + 0xc]
push edi
call fcn.100b60e0
test eax, eax
jne 0x100089e6
cmp byte [0x101170fc], al
jne 0x100088a4
xor edi, edi
jmp 0x100088bf
push 5
call dword [0x10117140]
mov edi, eax
add esp, 4
test edi, edi
je 0x100088bf
push edi
call dword [0x10117148]
add esp, 4
mov edx, dword [ebp + 8]
test edx, edx
jle 0x100089ce
test esi, esi
je 0x100089ce
cmp dword [0x10119650], 0
jne 0x1000895a
push 0
call fcn.100b60e0
movups xmm0, xmmword [str.expand_32_byte_k]
add esp, 4
movups xmmword [0x10119650], xmm0
test eax, eax
jne 0x10008906
push 0x2c
push eax
push 0x10119660
call sub.VCRUNTIME140.dll_memset
jmp 0x10008936
cmp dword [0x1011720c], 0
je 0x10008929
push 0x2c
push 0
push 0x10119660
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x1011720c]
mov dword [0x10119660], eax
jmp 0x10008936
push 0x10119660
push 0x2c
push eax
mov eax, dword [eax + 0x38]
call eax
mov eax, dword [0x10119680]
add esp, 0xc
mov edx, dword [ebp + 8]
xor cl, cl
mov dword [0x1011968c], eax
mov dword [0x10119680], 0
mov byte [0x101196d0], cl
jmp 0x10008960
mov cl, byte [0x101196d0]
movzx eax, cl
cmp edx, eax
jle 0x100089ae
test cl, cl
je 0x10008989
movzx eax, cl
push eax
push 0x10119690
push esi
call sub.VCRUNTIME140.dll_memcpy
movzx eax, byte [0x101196d0]
add esp, 0xc
sub dword [ebp + 8], eax
add esi, eax
inc dword [0x10119680]
mov edx, 0x10119650
mov ecx, 0x10119690
call fcn.100b60e0
mov edx, dword [ebp + 8]
mov cl, 0x40
mov byte [0x101196d0], cl
cmp edx, 0x40
jg 0x10008967
movzx eax, cl
sub eax, edx
push edx
add eax, 0x10119690
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 8]
add esp, 0xc
sub byte [0x101196d0], al
jmp 0x100089d8
mov dword [0x10119650], 0
test edi, edi
je 0x100089e6
push edi
call dword [0x10117150]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret