joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10053af0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x10053afe
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10053b14
test al, 0x10
jne 0x10053b14
mov al, 1
pop ebp
ret 4
xor al, al
pop ebp
ret 4

Function at 0x100547e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a11b8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100d65e8]
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 + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x28], cx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.1000f660
mov dword [ebp - 4], 0
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.1000f660
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
call fcn.10055be0
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0x20019
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.10036580
mov esi, dword [ebp - 0x4c]
test eax, eax
jne 0x100548f1
lea eax, [ebp - 0x40]
push eax
call fcn.10055be0
add esp, 4
cmp dword [ebp - 0x2c], 8
push 0
push 0
lea ecx, [ebp - 0x50]
push ecx
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
jmp 0x100548f3
xor bl, bl
mov byte [ebp - 4], 1
test esi, esi
je 0x10054909
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x2c], 8
jb 0x10054925
push dword [ebp - 0x40]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x10054951
push dword [ebp - 0x28]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov al, bl
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.1007e654
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10055a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
mov dword [edi], 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10055af1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x10055abf
cmp eax, 2
jne 0x10055adb
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x10055aeb
test ecx, ecx
je 0x10055ae6
test cl, 1
jne 0x10055adb
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x10055aeb
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
mov dword [edi], ecx
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x1005a020
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a2222
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx], vtable.CBusRuleCore.0
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
mov byte [ecx + 4], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x30], 0xf
mov dword [ecx + 0x2c], 0
mov byte [ecx + 0x1c], 0
mov byte [ebp - 4], 1
lea ebx, [ecx + 0x34]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov byte [ebp - 4], 2
lea edi, [ecx + 0x4c]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov byte [ebp - 4], 3
lea esi, [ecx + 0x64]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov byte [ebp - 4], 4
add ecx, 0x7c
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x100bd8b9
mov byte [ecx], 0
call fcn.10010240
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
push 0
push 0x100bd8b9
lea ecx, [ecx + 4]
call fcn.10010240
mov ecx, dword [ebp - 0x10]
push 0
push 0x100bd8b9
lea ecx, [ecx + 0x1c]
call fcn.10010240
push 0
push 0x100bd8b9
mov ecx, ebx
call fcn.10010240
push 0
push 0x100bd8b9
mov ecx, edi
call fcn.10010240
push 0
push 0x100bd8b9
mov ecx, esi
call fcn.10010240
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
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 0x1005aea0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a266c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100d65e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x2c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.1000feb0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push esi
mov byte [ecx], 0
call fcn.1000feb0
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x10]
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edi
mov byte [ecx], 0
call fcn.1000feb0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x48]
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.1000feb0
mov byte [ebp - 4], 4
lea ecx, [esi + 0x60]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push ebx
mov byte [ecx], 0
call fcn.1000feb0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x28], 0x10
jb 0x1005afa5
push dword [ebp + 0x14]
call fcn.1007d9ed
add esp, 4
mov dword [ebp + 0x28], 0xf
mov dword [ebp + 0x24], 0
mov byte [ebp + 0x14], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28

Function at 0x1005d9f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5388
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100d65e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x10], 0
jne 0x1005da30
mov eax, 0xfffffffd
jmp 0x1005dac7
push str.open
lea ecx, [ebp - 0x28]
call fcn.1000fb40
mov dword [ebp - 4], 0
cmp byte [ebp + 0x10], 0
je 0x1005da62
call fcn.10033550
test al, al
je 0x1005da62
push 5
push str.runas
lea ecx, [ebp - 0x28]
call fcn.1000f9f0
cmp dword [edi + 0x14], 8
jb 0x1005da6a
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x1005da72
mov esi, dword [esi]
cmp dword [ebp - 0x14], 8
push 0
push 0
push edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x20
cmp ecx, eax
sbb esi, esi
and esi, 5
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x1005dab0
push dword [ebp - 0x28]
call fcn.1007d9ed
add esp, 4
xor eax, eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
lea eax, [esi - 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1006fbb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x1006fbc3
mov eax, 3
pop ebp
ret 4
cmp byte [ecx + 3], 0
jbe 0x1006fbd2
mov eax, 8
pop ebp
ret 4
movzx eax, word [ecx]
mov edx, 0xe0
cmp ax, dx
jb 0x1006fbba
mov word [0x100d8910], ax
mov ax, word [ecx + 2]
mov word [0x100d8912], ax
mov eax, dword [ecx + 0x3c]
mov dword [0x100d894c], eax
mov eax, dword [ecx + 4]
mov dword [0x100d8914], eax
mov eax, dword [ecx + 0x40]
mov dword [0x100d8950], eax
mov eax, dword [ecx + 8]
mov dword [0x100d8918], eax
mov eax, dword [ecx + 0xc]
mov dword [0x100d891c], eax
mov eax, dword [ecx + 0x10]
mov dword [0x100d8920], eax
mov eax, dword [ecx + 0x14]
mov dword [0x100d8924], eax
mov eax, dword [ecx + 0x18]
mov dword [0x100d8928], eax
mov eax, dword [ecx + 0x1c]
mov dword [0x100d892c], eax
mov eax, dword [ecx + 0x20]
mov dword [0x100d8930], eax
mov eax, dword [ecx + 0x24]
mov dword [0x100d8934], eax
mov eax, dword [ecx + 0x28]
mov dword [0x100d8938], eax
mov eax, dword [ecx + 0x2c]
mov dword [0x100d893c], eax
mov eax, dword [ecx + 0x30]
mov dword [0x100d8940], eax
mov dword [0x100d8944], 0
mov dword [0x100d8948], 0
mov eax, dword [ecx + 0x44]
mov dword [0x100d8954], eax
mov eax, dword [ecx + 0x48]
mov dword [0x100d8958], eax
mov eax, dword [ecx + 0x4c]
mov dword [0x100d895c], eax
mov eax, dword [ecx + 0x50]
mov dword [0x100d8960], eax
mov eax, dword [ecx + 0x54]
mov dword [0x100d8964], eax
mov eax, dword [ecx + 0x58]
mov dword [0x100d8968], eax
mov eax, dword [ecx + 0x5c]
mov dword [0x100d896c], eax
mov eax, dword [ecx + 0x60]
mov dword [0x100d8970], eax
mov eax, dword [ecx + 0x64]
mov dword [0x100d8974], eax
mov eax, dword [ecx + 0x68]
mov dword [0x100d8978], eax
mov eax, dword [ecx + 0x6c]
mov dword [0x100d897c], eax
mov eax, dword [ecx + 0x70]
mov dword [0x100d8980], eax
mov eax, dword [ecx + 0x74]
mov dword [0x100d8984], eax
mov eax, dword [ecx + 0x78]
mov dword [0x100d8988], eax
mov eax, dword [ecx + 0x7c]
mov dword [0x100d898c], eax
mov eax, dword [ecx + 0x80]
mov dword [0x100d8990], eax
mov eax, dword [ecx + 0x84]
mov dword [0x100d8994], eax
mov eax, dword [ecx + 0x88]
mov dword [0x100d8998], eax
mov eax, dword [ecx + 0x8c]
mov dword [0x100d899c], eax
mov eax, dword [ecx + 0x90]
mov dword [0x100d89a0], eax
mov eax, dword [ecx + 0x94]
mov dword [0x100d89a4], eax
mov eax, dword [ecx + 0x98]
mov dword [0x100d89a8], eax
mov eax, dword [ecx + 0x9c]
mov dword [0x100d89ac], eax
mov eax, dword [ecx + 0xa0]
mov dword [0x100d89b0], eax
xor eax, eax
pop ebp
ret 4
Function at 0x100723d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6306
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100d65e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1007247c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x1007247c
call fcn.10070c20
mov esi, eax
jmp 0x1007256f
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1007249f
call fcn.10070c20
jmp 0x10072562
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x100724bd
call fcn.10070c20
jmp 0x10072562
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x100724de
mov esi, 0x8007000e
jmp 0x10072564
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x418]
call fcn.10070770
mov dword [ebp - 4], 1
jmp 0x10072516
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x10072527
mov esi, 0x8007000e
jmp 0x10072564
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x10072542
call fcn.10070c20
jmp 0x10072562
xor edx, edx
mov eax, dword [ebp - 0x418]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.10072270
mov esi, eax
test edi, edi
je 0x1007256f
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1007258c
lea ecx, [ebp - 0x418]
call fcn.10071900
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007e654
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10072e20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x10072e39
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10072e45
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x10072e40
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10072e80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x10072e95
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
jmp 0x10072ea0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10072ea0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1008fd52
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100d65e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.10084feb
mov dword [ebp - 0x14], eax
cmp dword [0x100d9a4c], edi
jne 0x1008fe43
push 0x800
push edi
push 0x100bba34
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x1008fdd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1008ff23
push 0x100bba34
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1008ff23
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008ff23
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x100d9a4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x100d9a50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x100d9a54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100d9a5c], eax
test eax, eax
je 0x1008fe40
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100d9a58], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1008fe68
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1008fe5b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x1008fe7d
push 4
pop eax
jmp 0x1008ff25
cmp dword [ebp - 0x14], edi
je 0x1008fe7d
push dword [0x100d9a4c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1008fe62
mov eax, dword [0x100d9a58]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x1008fedb
cmp dword [0x100d9a5c], esi
je 0x1008fedb
push eax
call ebx
push dword [0x100d9a5c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1008fedb
test eax, eax
je 0x1008fedb
call ecx
test eax, eax
je 0x1008fed0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1008fed0
test byte [ebp - 8], 1
jne 0x1008fedb
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x1008ff0b
mov eax, dword [0x100d9a50]
cmp eax, esi
je 0x1008ff08
push eax
call ebx
test eax, eax
je 0x1008ff08
call eax
mov edi, eax
test edi, edi
je 0x1008ff08
mov eax, dword [0x100d9a54]
cmp eax, esi
je 0x1008ff08
push eax
call ebx
test eax, eax
je 0x1008ff08
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x100d9a4c]
call ebx
test eax, eax
je 0x1008ff23
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x1008ff25
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007e654
leave
ret
Function at 0x1009c7ef
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10088df8
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1009c827
xor eax, eax
jmp 0x1009c853
cmp esi, dword [ebp - 4]
je 0x1009c850
cmp dword [ebp + 0xc], 0
je 0x1009c850
push dword [edi + 0x9c]
call fcn.1009c3fd
push dword [edi + 0x9c]
mov esi, eax
call fcn.1008538c
pop ecx
pop ecx
cmp esi, eax
je 0x1009c823
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x401e50
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x401ec0
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401120
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x4011e6
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xa3c
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
push edi
je 0x4011f5
lea edi, [eax + 4]
jmp 0x4011f7
xor edi, edi
lea eax, [esp + 0xc]
call fcn.0045b460
push esi
lea eax, [esp + 0x1c]
call fcn.004013f0
mov ecx, 0x67b348
lea esi, [esp + 0x18]
call fcn.0045be00
mov eax, dword [esp + 0x18]
test eax, eax
je 0x401225
lea edi, [eax + 4]
jmp 0x401227
xor edi, edi
lea eax, [esp + 0x10]
call fcn.0045b460
lea ecx, [esp + 0x18]
call fcn.00401770
mov eax, dword [esp + 0x10]
test eax, eax
je 0x401246
lea esi, [eax + 4]
jmp 0x401248
xor esi, esi
mov edi, ebx
lea eax, [esp + 0x14]
call fcn.0045b460
mov eax, dword [eax]
test eax, eax
je 0x40125e
lea ecx, [eax + 4]
jmp 0x401260
xor ecx, ecx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40126d
add eax, 4
jmp 0x40126f
xor eax, eax
push 5
push esi
push ecx
push eax
push 0x67b2ec
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea edi, [esp + 0x14]
mov esi, eax
call fcn.00401700
lea edi, [esp + 0x10]
call fcn.00401700
lea edi, [esp + 0xc]
call fcn.00401700
cmp esi, 0x20
ja 0x4012af
or eax, 0xffffffff
pop edi
pop esi
add esp, 0xa3c
ret
pop edi
xor eax, eax
pop esi
add esp, 0xa3c
ret
Function at 0x405710
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
xor ebx, ebx
push 0x2000
push 0x67b484
mov eax, ebp
lea esi, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1c], bl
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], ebx
call fcn.004865f0
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4057d2
push eax
push 1
lea eax, [esp + 0x30]
push 4
push eax
mov dword [esp + 0x38], ebx
call fcn.0060860a
add esp, 0x10
test eax, eax
jne 0x40579e
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x405787
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x405790
call fcn.00457970
lea ebx, [esp + 0xc]
call fcn.00486bd0
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x14
ret 8
mov eax, dword [esp + 0x28]
call fcn.00487680
cmp eax, ebx
je 0x4057d2
cmp eax, dword [edi]
je 0x4057d2
mov ecx, dword [esp + 0x24]
push edi
push ebp
mov dword [edi], eax
call fcn.00405810
mov esi, eax
lea eax, [esp + 0xc]
call fcn.00407130
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x4057ee
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x4057f7
lea esi, [esp + 0xc]
call fcn.00457970
lea ebx, [esp + 0xc]
call fcn.00486bd0
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret 8

Function at 0x4074b0
Capabilities:
Check mutex on windows

Disassembly:
push esi
push str.Slingshot
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov esi, eax
test esi, esi
je 0x4074dc
push 0x36ee80
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x409820
Capabilities:
Terminate process

Disassembly:
sub esp, 0x148
mov eax, dword [0x6d7160]
xor eax, esp
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x14c]
push ebx
push ebp
push esi
push edi
push str.kernel32.dll
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x40996c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x67b93c
push esi
call edi
push str.Process32First
push esi
mov ebx, eax
call edi
push str.Process32Next
push esi
mov ebp, eax
call edi
test ebx, ebx
mov dword [esp + 0x18], eax
je 0x40996c
test ebp, ebp
je 0x40996c
test eax, eax
je 0x40996c
push 0
push 2
call ebx
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x14], esi
je 0x40996c
lea ecx, [esp + 0x28]
push ecx
push esi
mov dword [esp + 0x30], 0x128
call ebp
test eax, eax
je 0x40996c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x28], 0x24
jbe 0x40994b
lea edx, [esp + 0x4c]
push 0x5c
push edx
call fcn.00609090
mov eax, dword [esp + 0x28]
add esp, 8
cmp dword [esp + 0x30], eax
je 0x40994b
mov edi, dword [esp + 0x1c]
cmp dword [edi], 0
je 0x40994b
mov ecx, dword [edi]
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.00607cb0
add esp, 8
test eax, eax
je 0x40993f
mov eax, dword [esp + 0x30]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40993f
push 1
push esi
call ebx
lea ecx, [esp + 0x24]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
call ebp
add edi, 4
cmp dword [edi], 0
jne 0x409902
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
push esi
mov dword [esp + 0x30], 0x128
call dword [esp + 0x20]
test eax, eax
jne 0x4098d9
push esi
call ebp
xor eax, eax
jmp 0x40996f
or eax, 0xffffffff
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00607d6d
add esp, 0x148
ret