joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015ea0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
cmp byte [ebp + 0x10], 0
push ebx
jne 0x10015ec4
mov ebx, dword [ebp + 8]
push eax
call fcn.100153c0
test al, al
jne 0x10015ec4
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [ebp + 0xc]
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10015ed0
push esi
sub eax, edx
mov esi, eax
push edi
push esi
mov dword [ebp + 0xc], esi
call fcn.1001bf04
lea ecx, [ebp + 0xc]
push ecx
mov edi, eax
push edi
push esi
push ebx
call fcn.100121b0
add esp, 0x14
test al, al
jne 0x10015f0f
push edi
call fcn.1001c5f4
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
xor eax, eax
push edx
push edi
lea esi, [ebp - 0x78]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x28], 0x67452301
mov dword [ebp - 0x24], 0xefcdab89
mov dword [ebp - 0x20], 0x98badcfe
mov dword [ebp - 0x1c], 0x10325476
mov dword [ebp - 0x18], 0xc3d2e1f0
mov byte [ebp - 0x78], al
call fcn.100122c0
cmp byte [ebp - 0x78], 0
jne 0x10015f58
call fcn.10012860
mov eax, dword [ebp - 0x28]
movzx edx, word [ebp - 0x28]
shr eax, 0x10
rol ax, 8
rol dx, 8
movzx ecx, ax
movzx eax, dx
shl eax, 0x10
or ecx, eax
movzx eax, word [ebp - 0x24]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x24]
shr ecx, 0x10
rol cx, 8
rol ax, 8
movzx edx, cx
movzx ecx, ax
shl ecx, 0x10
or edx, ecx
mov cx, word [ebp - 0x20]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x20]
shr edx, 0x10
rol dx, 8
rol cx, 8
movzx eax, dx
movzx edx, cx
shl edx, 0x10
or eax, edx
movzx edx, word [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
rol ax, 8
rol dx, 8
movzx ecx, ax
movzx eax, dx
shl eax, 0x10
or ecx, eax
movzx eax, word [ebp - 0x18]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x18]
shr ecx, 0x10
rol cx, 8
movzx edx, cx
rol ax, 8
movzx ecx, ax
shl ecx, 0x10
or edx, ecx
push edi
mov dword [ebp - 4], edx
call fcn.1001c5f4
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x14]
push 0x14
push ecx
mov dword [ebp + 0xc], 0x40
call fcn.10012090
mov bl, byte [ebp + 0x10]
mov edx, dword [ebp + 0xc]
add esp, 0x14
mov byte [ebp + edx - 0xb8], 0
mov eax, 0x1002c3b8
test bl, bl
jne 0x1001603a
mov eax, 0x1002c3d0
mov edi, dword [ebp + 8]
push 0
push eax
call fcn.100158d0
push 1
lea eax, [ebp - 0xb8]
push eax
call fcn.100158d0
test bl, bl
je 0x1001605c
call fcn.100159b0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10002460
Capabilities:
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push 0x208
push 0
push eax
mov ebx, edx
mov esi, ecx
call fcn.10008fa0
push esi
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.10004ae2
add esp, 0x18
test eax, eax
je 0x100024bc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100044a4
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.10004a76
add esp, 0xc
test eax, eax
jne 0x100024a9
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10004ae2
add esp, 0xc
test eax, eax
jne 0x100024a9
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10004a76
add esp, 0xc
test eax, eax
jne 0x100024a9
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x100024a9
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x10002543
push 0x80
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100044a4
mov esp, ebp
pop ebp
ret

Function at 0x10002560
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov edi, ecx
push 0x206
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.10008fa0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.10008fa0
push edi
lea eax, [ebp - 0x418]
push 0x104
push eax
call fcn.10004ae2
push str..
lea eax, [ebp - 0x418]
push 0x104
push eax
call fcn.10004a76
add esp, 0x30
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000267f
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, edi
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.10008fa0
push edi
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.10004ae2
push 0x10017a00
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.10004a76
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.10004a76
add esp, 0x30
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0x668]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10002600
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100044a4
mov esp, ebp
pop ebp
ret
Function at 0x100026a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x20c]
push esi
push 0x104
push eax
push 0x100176a0
push 0x10017a04
push str.Strings
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x100026f1
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100044a4
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10004a76
add esp, 0xc
test eax, eax
jne 0x100026df
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x10017a04
push str.Strings
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x100026df
push esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x100176a0
push str.BJNP_PORT_NET
push str.Strings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x100026df
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10004a76
add esp, 0xc
test eax, eax
jne 0x100026df
push esi
lea eax, [ebp - 0x20c]
push eax
push str.BJNP_PORT_NET
push str.Strings
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
neg eax
pop esi
sbb eax, eax
xor ecx, ebp
neg eax
pop ebx
call fcn.100044a4
mov esp, ebp
pop ebp
ret
Function at 0x100027a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push 0x208
mov dword [ebp - 0x210], eax
mov ebx, edx
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.10008fa0
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x104
push eax
push 0x100176a0
push 0x10017a04
push str.Strings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x10002810
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100044a4
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10004a76
add esp, 0xc
test eax, eax
jne 0x100027fe
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x20c]
push esi
push eax
push 0x10017a04
push str.Strings
call edi
test eax, eax
je 0x100029b7
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10008fa0
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x104
push eax
push 0x100176a0
push str.CHMPMDLKEYNet
push str.Strings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x100029b7
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10004a76
add esp, 0xc
test eax, eax
jne 0x100029b7
push esi
lea eax, [ebp - 0x20c]
push eax
push str.CHMPMDLKEYNet
push str.Strings
call edi
test eax, eax
je 0x100029b7
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10008fa0
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x104
push eax
push 0x100176a0
push str.CHMP_PORT_NET
push str.Strings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x100029b7
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10004a76
add esp, 0xc
test eax, eax
jne 0x100029b7
push esi
lea eax, [ebp - 0x20c]
push eax
push str.CHMP_PORT_NET
push str.Strings
call edi
test eax, eax
je 0x100029b7
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10008fa0
mov eax, dword [ebp - 0x210]
add esp, 0xc
test eax, eax
je 0x1000298b
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10004ae2
add esp, 0xc
test eax, eax
jne 0x100029b7
push esi
lea eax, [ebp - 0x20c]
push eax
push str.CNC.IP
push str.Strings
call edi
test eax, eax
je 0x100029b7
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10008fa0
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10004ae2
add esp, 0x18
test eax, eax
je 0x100029ca
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100044a4
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x20c]
push eax
push str.CNC.MAC
push str.Strings
call edi
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
pop esi
neg eax
pop ebx
call fcn.100044a4
mov esp, ebp
pop ebp
ret
Function at 0x10002a00
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
xor esi, esi
test edi, edi
jne 0x10002a2f
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100044a4
mov esp, ebp
pop ebp
ret
push 0x208
push 0
push edi
call fcn.10008fa0
push 0x20a
lea eax, [ebp - 0x41c]
push 0
push eax
call fcn.10008fa0
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.10008fa0
add esp, 0x24
lea eax, [ebp - 0x41c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x10002ac6
push str.TWSETUP
push 0
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHELL32.dll_PathYetAnotherMakeUniqueName]
mov esi, eax
test esi, esi
je 0x10002ac6
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
je 0x10002ac6
lea eax, [ebp - 0x210]
push eax
push 0x104
push edi
call fcn.10004ae2
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.100044a4
mov esp, ebp
pop ebp
ret
Function at 0x100031f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 0x418], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
mov dword [ebp - 0x41c], ecx
call fcn.10008fa0
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x10003262
pop esi
mov eax, 0x12007f
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100044a4
mov esp, ebp
pop ebp
ret
push edi
push 0x10017b94
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.10004a76
push esi
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.10004a76
push str._twsetup3.dll
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.10004a76
add esp, 0x24
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x100033b9
push 0x10017bac
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x100033b2
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10008fa0
push 0x20
push ebx
call fcn.100044b3
add esp, 0x14
test eax, eax
je 0x1000337e
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10004ae2
push str.__IP:
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10004a76
push dword [ebp - 0x41c]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10004a76
push str.__DEVICEDEPEND
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10004a76
push str.__DEVICENAME:
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10004a76
push dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10004a76
add esp, 0x48
jmp 0x10003387
xor eax, eax
mov word [ebp - 0x20c], ax
push 0
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
call esi
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100044a4
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, 0x12007f
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100044a4
mov esp, ebp
pop ebp
ret
Function at 0x10009bee
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esi + 0x25fffffc], edi
lea eax, [ebp - 0x354]
push eax
call fcn.1000936c
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10009321
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
inc dword [ebx]
Function at 0x402446
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
test ebx, ebx
jne 0x40245f
push 1
pop eax
jmp 0x4024d4
mov eax, dword [0x409498]
push 0
mov dword [ebp - 0x100], eax
push 0
lea eax, [ebp - 0x104]
push 0
push eax
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp - 0x104], 1
push eax
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x4024cd
test eax, eax
je 0x40245f
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x40245f
mov eax, ebx
push 0
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x4024cd
cmp eax, 0xffffffff
je 0x4024cd
add esi, eax
cmp esi, ebx
jb 0x40245f
xor eax, eax
cmp esi, ebx
sete al
pop esi
pop ebx
leave
ret

Function at 0x402c2e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push ebx
push 0x80
push 4
push ebx
push 2
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402ca3
push edi
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
xor eax, eax
lea edi, [ebp - 0xb]
mov byte [ebp - 0xc], bl
mov dword [ebp + 8], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, dword [ebp + 0xc]
cmp edi, ebx
jbe 0x402c9b
lea eax, [ebp - 0xc]
push 0xa
push eax
call fcn.00401bc2
pop ecx
lea eax, [ebp + 8]
pop ecx
push ebx
push eax
lea eax, [ebp - 0xc]
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
dec edi
jne 0x402c79
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4039cf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, str.Serpiei
mov edi, eax
push esi
call fcn.00403061
test eax, eax
pop ecx
je 0x403a23
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0xc], 0x403756
call edi
pop edi
xor eax, eax
pop esi
leave
ret 0x10
and byte [ebp - 0x114], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
jmp loc.00410000

Function at 0x403ce0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x134
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push edi
push str.GetSystemDirectoryA
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call edi
push str.lstrcatA
push str.KERNEL32.dll
mov ebx, eax
call esi
push eax
call edi
push str.lstrcpyA
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
mov esi, eax
lea eax, [esp + 0x40]
push 0x104
push eax
call ebx
mov al, 0x65
mov dl, 0x74
mov byte [esp + 0x1c], al
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], al
mov byte [esp + 0x25], al
mov byte [esp + 0x26], dl
mov byte [esp + 0x2e], al
mov byte [esp + 0x32], al
mov byte [esp + 0x38], al
mov byte [esp + 0x3a], al
mov byte [esp + 0x3c], al
mov cl, 0x72
mov bl, 0x6c
mov dl, 0x78
xor al, al
mov byte [esp + 0x10], 0x5c
mov byte [esp + 0x11], 0x50
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], 0x6f
mov byte [esp + 0x14], 0x67
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], 0x61
mov byte [esp + 0x17], 0x6d
mov byte [esp + 0x18], 0x20
mov byte [esp + 0x19], 0x46
mov byte [esp + 0x1a], 0x69
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], 0x5c
mov byte [esp + 0x1f], 0x49
mov byte [esp + 0x20], 0x6e
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], 0x6e
mov byte [esp + 0x27], 0x20
mov byte [esp + 0x28], 0x45
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x70
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0x6f
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x30], 0x5c
mov byte [esp + 0x31], 0x69
mov byte [esp + 0x33], dl
mov byte [esp + 0x34], 0x70
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x6f
mov byte [esp + 0x37], cl
mov byte [esp + 0x39], 0x2e
mov byte [esp + 0x3b], dl
mov byte [esp + 0x3d], al
mov byte [esp + 0x42], al
lea ecx, [esp + 0x10]
lea edx, [esp + 0x40]
push ecx
push edx
call ebp
mov ecx, dword [esp + 0x148]
lea eax, [esp + 0x40]
push eax
push ecx
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x134
ret
Function at 0x405710
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40572e
or eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x40576f
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x72d038d5
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x52657f45
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x6440a570
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.6441ab80
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.6441ab80
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x6440a5d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x6452e054]
test esi, esi
jle 0x6440a6f0
mov eax, dword [0x6452e058]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x6440a604
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x6440a687
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x6440a5f0
mov dword [esp], ebx
call fcn.6440ad30
mov edi, eax
test eax, eax
je 0x6440a717
mov eax, dword [0x6452e058]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.6440ae70
mov edx, dword [0x6452e058]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6440a6f7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x6440a680
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x6440a690
add dword [0x6452e054], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 0x40
mov eax, 4
mov ecx, dword [esp + 0x20]
cmovne eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x6452e058]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x6440a680
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.6440a570
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x6440a60e
mov eax, dword [0x6452e058]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.6440a570
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.6440a570
lea esi, [esi]
nop