joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c56d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40c5ac
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40c5ac
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40c5ac
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40c5ac
cmp dword [ecx + 0x74], 0xe
jbe 0x40c5ac
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41584a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x423860
push 0x423858
push str.FlsAlloc
push 0x1f
call fcn.004156d4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41587e
push dword [ebp + 8]
mov ecx, esi
call dword [0x4201b8]
call esi
jmp 0x415884
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4158c8
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x423870
push 0x423868
push str.FlsGetValue
push 0x21
call fcn.004156d4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4158ff
push dword [ebp + 8]
mov ecx, esi
call dword [0x4201b8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x415907
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x423878
push 0x423870
push str.FlsSetValue
push 0x22
call fcn.004156d4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x415941
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4201b8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x417b53
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x42b040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x417b9e
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00417cee
test al, al
jne 0x417b98
sub edx, 2
cmp edx, edi
jne 0x417b7e
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x417bc0
lea eax, [edi + 2]
cmp edx, eax
je 0x417bc0
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00417a9f
add esp, 0x10
jmp 0x417cba
push esi
lea ecx, [ebp - 0x255]
call fcn.00417cee
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x417c03
push dword [ebp - 0x25c]
jmp 0x417bb0
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x417c40
cmp word [ebp - 0x226], 0
je 0x417c61
cmp word [ebp - 0x226], ax
jne 0x417c40
cmp word [ebp - 0x224], 0
je 0x417c61
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00417a9f
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x417cad
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x417c1a
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x417c95
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x417cba
push 0x4178cf
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041c1a0
add esp, 0x10
jmp 0x417c8a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b88f
leave
ret

Function at 0x418638
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x418649
pop esi
ret
push ebx
push edi
push esi
call fcn.00418601
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00415ba0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x418671
push ebx
push esi
push edi
call fcn.0040d210
add esp, 0xc
push 0
call fcn.00414d14
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x418a41
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00418686
Function at 0x41b14c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00414a29
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41b1bb
cmp esi, dword [ebp - 4]
je 0x41b1b6
cmp dword [ebp + 0xc], 0
je 0x41b1b6
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41b193
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0041ac9e
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x41b1bd
xor eax, eax
inc eax
jmp 0x41b1bd
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x41b222
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x42b040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00414a29
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00414a29
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x41b299
cmp word [ecx], dx
je 0x41b299
mov eax, dword [0x423ebc]
push edi
dec eax
push eax
push 0x423da8
call fcn.0041b1c1
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x41b30c
cmp word [eax], dx
je 0x41b30c
mov eax, dword [edi]
test eax, eax
je 0x41b2bd
cmp word [eax], dx
je 0x41b2bd
lea eax, [ebp - 0x10]
push eax
call fcn.0041aba4
jmp 0x41b2c6
lea eax, [ebp - 0x10]
push eax
call fcn.0041ac3f
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x41b336
mov eax, dword [0x423da4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x423a98
call fcn.0041b1c1
add esp, 0xc
test al, al
je 0x41b336
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x41b301
cmp word [eax], di
je 0x41b301
lea eax, [ebp - 0x10]
push eax
call fcn.0041aba4
pop ecx
jmp 0x41b338
lea eax, [ebp - 0x10]
push eax
call fcn.0041ac3f
jmp 0x41b2fe
mov eax, dword [edi]
test eax, eax
je 0x41b323
cmp word [eax], dx
je 0x41b323
lea eax, [ebp - 0x10]
push eax
call fcn.0041ab59
pop ecx
jmp 0x41b336
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x41b401
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0041b046
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41b401
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x41b401
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x41b401
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41b38e
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00415a47
test ebx, ebx
je 0x41b3fc
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00415a47
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41b401
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41b401
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0041d528
add esp, 0x10
xor eax, eax
inc eax
jmp 0x41b403
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b88f
leave
ret
Function at 0x41f1a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f1cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f1cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x412565
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004123e4

Function at 0x41695c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004162ca

Function at 0x416967
Capabilities:
Set environment variable

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

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ed0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x227e09b4
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x56f57d1d
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x42ef20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1b000]
push edi
or ebp, 0xffffffff
jmp 0x42ef42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42ef49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42ef38
mov eax, 1
add ebx, ebx
jne 0x42ef5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42ef50
jne 0x42ef6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42ef50
xor ecx, ecx
sub eax, 3
jb 0x42ef80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42eff2
mov ebp, eax
add ebx, ebx
jne 0x42ef8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42ef98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42efbc
inc ecx
add ebx, ebx
jne 0x42efa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42ef9d
jne 0x42efb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42ef9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42efdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42efcd
jmp 0x42ef3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42efdc
add edi, ecx
jmp 0x42ef3e
pop esi
mov edi, esi
mov ecx, 0xafa
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42effa
cmp byte [edi], 2
jne 0x42effa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42efff
lea edi, [esi + 0x2b000]
mov eax, dword [edi]
or eax, eax
je 0x42f077
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x30e30]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x30f40]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42f02c
mov ecx, edi
jns 0x42f05b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x30f48]
or eax, eax
je 0x42f071
mov dword [ebx], eax
add ebx, 4
jmp 0x42f049
call dword [esi + 0x30f44]
mov ebp, dword [esi + 0x30f4c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42f0ab
sub esp, 0xffffff80
jmp 0x41a78e
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

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

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x404017
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4a601c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x44], eax
jb 0x404038
mov ecx, dword [ecx]
push esi
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40404e
xor al, al
jmp 0x404102
call dword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov dword [ebp - 0x40], eax
cmp eax, 0xffffffff
je 0x404047
push ebx
push edi
xor eax, eax
xor ecx, ecx
inc eax
push 0x1c
pop edx
mov dword [ebp - 0x34], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004609dc
and dword [ebp - 0x3c], 0
lea edi, [ebp - 0x24]
and dword [ebp - 0x38], 0
mov ebx, eax
pop ecx
push 8
pop ecx
mov eax, 0x30303030
mov byte [ebp - 0x3c], 1
push 0x1c
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x40]
pop edx
mov byte [ebp - 0x25], 1
mov dword [ebp - 0x2c], edx
mov ecx, dword [ebp - 0x30]
mov eax, ecx
dec ecx
mov dword [ebp - 0x30], ecx
test eax, eax
je 0x4040f0
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
je 0x4040f0
push 0xbb8
push edx
push ebx
lea eax, [ebp - 0x3c]
push eax
push 0x20
lea eax, [ebp - 0x24]
push eax
push esi
push edi
call dword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho]
test eax, eax
je 0x404111
mov ecx, dword [ebp - 0x44]
push ebx
call fcn.004017ec
cmp dword [ebx], esi
jne 0x4040e4
mov byte [ebp - 0x25], 0
inc byte [ebp - 0x3c]
cmp byte [ebp - 0x25], 0
mov edx, dword [ebp - 0x2c]
jne 0x4040a1
push ebx
call fcn.004609e5
pop ecx
push edi
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00460962
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 4], 0x2af9
jne 0x4040e4
push ebx
call fcn.004609e5
mov eax, dword [ebp - 0x34]
xor ecx, ecx
push 0x1c
inc eax
pop edx
add dword [ebp - 0x2c], edx
mov dword [ebp - 0x34], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004609dc
pop ecx
pop ecx
mov ebx, eax
jmp 0x4040e7
Function at 0x4087d6
Capabilities:
Create pipe
Create process on windows
Create reverse shell
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreatePipe]
lea eax, [ebp - 0x1c]
xor esi, esi
mov dword [ebp - 0x1c], 0xc
push esi
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0x14], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], esi
push eax
mov ebx, ecx
call edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 1
push dword [ebp - 4]
call esi
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call edi
push 0
push 1
push dword [ebp - 8]
call esi
push 0x40
xor esi, esi
lea eax, [ebp - 0x6c]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0xc]
lea edi, [ebp - 0x28]
mov dword [ebp - 0x30], eax
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x2c], esi
stosd dword es:[edi], eax
or dword [ebp - 0x44], 0x100
mov dword [ebp - 0x70], 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push esi
push 0x8000000
push 1
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4088b0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
call esi
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x28]
call esi
mov al, 1
jmp 0x4088b2
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40da7c
Capabilities:
Create thread

Disassembly:
push 0x54
mov eax, 0x46368d
call fcn.00461b04
mov edi, dword [ebp + 0x5c]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [ecx]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x54]
test ecx, ecx
je 0x40dab1
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
call dword [eax]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x60]
call fcn.0040db54
mov byte [ebp - 4], 5
cmp dword [esi + 0x5c], ebx
jne 0x40db25
lea eax, [ebp - 0x60]
push eax
lea ecx, [esi + 8]
call fcn.00410f6d
lea eax, [ebp - 0x38]
push eax
lea ecx, [esi + 0x30]
call fcn.00410fdd
mov eax, dword [ebp + 0x58]
lea ecx, [esi + 0xc4]
push edi
mov dword [esi + 0x60], eax
mov byte [esi + 0x58], bl
call fcn.0040e2f2
push ebx
push ebx
push esi
push 0x40e66b
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x40db25
lea ecx, [ebp - 0x60]
mov dword [esi + 0x5c], eax
call fcn.0040db89
lea ecx, [ebp - 0x38]
call fcn.0040db89
mov bl, 1
jmp 0x40db35
lea ecx, [ebp - 0x60]
call fcn.0040db89
lea ecx, [ebp - 0x38]
call fcn.0040db89
lea ecx, [ebp + 8]
call fcn.0040db89
lea ecx, [ebp + 0x30]
call fcn.0040db89
mov al, bl
call fcn.00461acd
ret 0x58
Function at 0x40dfa9
Capabilities:
Get common file path

Disassembly:
push 0x230
mov eax, 0x4636d6
call fcn.00461b38
mov dword [ebp - 0x234], edx
mov ebx, ecx
mov dword [ebp - 0x238], ebx
and dword [ebp - 0x23c], 0
lea eax, [ebp - 0x1f0]
push 0xa
pop ecx
push 0x1e0
mov esi, str.C:WINDOWS_system32
lea edi, [ebp - 0x218]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00406192
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x40e051
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0x5c
cmovae eax, dword [ebp - 0x230]
pop edx
cmp word [eax + ecx*2 - 2], dx
je 0x40e051
push edx
push 1
lea ecx, [ebp - 0x230]
call fcn.00410d00
push dword [ebp - 0x234]
lea edx, [ebp - 0x230]
mov ecx, ebx
call fcn.00410ef7
pop ecx
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.004061c2
mov eax, ebx
call fcn.00461ae2
ret