joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fa20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64ba7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push 0x9c
mov dword [esi + 0x7fc], 5
call fcn.0061c130
add esp, 4
mov dword [esp], eax
test eax, eax
mov dword [esp + 0xc], 0
je 0x44fa6b
mov ecx, dword [esp + 0x14]
push ecx
push eax
mov ecx, esi
call fcn.00405780
jmp 0x44fa6d
xor eax, eax
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esi + 0xc4]
push ecx
mov ecx, dword [esi + 0xc0]
push ecx
mov dword [esi + 0x778], eax
mov edx, dword [eax]
mov edx, dword [edx + 0xa0]
push 0
push 0
mov ecx, eax
call edx
mov ecx, dword [esi + 0x320]
mov eax, dword [ecx]
mov edx, dword [esi + 0x778]
mov eax, dword [eax + 0xc]
push edx
call eax
mov ecx, dword [esi + 0x320]
mov edx, dword [ecx]
mov eax, dword [esi + 0x778]
mov edx, dword [edx + 0x30]
push eax
call edx
mov ecx, dword [esi + 0x320]
mov eax, dword [ecx]
mov edx, dword [esi + 0x778]
mov eax, dword [eax + 0x20]
push edx
call eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x44fb30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64ba5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push pe_nt_image_headers32
mov dword [esi + 0x7fc], 6
call fcn.0061c130
add esp, 4
mov dword [esp], eax
test eax, eax
mov dword [esp + 0xc], 0
je 0x44fb76
push eax
mov ecx, esi
call fcn.00433a70
jmp 0x44fb78
xor eax, eax
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esi + 0xc4]
push ecx
mov ecx, dword [esi + 0xc0]
push ecx
mov dword [esi + 0x77c], eax
mov edx, dword [eax]
mov edx, dword [edx + 0xa0]
push 0
push 0
mov ecx, eax
call edx
mov ecx, dword [esi + 0x320]
mov eax, dword [ecx]
mov edx, dword [esi + 0x77c]
mov eax, dword [eax + 0xc]
push edx
call eax
mov ecx, dword [esi + 0x320]
mov edx, dword [ecx]
mov eax, dword [esi + 0x77c]
mov edx, dword [edx + 0x30]
push eax
call edx
mov ecx, dword [esi + 0x320]
mov eax, dword [ecx]
mov edx, dword [esi + 0x77c]
mov eax, dword [eax + 0x20]
push edx
call eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40821e
Capabilities:
Set registry value

Disassembly:
mov eax, 0x43d97f
call fcn.0043bf2c
sub esp, 0x94
push ebx
push esi
push edi
push 0xf
xor ebx, ebx
pop edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x54], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
mov byte [ebp - 4], 1
push 0x12
push str.SoftwareGGSQGNA_
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
call fcn.00401f44
push 2
lea ecx, [ebp - 0x9c]
pop edx
lea esi, [ebp - 0x18]
call fcn.00407494
push ebx
push 1
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00401ba9
push 7
push str.InstKey
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
call fcn.00401f44
mov dword [ebp - 0x10], 0xae5
cmp byte [ebp - 0x14], bl
je 0x4082dc
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x38]
jae 0x4082c9
lea eax, [ebp - 0x38]
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push ebx
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00401ba9
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00407c7f
test al, al
je 0x408354
cmp dword [ebp - 0x44], ebx
jbe 0x408340
push 3
push 0x44270c
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
call fcn.00401f44
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x18]
call fcn.004074f2
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00401ba9
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x54]
push eax
add ecx, 0xc
call fcn.00402262
cmp dword [ebp - 0x70], ebx
jbe 0x408354
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 8]
call fcn.00407da0
mov dword [ebp - 0x1c], eax
sub esp, 0x10
mov dword [ebp - 0x10], esp
mov esi, esp
push ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x10], esp
call fcn.0040473f
mov eax, dword [ebp + 8]
add eax, 8
push 0xaba
push eax
mov dword [ebp + 8], eax
call fcn.004060ad
push ecx
mov dword [ebp - 0x10], esp
lea esi, [ebp - 0x64]
mov dword [ebp - 0x10], esp
call fcn.0040473f
mov byte [ebp - 4], 3
push 6
push str.STATUS
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
call fcn.00401f44
push dword [ebp - 0x1c]
lea eax, [ebp - 0x38]
push eax
mov edi, esi
mov byte [ebp - 4], 4
call fcn.00402fb7
push ebx
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00401ba9
sub esp, 0x10
mov dword [ebp - 0x10], esp
push esp
mov ecx, esi
call fcn.00408500
push 0xa85
push dword [ebp + 8]
call fcn.004060ad
mov eax, esi
push eax
mov byte [ebp - 4], 2
call fcn.00402f88
cmp byte [ebp - 0x14], bl
je 0x4083fd
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.00401ba9
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.00401ba9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x409a58
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43da60
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push esi
push str.http:__www.gamenet.ru_games_bc_rules_
lea ecx, [edi + 0x29]
call fcn.004084db
push str.https:__gamenet.ru_aboutapp_
lea ecx, [edi + 0x45]
call fcn.004084db
mov ebx, dword [edi + 1]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x442e18
push 0x65
push ebx
call esi
test eax, eax
je 0x409ab6
push eax
push ebx
lea ebx, [edi + 0x71]
call fcn.0040c502
mov eax, dword [edi + 0x71]
test eax, eax
je 0x409c94
mov ecx, dword [eax + 8]
and dword [eax + 8], 0
test ecx, ecx
jne 0x409c94
mov ebx, dword [edi + 1]
push 0x442e18
push 0x6b
push ebx
call esi
test eax, eax
je 0x409aeb
push eax
push ebx
lea ebx, [edi + 0x79]
call fcn.0040c502
mov eax, dword [edi + 0x79]
test eax, eax
je 0x409c94
mov ecx, dword [eax + 8]
and dword [eax + 8], 0
test ecx, ecx
jne 0x409c94
push edi
call fcn.00409cc2
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [edi + 9], 0x280
mov dword [edi + 0xd], 0xee
call esi
push 1
mov ebx, eax
call esi
mov dword [esp + 8], eax
mov eax, dword [edi + 9]
fild dword [esp + 8]
cdq
sub eax, edx
fmul qword [0x442eb8]
mov ecx, eax
mov eax, ebx
cdq
sub eax, edx
mov ebx, eax
sar ecx, 1
sar ebx, 1
sub ebx, ecx
call fcn.0043be80
and dword [esp + 0x1c], 0
mov ecx, eax
mov eax, dword [edi + 0xd]
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [esp + 8]
cdq
neg esi
sub eax, edx
sub esi, ecx
push 0x1c
sar eax, 1
push 0x442810
lea ecx, [esp + 0x14]
add esi, eax
mov dword [esp + 0x28], 0xf
mov byte [esp + 0x14], 0
call fcn.00401f44
and dword [esp + 0x114], 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0040a0e1
push 0
push 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x11c], 2
call fcn.00401ba9
push 1
push 3
lea ecx, [esp + 0x68]
call fcn.0040b372
mov byte [esp + 0x114], 3
cmp dword [esp + 0x3c], 8
mov eax, dword [esp + 0x28]
jae 0x409bde
lea eax, [esp + 0x28]
push 0x442830
push ecx
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.0040c06e
add esp, 0xc
push eax
call fcn.0040c06e
pop ecx
pop ecx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x64]
call fcn.0040b424
cmp dword [eax + 0x14], 8
jb 0x409c10
mov eax, dword [eax]
xor ecx, ecx
push ecx
push dword [edi + 1]
push ecx
push ecx
push dword [edi + 0xd]
push dword [edi + 9]
push esi
push ebx
push SysReAllocString
push eax
push str.Thistle
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push 1
lea ecx, [esp + 0x4c]
mov dword [edi + 5], eax
call fcn.00401c8e
push dword [edi + 0xd]
mov ebx, dword [edi + 5]
push dword [edi + 9]
lea esi, [edi + 0x11]
call fcn.00408b73
push edi
call fcn.00409f52
xor al, al
mov esi, edi
call fcn.0040a180
push 5
push dword [edi + 5]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 5]
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0x60]
mov byte [esp + 0x114], 2
call fcn.00409ca8
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00401c8e
mov ecx, dword [esp + 0x10c]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a80d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [edi + 9], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi + 0xd], eax
call esi
push 1
mov dword [ebp - 8], eax
call esi
mov esi, dword [edi + 0xd]
mov ebx, dword [edi + 9]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
push 0
push esi
push ebx
fmul qword [0x442eb8]
call fcn.0043be80
mov ecx, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
neg esi
sub esi, ecx
add esi, eax
mov eax, ebx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 8]
cdq
sub eax, edx
push esi
sar ecx, 1
sar eax, 1
sub eax, ecx
push eax
push 0
push dword [edi + 5]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea esi, [edi + 0x11]
mov eax, esi
call fcn.00408bdf
push dword [ebp + 0xc]
mov ebx, dword [esi]
push dword [ebp + 8]
call fcn.00408b73
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 6
push dword [edi + 5]
call esi
push 9
push dword [edi + 5]
call esi
push 0
push 0
push dword [edi + 5]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ebx
leave
ret 8

Function at 0x40aeee
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
xor eax, eax
xor edi, edi
push str.http:__go.gamenet.ru_a_19_454_inst
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], edi
mov word [ebp - 0x1c], ax
call fcn.004084db
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x40af20
lea eax, [ebp - 0x1c]
push 5
push edi
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
xor edi, edi
inc edi
push edi
lea ecx, [ebp - 0x1c]
call fcn.00401c8e
push dword [esi + 0xcb]
mov dword [esi + 0xcf], edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
leave
ret

Function at 0x40c2f1
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx + 4]
xor ecx, ecx
cmp dword [eax + 0xa3], ecx
je 0x40c31c
add eax, 0x93
cmp dword [eax + 0x14], 8
jb 0x40c30b
mov eax, dword [eax]
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x5ea805
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5ea820
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124afa45]
pop edx
test eax, eax
je 0x5ea8f2
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5ea8e1
test dword [ebp - 0x2a8], 1
jne 0x5ea8e1
and dword [ebp - 0x2a8], 0x100
jne 0x5ea8e1
push esi
push edx
push 4
push esi
call dword [edx + 0x122d2d97]
pop edx
pop esi
test eax, eax
je 0x5ea884
jmp 0x5ea8e1
cmp word [esi], 0x5a4d
jne 0x5ea8e1
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5ea8e1
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d2d03]
pop edx
test eax, eax
je 0x5ea8e1
lea eax, [ebp - 0x28c]
push eax
call fcn.005ea761
test eax, eax
jne 0x5ea8da
jmp 0x5ea8e1
mov eax, esi
jmp 0x5ea8f2
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5ea820
pop esi
leave
ret 4
Function at 0x4012a0
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3ab8
call fcn.0040ad60
mov eax, dword [0x41103c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
movzx ecx, cx
mov dword [ebp - 0x3aa0], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x3a9c], ecx
mov dword [ebp - 0x3a98], edx
mov dword [ebp - 0x3a94], eax
mov edi, edi
mov ecx, 0x3a84
cmp ebx, 0x3a84
ja 0x4012ef
mov ecx, ebx
sub ebx, ecx
mov esi, 0x1a2c
xor edi, edi
mov dword [ebp - 0x3a90], ecx
mov dword [ebp - 0x3ab0], ebx
mov dword [ebp - 0x3ab4], ecx
mov dword [ebp - 0x3aa8], esi
mov eax, 0x4c5b
test ecx, ecx
jle 0x4013cf
mov ecx, dword [ebp - 0x3aa0]
lea edx, [ebp - 0x3a8c]
sub ecx, edx
mov dword [ebp - 0x3aac], ecx
mov edx, esi
shr edx, 8
mov dword [ebp - 0x3aa4], edx
mov ebx, eax
shr ebx, 0x18
mov edx, eax
shr edx, 0x10
and bl, dl
mov edx, esi
mov ecx, eax
shr ecx, 8
and bl, cl
mov dword [ebp - 0x3ab8], ecx
mov ecx, esi
mov esi, dword [ebp - 0x3aac]
shr ecx, 0x18
shr edx, 0x10
and cl, dl
mov dl, byte [ebp - 0x3aa4]
xor bl, cl
mov ecx, dword [ebp - 0x3aa8]
and dl, cl
xor bl, dl
lea edx, [ebp + edi - 0x3a8c]
xor bl, byte [esi + edx]
lea esi, [eax*4]
xor esi, eax
add esi, esi
xor esi, eax
xor bl, al
and esi, 0xfffffff0
shl eax, 4
xor esi, eax
shl ecx, 0x18
or ecx, dword [ebp - 0x3ab8]
shl esi, 0x14
or esi, dword [ebp - 0x3aa4]
inc edi
mov byte [edx], bl
mov dword [ebp - 0x3aa8], esi
mov eax, ecx
cmp edi, dword [ebp - 0x3ab4]
jl 0x401331
mov ecx, dword [ebp - 0x3a90]
mov ebx, dword [ebp - 0x3ab0]
add dword [ebp - 0x3aa0], ecx
add ecx, 0x10
movzx esi, cx
lea edi, [ebp - 0x3a9c]
test si, si
je 0x401427
mov ecx, dword [ebp + 8]
push 0
movzx eax, si
push eax
push edi
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x401401
add edi, eax
sub esi, eax
jmp 0x401422
cmp eax, 0xffffffff
jne 0x401422
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
je 0x401443
cmp eax, 0x2744
je 0x401443
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
test si, si
jne 0x4013e6
test ebx, ebx
jne 0x4012e0
pop edi
pop esi
lea eax, [ebx + 1]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004030a6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004030a6
mov esp, ebp
pop ebp
ret
Function at 0x401460
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x41103c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x40149a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004030a6
mov esp, ebp
pop ebp
ret
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
je 0x40155b
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, 2
mov word [ebp - 0x14], ax
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx]
push ecx
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea edx, [ebp - 0x14]
push edx
push esi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x40150b
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004030a6
mov esp, ebp
pop ebp
ret
push 4
lea eax, [ebp - 0x24]
push eax
push 8
push EncodePointer
push esi
mov dword [ebp - 0x24], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x401559
push eax
push eax
lea ecx, [ebp - 0x24]
push ecx
push eax
push eax
push 0xc
lea edx, [ebp - 0x20]
push edx
push 0x98000004
push esi
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0x2bf20
mov dword [ebp - 0x18], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004030a6
mov esp, ebp
pop ebp
ret
Function at 0x401570
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x41103c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [0x40f270]
push esi
push edi
mov ecx, 0xb
mov esi, str._I_XN_JSBfl__iSXfak_x_A_SLzjaYjf_aS
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [str.__kzlAnbj]
push 0x58
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x298], eax
mov eax, dword [0x40f274]
lea ecx, [ebp - 0x280]
push 0
push ecx
movsw word es:[edi], word [esi]
mov dword [ebp - 0x288], edx
mov dword [ebp - 0x284], eax
call fcn.00407160
mov edx, dword [str.LKYjf_a]
mov eax, dword [0x40f27c]
mov cx, word [0x40f280]
push 0x59
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x228], edx
mov dl, byte [0x40f282]
lea eax, [ebp - 0x21d]
push 0
push eax
mov word [ebp - 0x220], cx
mov byte [ebp - 0x21e], dl
call fcn.00407160
push 0x190
lea ecx, [ebp - 0x1c4]
push 0
push ecx
call fcn.00407160
push 0x64
call fcn.00403173
add esp, 0x28
cmp byte [ebp - 0x34], 0
mov edi, eax
lea eax, [ebp - 0x34]
je 0x40164b
mov ecx, eax
lea ecx, [ecx]
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x401640
cmp byte [ebp + 8], 1
jne 0x401736
lea edx, [ebp - 0x290]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x34]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401736
push ebx
xor ebx, ebx
lea ecx, [ecx]
mov ecx, ebx
imul ecx, ecx, 0x64
lea esi, [ebp + ecx - 0x28c]
mov eax, esi
cmp byte [eax], 0
je 0x4016a0
mov ecx, esi
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x401695
mov eax, dword [ebp - 0x290]
lea edx, [ebp - 0x294]
push edx
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x294]
push ecx
push edi
call fcn.0040368f
mov edx, dword [ebp - 0x294]
push edx
push 0
push edi
call fcn.00407160
mov ecx, dword [ebp - 0x290]
add esp, 0x14
lea eax, [ebp - 0x294]
push eax
push edi
push 0
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40170c
test ebx, ebx
jne 0x40170c
mov edx, dword [ebp - 0x298]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x40171e
mov eax, dword [ebp - 0x298]
push 0x40f284
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
inc ebx
cmp ebx, 2
jl 0x401680
mov ecx, dword [ebp - 0x290]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.004030a6
mov esp, ebp
pop ebp
ret
Function at 0x401750
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x41103c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x9c
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.00407160
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [ebp - 0xa0]
push ecx
mov dword [ebp - 0xa0], 0x9c
call esi
test eax, eax
jne 0x4017bf
lea edx, [ebp - 0xa0]
push edx
mov dword [ebp - 0xa0], 0x94
call esi
test eax, eax
jne 0x4017bf
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004030a6
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x90]
sub eax, 2
mov eax, dword [ebp - 0x9c]
push ebx
jne 0x4017df
cmp eax, 5
je 0x4017db
cmp eax, 6
jne 0x4017df
mov bl, 1
jmp 0x4017e5
mov bl, byte [ebp - 0xa1]
mov ecx, dword [ebp - 0x98]
push ecx
push eax
push str._d._d
push edi
call fcn.004030b5
mov ecx, dword [ebp - 4]
add esp, 0x10
mov al, bl
pop ebx
xor ecx, ebp
pop esi
call fcn.004030a6
mov esp, ebp
pop ebp
ret
Function at 0x401810
Capabilities:
Get hostname
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x41103c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x104]
push ecx
mov ebx, 0x20141104
mov dword [ebp - 0x108], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0x288
mov dword [ebp - 0x108], 0x288
call fcn.00403173
mov esi, eax
add esp, 4
test esi, esi
jne 0x401875
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004030a6
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea edx, [ebp - 0x108]
push edx
push esi
call edi
mov eax, dword [ebp - 0x108]
push eax
push esi
call fcn.0040368f
add esp, 8
lea ecx, [ebp - 0x108]
mov esi, eax
push ecx
push esi
mov dword [ebp - 0x10c], esi
call edi
test eax, eax
je 0x4018bf
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004030a6
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x401974
jmp 0x4018d0
xor edi, edi
cmp dword [esi + 0x190], edi
jbe 0x401938
lea ebx, [ebx]
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4018f0
sub eax, edx
cmp eax, 0xe6
ja 0x401938
movzx edx, byte [esi + edi + 0x194]
push edx
lea eax, [ebp + eax - 0x104]
push str._2.2X
push eax
call fcn.004030b5
mov al, byte [esi + edi + 0x194]
add esp, 0xc
test al, al
je 0x40192f
movzx ecx, al
imul ebx, ecx
inc edi
cmp edi, dword [esi + 0x190]
jb 0x4018e0
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401941
sub eax, edx
cmp eax, 0xe6
ja 0x401974
lea edx, [esi + 8]
push edx
lea eax, [ebp + eax - 0x104]
push 0x40f298
push eax
call fcn.004030b5
mov esi, dword [esi]
add esp, 0xc
test esi, esi
jne 0x4018d0
mov ecx, dword [ebp - 0x10c]
push ecx
call fcn.00403139
lea eax, [ebp - 0x104]
add esp, 4
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401990
sub eax, edx
push eax
lea edx, [ebp - 0x104]
push edx
mov edx, ebx
lea ecx, [ebp - 0x10c]
call fcn.004010c0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10c]
add esp, 8
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004030a6
mov esp, ebp
pop ebp
ret
Function at 0x4019d0
Capabilities:
Get hostname
Get session user name
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x778
mov eax, dword [0x41103c]
xor eax, ebp
mov dword [ebp - 8], eax
push edi
lea eax, [ebp - 0x774]
push eax
lea ecx, [ebp - 0xdc]
push ecx
mov dword [ebp - 0x774], 0x14
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea edi, [ebp - 0x74]
call fcn.00401750
mov byte [ebp - 0x770], al
mov eax, dword [ebp - 0x770]
mov edx, edi
push edx
push eax
call fcn.00401570
mov ecx, edi
push ecx
lea edx, [ebp - 0xdc]
push edx
lea eax, [ebp - 0x4bc]
push str._s__s
push eax
call fcn.004030b5
lea eax, [ebp - 0x4bc]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401a46
lea ecx, [ebp - 0x76c]
sub eax, edx
push ecx
inc eax
push 2
mov dword [ebp - 0x4c0], eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x401a9f
push 0xff
lea edx, [ebp - 0x5dc]
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x401a99
lea eax, [ebp - 0x5dc]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x401a99
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov ecx, dword [edx]
jmp 0x401aa1
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor ecx, ecx
mov eax, 0x45e7b273
imul dword [0x411f68]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x4c0]
mov dword [ebp - 0x4c4], eax
push edx
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x4d4], ecx
mov edx, ecx
push eax
lea ecx, [ebp - 0x4dc]
call fcn.004010c0
call fcn.00401810
mov edx, dword [ebp - 0x4c0]
lea ecx, [ebp - 0x4dc]
push ecx
mov ecx, dword [ebp + 8]
add edx, 0x20
push edx
push 0
push ecx
mov edx, eax
mov ecx, 0x9e2
mov dword [ebp - 0x4dc], eax
mov dword [0x412d08], eax
call fcn.004012a0
mov ecx, dword [ebp - 8]
add esp, 0x18
xor ecx, ebp
pop edi
call fcn.004030a6
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 0xc]
mov esi, eax
test eax, eax
je 0x401b8a
mov ebx, dword [sym.imp.WS2_32.dll_recv]
mov eax, dword [ebp + 8]
push 0
push esi
push edi
push eax
call ebx
test eax, eax
jle 0x401b5b
add edi, eax
sub esi, eax
jmp 0x401b7c
cmp eax, 0xffffffff
jne 0x401b88
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2746
je 0x401b88
cmp eax, 0x2744
je 0x401b88
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
jne 0x401b47
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret