joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d8610
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x1035dd3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [0x103611f4], eax
mov eax, dword [ebp + 8]
mov dword [0x103611fc], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
mov dword [0x1036120c], eax
mov eax, dword [ebp + 0x10]
push 0x400
mov dword [0x10361214], eax
lea eax, [ebp - 0x404]
push 0
push eax
mov dword [0x10361210], esi
call fcn.102629f0
add esp, 0xc
test esi, esi
je 0x100d868e
mov esi, dword [esi]
test esi, esi
je 0x100d868e
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x10361210]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x404]
push eax
call esi
push 0x1029bd70
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.102601ec
mov esp, ebp
pop ebp
ret

Function at 0x100d9b10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1035dd3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x38]
mov dword [0x103611f4], eax
mov eax, dword [ebp + 8]
mov dword [0x103611fc], eax
mov eax, dword [ebp + 0xc]
mov dword [0x1036120c], eax
mov eax, dword [ebp + 0x14]
push 0xb
mov dword [0x10361210], eax
mov eax, dword [ebp + 0x10]
push 0x1029b7ec
mov dword [0x10361214], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.100b8260
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0xf
mov byte [ebp - 0x20], 0
mov dword [ebp - 8], 0
call fcn.100e7a50
push 0x47
push 0x1029b5d4
push str.C:gitlab_builds_aCoD4X3k0_flowproductsgamemodifier_nsispackage_srcinstall_nsdui.cpp
push str.info
call fcn.100e75d0
push 0x1029b7ec
push str.begin_execute__s__
call fcn.100e7920
add esp, 0x18
call fcn.100e7a10
push 5
push 0
push str.explorer
push str.https:__v.berryrec.com_v1_agreement.html
push 0x1029b864
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.100e7a50
push 0x112
push 0x1029b7ec
push str.C:gitlab_builds_aCoD4X3k0_flowproductsgamemodifier_nsispackage_srcinstall_nsdui.cpp
push str.info
call fcn.100e75d0
push str.https:__v.berryrec.com_v1_agreement.html
push str.execute_url:__s
call fcn.100e7750
add esp, 0x18
call fcn.100e7a10
lea ecx, [ebp - 0x38]
call fcn.100c3bf0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102601ec
mov esp, ebp
pop ebp
ret
Function at 0x100da110
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1035dd3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x38]
mov dword [0x103611f4], eax
mov eax, dword [ebp + 8]
mov dword [0x103611fc], eax
mov eax, dword [ebp + 0xc]
mov dword [0x1036120c], eax
mov eax, dword [ebp + 0x14]
push 0xb
mov dword [0x10361210], eax
mov eax, dword [ebp + 0x10]
push 0x1029b9ac
mov dword [0x10361214], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.100b8260
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0xf
mov byte [ebp - 0x20], 0
mov dword [ebp - 8], 0
call fcn.100e7a50
push 0x47
push 0x1029b5d4
push str.C:gitlab_builds_aCoD4X3k0_flowproductsgamemodifier_nsispackage_srcinstall_nsdui.cpp
push str.info
call fcn.100e75d0
push 0x1029b9ac
push str.begin_execute__s__
call fcn.100e7920
add esp, 0x18
call fcn.100e7a10
mov ecx, dword [0x10361200]
push str.label_tip
call fcn.100b7630
mov ecx, eax
call sym.nsInstall.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xe0]
push 0
push 0
push 0
push 0x100c7260
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x38]
call fcn.100c3bf0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102601ec
mov esp, ebp
pop ebp
ret
Function at 0x100dad20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x1035dd3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [0x103611f4], eax
mov eax, dword [ebp + 8]
mov dword [0x103611fc], eax
mov eax, dword [ebp + 0xc]
mov dword [0x1036120c], eax
mov eax, dword [ebp + 0x14]
mov dword [0x10361210], eax
mov eax, dword [ebp + 0x10]
mov dword [0x10361214], eax
call fcn.100d2560
mov dword [0x10361204], eax
test eax, eax
jns 0x100dad7b
neg eax
push eax
lea eax, [ebp - 7]
push eax
call fcn.100bc160
mov byte [eax - 1], 0x2d
lea ecx, [eax - 1]
jmp 0x100dad87
push eax
lea eax, [ebp - 7]
push eax
call fcn.100bc160
mov ecx, eax
lea edx, [ebp - 7]
mov dword [ebp - 0x24], 0
add esp, 8
mov byte [ebp - 0x34], 0
mov eax, 0xf
mov dword [ebp - 0x20], eax
cmp ecx, edx
je 0x100dadb5
mov eax, edx
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x34]
call fcn.100b8260
mov eax, dword [ebp - 0x20]
push esi
cmp eax, 0x10
mov dword [ebp - 0x58], 0
push 0x13
lea esi, [ebp - 0x34]
mov dword [ebp - 0x54], 0xf
cmovae esi, dword [ebp - 0x34]
lea ecx, [ebp - 0x68]
push 0x1029b984
mov byte [ebp - 0x68], 0
call fcn.100b8260
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x38], 0
call fcn.100e7a50
push 0x4b
push 0x1029b5d4
push str.C:gitlab_builds_aCoD4X3k0_flowproductsgamemodifier_nsispackage_srcinstall_nsdui.cpp
push str.info
call fcn.100e75d0
push esi
push 0x1029b984
push str.begin_execute__s__s_
call fcn.100e7920
add esp, 0x1c
call fcn.100e7a10
mov edx, dword [ebp - 0x20]
pop esi
cmp edx, 0x10
jb 0x100dae5e
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100dae54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100dae9e
push edx
push ecx
call fcn.1025fbc4
add esp, 8
cmp dword [section..data], 0xffffffff
jne 0x100dae88
push 0
push 0
push 0
push 0x100c72a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [section..data], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x68]
call fcn.100c3bf0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.102601ec
mov esp, ebp
pop ebp
ret
call fcn.10265f3a
int3
Function at 0x100db0a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x10365ba0], ecx
inc eax
cmp eax, 0x100
jb 0x100db0a2
cmp eax, 0x800
jae 0x100db173
nop word [eax + eax]
mov edx, dword [eax*4 + 0x103657a0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x10365ba0]
mov dword [eax*4 + 0x10365ba0], edx
inc eax
cmp eax, 0x800
jb 0x100db150
mov dword [0x10361420], 0x100db1a0
call fcn.100df6d0
mov ecx, dword [0x10361420]
test eax, eax
mov edx, 0x100db1a0
cmove ecx, edx
mov dword [0x10361420], ecx
ret

Function at 0x100dbe80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
je 0x100dbed3
mov ebx, dword [ebp + 0xc]
mov dword [edi], 0
push 0
mov ecx, 0x400000
mov dword [ebp + 0x10], 0
lea eax, [ebp + 0x10]
cmp esi, ecx
push eax
mov eax, esi
cmova eax, ecx
push eax
mov eax, dword [ebp + 8]
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x10]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x100dbeda
test ecx, ecx
je 0x100dbed3
test esi, esi
jne 0x100dbe98
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x100dbef0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
je 0x100dbf43
mov ebx, dword [ebp + 0xc]
mov dword [edi], 0
push 0
mov ecx, 0x400000
mov dword [ebp + 0x10], 0
lea eax, [ebp + 0x10]
cmp esi, ecx
push eax
mov eax, esi
cmova eax, ecx
push eax
mov eax, dword [ebp + 8]
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 0x10]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x100dbf4a
test ecx, ecx
je 0x100dbf43
test esi, esi
jne 0x100dbf08
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x100df520
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
xor ebx, ebx
and eax, 7
cmp ecx, 5
jae 0x100df540
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
lea edx, [ecx - 4]
push esi
mov esi, dword [ebp + 8]
push edi
or edi, 0xffffffff
add edx, esi
mov dword [ebp + 0xc], edx
add esi, ebx
mov dword [ebp - 4], esi
cmp esi, edx
jae 0x100df572
nop dword [eax]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x100df56f
inc esi
cmp esi, edx
jb 0x100df560
mov dword [ebp - 4], esi
mov ebx, esi
sub ebx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edi
cmp esi, edx
jae 0x100df69a
cmp ecx, 3
jbe 0x100df5b2
xor eax, eax
mov cl, byte [esi + 4]
mov edi, ebx
mov dword [ebp - 0x10], edi
test cl, cl
je 0x100df5f0
cmp cl, 0xff
je 0x100df5f0
mov edx, dword [ebp + 0xc]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov ecx, 1
or eax, 1
add ebx, ecx
jmp 0x100df554
dec ecx
shl eax, cl
and eax, 7
je 0x100df58a
cmp byte [eax + 0x1029c898], 0
je 0x100df5dd
movzx ecx, byte [eax + 0x1029c8a0]
mov edx, esi
sub edx, ecx
mov cl, byte [edx + 4]
test cl, cl
je 0x100df5da
cmp cl, 0xff
jne 0x100df58a
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
and eax, 3
add eax, eax
mov edi, ebx
or eax, 1
inc ebx
jmp 0x100df554
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [ebp + 0x10]
shl edi, 8
or edi, ecx
cmp dword [ebp + 0x18], 0
je 0x100df61e
lea edx, [edi + ebx]
add edx, esi
jmp 0x100df624
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x100df662
movzx edi, byte [eax + 0x1029c8a0]
mov ecx, 0x18
shl edi, 3
sub ecx, edi
mov dword [ebp - 0xc], edi
mov edi, edx
shr edi, cl
mov ecx, edi
mov dword [ebp - 8], edi
test cl, cl
je 0x100df64e
cmp cl, 0xff
jne 0x100df662
mov ecx, 0x20
mov edi, 1
sub ecx, dword [ebp - 0xc]
shl edi, cl
dec edi
xor edi, edx
jmp 0x100df611
mov esi, dword [ebp - 4]
mov ecx, edx
mov edi, dword [ebp - 0x10]
shr ecx, 0x18
and cl, 1
neg cl
mov byte [esi + 1], dl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [ebp + 0xc]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
mov esi, dword [ebp + 8]
add ebx, ecx
jmp 0x100df554
pop edi
pop esi
cmp ecx, 3
jbe 0x100df6af
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0x14]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100e44e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10294200
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1035dd3c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.1025fb94
mov edi, eax
add esp, 4
test edi, edi
je 0x100e458b
push 1
mov dword [ebp - 4], 0
call fcn.1024db98
mov dword [edi + 4], eax
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100e50f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x100e5114
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100d3b30
pop edi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov eax, dword [eax]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x100e5135
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x100e5137
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test ebx, ebx
jl 0x100e51bf
jg 0x100e514a
test esi, esi
je 0x100e51bf
test ecx, ecx
jl 0x100e518c
jg 0x100e5154
test eax, eax
je 0x100e518c
cmp ebx, ecx
jg 0x100e5166
jl 0x100e515e
cmp esi, eax
jae 0x100e5166
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.102618f0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [edi + 0x2c]
add dword [ebp + 8], ecx
sub esi, ecx
sbb ebx, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x100e5192
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
test ebx, ebx
jl 0x100e51bf
jg 0x100e519c
test esi, esi
je 0x100e51bf
cmp dword [edi + 0x4c], 0
je 0x100e51bf
mov ecx, edi
call fcn.100e45c0
push dword [edi + 0x4c]
push esi
push 1
push dword [ebp + 8]
call fcn.1027445f
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
pop esi
sbb edx, ebx
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100e5300
Capabilities:
Contain obfuscated stackstrings
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102952d2
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x1035dd3c]
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]
xor eax, eax
push 0x400
mov dword [ebp - 0x42c], esi
push eax
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x410]
push eax
mov dword [ebp - 4], 0
call fcn.102629f0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea ecx, [ebp - 0x424]
push ecx
push eax
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
lea eax, [ebp - 0x410]
push eax
push 0
je 0x100e539a
push dword [ebp - 0x424]
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push dword [ebp - 0x424]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100e53a8
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov edi, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
test edi, edi
js 0x100e53d9
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e53c6
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
jmp 0x100e53e0
push 0
push 0x10329ca3
mov ecx, esi
call fcn.100b8260
push 1
push 0x1029cc48
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], 3
call fcn.100b68e0
mov cl, 6
mov dword [ebp - 0x420], 0x6f4a4006
mov dword [ebp - 0x41c], 0x74524148
xor eax, eax
mov dword [ebp - 0x418], 0x63686f67
mov word [ebp - 0x414], 0x74
xor byte [ebp + eax - 0x41f], cl
inc eax
cmp eax, 0xc
jae 0x100e5446
mov cl, byte [ebp - 0x420]
jmp 0x100e5431
lea ecx, [ebp - 0x41f]
mov byte [ebp - 0x413], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100e5456
sub ecx, edx
lea eax, [ebp - 0x41f]
push ecx
push eax
mov ecx, esi
call fcn.100b68e0
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x100e5478
mov eax, dword [esi]
push 0
push eax
call fcn.102754a1
add esp, 8
test eax, eax
je 0x100e54c5
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10364d8c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1036143c]
cmp eax, dword [ecx + 4]
jg 0x100e54e2
cmp dword [esi + 0x14], 0x10
mov edi, esi
jb 0x100e54ad
mov edi, dword [esi]
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x100e54c5
push 0x1035a0e0
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
mov eax, esi
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.102601ec
mov esp, ebp
pop ebp
ret
push 0x1036143c
call fcn.1025fd8f
add esp, 4
cmp dword [0x1036143c], 0xffffffff
jne 0x100e54a3
push 0
lea eax, [ebp - 0x424]
push eax
push 1
push str.D:_A_OICI_GA___AU_
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
neg eax
mov dword [0x1035a0e8], 0
push 0x1036143c
sbb eax, eax
and eax, dword [ebp - 0x424]
mov dword [0x1035a0e4], eax
call fcn.1025fd45
add esp, 4
jmp 0x100e54a3
Function at 0x100e5940
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x16], ax
xorps xmm0, xmm0
mov ax, word [ebp + 0x10]
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
movlpd qword [ebp - 0x4c], xmm0
push 0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x26], xmm0
movlpd qword [ebp - 0x1e], xmm0
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x50], str.winsta0default
mov dword [ebp - 0x2c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x100e59c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esp, ebp
pop ebp
ret
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x100ebfd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10295a6b
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x1035dd3c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x430], esi
push 0x34
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
call fcn.100b8260
push 0xc
push str.FLiNGTrainer
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 0
call fcn.100b68e0
cmp dword [ebp - 0x414], 0x10
lea ecx, [ebp - 0x42c]
push ecx
push 0x20019
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100ec0d9
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0x10329ca3
mov byte [esi], 0
call fcn.100b8260
mov edx, dword [ebp - 0x414]
cmp edx, 0x10
jb 0x100ec19f
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ec195
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ec1bb
jmp 0x100ec195
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 0x430], 1
push 0
push eax
mov dword [ebp - 0x434], 0x400
call fcn.102629f0
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x430]
push eax
push 0
push 0x1029bb08
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x410]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100ec151
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, esi
call fcn.100b8260
mov edx, dword [ebp - 0x414]
cmp edx, 0x10
jb 0x100ec19f
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100ec195
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ec1c0
push edx
push ecx
call fcn.1025fbc4
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102601ec
mov esp, ebp
pop ebp
ret
call fcn.10265f3a
call fcn.10265f3a
int3
Function at 0x100ee590
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1035dd3c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
neg eax
mov dword [ebp - 0x14], 1
sbb esi, esi
mov eax, dword [ebp + 8]
and esi, 1
neg eax
sbb eax, eax
and eax, 2
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push 0x102a2558
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x18]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.102601ec
mov esp, ebp
pop ebp
ret
Function at 0x100eea20
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10295c88
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1035dd3c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.100c6b40
mov ecx, eax
test ecx, ecx
je 0x100eeb26
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push 0xf003f
push str.ServicesActive
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
jne 0x100eeaa5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push str.OpenSCManager_failed___d_
push eax
call fcn.100ee960
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edi, edi
jmp 0x100eeaf3
push 2
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
test eax, eax
jne 0x100eeae2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push str.OpenService_failed___d_
push eax
call fcn.100ee960
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor edi, edi
jmp 0x100eeaf3
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call edi
push ebx
call edi
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100eeb12
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100c61c0
int3