joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44459d
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp + 8]
xor esi, esi
call main
test eax, eax
je 0x444626
test byte [ebp - 4], 7
push ebx
mov ebx, 0x80070000
je 0x4445f3
push 0x80
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
jne 0x4445f3
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4445e9
movzx esi, si
or esi, ebx
test esi, esi
jns 0x4445f3
push esi
push 0x5c4
jmp 0x44461b
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
jne 0x444625
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x444613
movzx esi, si
or esi, ebx
test esi, esi
jns 0x444625
push esi
push 0x5ca
push str.c:_agent_work138_s_srclibsdutil_fileutil.cpp
call fcn.004038f5
pop ebx
mov eax, esi
pop esi
leave
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x403e59
pop dword [ebp - 0x38]
mov eax, 0x403e59
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xd614ea6d
sub dword [ebp - 0x48], 0x87c2a522
mov dword [ebp - 0x44], 0x4abb614d
sub dword [ebp - 0x44], 0x18881508
mov dword [ebp - 0x40], 0x4e67b7da
add dword [ebp - 0x40], 0xfde48c54
mov dword [ebp - 0x3c], 0xc7f10c79
sub dword [ebp - 0x3c], 0xc7f10c79
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x2b4df63d
sub dword [ebp - 0x48], 0xb6db8ce7
mov dword [ebp - 0x44], 0x990184a3
add dword [ebp - 0x44], 0xa86adcd2
mov dword [ebp - 0x40], 0x1248fa2
add dword [ebp - 0x40], 0x624adcca
mov dword [ebp - 0x3c], 0xbc93863a
sub dword [ebp - 0x3c], 0xbc93863a
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x36bd483b
sub eax, 0x367cd793
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x394c1
push 0
call eax
mov ecx, 0x5233
xor edx, edx
add edx, eax
mov ebx, 0x5d3a16b4
sub ebx, 0x5cf916b4
add ebx, dword [ebp - 0x38]
mov esi, 0x367a431c
add esi, 0xe84eb240
mov edi, dword [ebx]
xor dword [ebp - 4], esi
sub edi, esi
xor dword [ebp - 8], 0xa51ce91f
mov dword [edx], edi
sub dword [ebp - 4], edi
add edx, 0xdaec73b4
add edx, 0x25138c50
add ebx, 0xba008e33
sub ebx, 0xba008e2f
loop 0x403f6d
add eax, 0x13b9f
mov ebx, eax
add eax, 0x4711ef6b
sub eax, 0x4711ef66
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x4021f0
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ce38
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x42d068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x24
push str.ioCjKCssbQ6zbhCu_5r57_Iljkwlqj___
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00402560
push 0x42a9b8
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov edx, str.Please_input_password:
mov byte [ebp - 4], 1
call fcn.004027d0
push eax
call fcn.00402a80
add esp, 4
lea edx, [ebp - 0x28]
mov ecx, 0x42e088
call fcn.004031e0
cmp dword [ebp - 0x18], 0x25
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
je 0x4022b2
mov edx, str.Error__please_try_again
call fcn.004027d0
push eax
call fcn.00402a80
push str.Pause
call fcn.0040a6ee
add esp, 8
jmp 0x40238a
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.00402490
mov edx, 0xfffffffd
lea ecx, [ebp - 0x40]
call fcn.00401fe0
jmp 0x402413
xor ecx, ecx
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp ebx, 0x10
cmovae edx, edi
cmp dword [ebp - 0x30], 0x25
jne 0x402336
mov esi, 0x20
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x402308
add edx, 4
add ecx, 4
sub esi, 4
jae 0x4022f3
xor eax, eax
jmp 0x40232d
cmp al, byte [ecx]
jne 0x402328
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x402328
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x402328
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
jne 0x402328
xor eax, eax
jmp 0x40232d
sbb eax, eax
or eax, 1
mov edx, str.Success
test eax, eax
je 0x40233b
mov edx, str.Wrong_please_try_again.
call fcn.004027d0
push eax
call fcn.00402a80
mov edx, dword [ebp - 0x2c]
add esp, 4
cmp edx, 0x10
jb 0x40237d
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402373
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402404
push edx
push ecx
call fcn.00406010
add esp, 8
push str.Pause
call fcn.0040a6ee
add esp, 4
cmp ebx, 0x10
jb 0x4023b6
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4023ac
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402409
push ecx
push edi
call fcn.00406010
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x4023e6
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4023dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40240e
push edx
push ecx
call fcn.00406010
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00405d30
mov esp, ebp
pop ebp
ret
call fcn.0040a945
call fcn.0040a945
call fcn.0040a945
push eax
mov eax, dword [eax]
mov dword [eax + 0x23], 0x7d21
jmp 0x40243a
pop eax
inc dword [eax + 0x10]
jmp 0x40248a
jmp 0x402553
add esp, 0x18
jmp 0x4022d2
Function at 0x41223d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004120bc

Function at 0x4177fa
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004174ba
Function at 0x401e4b
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00401ffb
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x401f49
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x401eec
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x401f2f
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x401f03
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x401f1e
test al, 0x40
je 0x401f15
mov ecx, dword [edi + 0x20]
jmp 0x401f1c
test al, 0x80
je 0x401f2f
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x401f2f
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x401ebb
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x4036ee
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x10
push 1
mov ebx, 0x184
call fcn.0042b5c0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403733
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
mov eax, 0x10
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
nop
nop
cmp dword [ebp - 8], esp
je 0x40376f
push 0x5a
push 0x4088062
push 6
call fcn.00429d45
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40379d
mov eax, dword [ebp - 4]
test eax, eax
je 0x403798
push eax
mov ebx, eax
call fcn.004024ea
inc eax
push eax
call fcn.00429d33
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4037a7
mov eax, 0x52c8fc
jmp 0x4037a7
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4037b8
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x4040b2
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push htons
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4040d0
mov eax, 0x52c93d
push eax
push 1
mov ebx, 0x194
call fcn.0042ba00
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4040fa
mov eax, 0
jmp 0x40416e
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x40415b
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x404144
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x404133
xor ecx, eax
xor edx, ebx
dec edi
jne 0x404124
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
mov esp, ebp
pop ebp
ret 4

Function at 0x404844
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
mov eax, 0
sete al
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jne 0x4048b9
push 0
call fcn.00429d21
add esp, 4
mov dword [ebp - 8], esp
push 0
push 0xffffffff
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 8], esp
je 0x4048aa
push 0x56
push 0x408803d
push 6
call fcn.00429d45
add esp, 0xc
mov eax, 1
jmp 0x404929
cmp dword [ebp + 8], 0
jle 0x40491f
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0040492f
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x40491f
mov dword [ebp - 8], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 8], esp
je 0x404915
push 0x132
push 0x408803d
push 6
call fcn.00429d45
add esp, 0xc
mov eax, 1
jmp 0x404929
mov eax, 0
jmp 0x404929
mov esp, ebp
pop ebp
ret 8
Function at 0x40ba48
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0x40
call fcn.00429d33
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x40
mov dword [ebp - 8], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
nop
nop
cmp dword [ebp - 8], esp
je 0x40baa9
push 0x2c
push 0x4088034
push 6
call fcn.00429d45
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
fild qword [ebx]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fdiv qword [0x52d008]
fstp qword [ebp - 0x18]
push 0
push 0
push 0
push 0x80000601
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 2
mov ebx, 0x68
call fcn.0042c650
add esp, 0x1c
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x198
call fcn.0042b330
add esp, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040562e
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40bb21
push ebx
call fcn.00429d3f
add esp, 4
mov eax, dword [ebp - 0x28]
jmp 0x40bb29
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x410788
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [0x63f003]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4107cb
push 0x19
push 0x40880c5
push 6
call fcn.00429d45
add esp, 0xc
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.0042b5c0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x410801
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x52cb82]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], esp
fld qword [ebp - 0x18]
call fcn.0040420b
push eax
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x41084f
push 0x88
push 0x40880c5
push 6
call fcn.00429d45
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x41086b
push eax
mov ebx, eax
call fcn.004024ea
inc eax
push eax
call fcn.00429d33
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x410870
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x410881
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4120d4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x412112
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x41212e
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00429d33
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41213f
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov dword [ebp - 4], eax
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x412156
mov eax, 0x52c93d
push eax
push 1
mov ebx, 0x194
call fcn.0042ba00
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.00404091
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push dword [ebp + 0xc]
call fcn.004122c8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4121cc
push 0x133
push 0x408804a
push 6
call fcn.00429d45
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0xa0000101
push 0
push 0x52d13e
push 3
mov ebx, 0x914
call fcn.0042cc20
add esp, 0x28
push dword [ebp - 8]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x14]
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x41224b
push 0xb93
push 0x408804a
push 6
call fcn.00429d45
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x412281
push 0xbbf
push 0x408804a
push 6
call fcn.00429d45
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x41229b
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00429d33
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4122b0
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4122c1
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4127e3
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
jmp 0x412805
mov dword [ebp - 4], 0
push eax
push ecx
push edx
push ebx
push esi
push edi
nop
nop
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getsockname
cpuid
shr ecx, 0x10
mov esi, ecx
nop
pop edx
pop ecx
pop ebx
nop
push ebx
push ecx
push edx
mov eax, htons
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
pop edx
pop ecx
pop ebx
nop
nop
nop
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x64]
add esi, eax
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, al
add esi, ebx
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, cl
add esi, ebx
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, dl
add esi, ebx
nop
imul esi, esi, 0x666
mov dword [ebp - 4], esi
nop
pop edi
pop esi
pop ebx
pop edx
pop ecx
pop eax
mov eax, dword [ebp - 4]
jmp 0x4128a2
mov esp, ebp
pop ebp
ret
Function at 0x4146cb
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x414709
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x414725
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00429d33
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x414736
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov dword [ebp - 4], eax
push htons
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41474d
mov eax, 0x52c93d
push eax
push 1
mov ebx, 0x194
call fcn.0042ba00
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.00404091
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 1
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.004122c8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x4147ca
push 0x13b
push 0x4088049
push 6
call fcn.00429d45
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0xa0000101
push 0
push 0x52d63c
push 3
mov ebx, 0x914
call fcn.0042cc20
add esp, 0x28
push dword [ebp - 8]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x14]
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x414849
push 0xa61
push 0x4088049
push 6
call fcn.00429d45
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x41487f
push 0xa8d
push 0x4088049
push 6
call fcn.00429d45
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x414899
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00429d33
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4148ae
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4148bf
push ebx
call fcn.00429d3f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14
Function at 0x415efa
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x98]
push esi
xor ecx, ecx
xor esi, esi
xor edx, edx
push edi
mov dword [esp + 0xc], 0x7f7f7f7f
mov dword [esp + 0x10], 0x7f7f7f7f
mov dword [esp + 0x14], 0x7f7f7f7f
mov dword [esp + 0x18], 0x7f7f7f7f
mov dword [esp + 0x1c], 0x7f7f7f7f
mov dword [esp + 0x20], 0x7f7f7f7f
mov dword [esp + 0x24], 0x7f7f7f7f
mov dword [esp + 0x28], 0x7f7f7f7f
mov dword [esp + 0x2c], 0x7f7f7f7f
mov dword [esp + 0x30], 0x7f7f7f7f
mov dword [esp + 0x34], 0x3e7f7f7f
mov dword [esp + 0x38], 0x3f7f7f7f
mov dword [esp + 0x3c], 0x37363534
mov dword [esp + 0x40], 0x3b3a3938
mov dword [esp + 0x44], 0x7f7f3d3c
mov dword [esp + 0x48], 0x7f7f407f
mov dword [esp + 0x4c], 0x201007f
mov dword [esp + 0x50], 0x6050403
mov dword [esp + 0x54], 0xa090807
mov dword [esp + 0x58], 0xe0d0c0b
mov dword [esp + 0x5c], 0x1211100f
mov dword [esp + 0x60], 0x16151413
mov dword [esp + 0x64], 0x7f191817
mov dword [esp + 0x68], 0x7f7f7f7f
mov dword [esp + 0x6c], 0x1c1b1a7f
mov dword [esp + 0x70], 0x201f1e1d
mov dword [esp + 0x74], 0x24232221
mov dword [esp + 0x78], 0x28272625
mov dword [esp + 0x7c], 0x2c2b2a29
mov dword [esp + 0x80], 0x302f2e2d
mov dword [esp + 0x84], 0x7f333231
mov dword [esp + 0x88], 0x7f7f7f7f
test ebx, ebx
je 0x416147
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x416044
cmp byte [edx + edi], 0xd
jne 0x416044
cmp byte [edx + edi + 1], 0xa
je 0x41607d
mov al, byte [edx + edi]
cmp al, 0xa
je 0x41607d
cmp al, 0x3d
jne 0x416059
inc ecx
cmp ecx, 2
ja 0x416155
cmp al, 0x7f
ja 0x416155
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x416155
cmp al, 0x40
jae 0x41607c
test ecx, ecx
jne 0x416155
inc esi
inc edx
cmp edx, ebx
jb 0x41602e
test esi, esi
je 0x416147
mov ecx, dword [esp + 0x98]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x94]
lea eax, [eax*2 + 7]
shr eax, 3
test esi, esi
je 0x416166
cmp dword [ecx], eax
jb 0x416166
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x416136
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x416132
cmp al, 0xa
je 0x416132
movzx eax, al
mov cl, byte [esp + eax + 0x10]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub ebp, eax
movzx eax, cl
mov ecx, dword [esp + 0x90]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [esp + 0x90], ecx
cmp ecx, 4
jne 0x416132
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x41611d
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x41612a
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x416132
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x4160ce
sub esi, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
pop ebp
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x84
ret 0x10