joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016000
Capabilities:
Capture public ip
Connect to http server
Create http request
Delete file
Read data from internet
Receive data
Send file using ftp
Set file attributes

Disassembly:
sub esp, 0x3c
mov eax, dword [0x10040cf8]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetOpenA]
push esi
push edi
push 0
push 0
push 0
push 1
push 0
call ebx
push 0
push 0
push 1
push dword [0x10041100]
push dword [0x100410fc]
push 0x15
push dword [0x100410f8]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0
push 0
push 0
push 0
push 0
mov edi, eax
call ebx
push 0
push 0x80000000
push 0
push 0
push 0x10030524
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x10016149
lea eax, [esp + 0xc]
push eax
push 0x2f
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [esp + 0xc]
cmp eax, 0x2f
jae 0x1001617d
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + eax + 0x18], 0
call esi
push 0
push 2
lea eax, [esp + 0x1c]
push eax
push str.ggg_ng_n
push edi
call dword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
je 0x1001616a
push edi
call esi
push dword [esp + 0x10]
call esi
push 0
push 0
push 0
push 1
push 0
call ebx
push 0
push 0x8000000
push 1
push dword [0x10041100]
mov edi, eax
push dword [0x100410fc]
push 0x15
push dword [0x100410f8]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0
push 1
push 0x80
push 1
push 0x100304fc
mov ebx, eax
push 0x10030500
push ebx
call dword [sym.imp.WININET.dll_FtpGetFileA]
test eax, eax
je 0x1001614e
push 2
push 0x10030518
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call esi
push edi
call esi
call fcn.10016c90
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10026c20
add esp, 0x3c
ret
call fcn.10016190
mov esi, dword [sym.imp.ucrtbased.dll_remove]
push 0x1003051c
call esi
push 0x10030520
call esi
add esp, 8
call fcn.10015de0
push 0x10030540
call dword [sym.imp.ucrtbased.dll_remove]
add esp, 4
call fcn.10015de0
call fcn.10026dc0
int3
Function at 0x10016190
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002868b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push esi
mov eax, dword [0x10040cf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1004118c], 1
jne 0x1001622e
push 1
push 0x40
push 8
push 0x10030444
lea ecx, [ebp - 0x174]
call fcn.100049c0
lea eax, [ebp - 0x174]
mov dword [ebp - 4], 0
push str._nHB___HTTP_connection_fail_
push eax
call fcn.10004550
add esp, 8
lea ecx, [ebp - 0x170]
call fcn.100054a0
test eax, eax
jne 0x1001621c
push eax
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x174]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], 0xffffffff
call fcn.10004fb0
cmp dword [0x1004119c], 1
jne 0x100162fc
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__time64]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__localtime64]
add esp, 8
lea ecx, [ebp - 0xc4]
mov esi, eax
push 1
push 0x40
push 8
push 0x10030474
call fcn.100049c0
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 1
push 0x10030478
push eax
call fcn.10004550
push esi
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.10004550
lea eax, [ebp - 0xc4]
push str.HB___HTTP_connection_fail_
push eax
call fcn.10004550
lea eax, [ebp - 0xc4]
push 0x100304a4
push eax
call fcn.10004550
add esp, 0x24
lea ecx, [ebp - 0xc0]
call fcn.100054a0
test eax, eax
jne 0x100162e4
push eax
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 2
push 0x100304cc
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc4]
call fcn.10004fb0
mov eax, dword [0x10041190]
cmp eax, 1
je 0x1001633d
cmp eax, 3
je 0x1001633d
cmp eax, 4
je 0x1001633d
push 0
cmp eax, 2
jne 0x10016337
push 0
push 0
push 0x10016350
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0
push 0
push 0x10016380
jmp 0x10016320
Function at 0x100163b0
Capabilities:
Create thread
Delete file
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002868b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push esi
mov eax, dword [0x10040cf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10030138
call dword [sym.imp.ucrtbased.dll_remove]
add esp, 4
cmp dword [0x1004118c], 1
jne 0x1001646d
push 1
push 0x40
push 8
push 0x1003013c
lea ecx, [ebp - 0x174]
call fcn.100049c0
lea eax, [ebp - 0x174]
mov dword [ebp - 4], 0
push str._n_Hardware_Banned:
push eax
call fcn.10004550
lea eax, [ebp - 0x174]
push str.Contact_Administrator_
push eax
call fcn.10004550
add esp, 0x10
lea ecx, [ebp - 0x170]
call fcn.100054a0
test eax, eax
jne 0x1001645b
push eax
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x174]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], 0xffffffff
call fcn.10004fb0
cmp dword [0x1004119c], 1
jne 0x1001653b
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__time64]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__localtime64]
add esp, 8
lea ecx, [ebp - 0xc4]
mov esi, eax
push 1
push 0x40
push 8
push 0x10030180
call fcn.100049c0
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 1
push 0x10030184
push eax
call fcn.10004550
push esi
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.10004550
lea eax, [ebp - 0xc4]
push str.HB___Hardware_Banned_
push eax
call fcn.10004550
lea eax, [ebp - 0xc4]
push 0x100301ac
push eax
call fcn.10004550
add esp, 0x24
lea ecx, [ebp - 0xc0]
call fcn.100054a0
test eax, eax
jne 0x10016523
push eax
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 2
push 0x100301d4
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc4]
call fcn.10004fb0
mov eax, dword [0x10041190]
cmp eax, 1
je 0x1001657c
cmp eax, 3
je 0x1001657c
cmp eax, 4
je 0x1001657c
push 0
cmp eax, 2
jne 0x10016576
push 0
push 0
push 0x10015b40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push 0
push 0
push 0x10015b70
jmp 0x1001655f
Function at 0x10016590
Capabilities:
Get mac address on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.ucrtbased.dll_malloc]
push 0x14
mov dword [esp + 0x10], 4
call esi
push 0x288
mov ebp, eax
call esi
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100165d0
push 0x179
push 0x10030560
push 0x100305e4
call dword [sym.imp.ucrtbased.dll__wassert]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push ebx
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
call ebx
cmp eax, 0x6f
jne 0x10016669
push dword [esp + 0xc]
call esi
mov esi, eax
add esp, 4
test esi, esi
jne 0x1001660e
push 0x17d
push 0x10030610
push 0x10030694
call dword [sym.imp.ucrtbased.dll__wassert]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push esi
call ebx
test eax, eax
jne 0x10016658
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push 0x100306bc
push ebp
call fcn.10017810
add esp, 0x20
push esi
call dword [sym.imp.ucrtbased.dll_free]
add esp, 4
mov eax, ebp
pop esi
pop ebp
pop ebx
pop ecx
ret
call fcn.10015ba0
int3

Function at 0x10016670
Capabilities:
Create thread
Delete file

Disassembly:
push esi
mov esi, dword [sym.imp.ucrtbased.dll_remove]
push 0x100307b4
call esi
push 0x1003085c
call esi
push 0x10030860
call esi
add esp, 0xc
push 0
push 0
push 0
push 0x10017450
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
ret
Function at 0x10017500
Capabilities:
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x10028fc0
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10040cf8]
xor eax, ebp
mov dword [ebp + 0x68], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp]
mov dword [ebp], 0x64
push eax
lea eax, [ebp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x100175c3
push 1
push 0x40
push 8
push 0x10030544
lea ecx, [ebp - 0xbc]
call fcn.100049c0
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 0
push 0x10030548
push eax
call fcn.10004550
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.10004550
add esp, 0x10
lea ecx, [ebp - 0xb8]
call fcn.100054a0
test eax, eax
jne 0x100175b3
push eax
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0xbc]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
call fcn.10016000
lea ecx, [ebp - 0xbc]
call fcn.10004fb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp + 0x68]
xor ecx, ebp
call fcn.10026c20
lea esp, [ebp + 0x6c]
pop ebp
ret
Function at 0x10017c00
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10017b40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x10017d50
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10017d70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x1001af10
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x1001a9f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x1001af30
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
sub esp, 0x408
mov eax, dword [0x10040cf8]
xor eax, esp
mov dword [esp + 0x404], eax
mov eax, dword [esp + 0x40c]
push ebx
push ebp
push 0x1003315c
push eax
mov ebp, ecx
or ebx, 0xffffffff
call dword [sym.imp.ucrtbased.dll_fopen]
add esp, 8
mov dword [esp + 8], eax
test eax, eax
jne 0x1001af6e
or eax, 0xffffffff
jmp 0x1001afc8
push esi
push edi
push eax
push 0x400
lea eax, [esp + 0x1c]
push 1
push eax
call dword [sym.imp.ucrtbased.dll_fread]
mov edi, eax
lea esi, [esp + 0x24]
add esp, 0x10
mov edx, edi
test edi, edi
je 0x1001afb5
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ebp + ecx*4]
sub edx, 1
jne 0x1001af92
mov eax, dword [esp + 0x10]
cmp edi, 0x400
je 0x1001af70
push dword [esp + 0x10]
call dword [sym.imp.ucrtbased.dll_fclose]
add esp, 4
not ebx
mov eax, ebx
pop edi
pop esi
mov ecx, dword [esp + 0x40c]
pop ebp
pop ebx
xor ecx, esp
call fcn.10026c20
add esp, 0x408
ret 4

Function at 0x1001aff0
Capabilities:
Hash data using crc32b

Disassembly:
push ecx
push ebx
push esi
push edi
push 0x400
mov edi, ecx
push 0
push edi
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
xor ecx, ecx
mov dword [esp + 0xc], ecx
nop dword [eax]
xor eax, eax
test cl, 1
je 0x1001b01b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x1001b026
bts eax, 6
shr ecx, 1
test cl, 1
je 0x1001b031
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1001b03c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x1001b047
bts eax, 3
shr ecx, 1
test cl, 1
je 0x1001b052
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1001b05d
bts eax, 1
test cl, 2
je 0x1001b066
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [esp + 0xc]
xor edx, edx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
test bl, 1
je 0x1001b103
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x1001b0f4
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esi], edx
mov dword [esp + 0xc], ecx
cmp ecx, 0xff
jle 0x1001b010
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1001c1e0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x1001ca00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x1001d960
Capabilities:
Acquire debug privileges
Create thread

Disassembly:
sub esp, 0x20
mov eax, dword [0x10040cf8]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1001da10
lea eax, [esp + 4]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1001da10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push 0
push 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1001da10
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1001da10
push 0
push 0
push 0
push 0x1001ca90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.10026c20
add esp, 0x20
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
xor ecx, esp
call fcn.10026c20
add esp, 0x20
ret

Function at 0x1001da30
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x100230c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x10022e80
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100286cb
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push esi
push edi
mov eax, dword [0x10040cf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push edi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x100230a7
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x1004118c], 1
jne 0x10022f4d
push 1
push 0x40
push 8
push 0x100355a0
lea ecx, [ebp - 0x174]
call fcn.100049c0
lea eax, [ebp - 0x174]
mov dword [ebp - 4], 0
push str._nWN_Scan:
push eax
call fcn.10004550
lea eax, [ebp - 0x174]
push edi
push eax
call fcn.10004550
add esp, 0x10
lea ecx, [ebp - 0x170]
call fcn.100054a0
test eax, eax
jne 0x10022f3b
push eax
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x174]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], 0xffffffff
call fcn.10004fb0
cmp dword [0x1004119c], 1
jne 0x10023028
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__time64]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__localtime64]
add esp, 8
lea ecx, [ebp - 0xc4]
mov esi, eax
push 1
push 0x40
push 8
push 0x100355c4
call fcn.100049c0
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 1
push 0x100355c8
push eax
call fcn.10004550
push esi
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.10004550
lea eax, [ebp - 0xc4]
push str.WN_Scan:
push eax
call fcn.10004550
lea eax, [ebp - 0xc4]
push edi
push eax
call fcn.10004550
lea eax, [ebp - 0xc4]
push 0x100355e8
push eax
call fcn.10004550
add esp, 0x2c
lea ecx, [ebp - 0xc0]
call fcn.100054a0
test eax, eax
jne 0x10023010
push eax
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 2
push 0x10035610
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc4]
call fcn.10004fb0
mov eax, dword [0x10041190]
push 0
cmp eax, 1
jne 0x1002305a
push 0
push 0
push 0x1001da80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x1002306a
push 0
push 0
push 0x1001da50
jmp 0x1002303d
cmp eax, 3
jne 0x1002307a
push 0
push 0
push 0x1001dab0
jmp 0x1002303d
cmp eax, 4
jne 0x10023054
push 0
push 0
push 0x10026220
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.WN_Scan
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x10023052
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100233f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push esi
push str.USER32.DLL
mov dword [ecx + 4], 0
mov dword [ecx + 0x18], str.SPLASH
mov dword [ecx + 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp + 8], 0x10037f1c
mov ebx, dword [esp + 8]
mov esi, dword [esp + 8]
add esi, 0x14
mov dword [esp + 0xc], eax
cmp byte [ebx + 0x13], 0
je 0x10023472
mov eax, dword [ebx + 0xf]
push ebp
inc eax
push edi
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov ebp, dword [ebx + 0xf]
add esp, 4
xor edx, edx
mov edi, eax
test ebp, ebp
je 0x10023466
sub esi, edi
nop
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
cmp edx, ebp
jb 0x10023450
mov eax, dword [esp + 0x14]
mov esi, edi
mov byte [edi + ebp], 0
pop edi
pop ebp
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop esi
mov dword [0x1004a088], eax
pop ebx
add esp, 8
ret

Function at 0x100235e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002928d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10040cf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0x100380e4
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x1002365f
mov eax, dword [ebx + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov edi, eax
add esp, 4
mov eax, dword [ebx + 0xf]
xor edx, edx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10023659
sub esi, edi
nop dword [eax]
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebx + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
mov eax, dword [ebp - 0x10]
cmp edx, eax
jb 0x10023640
mov byte [eax + edi], 0
mov esi, edi
push 0x808080
push esi
lea ecx, [ebp - 0x2c]
call fcn.10023180
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.10023490
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x2c]
call fcn.100232b0
lea ecx, [ebp - 0x2c]
call fcn.10023250
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 0x100236b0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x100236d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x10023d30
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002868b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push esi
mov eax, dword [0x10040cf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1004118c], 1
jne 0x10023ddf
push 1
push 0x40
push 8
push 0x1003820c
lea ecx, [ebp - 0x174]
call fcn.100049c0
lea eax, [ebp - 0x174]
mov dword [ebp - 4], 0
push str._nI_Scan:
push eax
call fcn.10004550
lea eax, [ebp - 0x174]
push 0x10038230
push eax
call fcn.10004550
add esp, 0x10
lea ecx, [ebp - 0x170]
call fcn.100054a0
test eax, eax
jne 0x10023dcd
push eax
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x174]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x174]
mov dword [ebp - 4], 0xffffffff
call fcn.10004fb0
cmp dword [0x1004119c], 1
jne 0x10023ebe
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__time64]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ucrtbased.dll__localtime64]
add esp, 8
lea ecx, [ebp - 0xc4]
mov esi, eax
push 1
push 0x40
push 8
push 0x10038240
call fcn.100049c0
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 1
push 0x10038244
push eax
call fcn.10004550
push esi
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.10004550
lea eax, [ebp - 0xc4]
push str.I_Scan:
push eax
call fcn.10004550
lea eax, [ebp - 0xc4]
push 0x10038264
push eax
call fcn.10004550
lea eax, [ebp - 0xc4]
push 0x10038274
push eax
call fcn.10004550
add esp, 0x2c
lea ecx, [ebp - 0xc0]
call fcn.100054a0
test eax, eax
jne 0x10023ea6
push eax
mov eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc4]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 2
push 0x1003829c
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc4]
call fcn.10004fb0
mov eax, dword [0x10041190]
push 0
cmp eax, 1
jne 0x10023ef0
push 0
push 0
push 0x10023fd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 2
jne 0x10023f00
push 0
push 0
push 0x10023f50
jmp 0x10023ed3
cmp eax, 3
jne 0x10023f10
push 0
push 0
push 0x10024050
jmp 0x10023ed3
cmp eax, 4
jne 0x10023eea
push 0
push 0
push 0x10026220
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x200010
push str.I_Scan
push str.Dll_injection_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x10023ee8
Function at 0x10024c30
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10025320
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret