joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408f0d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
movsb byte es:[edi], byte [esi]
add byte [eax], al
add byte [eax - 0x78b5b], al
inc dword [eax]
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.00407399
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.004072fa
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x409301
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.00407389
stosd dword es:[edi], eax
shl byte [esp + ecx*4], 0xff
mov ch, 0x60
cld
invalid

Function at 0x40aceb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
dec ecx
movzx eax, byte [ecx]
test eax, eax
je 0x40acf1
mov dword [esi], eax
lea eax, [ecx - 1]
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x7c2f78]
test edx, edx
jne 0x40ad16
mov dword [esi], 1
xor eax, eax
jmp 0x40ad3c
movzx ecx, byte [edx + 0x7c3078]
movzx esi, byte [eax]
not ecx
and ecx, esi
jmp 0x40ad34
dec eax
movzx esi, byte [eax]
shl ecx, 6
xor esi, 0x3f
or esi, ecx
mov ecx, esi
dec edx
jne 0x40ad26
mov edx, dword [ebp + 8]
mov dword [edx], ecx
pop esi
pop ebp
ret
Function at 0x40b786
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [edi]
test eax, eax
push ebx
push esi
jne 0x40b7fc
mov eax, dword [0x82b914]
test eax, eax
jne 0x40b79f
or eax, 0xffffffff
jmp 0x40b8bf
cmp dword [eax + 8], 1
jne 0x40b7e9
cmp dword [eax + 0xc], 1
jne 0x40b7e9
mov esi, dword [eax + 0x10]
push 0xfffffffffffffff8
pop edx
mov ecx, esi
and ecx, edx
lea ecx, [ecx + eax + 0x14]
mov ebx, dword [ecx]
and esi, edx
and ebx, edx
cmp esi, ebx
jne 0x40b7e9
mov cl, byte [ecx]
and cl, 7
lea edx, [eax + 0x14]
movzx eax, byte [eax + 0x10]
shl cl, 4
movzx ecx, cl
and eax, 7
or ecx, eax
mov dword [edi], edx
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
push 0xfffffffffffffffe
jmp 0x40b8be
push str.mad_heap_beginning
call dword [0x7c2a44]
pop ecx
push 0xfffffffffffffffd
jmp 0x40b8be
mov ecx, eax
and cl, 7
cmp cl, 4
je 0x40b819
push str.misaligned__heapwalk_address
call dword [0x7c2a44]
pop ecx
push 0xfffffffffffffffa
jmp 0x40b8be
call fcn.0040ac1e
mov ecx, dword [eax]
push 0xfffffffffffffff8
pop edx
mov esi, ecx
and esi, edx
add eax, esi
mov esi, dword [eax + 4]
xor esi, ecx
test edx, esi
je 0x40b839
push str.invalid__heapwalk_block
jmp 0x40b80b
lea esi, [eax + 8]
jmp 0x40b84a
mov eax, dword [esi + 4]
mov esi, dword [eax]
test esi, esi
je 0x40b8ac
add esi, 0x10
cmp dword [esi], 1
je 0x40b83e
mov ecx, dword [esi]
mov eax, ecx
and eax, edx
lea eax, [eax + esi + 4]
mov ebx, dword [eax]
and ecx, edx
and ebx, edx
cmp ecx, ebx
jne 0x40b8b0
mov al, byte [eax]
and al, 7
shl al, 4
movzx eax, al
mov dword [edi + 4], ecx
movzx ecx, byte [esi]
and ecx, 7
or eax, ecx
mov dword [edi + 8], eax
mov eax, dword [esi]
and al, 1
neg al
lea edx, [esi + 4]
mov dword [edi], edx
sbb eax, eax
not eax
test esi, eax
jne 0x40b7e2
mov ecx, esi
call fcn.0040af49
test al, al
je 0x40b8bc
mov ecx, esi
call fcn.0040adba
sub dword [edi + 4], eax
jmp 0x40b7e2
push 0xfffffffffffffffb
jmp 0x40b8be
push str.bad__heapwalk_chunk_node
call dword [0x7c2a44]
pop ecx
push 0xfffffffffffffffc
pop eax
pop esi
pop ebx
ret
Function at 0x40e59f
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
jmp 0x40e5c7
mov cl, byte [edx]
mov al, cl
sub al, 0x41
cmp al, 0x19
ja 0x40e5b4
add cl, 0x20
xor ecx, esi
and ecx, 0xff
shr esi, 8
xor esi, dword [ecx*4 + 0x7c2a48]
inc edx
cmp edx, dword [ebp + 8]
jne 0x40e5a7
mov eax, esi
pop esi
pop ebp
ret

Function at 0x41299f
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x82bb1c], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, eax
jne 0x4129d0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [0x82bb1c], eax
dec eax
not eax
mov dword [0x82bb20], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4129f4
cmp dword [eax + 0x10], 0
jne 0x4129f4
push 1
lea ecx, [eax + 8]
call fcn.00412b97
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
add ecx, 8
call fcn.00412b97
mov eax, dword [esi]
mov ecx, dword [ebx]
lea ecx, [ecx + eax - 1]
dec eax
not eax
and ecx, eax
mov dword [ebx], ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x412a14
cmp byte [eax], 0
je 0x412a14
xor eax, eax
inc eax
jmp 0x412a16
xor eax, eax
neg al
push 1
sbb eax, eax
and eax, 0x200000
mov edi, eax
or edi, 0x2000
push edi
push ecx
push dword [esi + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call esi
test eax, eax
jne 0x412a42
push 1
push edi
push dword [ebx]
push eax
call esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4131d3
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor esi, esi
cmp eax, esi
jne 0x413290
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xa
mov edi, eax
push 0x71869c
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, esi
jne 0x413210
or eax, 0xffffffff
jmp 0x41328e
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x41328c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0x80
push 1
push esi
push esi
push 0x40000000
push dword [ebp + 8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, esi
je 0x413284
cmp edi, 0xffffffff
je 0x413284
push esi
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], esi
mov esi, dword [ebp - 8]
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], esi
push dword [ebp + 8]
jne 0x41327e
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x41328e
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4133e6
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x82bc9c]
sub esp, 0x24
test eax, eax
jne 0x413438
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
push 1
push 0x2000
mov dword [0x82bca0], eax
dec eax
push 0x1000000
push dword [0x82bc9c]
not eax
mov dword [0x82bc94], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea ecx, [eax + 0x1000000]
mov dword [0x82bc9c], eax
mov dword [0x82bcbc], ecx
add eax, 0x1000000
mov dword [0x82bcc8], eax
leave
ret

Function at 0x4138c4
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
je 0x4139f4
push dword [0x82b8dc]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x82bce4]
mov eax, dword [0x82bcf0]
cmp ecx, eax
jb 0x4138f6
sub eax, ecx
add eax, 0x1000
jmp 0x4138f8
sub eax, ecx
cmp eax, 2
mov dword [ebp - 4], eax
jae 0x41390e
push dword [0x82b8dc]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
leave
ret
cmp dword [ebp + 0xc], 0
jbe 0x4139dc
push esi
mov esi, dword [0x82bce4]
push ebx
push edi
mov eax, dword [ebp - 4]
cmp eax, 1
jbe 0x4139d9
mov edi, dword [ebp + 0xc]
cmp edi, eax
jb 0x413937
lea edi, [eax - 1]
lea eax, [esi + edi]
cmp eax, 0x1000
jb 0x413948
mov edi, 0xfff
sub edi, esi
push edi
push dword [ebp + 8]
lea ebx, [esi + 0x82bcf8]
push ebx
call fcn.00646470
add dword [ebp + 8], edi
sub dword [ebp + 0xc], edi
mov eax, dword [0x82bcf0]
add esp, 0xc
mov byte [ebx + edi], 0
inc edi
sub dword [ebp - 4], edi
add esi, edi
xor ebx, ebx
cmp esi, eax
jne 0x4139b1
cmp ebx, 1
jge 0x4139b1
mov eax, dword [0x82cd00]
test eax, eax
je 0x4139b1
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [0x82ccfc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x82bce4]
mov ecx, dword [0x82bcf0]
add eax, edi
inc ebx
cmp eax, ecx
je 0x413976
mov esi, dword [0x82bce4]
add esi, edi
cmp esi, 0x1000
mov dword [0x82bce4], esi
jb 0x4139cf
xor esi, esi
mov dword [0x82bce4], esi
cmp dword [ebp + 0xc], 0
ja 0x413921
pop edi
pop ebx
pop esi
push dword [0x82b8dc]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [0x82ccfc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov edx, ecx
mov ebx, dword [ebp + 8]
shr ecx, 2
mov esi, 0x7c2a48
je 0x4152ee
xor ebx, dword [edi]
add edi, 4
movzx eax, bl
shr ebx, 8
xor ebx, dword [esi + eax*4]
movzx eax, bl
shr ebx, 8
xor ebx, dword [esi + eax*4]
movzx eax, bl
shr ebx, 8
xor ebx, dword [esi + eax*4]
movzx eax, bl
shr ebx, 8
xor ebx, dword [esi + eax*4]
dec ecx
jne 0x4152c2
mov ecx, edx
and ecx, 3
je 0x415306
xor bl, byte [edi]
add edi, 1
movzx eax, bl
shr ebx, 8
xor ebx, dword [esi + eax*4]
dec ecx
jne 0x4152f5
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x415df2
Capabilities:
Allocate or change rwx memory
Check os version
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x7c0650]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
je 0x415f21
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsWow64Process
push edi
call esi
push str.GetNativeSystemInfo
push edi
mov ebx, eax
call esi
test ebx, ebx
mov esi, eax
je 0x415f1d
test esi, esi
je 0x415f1d
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 0x120]
push eax
call edi
push eax
call ebx
test eax, eax
je 0x415f1d
cmp dword [ebp - 0x120], 0
je 0x415f1d
lea eax, [ebp - 0x144]
push eax
call esi
cmp word [ebp - 0x144], 6
je 0x415f1d
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.006455e0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jb 0x415ec2
mov byte [0x7c2652], 0xc9
lea eax, [ebp - 0x11c]
push eax
push 0x40
push 0x2a
mov esi, 0x7c2644
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push eax
call ebx
lea eax, [ebp - 0x11c]
push eax
push 0x40
push 7
push 0x7c2980
call edi
push eax
call ebx
mov eax, esi
mov byte [0x7c2981], al
shr eax, 8
mov byte [0x7c2982], al
mov eax, esi
shr eax, 0x10
mov byte [0x7c2983], al
mov eax, esi
shr eax, 0x18
mov byte [0x7c2984], al
mov eax, 0x415d0d
jmp 0x415f1f
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00644f58
leave
ret
Function at 0x4179e7
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x7c0650]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 8]
mov esi, 0x400
push esi
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
cmp edi, ebx
jne 0x417a4e
push ebx
push ebx
push dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
call ebx
mov edi, eax
test edi, edi
je 0x417a7e
inc edi
cmp edi, 0x20
jbe 0x417a3c
mov eax, edi
call fcn.006579d0
mov dword [ebp - 0x28], esp
jmp 0x417a42
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], eax
push edi
push dword [ebp - 0x28]
push dword [ebp + 8]
push esi
call ebx
jmp 0x417a4f
inc edi
lea eax, [edi + edi]
push eax
call fcn.0040b555
cmp dword [ebp - 0x28], 0
pop ecx
mov ebx, eax
push edi
jne 0x417a6f
push ebx
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x417a7c
push dword [ebp - 0x28]
push edi
push ebx
call fcn.00416cc3
add esp, 0x10
mov eax, ebx
lea esp, [ebp - 0x34]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00644f58
leave
ret

Function at 0x417b22
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x7c0650]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x82ce24]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x417b55
mov ecx, dword [0x82ce20]
cmp ecx, dword [0x82e178]
je 0x417c72
call fcn.00417adf
mov eax, dword [0x82e178]
push esi
push edi
push 0x50
mov dword [0x82ce20], eax
call fcn.004179e7
push 0x51
mov dword [0x82cdf4], eax
call fcn.004179e7
push 0xf
mov dword [0x82cdf8], eax
call fcn.004179e7
push 0xe
mov dword [0x82ce00], eax
call fcn.004179e7
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
add esp, 0x10
push 0x20
mov dword [0x82ce04], eax
lea eax, [ebp - 0x24]
push eax
push 0x1010
mov edi, 0x400
push edi
mov dword [0x82cdfc], ebx
mov dword [0x82ce08], ebx
mov dword [0x82ce0c], 0x718dd8
call esi
test eax, eax
jne 0x417bf7
mov eax, dword [eax*4 + 0x7c2628]
mov dword [0x82ce10], eax
call fcn.00417a90
push 0x10
mov word [0x82ce14], ax
call fcn.004179e7
cmp eax, ebx
pop ecx
je 0x417c10
mov cl, byte [eax]
sub cl, 0x30
mov byte [0x82ce18], cl
jmp 0x417c16
lea edx, [ebp - 0x24]
call fcn.00417c7f
cmp eax, 5
jb 0x417bc7
mov dword [0x82ce10], 0x718dc4
jmp 0x417bd3
mov byte [0x82ce18], bl
push eax
call fcn.0040b57b
pop ecx
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0x11
push edi
call esi
test eax, eax
je 0x417c34
lea edx, [ebp - 0x24]
call fcn.00417c7f
movzx ax, al
push 0x20
mov word [0x82ce16], ax
lea eax, [ebp - 0x24]
push eax
push 0x12
push edi
call esi
test eax, eax
pop edi
pop esi
je 0x417c57
lea edx, [ebp - 0x24]
call fcn.00417c7f
mov byte [0x82ce19], al
mov eax, 0x82cdf0
mov byte [0x82ce1a], bl
mov byte [0x82ce1c], bl
mov dword [0x82ce24], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00644f58
leave
ret
Function at 0x44c9db
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x344]
call fcn.005b6326
lea ecx, [esi + 0x33c]
pop esi
jmp fcn.0040757d

Function at 0x44eda5
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
cmp dword [esp + 8], edx
mov ecx, 0x7a2
jle 0x44eddf
push esi
mov eax, dword [esp + 8]
add eax, edx
xor byte [eax], cl
mov al, byte [eax]
movzx esi, cx
movzx eax, al
shr esi, 8
xor esi, eax
xor eax, eax
mov ah, cl
xor ax, word [esi*2 + 0x7cf918]
inc edx
cmp edx, dword [esp + 0xc]
movzx ecx, ax
jl 0x44edb3
pop esi
ret

Function at 0x44ede0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
mov ecx, 0x7a2
jle 0x44ee28
push ebx
push esi
movzx eax, cx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea esi, [edi + eax]
mov al, byte [esi]
movzx edx, cx
movzx ebx, al
xor al, byte [ebp - 4]
shr edx, 8
xor edx, ebx
xor ebx, ebx
mov bh, cl
xor bx, word [edx*2 + 0x7cf918]
inc edi
cmp edi, dword [ebp + 0xc]
movzx ecx, bx
mov byte [esi], al
jl 0x44edf3
pop esi
pop ebx
pop edi
leave
ret

Function at 0x44eea0
Capabilities:
Encode data using xor

Disassembly:
movzx eax, word [0x7cfb18]
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x44eed9
push ebx
push esi
mov edx, dword [esp + 0xc]
movzx edx, byte [ecx + edx]
xor ebx, ebx
movzx esi, ax
mov bh, al
shr esi, 8
xor edx, esi
xor bx, word [edx*2 + 0x7cf918]
inc ecx
cmp ecx, dword [esp + 0x10]
movzx eax, bx
jl 0x44eeb1
pop esi
pop ebx
mov word [0x7cfb18], ax
ret

Function at 0x44ef15
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push 0
push 0
push dword [ebp + 8]
mov bl, 1
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
test eax, eax
je 0x44ef46
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.005a6cc1
push eax
push 0x6bb378
push str...dctcpip.cpp:93
jmp 0x44ef7a
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x8004667e
push dword [0x786bac]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x44ef8b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.005a6cc1
push eax
push str.ioctlsocket
push str...dctcpip.cpp:100
push str._s:__s_failed:__s_n
push 0x32
call fcn.005a6bee
add esp, 0x18
xor bl, bl
mov al, bl
pop ebx
leave
ret
Function at 0x44f504
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xc
mov eax, 0x66c039
call fcn.00645482
push str.TcpipFlushSend
lea ecx, [ebp - 0x18]
call fcn.0061a2cd
mov ecx, dword [0x7cfb58]
xor esi, esi
xor ebx, ebx
xor eax, eax
cmp ecx, esi
mov dword [ebp - 4], esi
jle 0x44f53c
add ebx, dword [eax*8 + 0x7cfb20]
inc eax
cmp eax, ecx
jl 0x44f530
mov dword [ebp - 0x14], esi
jmp 0x44f5d8
mov edi, dword [ebp - 0x14]
push esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
sub ecx, edi
push ecx
lea eax, [edi*8 + 0x7cfb20]
push eax
push dword [0x786bac]
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x44f59a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.005a6cc1
push eax
push 0x6bb55c
push str...dctcpip.cpp:556
push str._s:__s_failed:__s_n
push 0x32
call fcn.005a6bee
push 0x84d4
call fcn.0041ca95
add esp, 0x1c
sub ebx, dword [ebp - 0x10]
mov ecx, dword [0x7cfb58]
jmp 0x44f5d3
cmp edi, ecx
jge 0x44f5d8
mov edx, dword [ebp - 0x10]
lea eax, [edi*8 + 0x7cfb20]
mov esi, dword [eax]
cmp edx, esi
jbe 0x44f5bb
mov edx, esi
sub dword [eax], edx
mov eax, dword [eax]
add dword [edi*8 + 0x7cfb24], edx
sub dword [ebp - 0x10], edx
xor esi, esi
cmp eax, esi
jne 0x44f5d2
inc dword [ebp - 0x14]
inc edi
cmp dword [ebp - 0x10], esi
ja 0x44f5a5
cmp ebx, esi
jg 0x44f544
lea ecx, [ebp - 0x18]
mov dword [0x7cfb58], esi
call fcn.006193de
call fcn.0064555a
ret

Function at 0x462d44
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push str.GetCountryInfo
lea ecx, [ebp - 8]
call fcn.0061a2cd
mov ebx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 2
lea eax, [ebx + 7]
push eax
push 0xf
mov edi, 0x400
push edi
call esi
test eax, eax
jne 0x462d85
lea ecx, [ebp - 8]
call fcn.006193de
xor al, al
pop edi
pop esi
pop ebx
leave
ret
push 2
lea eax, [ebx + 9]
push eax
push 0xe
push edi
call esi
test eax, eax
je 0x462d76
push 2
lea eax, [ebx + 0xb]
push eax
push 0x1d
push edi
call esi
test eax, eax
je 0x462d76
push 2
lea eax, [ebx + 0xd]
push eax
push 0x1e
push edi
call esi
test eax, eax
je 0x462d76
push 2
lea eax, [ebp - 4]
push eax
push 0x21
push edi
call esi
test eax, eax
je 0x462d76
movsx ax, byte [ebp - 4]
sub ax, 0x30
push 2
mov word [ebx], ax
lea eax, [ebp - 4]
push eax
push 0x23
push edi
call esi
test eax, eax
jne 0x462dea
xor bl, bl
lea ecx, [ebp - 8]
call fcn.006193de
mov al, bl
jmp 0x462d80
mov al, byte [ebp - 4]
sub al, 0x30
mov byte [ebx + 0x11], al
mov bl, 1
jmp 0x462dde
Function at 0x471c11
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x7c0650]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xff
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x471c3f
xor eax, eax
jmp 0x471c6c
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x471c3b
cmp word [eax + 0xa], 4
jne 0x471c3b
mov eax, dword [eax + 0xc]
xor ecx, ecx
cmp dword [eax], 0
je 0x471c6a
inc ecx
add eax, 4
cmp ecx, 0x10
jb 0x471c5c
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00644f58
leave
ret

Function at 0x471c78
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x7c0650]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.MCastCheckForPktDrv
lea ecx, [ebp - 0x198]
call fcn.0061a2cd
lea eax, [ebp - 0x194]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x471ccb
xor esi, esi
lea ecx, [ebp - 0x198]
call fcn.006193de
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00644f58
leave
ret
call fcn.00471c11
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSACleanup]
test esi, esi
je 0x471caf
xor esi, esi
inc esi
jmp 0x471cb1

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

Disassembly:
push 8
mov eax, 0x66f46c
call fcn.00645482
push str.MCastFlushSend
lea ecx, [ebp - 0x14]
call fcn.0061a2cd
mov eax, dword [0x7de1cc]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x471ee0
cmp byte [0x7de182], bl
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0x7de188
push dword [0x78d604]
je 0x471eaa
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
je 0x471e97
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x7de1d0]
je 0x471eda
push 0x200
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 0x4de8
jmp 0x471ed2
call fcn.00613924
add esp, 0x1c
cmp eax, 0xffffffff
je 0x471ec2
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x7de1d0]
je 0x471eda
push 0x200
call fcn.00613c06
push eax
push 0x4de9
call fcn.00471859
add esp, 0xc
mov dword [0x7de1cc], ebx
lea ecx, [ebp - 0x14]
call fcn.006193de
call fcn.0064555a
ret
Function at 0x472617
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
sub esp, 0x11c
lea ebp, [esp - 4]
mov eax, dword [0x7c0650]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push 4
mov eax, 0x66f558
call fcn.00645482
mov esi, dword [ebp + 0x128]
xor edi, edi
mov dword [ebp - 0x10], edi
push edi
lea ecx, [ebp]
mov dword [ebp + 0x18], 0xf
call fcn.00402c9d
push str.MCastGetLocalIPAddress
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.0061a2cd
push 0xff
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x47268b
push 0x717104
mov ecx, esi
call fcn.00401baa
jmp 0x4726be
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, edi
je 0x47267d
mov eax, dword [eax + 0xc]
cmp eax, edi
je 0x47267d
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [ebp]
call fcn.004022c7
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.00401bcc
lea ecx, [ebp - 0x10]
call fcn.006193de
push edi
push 1
lea ecx, [ebp]
call fcn.0040234a
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.00644f58
add ebp, 0x120
leave
ret

Function at 0x4727ad
Capabilities:
Encode data using xor

Disassembly:
push 4
mov eax, 0x66f5ab
call fcn.00645482
push str.Encode
lea ecx, [ebp - 0x10]
call fcn.0061a2cd
and dword [ebp - 4], 0
call fcn.0044eee0
movzx ecx, word [ebp + 0xc]
movzx esi, si
xor edx, edx
test esi, esi
jle 0x472804
mov eax, dword [ebp + 8]
add eax, edx
xor byte [eax], cl
mov al, byte [eax]
movzx edi, cx
movzx eax, al
shr edi, 8
xor edi, eax
xor eax, eax
mov ah, cl
xor ax, word [edi*2 + 0x7cf918]
inc edx
cmp edx, esi
movzx ecx, ax
jl 0x4727dc
lea ecx, [ebp - 0x10]
call fcn.006193de
call fcn.0064555a
ret

Function at 0x472812
Capabilities:
Encode data using xor

Disassembly:
push 4
mov eax, 0x66f5ce
call fcn.00645482
push str.Decode
lea ecx, [ebp - 0x10]
call fcn.0061a2cd
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0044eee0
movzx eax, word [ebp + 0xc]
cmp eax, edi
movzx ecx, word [ebp + 0x10]
jle 0x472877
movzx eax, cx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
lea esi, [edi + eax]
mov al, byte [esi]
movzx edx, cx
movzx ebx, al
xor al, byte [ebp + 0x10]
shr edx, 8
xor edx, ebx
xor ebx, ebx
mov bh, cl
xor bx, word [edx*2 + 0x7cf918]
mov byte [esi], al
movzx eax, word [ebp + 0xc]
inc edi
cmp edi, eax
movzx ecx, bx
jl 0x472841
lea ecx, [ebp - 0x10]
call fcn.006193de
call fcn.0064555a
ret

Function at 0x487d27
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push str.ChecksumMapFile
lea ecx, [ebp - 4]
call fcn.0061a2cd
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [eax], 0xabcd
inc ecx
mov dx, word [eax + ecx*2]
xor word [eax], dx
inc ecx
cmp ecx, 0x200
jl 0x487d43
lea ecx, [ebp - 4]
call fcn.006193de
leave
ret 4