joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f9f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x457664]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x100
push 0
push eax
xor bl, bl
xor bh, bh
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
je 0x42fa96
cmp dword [ebp + 0xc], 0
je 0x42fa96
push 0x100
push 0x530dd8
push 0x100
lea eax, [ebp - 0x104]
push eax
call fcn.004056e0
push esi
nop dword [eax + eax]
inc bl
lea esi, [ebp - 0x104]
movzx eax, bl
lea edi, [edi + 1]
add esi, eax
mov dl, byte [esi]
add bh, dl
movzx eax, bh
mov cl, byte [ebp + eax - 0x104]
mov byte [ebp + eax - 0x104], dl
mov byte [esi], cl
movzx eax, byte [ebp + eax - 0x104]
add al, cl
movzx eax, al
movzx eax, byte [ebp + eax - 0x104]
xor byte [edi - 1], al
sub dword [ebp + 0xc], 1
jne 0x42fa50
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00441849
mov esp, ebp
pop ebp
ret 8

Function at 0x42fab0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x457664]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x42fb7e
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x42fb7d
push 0x100
lea eax, [ebp - 0x104]
mov byte [ebp - 0x105], 0
push 0
push eax
mov byte [ebp - 0x106], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x104]
push 0x100
push 0x530dd8
push 0x100
push eax
call fcn.004056e0
push esi
nop dword [eax + eax]
mov al, byte [ebp - 0x105]
lea esi, [ebp - 0x104]
inc al
lea edi, [edi + 1]
mov byte [ebp - 0x105], al
movzx eax, al
add esi, eax
mov al, byte [ebp - 0x106]
mov dl, byte [esi]
add al, dl
mov byte [ebp - 0x106], al
movzx eax, al
mov cl, byte [ebp + eax - 0x104]
mov byte [ebp + eax - 0x104], dl
mov byte [esi], cl
movzx eax, byte [ebp + eax - 0x104]
add al, cl
movzx eax, al
movzx eax, byte [ebp + eax - 0x104]
xor byte [edi - 1], al
sub ebx, 1
jne 0x42fb20
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00441849
mov esp, ebp
pop ebp
ret 8
Function at 0x4326e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x11c4
call fcn.00441cb0
mov eax, dword [0x457664]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push edi
push 0
push 0
push 0
push eax
mov dword [ebp - 0x11c4], 0
mov dword [ebp - 0x11c0], 0
mov dword [ebp - 0x3c], 0xe448e482
mov dword [ebp - 0x38], 0x546efee
mov dword [ebp - 0x34], 0xd1464a74
mov dword [ebp - 0x30], 0x464e78
mov dword [ebp - 0x2c], 0x3546c66c
mov dword [ebp - 0x28], 0xdf463f61
mov dword [ebp - 0x24], 0x83410a52
mov dword [ebp - 0x20], 0x7d41dd46
mov word [ebp - 0x1c], 0x663b
mov dword [ebp - 0x18], 0xe450e3c4
mov dword [ebp - 0x14], 0x1d46efee
mov word [ebp - 0x10], 0xa574
mov dword [ebp - 0xc], 0x1b551b5e
mov word [ebp - 8], 0xf681
mov byte [ebp - 6], 0x46
call fcn.0041fef0
test esi, esi
je 0x432906
call fcn.00414b70
mov edi, eax
test edi, edi
je 0x432906
push 0x1000
lea eax, [ebp - 0x11bc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x11bc]
push 0x1000
push eax
push esi
call edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x11bc]
push eax
lea eax, [ebp - 0x11c0]
push eax
call fcn.0041e480
cmp eax, 1
je 0x4327ee
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00441849
mov esp, ebp
pop ebp
ret 4
push 0x100
lea eax, [ebp - 0x1bc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push dword [ebp - 0x11c0]
lea eax, [ebp - 0x1bc]
push 1
push 0x80
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push dword [ebp - 0x11c0]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x20
push dword [ebp - 0x11c0]
test eax, eax
je 0x432855
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [ebp - 0x11c4]
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00441849
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
lea eax, [ebp - 0x1bc]
push 0x80
push eax
call fcn.0042f9f0
push 0x80
lea eax, [ebp - 0xbc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x3c]
push 0
push 0
push 0
push eax
call fcn.004201b0
push 0
push 0
mov edi, eax
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.004201b0
push edi
mov esi, eax
lea eax, [ebp - 0xbc]
push 0x40
push eax
call fcn.0041eb80
push esi
push 0x40
lea eax, [ebp - 0xbc]
push eax
call fcn.0041eb80
lea eax, [ebp - 0x11c4]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.00432920
add esp, 0xc
push edi
call fcn.0041fc30
push esi
call fcn.0041fc30
mov eax, dword [ebp - 0x11c4]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00441849
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, 0x259
pop edi
xor ecx, ebp
pop esi
call fcn.00441849
mov esp, ebp
pop ebp
ret 4
Function at 0x436da0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
pop ebp
ret 4

Function at 0x4383e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
call fcn.0041ac90
mov dword [0x530f2c], eax
test eax, eax
je 0x438463
call fcn.00414f30
mov dword [0x530f30], eax
test eax, eax
je 0x438463
call fcn.004149b0
mov dword [0x530f34], eax
test eax, eax
je 0x438463
call fcn.00417fc0
mov dword [0x530f38], eax
test eax, eax
je 0x438463
call fcn.0041b240
mov dword [0x530f3c], eax
test eax, eax
je 0x438463
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x530f28], eax
test eax, eax
je 0x438463
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x438de0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x439480
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00437eb0

Function at 0x439490
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00437fe0

Function at 0x4394a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00437a10
Function at 0x4396b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
push esi
push edi
test eax, eax
je 0x4397d6
cmp dword [ebp + 0xc], 0
je 0x4397d6
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4397d6
call fcn.00414440
test eax, eax
je 0x4397d6
push 0
push 0
push 0
push 2
push 0
push esi
call eax
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
je 0x4397d6
call fcn.00418dd0
mov edi, eax
test edi, edi
je 0x4397d6
call fcn.0041b960
mov dword [ebp + 8], eax
test eax, eax
je 0x4397d6
push 0
push 0
push 0
push 4
push esi
call edi
mov dword [ebp - 8], eax
test eax, eax
je 0x4397d6
mov ecx, 0x5a4d
push ebx
cmp word [eax], cx
jne 0x4397c0
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4397c0
movzx esi, word [ebx + 0x14]
xor eax, eax
add esi, 0x18
xor edi, edi
add esi, ebx
cmp ax, word [ebx + 6]
jae 0x4397a5
nop
push dword [ebp + 0xc]
push esi
call sub.VCRUNTIME140.dll_strstr
add esp, 8
test eax, eax
jne 0x43979e
movzx eax, word [ebx + 6]
inc edi
add esi, 0x28
cmp edi, eax
jl 0x439780
jmp 0x4397a5
mov dword [ebp - 4], 1
push dword [ebp - 8]
call dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push eax
call dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x43a020
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x457664]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [0x457438]
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x24], 0
call fcn.00440150
push dword [0x45743c]
mov dword [ebp - 0x30], eax
call fcn.00440150
push edi
push 0xd
push esi
push ebx
mov dword [ebp - 0x34], eax
call fcn.0043a220
push dword [0x457440]
call fcn.00440150
push 1
xor ebx, ebx
mov dword [ebp - 0x2c], eax
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x43a0d3
push 4
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x43a0ca
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x43a0c1
cmp dword [ebp - 0x1c], 4
mov eax, 1
cmove ebx, eax
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x2c]
call fcn.004401e0
test ebx, ebx
jne 0x43a0eb
mov dword [ebp - 0x28], 0x21
jmp 0x43a188
push edi
call fcn.0043f860
mov esi, eax
test esi, esi
je 0x43a188
push edi
push dword [ebp - 0x30]
push esi
call fcn.0043fbc0
test eax, eax
jne 0x43a188
push edi
push esi
call fcn.0043fb60
test eax, eax
je 0x43a188
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop word [eax + eax]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x34]
push esi
call fcn.0043fba0
test eax, eax
je 0x43a152
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x43a145
push eax
call ebx
add esp, 4
mov dword [ebp - 0x24], 0
push edi
push esi
call fcn.0043fb60
test eax, eax
jne 0x43a120
jmp 0x43a188
push edi
push dword [ebp - 0x24]
call fcn.0043a420
test eax, eax
je 0x43a174
push edi
push 0xc
push dword [ebp - 0x24]
push dword [ebp - 0x40]
call fcn.0043a4b0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x43a188
push eax
call ebx
add esp, 4
mov dword [ebp - 0x24], 0
push esi
call fcn.0043fae0
push dword [ebp - 0x30]
call fcn.004401e0
push dword [ebp - 0x34]
call fcn.004401e0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00441849
mov esp, ebp
pop ebp
ret 8
Function at 0x43b3f0
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x457664]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x80c], esi
mov dword [ebp - 0x808], 0
test edi, edi
je 0x43b521
test ebx, ebx
je 0x43b521
test esi, esi
je 0x43b521
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x808]
push 0
push eax
push 0x800
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43b521
cmp dword [ebp - 0x808], 0
je 0x43b521
mov eax, 0x5a4d
cmp word [ebp - 0x804], ax
jne 0x43b521
lea esi, [ebp - 0x804]
add esi, dword [ebp - 0x7c8]
cmp dword [esi], 0x4550
jne 0x43b521
mov eax, 0x10b
cmp word [esi + 0x18], ax
movzx eax, word [esi + 6]
mov dword [edi], eax
lea eax, [eax + eax*4]
shl eax, 3
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebx], eax
test eax, eax
je 0x43b521
mov ecx, dword [edi]
lea ecx, [ecx + ecx*4]
shl ecx, 3
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi]
lea eax, [eax + eax*4]
shl eax, 3
push eax
movzx eax, word [esi + 0x14]
add eax, 0x18
add eax, esi
push eax
push dword [ebx]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x18
push 0
push 0
push 0
push dword [ebp - 0x80c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00441849
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00441849
mov esp, ebp
pop ebp
ret 0xc
Function at 0x440150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4401d1
cmp byte [esi], 0xbc
push edi
jne 0x440189
cmp byte [esi + 1], 0xbd
jne 0x440189
push 0
lea eax, [esi + 2]
push eax
call fcn.0043a400
push 0
push esi
mov edi, eax
call fcn.0043a420
mov byte [eax + edi - 4], 0
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
xor edi, edi
push edi
push esi
call fcn.0043a420
inc eax
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, eax
add esp, 4
mov al, byte [esi]
xor al, 0x23
mov byte [edx], al
cmp byte [esi], 0
je 0x4401c5
mov ecx, edx
sub ecx, esi
nop
mov al, byte [esi + 1]
lea esi, [esi + 1]
dec al
inc edi
xor al, byte [ecx + esi - 1]
mov byte [ecx + esi], al
cmp byte [esi], 0
jne 0x4401b0
mov byte [edi + edx], 0
mov eax, edx
pop edi
pop esi
pop ebp
ret 4
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x440870
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov eax, dword [0x457664]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
xor esi, esi
mov dword [ebp - 0x1a8], ecx
mov ecx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x1a4], ecx
cmp dword [0x5312cc], esi
jne 0x4408de
lea eax, [ebp - 0x19c]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4408cb
push 0x441410
call fcn.00439820
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1a4]
mov dword [0x5312cc], 0xffffffff
mov dword [ebp - 0x1a0], esi
cmp dword [ebp - 0x1a8], esi
je 0x440a07
test ecx, ecx
je 0x440a07
cmp eax, 0xffff
ja 0x440a07
push eax
push 0x443420
lea eax, [ebp - 0xc]
push 6
push eax
call fcn.0043ce40
xorps xmm0, xmm0
add esp, 0x10
xor eax, eax
movups xmmword [ebp - 0x1c8], xmm0
movups xmmword [ebp - 0x1b8], xmm0
test edi, edi
je 0x44095d
mov eax, dword [edi + 4]
test eax, eax
je 0x440943
cmp eax, 2
je 0x440943
cmp eax, 0x17
jne 0x440a07
mov dword [ebp - 0x1c4], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x1c0], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x1bc], eax
mov eax, dword [edi]
or eax, 8
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x1a4]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x44098f
mov edi, 2
jmp 0x440a0c
push 0x20
push 1
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov edx, dword [ebp - 0x1a0]
mov esi, eax
add esp, 8
mov eax, dword [edx + 0x18]
movzx ecx, word [eax]
test cx, cx
jne 0x4409ba
push ebx
mov dword [esi], 0x10
push 0x10
jmp 0x4409cd
cmp ecx, 2
je 0x4409af
cmp ecx, 0x17
jne 0x440a00
push ebx
mov dword [esi], 0x1c
push 0x1c
push eax
lea eax, [esi + 4]
push eax
call fcn.0043a1c0
push dword [ebp - 0x1a0]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [ebp - 0x1a8]
pop edi
mov dword [eax], esi
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00441849
mov esp, ebp
pop ebp
ret 0x14
push edx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov edi, 1
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00441849
mov esp, ebp
pop ebp
ret 0x14
Function at 0x440a30
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x457664]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x440a5f
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00441849
mov esp, ebp
pop ebp
ret 0x14
cmp dword [0x5312cc], 0
jne 0x440a92
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x440a88
push 0x441410
call fcn.00439820
mov dword [0x5312cc], 0xffffffff
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x440ac0
pop edi
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00441849
mov esp, ebp
pop ebp
ret 0x14
push 0xc
push 1
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov dword [eax], edi
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
call fcn.00441849
mov esp, ebp
pop ebp
ret 0x14

Function at 0x440b50
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x440ba4
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x440ba4
mov edx, dword [eax]
test edx, edx
je 0x440ba4
push edx
add eax, 4
push eax
push dword [ecx]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x440b9e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2734
je 0x440b95
cmp eax, 0x2733
je 0x440b95
mov eax, 2
pop ebp
ret 0xc
mov eax, 0x1b
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
mov eax, 1
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
test eax, eax
je 0x440e39
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x440e39
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x440e39
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x440e39
push 0
push dword [esi]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x440e30
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
mov ecx, 2
mov edx, 0x1b
cmove ecx, edx
mov eax, ecx
pop esi
pop ebp
ret 0x10
mov dword [esi], eax
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x440e50
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
je case.0x440e84.4
mov ecx, dword [edi]
cmp ecx, 0xffffffff
je case.0x440e84.4
mov eax, dword [ebp + 0x10]
test eax, eax
je case.0x440e84.4
mov edx, dword [ebp + 0xc]
cmp edx, 4
ja case.0x440e84.4
jmp dword [edx*4 + 0x440f7c]
mov ax, word [eax]
mov edx, 1
push 4
mov word [ebp + 0xa], ax
lea eax, [ebp + 8]
push eax
push 0x80
push 0xffff
push ecx
mov word [ebp + 8], dx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x440f73
mov esi, 2
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x10
mov eax, dword [eax]
push 4
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x440f73
mov esi, 2
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x10
mov eax, dword [eax]
push 4
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 8
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x440f73
mov esi, 2
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x10
cmp dword [eax], esi
lea eax, [ebp + 8]
push eax
push 0x8004667e
push ecx
je 0x440f52
mov dword [ebp + 8], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x440eba
mov eax, 1
mov dword [edi + 4], eax
mov eax, esi
pop edi
pop esi
pop ebp
ret 0x10
mov dword [ebp + 8], esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x440eba
mov dword [edi + 4], eax
mov eax, esi
pop edi
pop esi
pop ebp
ret 0x10
mov esi, 1
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x10

Function at 0x440f90
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
test eax, eax
je 0x440fe9
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x440fe9
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x440fe9
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x440fe9
push 0
push dword [esi]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x440fe0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
mov ecx, 2
mov edx, 0x1b
cmove ecx, edx
mov eax, ecx
pop esi
pop ebp
ret 0x10
mov dword [esi], eax
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x442324
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x442363
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x442363
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x442363
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x442363
cmp dword [ecx + 0x74], 0xe
jbe 0x442363
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x632b08
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0043a5a8
call fcn.00434e14
mov dword [ebp - 0x10], eax
push 0
push 1
push 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_CreateBitmap
mov dword [ebp - 0x1c], eax
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetBkColor
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
test eax, eax
jl 0x632bd7
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [eax + edx*4]
call fcn.00432e54
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SetBkColor
cmp dword [ebp - 0x24], 0
sete al
and eax, 0x7f
mov eax, dword [eax*4 + 0x6b5f48]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
push eax
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.gdi32.dll_BitBlt
inc dword [ebp - 0x24]
dec dword [ebp - 0x28]
jne 0x632b7a
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SetBkColor
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x18]
push eax
call sub.gdi32.dll_DeleteDC
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0043b648
mov esp, ebp
pop ebp
ret 0xc
Function at 0x63fd64
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004056e0
xor eax, eax
push ebp
push 0x63fe47
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
lea eax, [ebp - 0x50]
mov edx, 0x44
call fcn.004abe10
lea eax, [ebp - 0x60]
mov edx, 0x10
call fcn.004abe10
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 1
mov ax, word [ebp - 8]
mov word [ebp - 0x20], ax
lea eax, [ebp - 4]
call fcn.00405740
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004056f0
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
je 0x63fe31
push 0xffffffffffffffff
mov eax, dword [ebp - 0x60]
push eax
call sub.user32.dll_WaitForInputIdle
push 0xffffffffffffffff
mov eax, dword [ebp - 0x60]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
test eax, eax
jne 0x63fe1f
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x60]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
test eax, eax
jne 0x63fe1f
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 0x5c]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
mov eax, dword [ebp - 0x60]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63fe4e
lea eax, [ebp - 4]
call fcn.00405214
ret