joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100084c0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068deb
mov eax, dword fs:[0]
push eax
sub esp, 0x238
push ebx
push esi
push edi
lea edi, [ebp - 0x244]
mov ecx, 0x8e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1008267c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0x20
mov esi, esp
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp esi, esp
call fcn.1001adf0
mov esi, esp
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
cmp esi, esp
call fcn.1001adf0
mov eax, dword [0x10083d5c]
mov cl, byte [eax + 0x1901c8]
mov byte [ebp - 0x145], cl
mov eax, dword [0x10083d5c]
add eax, 0x1901c8
push eax
lea ecx, [ebp - 0x170]
call fcn.10002040
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x170]
call fcn.10009d70
cmp eax, 3
ja 0x1000857b
cmp dword [0x590288], 0
jle 0x100085d8
movzx eax, byte [0x10083d1c]
test eax, eax
jne 0x100085d6
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [0x10083d5c]
add ecx, 0x1901c8
push ecx
push str._s_is_loggin.g_HWID
push 0x10083c08
call fcn.1001c0a0
add esp, 0x10
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x23c], esp
push 0x10083c08
call fcn.10002040
mov dword [ebp - 0x244], eax
call fcn.10004a40
add esp, 0x20
mov byte [0x10083d1c], 1
jmp 0x100085df
mov byte [0x10083d1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.100020f0
push edx
mov ecx, ebp
push eax
lea edx, [0x1000862c]
call fcn.1001ae20
pop eax
pop edx
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.1001b8b0
add esp, 0x244
cmp ebp, esp
call fcn.1001adf0
mov esp, ebp
pop ebp
ret
Function at 0x100089f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f0
push ebx
push esi
push edi
lea edi, [ebp - 0x1f0]
mov ecx, 0x7c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
cmp dword [0x10083d20], 0
jne 0x10008a68
cmp dword [0x10083d28], 0
jne 0x10008a68
mov esi, esp
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1001adf0
push 0x5130b0
mov eax, dword [0x10083d5c]
push eax
call fcn.10006770
add esp, 8
mov dword [0x10083d20], eax
push 0x541ffe
push 0x513cc9
call fcn.10006770
add esp, 8
mov dword [0x10083d28], eax
jmp 0x10008b52
push 0x5130b0
mov eax, dword [0x10083d5c]
push eax
call fcn.10006770
add esp, 8
mov dword [0x10083d24], eax
push 0x541ffe
push 0x513cc9
call fcn.10006770
add esp, 8
mov dword [0x10083d2c], eax
mov eax, dword [0x10083d24]
cmp eax, dword [0x10083d20]
je 0x10008aec
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x1e8], esp
push str._____Packet_Conquer_Changed_TM
call fcn.10002040
mov dword [ebp - 0x1f0], eax
call fcn.10004a40
add esp, 0x20
mov esi, esp
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1001adf0
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x10083d28]
cmp eax, dword [0x10083d2c]
je 0x10008b41
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0x1dc], esp
push str._____Packet_Conquer_PART_2_Changed__TM
call fcn.10002040
mov dword [ebp - 0x1f0], eax
call fcn.10004a40
add esp, 0x20
mov esi, esp
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1001adf0
mov esi, esp
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, esp
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1001adf0
push edx
mov ecx, ebp
push eax
lea edx, [0x10008b78]
call fcn.1001ae20
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x1f0
cmp ebp, esp
call fcn.1001adf0
mov esp, ebp
pop ebp
ret

Function at 0x10009b90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push ebx
push esi
push edi
lea edi, [ebp - 0xc4]
mov ecx, 0x31
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 1
je 0x10009bc2
jmp 0x10009c11
call fcn.100099d0
call fcn.10005070
mov esi, esp
push 0
push 0
push 0
push 0x100098f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.1001adf0
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1001adf0
mov esi, esp
push 0xfa0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, esp
call fcn.1001adf0
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0xc4
cmp ebp, esp
call fcn.1001adf0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100185c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d250
push 0x1002db88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x10018626
mov byte [ebp - 0x3d], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3d]
jmp 0x100186af
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx], 0x4550
je 0x1001864d
mov byte [ebp - 0x3e], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3e]
jmp 0x100186af
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
add eax, dword [edx + 0xd8]
cmp dword [ebp + 0xc], eax
jb 0x10018688
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
add edx, dword [ecx + 0xd8]
mov eax, dword [ebp - 0x3c]
add edx, dword [eax + 0xdc]
cmp dword [ebp + 0xc], edx
jae 0x10018688
mov byte [ebp - 0x3f], 1
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3f]
jmp 0x100186af
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x40]
jmp 0x100186af
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10018790
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100840f8]
mov dword [ebp - 4], eax
jmp 0x100187a9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100187c6
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 0x100187a0
mov esp, ebp
pop ebp
ret
Function at 0x100187d0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10084108], eax
je 0x100187ee
mov eax, 0x10dd
jmp 0x100188d0
mov eax, dword [0x10084118]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1001886d
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
xor eax, eax
mov al, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x1001884b
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x10], 0
je 0x1001884b
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
push eax
call fcn.10018940
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.1001ece0
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x100187f6
mov dword [0x10084118], 0
call fcn.100188e0
mov ecx, dword [0x10084114]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x100188ba
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1001ece0
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
jmp 0x10018885
mov dword [0x10084114], 0
mov dword [0x10084108], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10018e40
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 0x10018e55
xor eax, eax
jmp 0x10018eca
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 0x10000
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
jmp 0x10018e82
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x38d
jae 0x10018ec5
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x48
mov eax, dword [ebp - 0x10]
cmp dword [eax + edx + 0x40], 0
je 0x10018ec3
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x10018ebf
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x10018ec3
xor eax, eax
jmp 0x10018eca
jmp 0x10018e79
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10018f80
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1008410c], 0
je 0x10018f99
mov eax, dword [0x1008410c]
jmp 0x10019039
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x10018fab
xor eax, eax
jmp 0x10019039
push 8
call fcn.1001f1a0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10019001
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x10018fea
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.1001ece0
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1008410c], eax
mov dword [0x10084110], 0
mov eax, dword [ebp - 8]
jmp 0x10019039
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1001901b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x10018fcb
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x10084114]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x10084114], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10019880
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10019950
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1001993c
cmp dword [ebp - 4], 0x50000000
jb 0x100198bc
cmp dword [ebp - 4], 0x80000000
ja 0x100198bc
mov dword [ebp - 4], 0x80010000
jmp 0x10019895
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.1001fa60
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100198e2
jmp 0x1001993c
cmp dword [ebp - 0x10], 0x10000
jne 0x10019925
cmp dword [ebp - 0x14], 0x10000
jb 0x10019925
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x10019918
mov eax, dword [ebp - 0x24]
jmp 0x1001993e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10019937
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.10019950
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10019895
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10019990
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.10019a60
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10019a54
cmp dword [ebp - 4], 0x50000000
jb 0x100199d1
cmp dword [ebp - 4], 0x80000000
ja 0x100199d1
mov dword [ebp - 4], 0x4fff0000
jmp 0x100199aa
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.1001fa60
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100199f7
jmp 0x10019a54
cmp dword [ebp - 0x10], 0x10000
jne 0x10019a3a
cmp dword [ebp - 0x14], 0x10000
jb 0x10019a3a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x10019a2d
mov eax, dword [ebp - 0x24]
jmp 0x10019a56
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10019a4f
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.10019a60
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100199aa
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1001b8b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1008267c]
jne 0x1001b8ba
repz ret
jmp fcn.10032270
Function at 0x10001000
Capabilities:
Create service

Disassembly:
push esi
push edi
call sym.WINIO.dll_RemoveWinIoDriver
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
je 0x1000106f
mov cl, byte [esp + 0x10]
mov eax, dword [esp + 0xc]
dec cl
push 0
neg cl
push 0
push 0
sbb ecx, ecx
push 0
and ecx, 0xfffffffe
push 0
push eax
add ecx, 3
push 1
push ecx
push 1
push 0xf01ff
push str.WINIO
push str.WINIO
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
test edi, edi
je 0x1000106f
push edi
call esi
pop edi
mov al, 1
pop esi
ret 8
pop edi
xor al, al
pop esi
ret 8

Function at 0x10001150
Capabilities:
Stop service

Disassembly:
sub esp, 0x1c
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x100011aa
push 0xf01ff
push str.WINIO
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
call edi
test esi, esi
je 0x100011aa
lea eax, [esp + 8]
push ebx
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
push esi
setne bl
call edi
mov al, bl
pop ebx
pop edi
pop esi
add esp, 0x1c
ret
pop edi
xor al, al
pop esi
add esp, 0x1c
ret

Function at 0x100011c0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [0x10009a78]
test ecx, ecx
jne 0x100011e1
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, eax
test ecx, ecx
mov dword [0x10009a78], ecx
je 0x10001218
cmp word [ecx], 0x5a4d
jne 0x10001218
xor eax, eax
mov ax, word [ecx + 0x3c]
add eax, ecx
cmp word [eax], 0x4550
jne 0x10001218
mov eax, dword [eax + 0x78]
mov edx, dword [esp + 4]
add eax, ecx
push esi
dec edx
mov esi, dword [eax + 0x14]
cmp edx, esi
pop esi
jae 0x10001218
mov eax, dword [eax + 0x1c]
lea edx, [eax + edx*4]
mov eax, dword [edx + ecx]
add eax, ecx
ret 4
xor eax, eax
ret 4
Function at 0x100024bb
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x100070a0
cmp edx, dword [eax]
je 0x100024dd
add eax, 8
inc ecx
cmp eax, 0x10007130
jl 0x100024ce
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x100070a0]
jne 0x1000260b
mov eax, dword [0x10009b98]
cmp eax, 1
je 0x100025e5
test eax, eax
jne 0x1000250e
cmp dword [0x10009b9c], 1
je 0x100025e5
cmp edx, 0xfc
je 0x1000260b
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10002545
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10002a80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10002b70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x10002588
lea eax, [ebp - 0x1a4]
push eax
call fcn.10002b70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x100063fc
push edi
call fcn.10004600
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10002a80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10002a90
lea eax, [ebp - 0xa0]
push 0x100063dc
push eax
call fcn.10002a90
push dword [esi + 0x100070a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.10002a90
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10004574
add esp, 0x2c
pop edi
jmp 0x1000260b
lea eax, [ebp + 8]
lea esi, [esi + 0x100070a4]
push 0
push eax
push dword [esi]
call fcn.10002b70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x439aa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x786c10
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x8d3fc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00700988
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.006fce34
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453170
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.004b94a4
test eax, eax
jne 0x4532c8
push esi
push edi
push 5
pop ecx
call fcn.00450585
mov edi, eax
push edi
mov dword [ebp - 4], edi
call fcn.004505e0
pop ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
jle 0x4532b8
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4532b8
cmp dword [0x8f41a0], 0
push ebx
jne 0x45323d
xor ebx, ebx
push ebx
call fcn.004502c0
mov esi, str.expand_32_byte_k
mov edi, 0x8f41a0
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test eax, eax
jne 0x4531e5
push 0x2c
push ebx
push 0x8f41b0
call fcn.00719250
jmp 0x453219
mov esi, dword [0x8d8bfc]
test esi, esi
je 0x453204
push 0x2c
push ebx
push 0x8f41b0
call fcn.00719250
mov dword [0x8f41b0], esi
jmp 0x453219
mov esi, dword [eax + 0x38]
mov ecx, esi
push 0x8f41b0
push 0x2c
push eax
call dword [0x7f07dc]
call esi
mov eax, dword [0x8f41d0]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
mov dword [0x8f41dc], eax
mov dword [0x8f41d0], ebx
mov byte [0x8f4220], bl
jmp 0x453243
mov bl, byte [0x8f4220]
movzx eax, bl
cmp ecx, eax
jle 0x453291
test bl, bl
je 0x45326c
movzx eax, bl
push eax
push 0x8f41e0
push esi
call fcn.00718720
movzx eax, byte [0x8f4220]
add esp, 0xc
sub dword [ebp + 8], eax
add esi, eax
inc dword [0x8f41d0]
mov edx, 0x8f41a0
mov ecx, 0x8f41e0
call fcn.00452f27
mov ecx, dword [ebp + 8]
mov bl, 0x40
mov byte [0x8f4220], bl
cmp ecx, 0x40
jg 0x45324a
movzx eax, bl
sub eax, ecx
push ecx
add eax, 0x8f41e0
push eax
push esi
call fcn.00718720
mov ecx, dword [ebp + 8]
sub byte [0x8f4220], cl
push edi
call fcn.00450640
add esp, 0x10
pop ebx
jmp 0x4532c6
and dword [0x8f41a0], 0
push edi
call fcn.00450640
pop ecx
pop edi
pop esi
leave
ret

Function at 0x4532fc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
push 0
push 0x14
mov dword [ebp - 4], edi
and dword [edi], 0
call fcn.00450b4e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x453323
push 7
pop eax
jmp 0x453390
cmp byte [0x8d8aec], 0
je 0x453360
mov ecx, 0xc8
call fcn.00453a03
test eax, eax
jne 0x453360
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
lea eax, [esi + 4]
push eax
xor eax, eax
mov dword [esi + 8], ebx
push eax
push esi
push 0x4532d0
push eax
push eax
call fcn.0072bbdc
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x45336c
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 4]
cmp dword [esi + 8], 0
jne 0x45338c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push dword [ebp + 8]
mov ecx, ebx
mov dword [esi + 4], eax
call dword [0x7f07dc]
call ebx
pop ecx
mov dword [esi + 0x10], eax
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x457b8a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ecx + 8]
mov eax, edx
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 4], eax
test edi, edi
jle 0x457bbe
push ebx
mov ebx, dword [ecx]
mov al, byte [edx + eax]
xor byte [ebx + esi], al
lea eax, [esi + 1]
xor esi, esi
cmp eax, dword [ecx + 4]
cmovl esi, eax
mov eax, dword [ebp - 4]
inc edx
cmp edx, edi
jl 0x457ba4
pop ebx
add dword [ecx + 0xc], edi
pop edi
mov dword [ecx + 8], esi
pop esi
leave
ret
Function at 0x481f5b
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0x10]
mov esi, edx
mov edi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov byte [edi + 0x10], 1
push esi
push esi
push str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
push edi
call fcn.00486b59
add esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x481f9c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
push edi
call fcn.00486b59
add esp, 0x14
pop edi
pop esi
pop ebp
ret
Function at 0x4c2cb3
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [edi], vtable.CSingleInstance.0
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
cmp dword [eax + 0x14], 8
jb 0x4c2cd7
mov eax, dword [eax]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xb7
sub eax, ebx
neg eax
sbb eax, eax
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], esi
je 0x4c2d29
cmp dword [eax + 0x14], 8
jb 0x4c2d08
mov eax, dword [eax]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 8], eax
cmp dword [edi + 0xc], esi
jne 0x4c2d23
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x4c2d26
xor esi, esi
inc esi
mov dword [edi + 0xc], esi
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4d00ca
Capabilities:
Accept command line arguments

Disassembly:
push 4
mov eax, 0x78a1a8
call fcn.00700c6d
push 0x20
push dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 4], edi
call fcn.004fb896
add esp, 0xc
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 1
cmp dword [esi + 0x10], edi
je 0x4d010e
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4d0108
mov eax, dword [esi]
cmp word [eax], 0x2f
je 0x4d011c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov ecx, esi
call fcn.004c097f
mov eax, esi
call fcn.00700c36
ret