joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4029e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x41c248
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, 0x2f18
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x2f0c], 0
jle 0x402a24
push 0x41c248
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x402b78
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x2f00], 0
mov edx, dword [ebp - 8]
cmp dword [edx + 0x2efc], 0
jle 0x402a81
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2efc]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x178c
push edx
mov eax, dword [ebp - 8]
add eax, 0x1c
push eax
call fcn.00406270
add esp, 0xc
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x2efc]
mov dword [ecx + 0x2f00], eax
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x2efc], 0
jmp 0x402a93
push 0x41c248
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x402b78
mov edx, dword [ebp - 8]
add edx, 0x1c
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x2f00]
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x2f04], 0
mov edx, dword [ebp - 8]
mov dword [edx + 0x2f08], 1
push 0
mov eax, dword [ebp - 8]
push eax
push 0
lea ecx, [ebp - 0xc]
push ecx
push 1
mov edx, dword [ebp - 8]
add edx, 0x14
push edx
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [eax + 0x41ccd8]
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x402b46
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x402b44
mov edx, dword [ebp - 4]
imul edx, edx, 0x28
add edx, 0x41ccdc
push edx
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push 0x2ca
push str.WSASend__d__failed_with_error__d__s
call dword [0x41c2a0]
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.00402db0
add esp, 4
push 0x41c248
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x402b78
jmp 0x402b5b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5e28]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x5e28], edx
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x2f0c], 1
push 0x41c248
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x402b80
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x41c248
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, 0x2f18
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + 0x2f00]
sub edx, dword [ecx + 0x2f04]
jns 0x402bcc
push 0x41c248
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x402cb6
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2f04]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 0x1c]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x18], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0x2f00]
sub ecx, dword [eax + 0x2f04]
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 0x2f08], 1
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0xc]
push edx
push 1
mov eax, dword [ebp - 8]
add eax, 0x14
push eax
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x28
mov edx, dword [ecx + 0x41ccd8]
push edx
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x402c84
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x402c82
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
add eax, 0x41ccdc
push eax
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
push 0x2f4
push str.WSASend__d__failed_with_error__d__s
call dword [0x41c2a0]
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.00402db0
add esp, 4
push 0x41c248
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x402cb6
jmp 0x402c99
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x5e28]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x5e28], eax
mov edx, dword [ebp - 8]
mov dword [edx + 0x2f0c], 1
push 0x41c248
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x402e60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0x418818
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x41c274
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp dword [ebp + 8], 0
je 0x402f20
mov dword [0x41c2a0], 0x403290
mov dword [0x41c29c], 0x403360
mov dword [0x41c298], 0x403440
mov dword [0x41c294], 0x403590
mov dword [0x41c28c], 0x403690
mov dword [0x41c290], 0x403430
mov dword [ebp - 4], 0
jmp 0x402ed4
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1e
jge 0x402f0c
push 0x50
push 0
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x50
add ecx, 0x41c300
push ecx
call fcn.004065e0
add esp, 0xc
xor edx, edx
mov eax, dword [ebp - 4]
mov word [eax*2 + 0x41c2c4], dx
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x41c2a4], 0
jmp 0x402ecb
cmp dword [0x41b360], 0
jne 0x402f19
jmp 0x402f52
call fcn.00402f80
jmp 0x402f52
mov dword [0x41c2a0], fcn.00403680
mov dword [0x41c294], 0x403680
mov dword [0x41c28c], 0x403680
mov dword [0x41c298], 0x403680
mov dword [0x41c290], 0x403680
mov esp, ebp
pop ebp
ret
Function at 0x404320
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push str..ConnectServer.ini
push 0xad75
push str.TCPPort
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3b18], eax
push str..ConnectServer.ini
push 0xd905
push str.UDPPort
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3b1c], eax
push str..ConnectServer.ini
push 0x12c
push str.MaxConnections
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3b28], eax
push str..ConnectServer.ini
push 1
push str.ShowAllServers
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3b20], eax
push str..ConnectServer.ini
push 0
push str.EncryptKey
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x3b24], al
push str..ConnectServer.ini
push 0x3c
push str.DisconnectAfter
push str.AntiFlood
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3b2c], eax
push str..ConnectServer.ini
push 0xa
push str.MaxSendListCount
push str.AntiFlood
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x3b30], eax
push str..ConnectServer.ini
push 2
push str.BlackListAutoLearn
push str.AntiFlood
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x8700], eax
push str..ServerList.cfg
mov ecx, dword [ebp - 4]
call fcn.00404cb0
push str..BlackList.dat
mov ecx, dword [ebp - 4]
call fcn.00404ed0
mov ecx, dword [ebp - 4]
call fcn.00405310
mov ecx, dword [ebp - 4]
call fcn.00404470
push str._Configs__Loaded_Successfull_
push 3
call dword [0x41c29c]
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x405990
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x4059d5
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x405a00
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0xffffffff
je 0x405a27
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.WSOCK32.dll_closesocket]
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0xffffffff
push 0
push 0
push 0
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0xffffffff
jne 0x405a4c
xor eax, eax
jmp 0x405a51
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x405c80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x405d50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x405cb6
xor eax, eax
jmp 0x405cbb
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x405cc0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0x10
mov eax, 1
test eax, eax
je 0x405d4c
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp - 0x1c]
mov ecx, 0x1000
sub ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x1c]
add eax, dword [ecx + 0x20]
push eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x10]
push eax
call dword [sym.imp.WSOCK32.dll_recvfrom]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x405d14
jmp 0x405d4a
cmp dword [ebp - 8], 0
jne 0x405d1c
jmp 0x405d4a
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x20]
add ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x20], ecx
mov eax, dword [ebp - 0x1c]
add eax, 0x1c
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x14]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.00405b20
jmp 0x405cd0
mov esp, ebp
pop ebp
ret

Function at 0x405d6a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a064]
jne 0x405d74
repz ret
jmp fcn.00407a9a
Function at 0x40dbd4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00408623
and dword [ebp - 0x14], 0
cmp dword [0x41c100], 0
mov dword [ebp - 0x18], eax
jne 0x40dc87
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40dd2f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40dd2f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41c100], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41c104], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41c108], eax
call edi
push eax
call esi
mov dword [0x41c110], eax
test eax, eax
je 0x40dc87
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41c10c], eax
mov eax, dword [0x41c10c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40dce0
cmp dword [0x41c110], ecx
je 0x40dce0
push eax
call esi
push dword [0x41c110]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40dce0
test ebx, ebx
je 0x40dce0
call edi
test eax, eax
je 0x40dcd7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40dcd7
test byte [ebp - 8], 1
jne 0x40dce0
or dword [ebp + 0x10], 0x200000
jmp 0x40dd13
mov eax, dword [0x41c104]
cmp eax, dword [ebp - 0x18]
je 0x40dd13
push eax
call esi
test eax, eax
je 0x40dd13
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40dd13
mov eax, dword [0x41c108]
cmp eax, dword [ebp - 0x18]
je 0x40dd13
push eax
call esi
test eax, eax
je 0x40dd13
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41c100]
call esi
test eax, eax
je 0x40dd2f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40dd31
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405d6a
leave
ret
Function at 0x3ad7258d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x3ad7a064]
jne 0x3ad72597
repz ret
jmp fcn.3ad73d0c

Function at 0x3ad75a5b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x3ad75a6a
pop dword [ebp - 8]
mov eax, 0x3ad75a6a
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x35b4a
push 0
mov eax, 0x6975d153
sub eax, 0x2e9ec09f
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x4061
mov edi, eax
mov ebx, 0x2403eae8
sub ebx, 0xe92b9ce8
add ebx, dword [ebp - 8]
mov edx, 0x9378ce8a
sub edx, 0x4c14e79
add dword [ebp - 4], eax
mov esi, dword [ebx]
xor dword [ebp - 4], ecx
sub esi, edx
xor dword [ebp - 4], 0xadc8a1fa
mov dword [edi], esi
sub dword [ebp - 4], edx
add edi, 4
add ebx, 0x51790c96
add ebx, 0xae86f36e
loop 0x3ad75abe
add eax, 0xd4dcf8f1
add eax, 0x2b23fb66
mov ebx, eax
add eax, 0x89953a7f
sub eax, 0x89953a7a
mov ecx, 0xec66d6e2
sub ecx, 0xb18fd6e2
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x3ad779e2
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.3ad72618
and dword [ebp - 4], 0
cmp dword [0x3ad7b5e8], 0
mov ebx, eax
jne 0x3ad77a93
push 0x3ad72234
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x3ad77b44
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x3ad72228
push edi
call esi
test eax, eax
je 0x3ad77b44
push eax
call fcn.3ad75a5b
mov dword [esp], 0x3ad72218
push edi
mov dword [0x3ad7b5e8], eax
call esi
push eax
call fcn.3ad75a5b
mov dword [esp], 0x3ad72204
push edi
mov dword [0x3ad7b5ec], eax
call esi
push eax
call fcn.3ad75a5b
mov dword [esp], 0x3ad721e8
push edi
mov dword [0x3ad7b5f0], eax
call esi
push eax
call fcn.3ad75a5b
pop ecx
mov dword [0x3ad7b5f8], eax
test eax, eax
je 0x3ad77a93
push 0x3ad721d0
push edi
call esi
push eax
call fcn.3ad75a5b
pop ecx
mov dword [0x3ad7b5f4], eax
mov eax, dword [0x3ad7b5f4]
cmp eax, ebx
je 0x3ad77aeb
cmp dword [0x3ad7b5f8], ebx
je 0x3ad77aeb
push eax
call fcn.3ad75a5b
push dword [0x3ad7b5f8]
mov esi, eax
call fcn.3ad75a5b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x3ad77aeb
test edi, edi
je 0x3ad77aeb
call esi
test eax, eax
je 0x3ad77ae2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x3ad77ae2
test byte [ebp - 0xc], 1
jne 0x3ad77aeb
or dword [ebp + 0x10], 0x200000
jmp 0x3ad77b24
mov eax, dword [0x3ad7b5ec]
cmp eax, ebx
je 0x3ad77b24
push eax
call fcn.3ad75a5b
pop ecx
test eax, eax
je 0x3ad77b24
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x3ad77b24
mov eax, dword [0x3ad7b5f0]
cmp eax, ebx
je 0x3ad77b24
push eax
call fcn.3ad75a5b
pop ecx
test eax, eax
je 0x3ad77b24
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x3ad7b5e8]
call fcn.3ad75a5b
pop ecx
test eax, eax
je 0x3ad77b44
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x3ad77b46
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x3da0583b
Capabilities:
Get number of processors
Terminate process

Disassembly:
arpl word [ebx + 0x6d], si
loopne 0x3da05846
xchg esp, eax
rcr byte [ebp - 0x3d], 0x2a
sub cl, ah
sub cl, ah
xor dl, al
add eax, 0x46a52dc6
pop ecx
cmp eax, 0x4f30b52c
test ecx, ebp
das
fcomp qword [edx + 0x2e3e2211]
jb 0x3da05872
sub al, 0xb5
xor byte [edi - 0x7b], cl
jmp 0x4f3b347f
sub al, 0x10
lahf
rcr edi, 1
iretd
xor eax, 0xb65cf024
jno 0x3da058da
inc edi
dec ecx
arpl word [ecx], bx
enter 0xfffffffffffff288, 0xffffffffffffffb1
in eax, dx
jnp 0x3da05886
inc esp
sbb ebp, edi
out dx, eax
out dx, al
jnp 0x3da0588b
jge 0x3da05900
je 0x3da05832
movsd dword es:[edi], dword [esi]
add esp, ebp
adc al, 0xbe
inc esp
dec esi
mov byte [0x30ae3441], al
sub al, 0x61
mov ss, word [eax + ecx + 0x1a]
adc al, 0x64
je 0x3da058d0
cmpsb byte [esi], byte es:[edi]
mul byte [edi + ebx*8 - 0x2e]
push esp
sal dword [esi], 1
adc eax, 0x8042c73f
dec byte [edx - 0xae960dd]
stosb byte es:[edi], al
jne 0x3da05892
xchg ebx, eax
cld
invalid
hlt
and eax, 0xfd743e8b
ror byte [ebp - 0xd], cl
cmp al, 0x42
mov byte [ecx - 2], bh
xchg edx, eax
sbb dword [0x74791c86], eax
mov al, byte [0xb0f07efe]
xchg esi, eax
aaa
jae 0x3da05950
xchg byte [esp + edi], al
jp 0x3da05893
js 0x3da05949
fdivr dword [eax + esi*2 + 0x599e85a0]
std
sub eax, 0x58a468b9
push ecx
mov ebx, 0x14f48246
jo 0x3da058a2
test dword [esi - 0x46d202a7], ebx
push 0xbb5158a4
inc esi
xor ah, 0x14
rcl byte [ebp - 0xe7f811d], 0xf5
sahf
jnp 0x3da0595e
dec esi
pushal
mov ah, 0xef
mov ebp, 0x84eeb9cb
lodsb al, byte [esi]
invalid
js 0x3da059bc
push ebx
invalid
sbb byte [eax], 0x2e
xchg dword [ebx - 0x1374aa01], ecx
call fcn.3da08a1b
test al, al
je 0x3da05982
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x68]
shr eax, 8
test al, 1
jne 0x3da05982
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp + 8]
call 0x3da059d9
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
arpl word [edx], dx
mov dh, 0xbb
mov edx, 0x30777dac
or eax, 0x1d4cf41d
or eax, 0xd8e1b755
dec eax
push ecx
jno 0x3da05a34
cmp edi, eax
dec eax
bound eax, qword [eax + eax*4 - 0x75]
call dword [ebp - 0x75]
in al, dx
push ecx
push ecx
mov eax, dword [0x3da4c0a0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x3da27a1c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x3da05a26
push esi
push str.CorExitProcess
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x3da05a25
push dword [ebp + 8]
mov ecx, esi
call dword [0x3da1f2f0]
call esi
pop esi
cmp dword [ebp - 8], 0
je 0x3da05a35
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp eax, 0x33fc4d8b
int 0xe8
dec ebx
xor bh, bh
invalid
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.3d9f8c8a
mov esp, ebp
pop ebp
ret
Function at 0x3da15180
Capabilities:
Write file on windows

Disassembly:
test esp, edi
jmp 0x3da15137
invalid
cld
push edx
mov cl, 0xf7
mov ebp, 0xd49d885f
loopne 0x3da15134
cmp edx, dword [ebp + 0x4e]
loope 0x3da1516f
fstp dword [edi]
adc ch, bl
stosd dword es:[edi], eax
adc al, 0xe4
loopne 0x3da1519a
mov byte [0xebf625f0], al
popal
sbb eax, 0xef2e676
pop ecx
jmp 0x3da151c8
invalid
xor byte [esi + 0x21], dl
pop ebx
std
iretd

Function at 0x3da15cde
Capabilities:
Encode data using xor

Disassembly:
sub cl, ah
xor byte [eax - 0x5ad23906], bl
xchg edx, eax
scasb al, byte es:[edi]
fild dword [esi]
mov ebp, 0xc5713527
or byte [edi + eax*4], dh
dec ebp
jns 0x3da15d70
in al, 0x85
push es
xchg esp, eax
out dx, al
pushal
adc eax, 0x3e0ced3d
comiss xmm2, dword [ecx - 0x77]
cmp esp, dword [edx - 0x4b]
inc ebx
cwde
dec eax
in eax, 0xe8
pop ecx
push esp
adc dword es:[ebx - 0x16], esp
jge 0x3da15d7a
sal byte [ebp + 0xb264448], cl
xchg byte [esi - 0x2a], ch
jne 0x3da15d3b
retf 0xea08
mov byte [0x9f2689d5], al
aad 0x89
lahf
cld
adc dl, byte [ebp - 0x5d9f7f31]
imul edi, dword [ebp + 0x5a], 0xc9074396
xor dword [ecx + 0x7c], edx
add eax, 0x2ddffbf6
inc ebx
pop ds
aas
mov cs, word [ecx]
jns 0x3da15d3a
int1
lodsb al, byte [esi]
test dword [ebx - 0x1374aa01], 0x8b0cec83
inc ebp
or byte [ebp + 0x4589ff4d], cl
clc
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
call fcn.3da15cde
mov esp, ebp
pop ebp
ret
or al, 0x8d
inc ebp
hlt
Function at 0x4039cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4fb020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403a64
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x403a44
xor eax, eax
push ebp
push 0x403a3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403a9c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403a44
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x4fb020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4fb020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404ce0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x503054], 0
je 0x404d41
cmp word [0x503330], 0xd7b2
jne 0x404d09
cmp dword [0x503338], 0
jbe 0x404d09
mov eax, 0x50332c
call dword [0x503348]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404d6c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4fb02c], 0
jne 0x404d5d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404ec0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4fb030], 0
je 0x404ee6
mov edx, esi
mov eax, ebx
call dword [0x4fb030]
jmp 0x404ef5
mov eax, 8
call fcn.004030c0
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x503055], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404e88
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc