joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c509
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x6a31bc
call fcn.00640244
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
mov dword [ebp - 0x10], edi
call fcn.00427b8e
and dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.00427b8e
mov eax, dword [esi + 0x30]
lea ecx, [edi + 0x5c]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
mov al, byte [esi + 0x58]
mov byte [edi + 0x58], al
mov al, byte [esi + 0x59]
mov byte [edi + 0x59], al
mov al, byte [esi + 0x5a]
mov byte [edi + 0x5a], al
lea eax, [esi + 0x5c]
push eax
mov byte [ebp - 4], 1
call fcn.00427b8e
mov eax, dword [esi + 0x74]
mov dword [edi + 0x74], eax
mov eax, dword [esi + 0x78]
mov dword [edi + 0x78], eax
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x7c], eax
mov eax, dword [esi + 0x80]
mov dword [edi + 0x80], eax
mov eax, dword [esi + 0x84]
mov dword [edi + 0x84], eax
mov al, byte [edi + 0x88]
xor al, byte [esi + 0x88]
and al, 1
mov byte [ebp - 4], 2
xor byte [edi + 0x88], al
mov al, byte [edi + 0x88]
mov cl, byte [esi + 0x88]
xor cl, al
and cl, 2
xor cl, al
mov byte [edi + 0x88], cl
mov al, byte [esi + 0x88]
xor al, cl
and al, 4
xor al, cl
mov byte [edi + 0x88], al
mov cl, byte [esi + 0x88]
xor cl, al
and cl, 8
xor cl, al
mov byte [edi + 0x88], cl
mov al, byte [esi + 0x88]
xor al, cl
and al, 0x10
xor al, cl
mov byte [edi + 0x88], al
lea ecx, [edi + 0xa0]
mov eax, dword [esi + 0x8c]
mov dword [edi + 0x8c], eax
mov eax, dword [esi + 0x90]
mov dword [edi + 0x90], eax
mov eax, dword [esi + 0x94]
mov dword [edi + 0x94], eax
mov eax, dword [esi + 0x98]
mov dword [edi + 0x98], eax
mov eax, dword [esi + 0x9c]
mov dword [edi + 0x9c], eax
lea eax, [esi + 0xa0]
push eax
call fcn.0040f4ab
lea eax, [esi + 0xb8]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0xb8]
call fcn.0040f4ab
mov al, byte [esi + 0xd0]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0xd0], al
mov eax, dword [esi + 0xd4]
mov dword [edi + 0xd4], eax
mov eax, dword [esi + 0xd8]
mov dword [edi + 0xd8], eax
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4b754a
Capabilities:
Copy file
Delete file
Move file

Disassembly:
sub esp, 0x28
push esi
push 0x80
push 5
push dword [esp + 0x38]
mov esi, ecx
call fcn.00461598
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x4b7570
xor al, al
jmp 0x4b769a
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.0046155e
test eax, eax
je 0x4b758b
lea eax, [esp + 8]
push eax
call fcn.00461528
jmp 0x4b7569
push ebp
push edi
push dword [esp + 0x18]
mov ecx, esi
push dword [esp + 0x18]
call fcn.004b6b01
mov eax, dword [esi + 0x238]
xor ebp, ebp
sub eax, dword [esi + 0x234]
mov edi, ebp
sar eax, 3
test eax, eax
je 0x4b75cf
push edi
mov ecx, esi
call fcn.004b3d26
mov eax, dword [esi + 0x238]
inc edi
sub eax, dword [esi + 0x234]
sar eax, 3
cmp edi, eax
jb 0x4b75b3
mov ecx, dword [esi + 0x73c]
mov eax, dword [esi + 0x740]
add ecx, 0x3fff
adc eax, ebp
shrd ecx, eax, 0xe
shr eax, 0xe
lea eax, [esp + 0x10]
mov dword [esi + 0xf0], ecx
push eax
call fcn.00461528
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004a8484
cmp dword [eax + 0x14], 8
jb 0x4b760e
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push ebp
push 1
lea ecx, [esp + 0x28]
call fcn.004281f2
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.004a8484
cmp byte [esp + 0x40], 0
je 0x4b764a
cmp dword [eax + 0x14], 8
jb 0x4b763d
mov eax, dword [eax]
push eax
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x4b765f
cmp dword [eax + 0x14], 8
jb 0x4b7652
mov eax, dword [eax]
push 1
push eax
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
mov ebx, eax
lea ecx, [esp + 0x20]
push ebp
neg ebx
push 1
sbb bl, bl
call fcn.004281f2
add bl, 1
je 0x4b767a
xor al, al
jmp 0x4b7697
mov ecx, esi
mov byte [esp + 0x13], 1
call fcn.004a6fc5
lea ecx, [esp + 0x13]
push dword [eax + 0x20]
push ecx
mov ecx, eax
call fcn.00506b3d
mov al, 1
pop ebx
pop edi
pop ebp
pop esi
add esp, 0x28
ret 8

Function at 0x4b9d13
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
mov ebp, SysReAllocString
lea edi, [esi + 0x9c4]
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, ebp
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebx, 1
jne 0x4b9d29
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov ecx, dword [edi + 4]
xor ecx, dword [edi]
and ecx, ebp
xor ecx, dword [edi]
lea edi, [edi + 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebx, 1
jne 0x4b9d65
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, ebp
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], ebx
pop esi
pop ebp
pop ebx
ret
Function at 0x4b9dce
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea edx, [ecx + 8]
mov esi, 0x270
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x4b9dd7
pop esi
ret

Function at 0x4bc593
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul edx, dword [esp + 0x14]
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x4bc5a8
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
ret 8

Function at 0x4bd386
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp byte [0x7b0cce], 0
je 0x4bd42c
push dword [ebp + 8]
lea eax, [ebp - 0x30]
push 0x6d7fa0
push eax
call fcn.004654e1
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4bd3b5
mov eax, dword [eax]
push esi
push eax
call fcn.00670ad0
pop ecx
xor esi, esi
lea ecx, [ebp - 0x30]
push esi
push 1
call fcn.004281f2
push dword [ebp + 8]
lea eax, [ebp - 0x30]
push str.TEMP_s
push eax
call fcn.004654e1
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4bd3e6
mov eax, dword [eax]
push eax
call fcn.00670ad0
pop ecx
push esi
push 1
lea ecx, [ebp - 0x30]
call fcn.004281f2
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0x6d7fc0
push eax
call fcn.004654e1
mov eax, dword [ebp - 0x18]
add esp, 0xc
cmp dword [ebp - 4], 8
jae 0x4bd418
lea eax, [ebp - 0x18]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push esi
push 1
lea ecx, [ebp - 0x18]
call fcn.004281f2
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4bf4a4
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x6a4af7
call fcn.00640244
sub esp, 0x84
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [0x7b36c0], 0x7d0
mov esi, 0x7b36b0
jb 0x4bf510
push 0x64
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00424a38
mov ecx, eax
call fcn.00424298
sub esp, 0xc
mov ecx, esp
push eax
call fcn.00424276
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.00424a38
sub esp, 0xc
mov ecx, esp
push eax
call fcn.00424276
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004c3e4b
push 0x50
lea eax, [ebp - 0x90]
push edi
push eax
call fcn.0065ab80
add esp, 0xc
lea ecx, [ebp - 0x90]
call fcn.004be2f3
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004c4172
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.004be521
mov ecx, esi
call fcn.0048044d
mov esi, eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00427c6d
lea eax, [ebp + 0x20]
push eax
lea ecx, [esi + 0x18]
call fcn.0040eb52
lea eax, [ebp + 0x38]
push eax
lea ecx, [esi + 0x30]
call fcn.00427c6d
mov eax, dword [ebp + 0x50]
push edi
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x54]
push 0x114
mov dword [esi + 0x4c], eax
call fcn.0048d69c
push edi
push 1
lea ecx, [ebp + 8]
call fcn.004281f2
push edi
push 1
lea ecx, [ebp + 0x20]
call fcn.0040f52f
push edi
push 1
lea ecx, [ebp + 0x38]
call fcn.004281f2
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x50

Function at 0x4c6051
Capabilities:
Create thread

Disassembly:
push ecx
push esi
xor esi, esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
lea ecx, [esp + 4]
mov dword [0x7b36f8], eax
push ecx
push esi
push eax
push 0x4c5b79
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
pop ecx
ret

Function at 0x4c6c70
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6a51f7
call fcn.00640244
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 8], 0x6d9128
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
mov dword [esi], 0x6d9148
mov dword [esi + 8], 0x6d9164
mov dword [esi + 0xc], ebx
call fcn.004cba03
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov byte [esi + 0x54], bl
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], 0xf
mov byte [esi + 0x58], bl
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4cce88
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x6a5814
call fcn.00640244
sub esp, 0x2c
push ebx
push edi
xor edx, edx
mov byte [ebp - 0x38], 1
mov dword [ebp - 4], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
mov bl, dl
push 0x10
pop edi
mov byte [ebp - 4], 1
cmp dword [ebp + 0x1c], edi
jae 0x4ccec9
lea eax, [ebp + 8]
push edx
lea ecx, [ebp - 0x18]
push ecx
push edx
push edx
push edi
push eax
call sub.DNSAPI.dll_DnsQuery_UTF8
test eax, eax
jne 0x4ccf49
push esi
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x4ccf3c
cmp word [esi + 8], di
jne 0x4ccf36
xor edi, edi
test bl, bl
jne 0x4ccf33
lea eax, [esi + 0x1c]
mov dword [ebp - 0x14], eax
cmp edi, dword [esi + 0x18]
jae 0x4ccf33
mov edx, dword [eax]
push edx
push str.DEBUG:_Processing_TXT:__s_n
call fcn.0040e2b4
mov ecx, edx
add esp, 8
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ccf0f
lea eax, [ebp - 0x38]
sub ecx, ebx
push eax
push ecx
push edx
call fcn.004da592
mov bl, al
inc edi
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
test bl, bl
je 0x4ccef5
push 0x10
pop edi
mov esi, dword [esi]
test bl, bl
je 0x4ccedf
push 1
push dword [ebp - 0x18]
call sub.DNSAPI.dll_DnsFree
pop esi
jmp 0x4ccf53
cmp eax, 0x251d
je 0x4ccf7a
mov dword [ebp - 0x1c], eax
test bl, bl
je 0x4ccf7a
mov byte [ebp - 0xd], 1
call fcn.00478821
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 8]
push eax
call fcn.004dbab1
mov byte [ebp - 4], 3
call fcn.00478862
lea ecx, [ebp - 0x28]
call fcn.004cb21a
lea ecx, [ebp - 0x34]
call fcn.004cb21a
push 0
push 1
lea ecx, [ebp + 8]
call fcn.0040f52f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4ce22f
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor edi, edi
push 0x2cc
mov dword [ebp - 8], edi
call fcn.004600d6
mov ebx, eax
push 0x6d8bd0
push 0x6c0ff0
mov dword [ebp - 4], ebx
mov dword [ebx], 0x10007
call fcn.00463d8e
test eax, eax
je 0x4ce2a7
push esi
push dword [ebp + 8]
push edi
push 0x1fffff
call eax
mov esi, eax
test esi, esi
je 0x4ce2a6
push esi
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
cmp eax, 0xffffffff
je 0x4ce298
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_GetThreadContext]
test eax, eax
je 0x4ce298
lea eax, [ebp - 8]
push eax
call fcn.004cdecd
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d2454
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x6a5cad
call fcn.00640244
push ecx
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x94], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa0], ebx
and byte [esi + 0xc0], 0xf8
lea edi, [esi + 0x64]
push 0xa
pop ecx
xor eax, eax
mov byte [ebp - 4], 1
push 0x58
rep stosd dword es:[edi], eax
lea eax, [esi + 4]
push ebx
push eax
call fcn.0065ab80
push 4
mov dword [esi + 0xac], 0x186a0
call fcn.0063ffa4
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x4d24fc
push 0x4d2593
push 0x4d25a6
push 0xf
push 0x20
push 0x18
push 0x4f
call fcn.0053c6e5
mov dword [edi], eax
jmp 0x4d24fe
mov edi, ebx
mov ecx, dword [ebp - 0xc]
mov eax, 0x100000
mov dword [esi + 0xa8], edi
mov dword [esi + 0x28], 0x53cdb5
mov dword [esi + 0x2c], 0x53cdd5
mov dword [esi + 0x30], 0x53cda1
mov dword [esi + 0x34], 0x53cd3f
mov dword [esi + 0x38], 0x53cdac
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov eax, esi
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4e0839
Capabilities:
Set socket configuration

Disassembly:
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [esp + 0xc]
mov ecx, ebp
push edi
lea edi, [ebx + 0xac]
push edi
call fcn.004cba37
xor edx, edx
test al, al
je 0x4e0860
cmp word [ebp + 0x10], dx
jne 0x4e0965
cmp dword [ebx + 4], 0xffffffff
push esi
push 5
pop ecx
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
je 0x4e0878
push edx
mov ecx, ebx
call fcn.00478daa
xor edx, edx
push edx
push edx
push 2
lea eax, [ebx + 0xac]
push eax
call fcn.00466161
movzx eax, al
mov ecx, ebx
neg eax
sbb eax, eax
and eax, 0xffffffeb
add eax, 0x17
push eax
call fcn.0047a3d5
cmp dword [ebx + 4], 0xffffffff
je 0x4e0964
push ebp
mov ecx, ebx
call fcn.0047895a
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xffffffff
jne 0x4e08d6
call edi
mov esi, eax
push esi
call fcn.004770cb
push eax
push esi
push ebp
push str.UDP_port_bind_failed__A:___d___s
call fcn.0047cc80
add esp, 0x10
jmp 0x4e08ec
xor eax, eax
cmp word [ebp + 0x10], ax
jne 0x4e08ec
mov ecx, ebx
call fcn.0047a14e
mov word [ebx + 0xbc], ax
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [esp + 0x14]
push 4
push eax
push 0x1002
push 0xffff
push dword [ebx + 4]
mov ebp, 0x200000
mov dword [esp + 0x28], ebp
call esi
cmp eax, 0xffffffff
jne 0x4e092a
call edi
push eax
push dword [esp + 0x18]
push str.UDP_setsockopt_SO_RCVBUF___d__failed:__d
call fcn.0047cc09
add esp, 0xc
push 4
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebp
push eax
push 0x1001
push 0xffff
push dword [ebx + 4]
call esi
cmp eax, 0xffffffff
jne 0x4e095d
call edi
push eax
push dword [esp + 0x18]
push str.UDP_setsockopt_SO_SNDBUF___d__failed:__d
call fcn.0047cc09
add esp, 0xc
mov ecx, ebx
call fcn.00479b48
pop esi
pop edi
pop ebp
pop ebx
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x80
push eax
lea eax, [ebp - 0x98]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4e0d63
push esi
push edi
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x18]
call fcn.004cb949
mov edi, dword [ebp + 0x18]
lea esi, [ebp - 0x18]
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4e1120
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x1a0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1bc]
xor ebx, ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x24], ebx
movzx eax, word [esi + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esp + 0x1c0]
movzx ebp, ax
test ecx, ecx
je 0x4e1182
mov ebx, ecx
mov byte [esp + 0x27], 3
lea edx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x4e115d
sub ebx, edx
lea eax, [esp + 0x29]
push ebx
push ecx
push eax
mov byte [esp + 0x34], bl
call fcn.00658b30
add esp, 0xc
mov word [esp + ebx + 0x29], bp
xor ebx, ebx
jmp 0x4e11b3
push esi
call fcn.00466161
test al, al
je 0x4e119f
mov eax, dword [esi + 0xc]
mov byte [esp + 0x27], 1
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], bp
jmp 0x4e11b3
push edi
mov byte [esp + 0x2b], 4
lea edi, [esp + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov word [esp + 0x3c], bp
pop edi
lea eax, [esp + 0x24]
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.004e1256
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], eax
add ecx, 0x118
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1b4]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x130]
push eax
call fcn.0047a05f
push ebx
push ebx
push dword [esp + 0x18]
lea eax, [esp + 0x138]
mov dword [esp + 0x18], ebx
push eax
push ebx
lea eax, [esp + 0x20]
push eax
push 2
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x1d0]
call dword [sym.imp.WS2_32.dll_WSASendTo]
mov esi, eax
test esi, esi
jne 0x4e122e
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
cmp esi, eax
je 0x4e124a
lea ecx, [esp + 0x24]
call fcn.004e1256
cmp esi, eax
jg 0x4e1246
xor eax, eax
jmp 0x4e124a
sub esi, eax
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1a0
ret 0x14

Function at 0x4e141e
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
cmp byte [0x7b4420], 0
je 0x4e1434
mov al, 1
jmp 0x4e146c
lea eax, [ebp - 0x190]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4e146a
mov eax, dword [ebp - 0x190]
cmp al, 2
jne 0x4e1464
shr eax, 8
cmp al, 2
jne 0x4e1464
mov byte [0x7b4420], 1
jmp 0x4e1430
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x4eb7e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
sub esp, 0x18
mov eax, 0x6a68ee
call fcn.00640244
sub esp, 0xf0
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp + 0x18], esi
mov ebx, dword [esi + 0x364]
call fcn.004eb98f
mov esi, dword [esi + 0x140]
lea edi, [ebp + 4]
push 5
pop ecx
mov dword [ebp], 0x32716572
add esi, 8
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xfc]
call fcn.0046a427
and dword [ebp - 4], 0
lea eax, [ebp]
push 0x18
push eax
lea ecx, [ebp - 0xfc]
call fcn.0046a3c3
push 5
pop ecx
mov esi, eax
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
push 5
pop ecx
mov esi, ebx
lea edi, [ebp - 0x88]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
mov ecx, edi
mov eax, dword [ebx + ecx + 0x14]
xor dword [ebp + ecx - 0x74], eax
add ecx, 4
cmp ecx, 0x14
jb 0x4eb849
movzx eax, byte [0x789abc]
mov esi, dword [ebp + 0x18]
mov ecx, esi
shr eax, 2
not eax
mov dword [ebp - 0x58], edi
and eax, 1
mov dword [ebp - 0x60], edi
or al, 2
mov dword [ebp - 0x5c], edi
mov byte [ebp - 0x55], al
mov byte [ebx], al
lea eax, [ebp - 0x50]
push dword [esi + 0x140]
mov dword [ebp - 0x54], 0x44000000
push eax
call fcn.004e59ff
mov eax, dword [esi + 0x140]
mov ecx, esi
push 0x14
add eax, 8
push eax
call fcn.004ece02
lea eax, [ebx + 0xc]
push eax
push 0x54
lea eax, [ebp - 0x60]
push eax
call fcn.00575d6c
lea eax, [ebx + 0x114]
mov dword [ebx + 5], edi
push eax
lea ecx, [ebx + 1]
push 8
push ecx
mov dword [ecx], edi
call fcn.00575d6c
push edi
push 0x7c
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.0047b010
lea ecx, [ebp - 0xfc]
call fcn.0040e2b4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x1c]
pop ebp
ret

Function at 0x4f2735
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x6a6c77
call fcn.00640244
sub esp, 0x1c
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
xor eax, eax
mov dword [ebx], 0x6e1734
mov dword [ebp - 4], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x14]
push 5
pop ecx
lea esi, [ebp + 0xc]
mov byte [ebp - 4], 1
rep movsd dword es:[edi], dword [esi]
xor edi, edi
mov dword [ebx + 0x10], eax
push edi
call fcn.0049583b
mov ecx, eax
mov esi, edx
mov eax, dword [0x7ad358]
cdq
add ecx, eax
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x28], ecx
adc esi, edx
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], 0xea60
mov dword [ebx + 0x40], edi
mov dword [ebx + 0x44], edi
mov dword [ebx + 0x48], edi
lea esi, [ebx + 0x4c]
mov dword [esi], 0x6e162c
push str.share
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
call fcn.00473603
push esi
push eax
lea ecx, [ebx + 0x50]
mov byte [ebp - 4], 4
call fcn.005437fe
push edi
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.004281f2
push 0x1388
call fcn.004600d6
mov ecx, ebx
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x8c], edi
call fcn.004f39c9
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4f4b89
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x140], 0
jne 0x4f4bfe
mov ebx, 0x100
cmp dword [esi + 0x15c], ebx
jae 0x4f4bfe
lea edx, [esi + 0x144]
mov byte [esi + 0x140], 1
xor eax, eax
mov edi, edx
push edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esi + 0x158]
mov ecx, dword [esi + 0x15c]
sub ebx, ecx
mov edx, dword [esi]
mov edi, dword [esp + 0x14]
push eax
lea eax, [esi + 0x160]
mov dword [esi + 0x154], edi
add eax, ecx
mov ecx, esi
push ebx
push eax
call dword [edx + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4f4c06
push edi
mov byte [esi + 0x140], 0
call dword [sym.imp.KERNEL32.DLL_SetEvent]
mov al, 1
pop edi
pop esi
pop ebx
ret 4
xor al, al
jmp 0x4f4c00