joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40168b
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov dword [ebp - 4], 0xea
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x42c], 0x3e80
mov dword [ebp - 0x14], 0
push str.Retrieving_share_information..._n
call fcn.00401db0
add esp, 4
cmp dword [ebp - 4], 0xea
jne 0x4018af
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x428]
push edx
mov eax, dword [ebp - 0x42c]
push eax
lea ecx, [ebp - 8]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call sub.NETAPI32.dll_NetShareEnum
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40171f
cmp dword [ebp - 4], 0xea
jne 0x4018aa
mov dword [ebp - 0x420], 0
jmp 0x40173a
mov eax, dword [ebp - 0x420]
add eax, 1
mov dword [ebp - 0x420], eax
mov ecx, dword [ebp - 0x420]
cmp ecx, dword [ebp - 0x428]
jae 0x40189b
mov edx, dword [ebp - 0x420]
imul edx, edx, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx]
push ecx
push str._nShare_Name_t:_s_n
mov edx, dword [0x4115b4]
push edx
call fcn.00401e16
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.00401eef
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 2
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.00401eb2
add esp, 0xc
push 1
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x418]
push edx
call fcn.00401e72
add esp, 0xc
mov eax, dword [ebp - 0x420]
imul eax, eax, 0xc
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax]
push edx
lea eax, [ebp - 0x418]
push eax
call fcn.00401e48
add esp, 8
mov ecx, dword [ebp - 0x420]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 8]
cmp dword [edx + ecx + 4], 0
jne 0x4017f5
push str.Share_Type_t:Disk_n
mov eax, dword [0x4115b4]
push eax
call fcn.00401e16
add esp, 8
jmp 0x40185f
mov ecx, dword [ebp - 0x420]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 8]
cmp dword [edx + ecx + 4], 0x80000000
jne 0x401820
push str.Share_Type_t:Default_Disk_Share_n
mov eax, dword [0x4115b4]
push eax
call fcn.00401e16
add esp, 8
jmp 0x40185f
mov ecx, dword [ebp - 0x420]
imul ecx, ecx, 0xc
mov edx, dword [ebp - 8]
cmp dword [edx + ecx + 4], 0x80000003
jne 0x40184b
push str.Share_Type_t:Default_Pipe_Share_n
mov eax, dword [0x4115b4]
push eax
call fcn.00401e16
add esp, 8
jmp 0x40185f
push str.Share_Type_t:Printer_n
mov ecx, dword [0x4115b4]
push ecx
call fcn.00401e16
add esp, 8
mov edx, dword [ebp - 0x420]
imul edx, edx, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx + 8]
push ecx
push str.Comment_t_t:_s_n
mov edx, dword [0x4115b4]
push edx
call fcn.00401e16
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
call fcn.004018b5
add esp, 4
mov dword [ebp - 0x18], eax
jmp 0x40172b
cmp dword [ebp - 8], 0
je 0x4018aa
mov ecx, dword [ebp - 8]
push ecx
call sub.NETAPI32.dll_NetApiBufferFree
jmp 0x4016d4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4018b5
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
push 0
push 0x409574
push 0x409578
lea ecx, [ebp - 0x20]
push ecx
call sub.MPR.dll_WNetAddConnection2W
test eax, eax
je 0x4018f3
xor eax, eax
jmp 0x40190f
mov edx, dword [ebp + 8]
push edx
push str._H3_WARNING___Null_session_can_be_established_to__ls__H3_
mov eax, dword [0x4115b4]
push eax
call fcn.00401c4f
add esp, 0xc
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x404049
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x409008
cmp edx, dword [eax]
je 0x40406b
add eax, 8
inc ecx
cmp eax, 0x409098
jl 0x40405c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x409008]
jne 0x404199
mov eax, dword [0x409588]
cmp eax, 1
je 0x404173
test eax, eax
jne 0x40409c
cmp dword [0x408cd4], 1
je 0x404173
cmp edx, 0xfc
je 0x404199
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4040d3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00401cc0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00404eb0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x404116
lea eax, [ebp - 0x1a4]
push eax
call fcn.00404eb0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x407424
push edi
call fcn.00401b20
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00401cc0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00401cd0
lea eax, [ebp - 0xa0]
push 0x407404
push eax
call fcn.00401cd0
push dword [esi + 0x40900c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00401cd0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405e05
add esp, 0x2c
pop edi
jmp 0x404199
lea eax, [ebp + 8]
lea esi, [esi + 0x40900c]
push 0
push eax
push dword [esi]
call fcn.00404eb0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401f35
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
mov eax, dword [0x42c040]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [0x487950]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x401f99
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00402630
lea ecx, [esp + 0x14]
call fcn.00401d65
cmp eax, 0x8aafdc01
je 0x401fb1
lea ecx, [esp + 0x14]
add edi, 4
call fcn.00402ef5
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x401f68
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004069ff
add esp, 0x24
ret
mov edx, str.QwruxAA
call fcn.00403895
push eax
call fcn.00403863
mov eax, dword [ebx + 0x24]
pop ecx
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.00402ef5
jmp 0x401f9b
Function at 0x41834a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407940
mov eax, dword [0x42c040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00414745
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41838c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4184e8
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00421760
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x487548]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418770
mov ecx, dword [esi*4 + 0x487548]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x4184e1
cmp eax, dword [edi + ecx + 0x24]
jne 0x4184e1
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4184e1
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418770
add esp, 0x14
test edx, edx
jl 0x4184e1
jg 0x418457
test eax, eax
jb 0x4184e1
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x4184e1
jl 0x418471
cmp dword [ebp - 0x1008], eax
ja 0x4184e1
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41848f
test ebx, ebx
je 0x4184c8
cmp ecx, edi
jae 0x4184c8
mov al, byte [ecx]
cmp al, 0xd
jne 0x4184a9
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4184b5
cmp byte [ecx + 1], 0xa
jne 0x4184b5
inc ecx
jmp 0x4184b5
movzx eax, al
movsx eax, byte [eax + 0x42c9b0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41848f
cmp edx, ebx
jne 0x41848f
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x4184e6
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004069ff
leave
ret
Function at 0x41eada
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x487548]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41eb1a
cmp byte [ebx], 0xa
jne 0x41eb1a
or byte [eax + edi + 0x28], 4
jmp 0x41eb1f
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41ec1d
mov al, byte [edx]
cmp al, 0x1a
je 0x41ebff
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41eb4e
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41eb73
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41eb7d
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41eb30
jmp 0x41ec1d
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41ebfa
cmp dword [ebp - 0xc], 0
je 0x41ebfa
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x487548]
test byte [eax + edi + 0x28], 0x48
je 0x41ebd4
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41ebbf
mov byte [esi], dl
jmp 0x41ebd0
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x487548]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41ec1d
cmp byte [ebp - 1], 0xa
jne 0x41ebe3
cmp esi, ebx
jne 0x41ebe3
mov byte [esi], 0xa
jmp 0x41ec1c
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041878e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41ec1d
mov byte [esi], 0xd
jmp 0x41ec1c
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x487548]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41ec19
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41ec1d
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41ec26
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x487548]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41ec69
cmp word [esi], dx
jne 0x41ec69
or byte [edi + eax + 0x28], 4
jmp 0x41ec6e
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41edc1
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41eda1
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41ecb0
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41ece6
cmp eax, edx
jae 0x41ecf2
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41ec88
jmp 0x41edc1
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41ed9d
cmp dword [ebp - 0x14], 0
je 0x41ed9d
mov eax, dword [ebx*4 + 0x487548]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41ed75
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41ed3e
mov word [esi], cx
jmp 0x41ed71
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x487548]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x487548]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x487548]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41edc1
pop ebx
cmp word [ebp - 4], bx
jne 0x41ed86
cmp esi, dword [ebp + 0xc]
jne 0x41ed86
mov word [esi], bx
jmp 0x41edbe
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041878e
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41edc1
push 0xd
jmp 0x41edba
mov ecx, dword [ebx*4 + 0x487548]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41edb8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41edc1
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x421560
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42158d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42158d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x68a37175
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x39970c03
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4010b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x205c
call fcn.0040a760
mov eax, dword [0x412004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2004]
push 0x2000
push 0
push eax
call fcn.00401ed0
add esp, 0xc
lea eax, [ebp - 0x2004]
push 0x1000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x2008]
mov dword [ebp - 0x2008], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x2008], 0
lea ecx, [ebp - 0x2004]
je 0x401135
push str.x64RevoUnPro.exe
jmp 0x40113a
push str.x86RevoUnPro.exe
call section..text
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push 0x44
lea eax, [ebp - 0x205c]
push 0
push eax
call fcn.00401ed0
add esp, 0xc
mov dword [ebp - 0x205c], 0x44
lea eax, [ebp - 0x2018]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2018], xmm0
push eax
lea eax, [ebp - 0x205c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2004]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x2018]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2014]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004011c5
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4079c7
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x407a02
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4079e9
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
or al, 0x72
invalid
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x407a04
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4079df
invalid
xor eax, eax
pop edi
pop esi
ret
Function at 0x4081f3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [esi - 0x3a]
test dword [ecx + 0x56fffffc], edi
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00407997
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040794c
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
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00407997
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040794c
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.00407997
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040794c
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.00407987
scasd eax, dword es:[edi]
pop ds
invalid
Function at 0x401420
Capabilities:
Get local ipv4 addresses

Disassembly:
push 0xffffffffffffffff
push 0x42b691
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov eax, dword [0x43908c]
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
lea ebx, [edi + 0xc]
mov dword [ebx], eax
mov ecx, dword [0x43908c]
lea ebp, [edi + 0x10]
mov dword [esp + 0x20], 0
mov dword [ebp], ecx
mov edx, dword [0x43908c]
mov dword [edi + 0x14], edx
push 0x280
mov byte [esp + 0x24], 2
mov dword [edi], 0x42d780
mov dword [esp + 0x14], 0x280
call fcn.00423f46
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4014b0
push esi
call fcn.00423f6f
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00423f46
add esp, 8
mov esi, eax
lea edx, [esp + 0x10]
push edx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x40150d
mov ecx, dword [esi + 0x1a0]
mov eax, 6
cmp ecx, eax
je 0x4014dc
mov esi, dword [esi]
test esi, esi
je 0x40150d
cmp dword [esi + 0x1a0], eax
jne 0x4014ce
lea eax, [esi + 8]
lea ecx, [edi + 0x14]
push eax
call fcn.00423ccb
lea ecx, [esi + 0x1c0]
push ecx
mov ecx, ebp
call fcn.00423ccb
lea edx, [esi + 0x1b0]
mov ecx, ebx
push edx
call fcn.00423ccb
mov eax, dword [esi + 0x19c]
mov dword [edi + 4], eax
push esi
call fcn.00423f6f
add esp, 4
mov dword [edi + 8], 0
push str.dhcpcsVc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [esp + 0x18]
mov dword [edi + 8], eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x401aba
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x200
lea eax, [esp]
push esi
mov esi, ecx
push edi
push 0x100
mov ecx, dword [esi + 0x14]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [esi + 8]
push str.DhcpNotifyConfigChange
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x401b21
mov esi, dword [esi + 0x10]
push 0
push esi
call sub.WSOCK32.dll_inet_addr
push eax
mov eax, dword [esp + 0x214]
push eax
call sub.WSOCK32.dll_ntohl
push eax
push 0
lea ecx, [esp + 0x18]
push 1
push ecx
push 0
call edi
test eax, eax
jne 0x401b21
pop edi
mov al, 1
pop esi
add esp, 0x200
ret 4
pop edi
xor al, al
pop esi
add esp, 0x200
ret 4
Function at 0x401b30
Capabilities:
Get local ipv4 addresses

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
push 0x280
mov dword [esp + 0xc], 0x280
call fcn.00423f46
add esp, 4
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x401b71
push esi
call fcn.00423f6f
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00423f46
add esp, 8
mov esi, eax
lea edx, [esp + 8]
push edx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x401bd0
mov ecx, dword [esi + 0x1a0]
mov eax, 6
cmp ecx, eax
je 0x401b9d
mov esi, dword [esi]
test esi, esi
je 0x401bd0
cmp dword [esi + 0x1a0], eax
jne 0x401b8f
lea eax, [esi + 8]
lea ecx, [edi + 0x14]
push eax
call fcn.00423ccb
lea ecx, [esi + 0x1c0]
push ecx
lea ecx, [edi + 0x10]
call fcn.00423ccb
lea edx, [esi + 0x1b0]
lea ecx, [edi + 0xc]
push edx
call fcn.00423ccb
mov eax, dword [esi + 0x19c]
mov dword [edi + 4], eax
push esi
call fcn.00423f6f
add esp, 4
mov al, 1
pop edi
pop esi
pop ecx
ret

Function at 0x407150
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42bd18
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
lea eax, [esp + 0x18]
push 0
push eax
mov eax, dword [esp + 0x20]
push eax
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0
call fcn.00423e24
mov ecx, dword [esi + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov dword [esp + 0xc], 0xffffffff
lea ecx, [esp + 0x14]
je 0x4071ba
call fcn.00423b42
mov al, 1
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
call fcn.00423b42
mov ecx, dword [esp + 4]
xor al, al
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8