joyce8/EMBER2024-capa huggingface dataset:
Function at 0x619ce8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe78
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
call fcn.00404f48
xor eax, eax
push ebp
push 0x619ed5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0x20]
call fcn.00403474
mov edi, eax
lea eax, [ebp - 0x178]
xor ecx, ecx
mov edx, 0x160
call fcn.004031fc
cmp dword [ebp + 0x20], 0
je 0x619da3
cmp dword [ebp - 0x10], 0
je 0x619da3
mov eax, dword [ebp + 0x20]
call fcn.0040a718
test al, al
jne 0x619d59
mov eax, dword [ebp + 0x20]
call fcn.00619cc4
test al, al
je 0x619d7c
push 0x4000
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.00404f58
push eax
call sub.shell32.dll_SHGetFileInfoA
jmp 0x619d9d
push 0x4010
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.00404f58
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edi, dword [ebp - 0x174]
cmp byte [ebp + 0x1c], 0
je 0x619dca
push 0x4000
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
push 0x619ee8
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
jmp 0x619de9
push 0x4001
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
push 0x619ee8
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call sub.comctl32.dll_ImageList_GetIconSize
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0041ee94
test bl, bl
je 0x619e29
cmp byte [ebp + 0x14], 0
jne 0x619e29
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0042e5ac
push eax
push edi
push esi
call sub.comctl32.dll_ImageList_Draw
test byte [ebp + 0x14], bl
je 0x619ebf
mov dl, 1
mov eax, dword [0x42c120]
call fcn.00432784
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0
push 0
push 0
mov eax, ebx
call fcn.00432d4c
call fcn.0042e5ac
push eax
push edi
push esi
call sub.comctl32.dll_ImageList_Draw
mov eax, dword [ebp - 8]
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x184], eax
fild dword [ebp - 0x14]
fmul qword [ebp + 0xc]
call fcn.00402c5c
add eax, dword [ebp - 8]
mov dword [ebp - 0x180], eax
fild dword [ebp - 0x18]
fmul qword [ebp + 0xc]
call fcn.00402c5c
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x17c], eax
mov ecx, ebx
lea edx, [ebp - 0x188]
mov eax, dword [ebp - 4]
call fcn.00619be8
mov eax, ebx
call fcn.00403b74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x619edc
lea eax, [ebp + 0x20]
call fcn.00404a88
ret

Function at 0x61e28c
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
ja 0x61e2b8
cmp dword [esp + 4], 5
jne 0x61e2b4
cmp dword [esp + 8], 1
jae 0x61e2b8
xor eax, eax
jmp 0x61e2ba
mov al, 1
add esp, 0x94
ret
Function at 0x61e874
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x61e887
add esp, 0xfffffff0
call fcn.00403ed8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043db78
mov dl, 1
mov eax, dword [0x615c08]
call fcn.00615d64
mov dword [ebx + 0x22c], eax
mov dl, 1
mov eax, dword [0x617414]
call fcn.00626098
mov esi, eax
mov dword [ebx + 0x234], esi
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], 0x625b58
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], 0x625b6c
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x58], 0x625b60
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x78], 0x6232b4
mov eax, dword [esi + 0x10]
mov edx, 0x61ea68
call fcn.0042d2f4
mov eax, dword [ebx + 0x22c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x61e86c
mov dword [ebx + 0x23c], 0xff0000
mov dword [ebx + 0x29c], 0x1fffffff
mov dword [ebx + 0x2a0], 0x1fffffff
mov dword [ebx + 0x2a8], 0x808080
mov dword [ebx + 0x2a4], 2
mov ecx, ebx
mov dl, 1
mov eax, dword [0x6170dc]
call fcn.00626454
mov dword [ebx + 0x2d0], eax
mov dl, 1
mov eax, dword [0x58ce00]
call fcn.00403b44
mov dword [ebx + 0x308], eax
mov byte [ebx + 0x1f8], 1
mov dl, 1
mov eax, dword [0x42c120]
call fcn.00432784
mov dword [ebx + 0x310], eax
mov byte [ebx + 0x316], 0
mov dword [ebx + 0x320], 0x14
mov dword [ebx + 0x328], 0x808080
mov byte [ebx + 0x340], 1
mov dword [ebx + 0x360], 0xffffffff
mov dword [ebx + 0x364], 0xffffffff
call sub.kernel32.dll_GetVersion_1
mov esi, eax
mov eax, esi
mov edi, eax
and edi, 0xff
mov eax, esi
call fcn.004081d8
and eax, 0xff
cmp edi, 5
ja 0x61e9d7
cmp edi, 5
jne 0x61e9d3
cmp eax, 1
jae 0x61e9d7
xor eax, eax
jmp 0x61e9d9
mov al, 1
mov byte [ebx + 0x314], al
mov ecx, ebx
mov dl, 1
mov eax, dword [0x617bb8]
call fcn.00627100
mov dword [ebx + 0x32c], eax
mov byte [ebx + 0x330], 1
mov byte [ebx + 0x331], 1
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x240], eax
mov dword [ebx + 0x334], 0x1fffffff
mov dl, 1
mov eax, dword [0x61798c]
call fcn.00627fd4
mov esi, eax
mov dword [ebx + 0x384], esi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], 0x6232ac
mov eax, dword [ebx + 0x68]
mov edx, 0x61ea68
call fcn.0042d2f4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x61ea56
call fcn.00403f30
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x62a050
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x62a071
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x62a071
xor eax, eax
ret
mov al, 1
ret
Function at 0x1000be20
Capabilities:
Get number of processors
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001afd9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1002b148]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
call fcn.10002c50
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], 0xf
push 0
push dword [ebp + 0xc]
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.10002c50
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov dword [ecx + 0x14], 0xf
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.10002c50
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x48], eax
lea eax, [esi + 0x4c]
push eax
mov byte [ebp - 4], 2
call fcn.1000bf70
add esp, 4
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 3
call sym.log4cpp.dll_public:_void___thiscall_log4cpp::TimeStamp::constructor_void_
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1000c860
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push dword [0x1002c2c4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x1000c8c8
push esi
push 0x10
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x1000c89e
mov dword [esi], vtable.log4cpp::NDC.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
jmp 0x1000c8a0
xor esi, esi
push dword [0x1002c2c4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1000c8b8
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push esi
push dword [0x1002c2c4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, esi
pop esi
ret

Function at 0x1000cc20
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x2c], 0x10
lea eax, [ecx + 0x18]
jb 0x1000cc35
mov eax, dword [eax]
mov ecx, dword [ecx + 0x48]
mov dword [ebp + 8], eax
cmp ecx, 0xc8
jg 0x1000cc87
je 0x1000cc4e
test ecx, ecx
je 0x1000cc4e
cmp ecx, 0x64
jne 0x1000cc95
mov esi, 1
push 0
lea eax, [ebp + 8]
push eax
mov eax, 0x51eb851f
imul ecx
push 0
sar edx, 5
push 1
mov eax, edx
push 0
shr eax, 0x1f
push 0x1000
inc eax
add eax, edx
push eax
push esi
push dword [edi + 0x24]
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
pop edi
pop esi
pop ebp
ret 4
mov eax, ecx
sub eax, 0x12c
je 0x1000cc4e
sub eax, 0x64
je 0x1000cc9c
mov esi, 4
jmp 0x1000cc53
mov esi, 2
jmp 0x1000cc53
Function at 0x1000ccb0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x1002b148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push str.SYSTEMCurrentControlSetServicesEventLogApplication_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x110]
mov dword [ebp - 0x10c], 0
push eax
lea eax, [ebp - 0x10c]
push eax
push 0
push 2
push 0
push 0
push 0
lea eax, [ebp - 0x104]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp dword [ebp - 0x110], 1
mov ebx, dword [ebp - 0x10c]
jne 0x1000cda9
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push str.NTEventLogAppender.dll
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
push str.NTEventLogAppender.dll
push 1
push 0
push str.EventMessageFile
push ebx
call edi
push str.NTEventLogAppender.dll
call esi
push eax
push str.NTEventLogAppender.dll
push 1
push 0
push str.CategoryMessageFile
push ebx
call edi
push 4
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 7
push eax
push 4
push 0
push str.TypesSupported
push ebx
call edi
push 4
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 8
push eax
push 4
push 0
push str.CategoryCount
push ebx
call edi
pop edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100197c4
mov esp, ebp
pop ebp
ret 4
Function at 0x10012170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ab68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1002b148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x1001229d
cmp byte [edi + 0x45], 0
je 0x1001229d
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x100121c4
xor al, al
jmp 0x1001229f
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x48]
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmp ebx, 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [edi + 0x40]
push esi
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x10012231
dec eax
je 0x10012235
sub eax, 2
je 0x10012286
xor bl, bl
jmp 0x10012288
mov byte [edi + 0x45], 0
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp ebx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, ecx
sub esi, eax
je 0x10012268
push dword [edi + 0x50]
cmp ebx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x1001222d
cmp byte [edi + 0x45], 0
je 0x10012286
test esi, esi
lea esi, [edi + 0x48]
jne 0x100121f7
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.1000e330
jmp 0x100121f4
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x10012299
push dword [ebp - 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, bl
jmp 0x1001229f
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100197c4
mov esp, ebp
pop ebp
ret
Function at 0x100150c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001c028
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1002b148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x3c], eax
mov edi, dword [ebp + 8]
call sym.log4cpp.dll_protected:_class_log4cpp::Layout____thiscall_log4cpp::LayoutAppender::_getLayout_void_
push edi
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 4], 0
lea eax, [esi + 0x10]
push eax
call fcn.100195cf
mov ecx, dword [edi + 0x48]
mov ebx, eax
inc ecx
mov eax, 0x51eb851f
imul ecx
add esp, 4
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jns 0x10015137
xor ecx, ecx
jmp 0x1001514a
cmp ecx, 7
jle 0x10015143
mov ecx, 7
jmp 0x1001514a
mov ecx, dword [ecx*4 + 0x1002b04c]
mov edi, dword [ebp - 0x3c]
mov eax, dword [edi + 0x58]
add eax, ecx
push eax
push str.__d_
push ebx
call dword [sym.imp.MSVCR120.dll_sprintf]
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x38]
push esi
cmovae ecx, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
add eax, ebx
push ecx
push eax
mov dword [ebp - 0x40], eax
call sub.MSVCR120.dll_memcpy
add esp, 0x18
mov eax, 2
mov word [ebp - 0x20], ax
movzx eax, word [edi + 0x5c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov ecx, edi
mov eax, dword [ecx + 0x64]
mov dword [ebp - 0x1c], eax
test esi, esi
je 0x10015200
mov edx, dword [sym.imp.WS2_32.dll_sendto]
mov eax, dword [ebp - 0x44]
push 0x10
lea edi, [eax + esi]
cmp edi, 0x384
jbe 0x100151f1
lea eax, [ebp - 0x20]
push eax
push 0
push 0x384
push ebx
push dword [ecx + 0x60]
call edx
lea esi, [edi - 0x384]
push esi
lea eax, [ebx + 0x384]
push eax
push dword [ebp - 0x40]
call dword [sym.imp.MSVCR120.dll_memmove]
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
mov edx, dword [sym.imp.WS2_32.dll_sendto]
test esi, esi
jne 0x100151a7
jmp 0x10015200
lea edi, [ebp - 0x20]
add eax, esi
push edi
push 0
push eax
push ebx
push dword [ecx + 0x60]
call edx
push ebx
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 4
cmp dword [ebp - 0x24], 0x10
jb 0x1001521a
push dword [ebp - 0x38]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100197c4
mov esp, ebp
pop ebp
ret 4
Function at 0x10015400
Capabilities:
Create udp socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x1002b148]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x64], 0
jne 0x100154b0
cmp dword [edi + 0x54], 0x10
lea esi, [edi + 0x40]
jb 0x1001542e
mov eax, dword [esi]
jmp 0x10015430
mov eax, esi
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x100154a6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x276d
jne 0x100154bf
lea eax, [ebp - 0x194]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x100154bf
cmp dword [esi + 0x14], 0x10
jb 0x10015468
mov eax, dword [esi]
jmp 0x1001546a
mov eax, esi
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [edi + 0x68], 1
test eax, eax
jne 0x100154a6
cmp dword [esi + 0x14], 0x10
jb 0x10015484
mov esi, dword [esi]
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
push 2
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x198]
push 4
push eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
test eax, eax
je 0x100154bf
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [edi + 0x64], eax
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 0x60], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100197c4
mov esp, ebp
pop ebp
ret
Function at 0x10019410
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1002b148]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
call sym.log4cpp.dll_protected:_class_log4cpp::Layout____thiscall_log4cpp::LayoutAppender::_getLayout_void_
push esi
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 8], 0x10
pop esi
jb 0x10019459
push dword [ebp - 0x1c]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100197c4
mov esp, ebp
pop ebp
ret 4
Function at 0x4068fb
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x40691f
xor eax, eax
test eax, eax
je 0x406932
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406932
xor ecx, ecx
jmp 0x406935
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a58
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43110c], 0
push esi
jne 0x406a8f
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a69
mov dword [ecx*4 + 0x431108], eax
inc ecx
cmp ecx, 0x100
jl 0x406a64
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406ac0
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431108]
xor eax, esi
inc ecx
dec edx
jne 0x406aa2
pop edi
not eax
pop esi
ret 0xc

Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret
Function at 0x401000
Capabilities:
Create process on windows
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x415048]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
push 0x416de0
push 0x67
push esi
call ebx
push 0x64
mov edi, 0x416d18
push edi
push 0x6d
push esi
call ebx
push 0x6b
xor ebx, ebx
push esi
mov dword [esp + 0x18], 0x30
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], 0x4011d7
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], esi
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push ebx
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x6c
push dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 6
mov dword [esp + 0x3c], 0x6d
mov dword [esp + 0x40], edi
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push ebx
push esi
push ebx
push ebx
push ebx
mov eax, connect
push eax
push ebx
push eax
push 0xcf0000
push 0x416de0
push edi
push ebx
mov dword [0x416ea8], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
jne 0x4010f3
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004045e8
mov esp, ebp
pop ebp
ret 0x10
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
push 0x7d0
call edi
call fcn.00402700
call fcn.00401e31
test eax, eax
je 0x401123
call fcn.00402f50
push ebx
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
call fcn.00401248
test eax, eax
je 0x4010da
call fcn.004013ab
mov eax, dword [0x417748]
cmp eax, ebx
jbe 0x40115b
cmp word [0x41774c], bx
jbe 0x40115b
push eax
mov esi, str.218.54.31.226
call fcn.00403700
mov ax, word [0x41774c]
pop ecx
mov word [0x415f2c], ax
xor eax, eax
movzx ecx, word [eax + 0x413254]
mov word [eax + 0x417c80], cx
add eax, 2
cmp cx, bx
jne 0x40115d
call fcn.00403770
xor eax, eax
push 0x206
mov word [esp + 0x44], ax
lea eax, [esp + 0x46]
push ebx
push eax
call fcn.00407f40
add esp, 0xc
lea eax, [esp + 0x40]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push 0x417c80
lea eax, [esp + 0x44]
push esi
push eax
call fcn.004045f7
add esp, 0xc
push 0x1f4
call edi
push 1
push ebx
push 0x41326c
lea eax, [esp + 0x4c]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40111c
Function at 0x401248
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1dc
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x3e
mov word [ebp - 0x48], ax
xor ebx, ebx
lea eax, [ebp - 0x46]
push ebx
push eax
call fcn.00407f40
add esp, 0xc
lea edi, [ebp - 0x48]
call fcn.00403200
xor eax, eax
movzx ecx, word [ebp + eax - 0x48]
mov word [eax + 0x416eb0], cx
add eax, 2
cmp cx, bx
jne 0x40127f
mov esi, 0x416eb0
push esi
push ebx
push 0x20000
call dword [sym.imp.KERNEL32.DLL_OpenEventW]
cmp eax, ebx
je 0x4012b7
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
jmp 0x40139c
push esi
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
test eax, eax
je 0x4012b0
lea eax, [ebp - 0x1d8]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x417880
call fcn.00401b33
pop ecx
mov esi, 0x4132ac
test eax, eax
jne 0x401373
movzx ecx, word [eax + str.hoidyet]
mov word [eax + 0x417a28], cx
add eax, 2
cmp cx, bx
jne 0x4012ef
push str.112.175.88.207
push 0x40
push 0x417884
call fcn.0040466c
add esp, 0xc
push str.AAAA
push 0x10
push 0x417906
call fcn.0040466c
add esp, 0xc
push esi
push 0x40
push 0x417926
call fcn.0040466c
add esp, 0xc
push 0x51
pop eax
mov word [0x417904], ax
mov eax, 0x2b8e
mov word [0x4179a6], ax
xor eax, eax
movzx ecx, word [eax + str.gudyt]
mov word [eax + 0x417a08], cx
add eax, 2
cmp cx, bx
jne 0x401353
mov dword [0x417a48], 5
call fcn.004032a0
push esi
call fcn.00403350
pop ecx
mov dword [0x417748], eax
call fcn.004017d2
push ebx
push ebx
push ebx
push 0x401609
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004045e8
leave
ret