joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010a00
Capabilities:
Connect to http server
Create http request
Encode data using xor
Read data from internet
Receive data
Send data
Send http request

Disassembly:
sub esp, 0x81c
mov eax, dword [0x10041bd0]
xor eax, esp
mov dword [esp + 0x818], eax
push ebp
push 0
push 0
push 0
push 0
push str.MyBrowser
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
mov dword [esp + 0x10], ebp
test ebp, ebp
je 0x10010bd9
push 1
push 0
push 3
push 0
push 0
push 0x50
push dword [0x10041fd8]
push ebp
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esp + 0xc], eax
test eax, eax
je 0x10010bd9
push ebx
mov dword [esp + 8], 0x1002f634
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0xc]
add esi, 0x14
mov dword [esp + 0x1c], 0x1002f630
cmp byte [ebx + 0x13], 0
push edi
mov dword [esp + 0x24], 0
je 0x10010ac6
mov eax, dword [ebx + 0xf]
inc eax
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 0x10010ab8
sub esi, edi
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 0x10010aa2
mov eax, dword [esp + 0x18]
mov esi, edi
mov byte [edi + ebp], 0
mov ebp, dword [esp + 0x1c]
push 1
push 0
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push esi
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
je 0x10010bde
mov ecx, section..data
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010af2
sub ecx, edx
mov edx, 0x10041004
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10010b03
push ecx
push section..data
sub edx, esi
push edx
push 0x10041004
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x10010bde
push 0x800
lea eax, [esp + 0x2c]
push 0
push eax
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov dword [esp + 0x14], 0x800
lea eax, [esp + 0x14]
push 0
push eax
lea eax, [esp + 0x30]
push eax
push 0x16
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x10010bde
push 0x1000d0e0
lea eax, [esp + 0x2c]
push eax
push dword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.100045b0
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x800
lea eax, [esp + 0x2c]
push 0
push eax
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0x800
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10010bde
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call esi
push dword [esp + 0x18]
call esi
push edi
call esi
mov ecx, dword [esp + 0x828]
pop edi
pop esi
pop ebx
pop ebp
xor ecx, esp
call fcn.100282d0
add esp, 0x81c
ret
call fcn.10010bf0
call fcn.10010bf0
int3
Function at 0x10010bf0
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029d3b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push esi
mov eax, dword [0x10041bd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1004206c], 1
jne 0x10010c8e
push 1
push 0x40
push 8
push 0x1002f590
lea ecx, [ebp - 0x174]
call fcn.10004a20
lea eax, [ebp - 0x174]
mov dword [ebp - 4], 0
push str._nHTTP_Server_connection_fail_
push eax
call fcn.100045b0
add esp, 8
lea ecx, [ebp - 0x170]
call fcn.10005500
test eax, eax
jne 0x10010c7c
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.10005010
cmp dword [0x1004207c], 1
jne 0x10010d5c
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 0x1002f5c4
call fcn.10004a20
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 1
push 0x1002f5c8
push eax
call fcn.100045b0
push esi
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.100045b0
lea eax, [ebp - 0xc4]
push str.HTTP_Server_connection_fail_
push eax
call fcn.100045b0
lea eax, [ebp - 0xc4]
push 0x1002f5f8
push eax
call fcn.100045b0
add esp, 0x24
lea ecx, [ebp - 0xc0]
call fcn.10005500
test eax, eax
jne 0x10010d44
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 0x1002f620
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc4]
call fcn.10005010
mov eax, dword [0x10042070]
cmp eax, 1
je 0x10010d9d
cmp eax, 3
je 0x10010d9d
cmp eax, 4
je 0x10010d9d
push 0
cmp eax, 2
jne 0x10010d97
push 0
push 0
push 0x10010db0
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 0x10010de0
jmp 0x10010d80

Function at 0x10010e10
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push fcn.10010a00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x10010e60
Capabilities:
Create thread

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

Disassembly:
push 0
push 0
push 0
push 0x10015600
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x10016a40
Capabilities:
Capture public ip
Connect to http server
Create http request
Delete file
Encode data using xor
Read data from internet
Receive data
Send file using ftp
Set file attributes

Disassembly:
sub esp, 0x48
mov eax, dword [0x10041bd0]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0
push 0
push 1
push 0
call edi
push 0
push 0
push 1
push dword [0x10041fe0]
push dword [0x10041fdc]
push 0x15
push dword [0x10041fd8]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0
push 0
push 0
push 0
push 0
mov ebx, eax
call edi
push 0
push 0x80000000
push 0
push 0
push 0x10031820
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x10016bf2
lea eax, [esp + 0x10]
push eax
push 0x2f
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [esp + 0x10]
cmp eax, 0x2f
jae 0x10016c26
push ebp
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
mov byte [esp + eax + 0x28], 0
call ebp
push 0
push 2
lea eax, [esp + 0x2c]
push eax
push str.ggg_ng_n
push ebx
call dword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
je 0x10016c13
push ebx
call ebp
push dword [esp + 0x10]
call ebp
push 0
push 0
push 0
push 1
push 0
call edi
push 0
push 0x8000000
push 1
push dword [0x10041fe0]
mov dword [esp + 0x30], eax
push dword [0x10041fdc]
push 0x15
push dword [0x10041fd8]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esp + 0x10], 0x100317e8
mov edi, eax
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
add esi, 0x14
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
cmp byte [ebx + 0x13], 0
je 0x10016ba8
mov eax, dword [ebx + 0xf]
inc eax
push eax
call dword [sym.imp.ucrtbased.dll_malloc]
mov ebx, dword [ebx + 0xf]
add esp, 4
xor edx, edx
mov edi, eax
test ebx, ebx
je 0x10016b9e
mov ebp, dword [esp + 0x18]
sub esi, edi
mov eax, edx
lea ecx, [edx + edi]
and eax, 7
inc edx
mov al, byte [eax + ebp + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
cmp edx, ebx
jb 0x10016b82
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebx + edi], 0
mov esi, edi
mov edi, dword [esp + 0x1c]
push 0
push 1
push 0x80
push 1
push 0x100317e4
push esi
push edi
call dword [sym.imp.WININET.dll_FtpGetFileA]
test eax, eax
je 0x10016bf7
push 2
push 0x10031814
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call ebp
push dword [esp + 0x20]
call ebp
call fcn.10017a10
mov ecx, dword [esp + 0x54]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100282d0
add esp, 0x48
ret
call fcn.10016c30
mov esi, dword [sym.imp.ucrtbased.dll_remove]
push 0x10031818
call esi
push 0x1003181c
call esi
add esp, 8
call fcn.100166d0
push 0x1003183c
call dword [sym.imp.ucrtbased.dll_remove]
add esp, 4
call fcn.100166d0
call fcn.10028470
int3
Function at 0x10017280
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Get mac address on windows

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.ucrtbased.dll_malloc]
push ebp
push esi
push edi
push 0x14
mov dword [esp + 0x14], 4
call ebx
push 0x288
mov dword [esp + 0x20], eax
call ebx
mov esi, dword [sym.imp.ucrtbased.dll__wassert]
mov edi, eax
add esp, 8
test edi, edi
jne 0x100172c7
push 0x179
push 0x100318b8
push 0x1003185c
call esi
add esp, 0xc
mov ebp, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [esp + 0x10]
push eax
push edi
call ebp
cmp eax, 0x6f
jne 0x100173de
push dword [esp + 0x10]
call ebx
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x10017305
push 0x17d
push str.F:CODEX_ANTIHACK_V5CODEX_V5_DLLCodex_ProtectHardware_Ban.cpp
push 0x1003193c
call esi
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push edi
call ebp
test eax, eax
jne 0x100173c6
mov dword [esp + 0x14], 0x10031884
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x14]
add esi, 0x14
cmp byte [ebp + 0x13], al
je 0x10017374
mov eax, dword [ebp + 0xf]
inc eax
push eax
call ebx
mov ebx, eax
add esp, 4
mov eax, dword [ebp + 0xf]
xor edx, edx
mov dword [esp + 0x14], eax
test eax, eax
je 0x1001736e
sub esi, ebx
mov edi, eax
nop word [eax + eax]
mov eax, edx
lea ecx, [edx + ebx]
and eax, 7
inc edx
mov al, byte [eax + ebp + 7]
xor al, byte [esi + ecx]
mov byte [ecx], al
cmp edx, edi
jb 0x10017350
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov byte [eax + ebx], 0
mov esi, ebx
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
push esi
mov esi, dword [esp + 0x34]
push esi
call fcn.10018590
add esp, 0x20
push edi
call dword [sym.imp.ucrtbased.dll_free]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x18]
push edi
call dword [sym.imp.ucrtbased.dll_free]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
call fcn.10016290
int3

Function at 0x100173f0
Capabilities:
Create thread
Delete file

Disassembly:
push esi
mov esi, dword [sym.imp.ucrtbased.dll_remove]
push 0x10031b7c
call esi
push 0x10031b80
call esi
push 0x10031b84
call esi
add esp, 0xc
push 0
push 0
push 0
push 0x100181d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
ret
Function at 0x10018280
Capabilities:
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x1002a6a0
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10041bd0]
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 0x10018343
push 1
push 0x40
push 8
push 0x10031840
lea ecx, [ebp - 0xbc]
call fcn.10004a20
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 0
push 0x10031844
push eax
call fcn.100045b0
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.100045b0
add esp, 0x10
lea ecx, [ebp - 0xb8]
call fcn.10005500
test eax, eax
jne 0x10018333
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.10016a40
lea ecx, [ebp - 0xbc]
call fcn.10005010
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp + 0x68]
xor ecx, ebp
call fcn.100282d0
lea esp, [ebp + 0x6c]
pop ebp
ret
Function at 0x10018980
Capabilities:
Create thread

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

Function at 0x10018ad0
Capabilities:
Create thread

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

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

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

Disassembly:
sub esp, 0x408
mov eax, dword [0x10041bd0]
xor eax, esp
mov dword [esp + 0x404], eax
mov eax, dword [esp + 0x40c]
push ebx
push ebp
push 0x1003447c
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 0x1001bcde
or eax, 0xffffffff
jmp 0x1001bd38
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 0x1001bd25
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 0x1001bd02
mov eax, dword [esp + 0x10]
cmp edi, 0x400
je 0x1001bce0
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.100282d0
add esp, 0x408
ret 4

Function at 0x1001bd60
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 0x1001bd8b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x1001bd96
bts eax, 6
shr ecx, 1
test cl, 1
je 0x1001bda1
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1001bdac
bts eax, 4
shr ecx, 1
test cl, 1
je 0x1001bdb7
bts eax, 3
shr ecx, 1
test cl, 1
je 0x1001bdc2
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1001bdcd
bts eax, 1
test cl, 2
je 0x1001bdd6
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 0x1001be73
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x1001be64
mov ecx, dword [esp + 0xc]
inc ecx
mov dword [esi], edx
mov dword [esp + 0xc], ecx
cmp ecx, 0xff
jle 0x1001bd80
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1001d830
Capabilities:
Create thread

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

Disassembly:
sub esp, 0x20
mov eax, dword [0x10041bd0]
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 0x1001f060
lea eax, [esp + 4]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1001f060
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 0x1001f060
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1001f060
push 0
push 0
push 0
push 0x1001e0e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100282d0
add esp, 0x20
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
xor ecx, esp
call fcn.100282d0
add esp, 0x20
ret

Function at 0x1001f080
Capabilities:
Create thread

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029d7b
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push esi
push edi
mov eax, dword [0x10041bd0]
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 0x100246f7
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [0x1004206c], 1
jne 0x1002459d
push 1
push 0x40
push 8
push 0x10036b40
lea ecx, [ebp - 0x174]
call fcn.10004a20
lea eax, [ebp - 0x174]
mov dword [ebp - 4], 0
push str._nWN_Scan:
push eax
call fcn.100045b0
lea eax, [ebp - 0x174]
push edi
push eax
call fcn.100045b0
add esp, 0x10
lea ecx, [ebp - 0x170]
call fcn.10005500
test eax, eax
jne 0x1002458b
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.10005010
cmp dword [0x1004207c], 1
jne 0x10024678
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 0x10036b64
call fcn.10004a20
lea eax, [ebp - 0xc4]
mov dword [ebp - 4], 1
push 0x10036b68
push eax
call fcn.100045b0
push esi
call dword [sym.imp.ucrtbased.dll_asctime]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.100045b0
lea eax, [ebp - 0xc4]
push str.WN_Scan:
push eax
call fcn.100045b0
lea eax, [ebp - 0xc4]
push edi
push eax
call fcn.100045b0
lea eax, [ebp - 0xc4]
push 0x10036b88
push eax
call fcn.100045b0
add esp, 0x2c
lea ecx, [ebp - 0xc0]
call fcn.10005500
test eax, eax
jne 0x10024660
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 0x10036bb0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0xc4]
call fcn.10005010
mov eax, dword [0x10042070]
push 0
cmp eax, 1
jne 0x100246aa
push 0
push 0
push 0x1001f0d0
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 0x100246ba
push 0
push 0
push 0x1001f0a0
jmp 0x1002468d
cmp eax, 3
jne 0x100246ca
push 0
push 0
push 0x1001f100
jmp 0x1002468d
cmp eax, 4
jne 0x100246a4
push 0
push 0
push 0x10027880
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 0x100246a2
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 0x10024a40
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], 0x100394bc
mov ebx, dword [esp + 8]
mov esi, dword [esp + 8]
add esi, 0x14
mov dword [esp + 0xc], eax
cmp byte [ebx + 0x13], 0
je 0x10024ac2
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 0x10024ab6
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 0x10024aa0
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 [0x1004af68], eax
pop ebx
add esp, 8
ret

Function at 0x10024c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002a96d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10041bd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0x10039684
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
add esi, 0x14
cmp byte [ebx + 0x13], 0
je 0x10024caf
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 0x10024ca9
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 0x10024c90
mov byte [eax + edi], 0
mov esi, edi
push 0x808080
push esi
lea ecx, [ebp - 0x2c]
call fcn.100247d0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.10024ae0
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x2c]
call fcn.10024900
lea ecx, [ebp - 0x2c]
call fcn.100248a0
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 0x10024d00
Capabilities:
Create thread

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