joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ac2d
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x1000cb4c
call fcn.1000c97c
cmp byte [0x1001207c], 0
je 0x1000ac4c
mov eax, dword [0x10012080]
jmp 0x1000ad22
lea eax, [ebp - 0x10]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwarePoliciesMicrosoftSecurity
mov dword [ebp - 4], esi
push SysReAllocString
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000ac9c
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push 0x10012080
push esi
push esi
push str.CLSIDInterfaceTest
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000ac9c
cmp dword [ebp - 0x14], 4
je 0x1000acf5
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], esi
test eax, eax
je 0x1000acad
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftSecurity
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000acfd
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
push 0x10012080
push esi
push esi
push str.CLSIDInterfaceTest
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000acfd
cmp dword [ebp - 0x14], 4
jne 0x1000acfd
mov esi, dword [0x10012080]
jmp 0x1000ad03
mov dword [0x10012080], esi
mov al, 1
mov dword [ebp - 4], 3
cmp dword [ebp - 0x10], 0
mov byte [0x1001207c], al
je 0x1000ad20
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.1000c95c
ret

Function at 0x1000b6b1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1000b6c0
pop dword [ebp - 0x24]
mov eax, 0x11a9a87c
sub eax, 0x1a8f1bc
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x3924c
push 0
mov eax, 0x22823455
add eax, 0xed7e9ca7
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0xbdca6f89
sub ecx, 0xbdca23e8
mov edx, eax
mov edi, 0x8c5925e5
sub edi, 0x7c57c3e5
add edi, dword [ebp - 0x24]
mov esi, 0x2eb3496
sub esi, 0x380c0857
mov ebx, dword [edi]
sub dword [ebp - 0xc], esi
xor ebx, esi
sub dword [ebp - 4], esi
mov dword [edx], ebx
mov dword [ebp - 0x20], 0x6797adc4
add edx, 4
add edi, 0xe6e1f512
sub edi, 0xe6e1f50e
loop 0x1000b71f
add eax, 0x5d3ace8
add eax, 0xfa2d746f
xor ebx, ebx
add ebx, eax
add eax, 0x5f79c0f
add eax, 0xfa0863f6
mov ecx, 0xf7da5b03
add ecx, 0x1825a4fd
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x40baa3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x40bab2
pop dword [ebp - 0x48]
mov eax, 0x40bab2
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xd364bded
sub dword [ebp - 0x58], 0x851278a2
mov dword [ebp - 0x54], 0xd9235fcb
add dword [ebp - 0x54], 0x590fec7a
mov dword [ebp - 0x50], 0x843ede2a
add dword [ebp - 0x50], 0xc80d6604
mov dword [ebp - 0x4c], 0x6c6e1d67
sub dword [ebp - 0x4c], 0x6c6e1d67
lea eax, [ebp - 0x58]
push eax
mov eax, 0xdf83368c
sub eax, 0xdf4325e0
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xea1a7faf
add dword [ebp - 0x58], 0x8a57e9a7
mov dword [ebp - 0x54], 0x32a7b724
sub dword [ebp - 0x54], 0xf13b55af
mov dword [ebp - 0x50], 0x4850c735
add dword [ebp - 0x50], 0x1b1ea537
mov dword [ebp - 0x4c], 0xc6c4670a
add dword [ebp - 0x4c], 0x393b98f6
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x1ffb3cef
sub eax, 0x1fbb2bef
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3bb74
push 0
call eax
mov ecx, 0x791bad5c
sub ecx, 0x791b5824
xor edi, edi
add edi, eax
mov ebx, 0xd38dfadf
sub ebx, 0xd34cbcdf
add ebx, dword [ebp - 0x48]
mov edx, 0xaa7b3cf4
add edx, 0xf28f8828
sub dword [ebp - 0x28], ecx
mov esi, dword [ebx]
add dword [ebp - 0x3c], ebx
add esi, edx
xor dword [ebp - 0x20], edx
mov dword [edi], esi
mov dword [ebp - 0x34], 0x2eadca8e
add edi, 4
add ebx, 4
loop 0x40bbd1
add eax, 0xa8987193
sub eax, 0xa89729e0
mov ebx, eax
add eax, 0xbf07efc1
sub eax, 0xbf07efbc
mov ecx, 0x7c865665
add ecx, 0x83b9a99b
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x403a74
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x44608c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x101
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x390], eax
call fcn.004046c1
cmp dword [esi + 0x14], 8
jb 0x403aaa
mov eax, dword [esi]
jmp 0x403aac
mov eax, esi
lea ecx, [ebp - 0x390]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x403adf
push 0
push dword [ebp - 0x390]
mov ecx, esi
call fcn.004046c1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004065bb
mov esp, ebp
pop ebp
ret 4
push 0x4243c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.004018f5
push 0x442bc0
lea eax, [ebp - 0x38c]
push eax
call fcn.004073d4
int3

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x433002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x7fb061bc
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x182740dd
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401980
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x401b30
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x4019cc
lea ecx, [esi + 0x10]
push ecx
call fcn.00401410
mov ebx, eax
mov dword [ebp - 8], eax
jmp 0x4019d1
xor ebx, ebx
mov dword [ebp - 8], ebx
push 0
lea eax, [ebp - 4]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4019f4
mov dword [ebp - 4], eax
push dword [ebp + 8]
push str.cant_read_input_file____s_n
jmp 0x401b36
mov eax, dword [ebp - 4]
test eax, eax
je 0x4019e7
cmp eax, esi
jne 0x4019e7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
xorps xmm0, xmm0
mov esi, 1
movups xmmword [eax + ebx], xmm0
mov eax, dword [ebp + 0xc]
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov al, byte [ebx]
cmp al, 0xff
jne 0x401a38
cmp byte [ebx + 1], 0xfe
jne 0x401a59
add ebx, 2
sub dword [ebp - 4], 2
jmp 0x401a95
cmp al, 0xef
jne 0x401a59
cmp byte [ebx + 1], 0xbb
jne 0x401a59
cmp byte [ebx + 2], 0xbf
jne 0x401a59
mov eax, dword [ebp - 4]
add ebx, 3
sub eax, 3
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
jmp 0x401a5c
mov eax, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push eax
push ebx
push 0
push 0xfde9
call edi
lea esi, [eax + 1]
lea ecx, [esi + esi]
push ecx
call fcn.00401410
push esi
mov ebx, eax
push ebx
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push 0xfde9
call edi
mov esi, 1
push 0xd
push ebx
call fcn.00403237
push 0xa
push ebx
mov edi, eax
call fcn.00403237
add esp, 0x10
mov ecx, eax
cmp word [ebx], 0xd
jne 0x401aba
cmp word [ebx + 2], 0xa
jne 0x401aba
inc esi
cmp edi, ebx
je 0x401b1f
cmp ecx, ebx
je 0x401b1f
test edi, edi
je 0x401ace
cmp edi, ecx
jae 0x401ace
mov edx, edi
jmp 0x401ad4
test ecx, ecx
je 0x401b27
mov edx, ecx
sub edx, ebx
lea eax, [edi + 2]
sar edx, 1
cmp ecx, eax
jne 0x401b50
cmp word [ebx], 0x23
je 0x401b17
push esi
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
call fcn.004010c0
mov edx, eax
xor ecx, ecx
test edx, edx
je 0x401b16
nop word [eax + eax]
cmp word [ebx + ecx*2], 0xd
jne 0x401b11
cmp word [ebx + ecx*2 + 2], 0xa
jne 0x401b11
inc esi
inc ecx
inc ecx
cmp ecx, edx
jb 0x401b00
inc esi
lea ebx, [ebx + edx*2]
jmp 0x401a95
add ebx, 2
jmp 0x401a95
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
push str.cant_open_input_file____s_n
push 2
call fcn.004069a0
add esp, 4
push eax
call fcn.00402440
add esp, 0xc
push 1
call fcn.004068c2
push ebx
push edx
push edx
push esi
push dword [ebp + 8]
push str._ncrlf_error____s___line__d____.S_n
push 2
call fcn.004069a0
add esp, 4
push eax
call fcn.00402440
add esp, 0x1c
push 1
call fcn.004068c2
int3
Function at 0x402c9a
Capabilities:
Parse pe header

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

Function at 0x40c6f7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41a8f8
push 0x41a8f0
push str.FlsAlloc
push 0x1f
call fcn.0040c5b6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40c72b
push dword [ebp + 8]
mov ecx, esi
call dword [0x418120]
call esi
jmp 0x40c731
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40c775
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41a908
push 0x41a900
push str.FlsGetValue
push 0x21
call fcn.0040c5b6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40c7ac
push dword [ebp + 8]
mov ecx, esi
call dword [0x418120]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40c7b4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41a910
push 0x41a908
push str.FlsSetValue
push 0x22
call fcn.0040c5b6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40c7ee
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x418120]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40f2b2
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40f34f
push ebx
push esi
call fcn.0040f27b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040f20f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40f2fc
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40f34e
push edi
push eax
call fcn.0040beae
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40f31c
call fcn.0040be74
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40f34d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040f20f
add esp, 0x20
test eax, eax
jne 0x40f33b
push edi
call fcn.0040be74
jmp 0x40f343
push ebx
call fcn.0040be74
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x417120
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41714d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41714d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x524760
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x811c9dc5
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
sub edi, ecx
xor esi, esi
and edi, 0xfffffffe
lea edx, [edi + ecx]
cmp ecx, edx
cmova edi, ebx
test edi, edi
je 0x524799
movzx edx, byte [ecx]
lea ecx, [ecx + 1]
xor edx, eax
inc esi
imul eax, edx, 0x1000193
cmp esi, edi
jne 0x524786
pop edi
pop esi
pop ebx
pop ebp
ret 8

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 0x505450
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa9000]
push edi
or ebp, 0xffffffff
jmp 0x505472
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x505479
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x505468
mov eax, 1
add ebx, ebx
jne 0x50548b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50549c
jne 0x5054bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5054bb
dec eax
add ebx, ebx
jne 0x5054a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x505480
add ebx, ebx
jne 0x5054b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x50550d
xor ecx, ecx
sub eax, 3
jb 0x5054d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x505542
sar eax, 1
mov ebp, eax
jmp 0x5054de
add ebx, ebx
jne 0x5054de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5054ac
inc ecx
add ebx, ebx
jne 0x5054ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5054ac
add ebx, ebx
jne 0x5054f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5054ee
jne 0x50550a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5054ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50552c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50551e
jmp 0x50546e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50552c
add edi, ecx
jmp 0x50546e
pop esi
mov edi, esi
mov ecx, 0x4a38
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50554a
cmp byte [edi], 0x13
jne 0x50554a
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 0x50554f
lea edi, [esi + 0x102000]
mov eax, dword [edi]
or eax, eax
je 0x5055c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10746c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x107598]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50557c
mov ecx, edi
jns 0x5055ab
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 + 0x10759c]
or eax, eax
je 0x5055c1
mov dword [ebx], eax
add ebx, 4
jmp 0x505599
call dword [esi + 0x1075a4]
mov ebp, dword [esi + 0x1075a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x5055fb
sub esp, 0xffffff80
jmp 0x484e08
Function at 0x401000
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
cld
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x401d28], eax
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [0x401d2c], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, 0x401d34
xor edx, edx
xchg esi, eax
mov eax, edx
mov bl, 1
lodsb al, byte [esi]
cmp al, 0x20
je 0x40102d
test al, al
je 0x401054
cmp al, 0x22
jne 0x40103f
xor ah, 1
jmp 0x401048
cmp al, 0x20
jne 0x401047
test ah, ah
je 0x40104f
stosb byte es:[edi], al
lodsb al, byte [esi]
add dl, bl
xor ebx, ebx
jmp 0x401032
mov al, 0
stosb byte es:[edi], al
jmp 0x40102b
stosb byte es:[edi], al
stosb byte es:[edi], al
mov dword [0x401d30], edx
call fcn.00401408
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10008bec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x10008bfb
pop dword [ebp - 4]
mov eax, 0x10008bfb
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xa27f4b86
sub dword [ebp - 0x14], 0x542d063b
mov dword [ebp - 0x10], 0xa602f5c1
add dword [ebp - 0x10], 0x8c305684
mov dword [ebp - 0xc], 0x329ffdcb
sub dword [ebp - 0xc], 0xe653b99d
mov dword [ebp - 8], 0x372ea9c
add dword [ebp - 8], 0xfc8d1564
lea eax, [ebp - 0x14]
push eax
mov eax, 0xce4dec57
sub eax, 0xbe4c0c07
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x76c46a29
add dword [ebp - 0x14], 0xfdadff2d
mov dword [ebp - 0x10], 0x45af5669
add dword [ebp - 0x10], 0xfbbd0b0c
mov dword [ebp - 0xc], 0x2b19d432
add dword [ebp - 0xc], 0x3855983a
mov dword [ebp - 8], 0xb2e9d9e
add dword [ebp - 8], 0xf4d16262
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0xe9299dc5
sub eax, 0xd927bd95
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x3d8ee
push 0
call eax
mov ecx, 0xe17f453f
sub ecx, 0xe17ef837
mov edi, eax
mov esi, 0x1002dc00
add esi, dword [ebp - 4]
mov ebx, 0xd772d3ba
sub ebx, 0x8d5e2a8c
mov edx, dword [esi]
xor edx, ebx
mov dword [edi], edx
add edi, 0xbacd6bad
sub edi, 0xbacd6ba9
add esi, 0x88f45924
add esi, 0x770ba6e0
loop 0x10008d12
add eax, 0x126f3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x1bb29579
add ecx, 0xf44d6a87
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0xeeb1ae
Capabilities:
Encode data using xor

Disassembly:
inc ecx
push esi
inc bp
cmovns esp, ecx
dec ebp
movsx ebp, ax
inc eax
mov dh, 0x34
pushfd
dec ecx
movzx esi, cx
push eax
push ebp
inc eax
dec dh
inc ebp
btr esp, ecx
sub bl, 0x4f
inc ecx
push ecx
stc
rcr bl, cl
inc ecx
bswap esp
push edi
stc
inc bp
shld ebx, ecx, 0x34
push ecx
not bl
dec ecx
sal ebp, cl
dec eax
adc edi, 0x3ae0bfd
dec eax
lea esi, [0xff46d086]
push esi
inc eax
dec bh
dec esp
mov esp, dword [esp + 0x90]
inc ebp
btr ebp, eax
inc ecx
shr ebp, 0x72
inc eax
sbb bh, 0xbd
inc ecx
add esp, 0x22f96b51
inc ecx
rol esp, 3
les edx, [ecx + 0x6b]
stc
and al, byte [ecx - 0x3f]
les eax, [ebx]
inc ecx
dec esp
inc ecx
neg esp
inc bp
adc ebp, esi
inc ecx
xor ebx, 0x1ea51238
dec ecx
btr ebp, 0x59
dec ebp
lea esp, [esp + esi]
dec eax
mov ebx, esp
inc ecx
adc bh, dh
inc bp
btc ebx, eax
inc cx
xor ebx, 0x81483705
in al, dx
inc eax
add dword [eax], eax
add byte [eax - 0x49], al
jns 0xb92f94
invalid
push esi
inc ecx
push edi
inc cx
mov esi, esi
push ebx
dec eax
movsx ebx, dx
setg bl
inc ecx
push eax
setl bl
inc ax
movsx ebx, dh
inc ecx
push edx
inc eax
setp dh
inc cx
cmovbe ebx, esp
push edx
inc ecx
push ebp
inc ecx
movzx esi, ax
inc cx
not ebp
inc ecx
push ebx
inc ecx
push esp
dec esp
arpl dx, bx
jmp 0xb92f37
Function at 0x4017d0
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push 0
push 0
push 0
push 0
push 0x404290
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x40188a
push 0
push 0
push 0
push 0
push str.http:__icanhazip.com_
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
je 0x40187e
lea ecx, [ebp - 0x6c]
push ecx
push 0x63
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp - 0x68]
test ecx, ecx
je 0x40187e
push 0x40431c
lea edx, [ebp - 0x68]
push edx
call fcn.004018b0
add esp, 8
test eax, eax
je 0x40186b
lea eax, [ebp - 0x68]
push eax
call fcn.00401400
add esp, 4
lea ecx, [ebp - 0x68]
push ecx
push 0x404320
push 0x407b08
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x40187e
push 0x404328
push 0x407b08
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x40189d
push str._0.0.0.0_
push 0x407b08
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0x407b08
mov esp, ebp
pop ebp
ret
Function at 0x4018d0
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Reference http user-agent string
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x400
push 0
push 0x407bd0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
push 0
push 0
push 1
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_96.0.4664.110_Safari_537.36
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4019c3
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4019b9
movzx edx, byte [ebp + 8]
cmp edx, 1
jne 0x4019a1
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x40199f
lea ecx, [ebp - 0x10]
push ecx
push 0x3ff
push 0x407bd0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401995
cmp dword [ebp - 0x10], 0
je 0x401995
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x407bd0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x401958
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4019b9
lea ecx, [ebp - 0x10]
push ecx
push 0x3ff
push 0x407bd0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0x407bd0
mov esp, ebp
pop ebp
ret