joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941

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 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 0x40c818
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004075d7
mov dword [ebp - 0x14], eax
cmp dword [0x44b434], esi
jne 0x40c90b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c898
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c9eb
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c9eb
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c9eb
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x44b434], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x44b438], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x44b43c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44b444], eax
test eax, eax
je 0x40c908
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44b440], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c930
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c923
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c945
push 4
pop eax
jmp 0x40c9ed
cmp dword [ebp - 0x14], esi
je 0x40c945
push dword [0x44b434]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c92a
mov eax, dword [0x44b440]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c9a3
cmp dword [0x44b444], edi
je 0x40c9a3
push eax
call ebx
push dword [0x44b444]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c9a3
test eax, eax
je 0x40c9a3
call ecx
test eax, eax
je 0x40c998
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c998
test byte [ebp - 8], 1
jne 0x40c9a3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c9d3
mov eax, dword [0x44b438]
cmp eax, edi
je 0x40c9d0
push eax
call ebx
test eax, eax
je 0x40c9d0
call eax
mov esi, eax
test esi, esi
je 0x40c9d0
mov eax, dword [0x44b43c]
cmp eax, edi
je 0x40c9d0
push eax
call ebx
test eax, eax
je 0x40c9d0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x44b434]
call ebx
test eax, eax
je 0x40c9eb
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c9ed
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403f7e
mov esp, ebp
pop ebp
ret
Function at 0x40b074
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestBinarySearch.exe_gMozillaPoisonSize], eax
call fcn.00408ad9
pop ecx
mov ecx, dword [sym.TestBinarySearch.exe_gMozillaPoisonSize]
mov dword [sym.TestBinarySearch.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40b0ac
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestBinarySearch.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x40cc19
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp + 0xc]
and eax, 3
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
sub ecx, eax
je 0x40cc63
rol edx, 5
xor edx, dword [esi + ebx]
add esi, 4
imul eax, edx, 0x9e3779b9
rol eax, 5
xor eax, 4
imul edx, eax, 0x9e3779b9
cmp esi, ecx
jb 0x40cc32
jmp 0x40cc63
movsx ecx, byte [esi + ebx]
rol edx, 5
xor edx, ecx
imul edx, edx, 0x9e3779b9
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x40cc53
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x40dcf9
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x40dd2e
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x40dd58
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x40dd58
test edi, edi
je 0x40dd25
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40dd25
test edi, edi
je 0x40dd60
mov eax, edi
jmp 0x40dd27
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40dd27
mov esi, 0xc3
push esi
push str.c:_builds_moz2_slave_m_in_w32_d_0000000000000000000_build_src_mfbt_Poison.cpp
push str.no_usable_poison_region_identified
call fcn.00411a6d
add esp, 0xc
int3
Function at 0x411aa1
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestEnumSet.exe_gMozillaPoisonSize], eax
call fcn.0040dcf9
pop ecx
mov ecx, dword [sym.TestEnumSet.exe_gMozillaPoisonSize]
mov dword [sym.TestEnumSet.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x411ad9
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestEnumSet.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x40a5b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
jmp 0x40a5ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40a5d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40a5c0
mov eax, 1
add ebx, ebx
jne 0x40a5e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40a5d8
jne 0x40a5f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a5d8
xor ecx, ecx
sub eax, 3
jb 0x40a608
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40a67a
mov ebp, eax
add ebx, ebx
jne 0x40a613
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40a620
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40a644
inc ecx
add ebx, ebx
jne 0x40a630
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40a625
jne 0x40a641
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a625
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40a664
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40a655
jmp 0x40a5c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40a664
add edi, ecx
jmp 0x40a5c6
pop esi
mov edi, esi
mov ecx, 0x23
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40a682
cmp byte [edi], 1
jne 0x40a682
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 0x40a687
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40a6ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xbfe4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc03c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40a6b4
mov ecx, edi
jns 0x40a6e3
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 + 0xc044]
or eax, eax
je 0x40a6f9
mov dword [ebx], eax
add ebx, 4
jmp 0x40a6d1
call dword [esi + 0xc040]
mov ebp, dword [esi + 0xc048]
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 0x40a733
sub esp, 0xffffff80
jmp 0x402640

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 0x10004c30
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
xor ecx, ecx
xor edx, edx
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov cl, byte [esi + 0x100]
mov dl, byte [esi + 0x101]
test ebp, ebp
je 0x10004c7f
inc ecx
mov ebx, 0xff
and ecx, ebx
xor eax, eax
mov al, byte [esi + ecx]
add edx, eax
and edx, ebx
xor ebx, ebx
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov byte [esi + edx], al
add al, bl
mov bl, byte [edi]
mov al, byte [esi + eax]
xor bl, al
mov byte [edi], bl
inc edi
dec ebp
jne 0x10004c54
pop ebp
pop edi
lea eax, [esi + 0x100]
pop esi
mov byte [eax], cl
pop ebx
mov byte [eax + 1], dl
ret 0xc

Function at 0x10004c91
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov eax, 0x3020100
push esi
mov ecx, 0x40
mov esi, dword [esp + 0xc]
push edi
mov edx, esi
push ebp
mov dword [edx], eax
add edx, 4
add eax, 0x4040404
dec ecx
jne 0x10004ca5
xor ecx, ecx
xor edi, edi
mov ebp, dword [esp + 0x1c]
mov byte [esi + 0x100], cl
mov byte [esi + 0x101], cl
xor ebx, ebx
xor edx, edx
xor eax, eax
mov dl, byte [edi + esi]
mov al, byte [ebp + ecx]
add bl, al
inc ecx
add bl, dl
inc edi
mov al, byte [ebx + esi]
mov byte [edi + esi - 1], al
cmp dword [esp + 0x18], ecx
mov byte [ebx + esi], dl
jne 0x10004ceb
xor ecx, ecx
cmp edi, 0x100
jb 0x10004cc8
pop ebp
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x10004f93
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10004fa2
pop dword [ebp - 0x14]
mov eax, 0x10004fa2
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x3c1d4
push 0
mov eax, 0x40411155
sub eax, 0x303e8049
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0xe0716b56
add ecx, 0x1f8ee1e7
mov ebx, eax
mov esi, 0xce9b100c
add esi, 0x41695bf4
add esi, dword [ebp - 0x14]
mov edi, 0x4af96ceb
add edi, 0x44c928fc
xor dword [ebp - 4], eax
mov edx, dword [esi]
add dword [ebp - 4], 0x9837d586
xor edx, edi
sub dword [ebp - 4], edi
mov dword [ebx], edx
add dword [ebp - 0x10], 0xbfb7283d
add ebx, 0xd7708253
add ebx, 0x288f7db1
add esi, 0x243212ba
add esi, 0xdbcded4a
loop 0x10004ffc
add eax, 0x769501e8
add eax, 0x896c25df
mov ebx, eax
add eax, 0x77755967
add eax, 0x888aa69e
mov ecx, 0xdc0f6738
add ecx, 0x33f098c8
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x40d85e
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6f6f6fa0], dl
nop
pushal
nop
nop
nop
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x74331f4d
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
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
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42ffdf
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x5f0762c1
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4cb795
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x549689
call fcn.00528c47
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call main
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x552bc8
call main
cmp eax, 0xffffffff
jne 0x4cb849
push 0
push 0x55a858
lea ecx, [ebp - 0x4d0]
call main
cmp eax, 0xffffffff
jne 0x4cb849
push 0
push 0x554a24
lea ecx, [ebp - 0x4d0]
call main
cmp eax, 0xffffffff
jne 0x4cb849
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call main
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.kernel32.dll_SearchPathW]
test eax, eax
jne 0x4cb825
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00401fd0
jmp 0x4cb878
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call main
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00401fd0
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4cb86f
mov ebx, dword [ebp - 0x4cc]
jmp 0x4cb878
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00401fd0
mov eax, ebx
call fcn.00528bf6
ret

Function at 0x4d0d2c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x4d0d3b
pop dword [ebp - 0x40]
mov eax, 0x9b7efaee
sub eax, 0x9b31edb3
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x8a283
push 0
mov eax, 0x9b65376
sub eax, 0x961609a
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x22d65432
add ecx, 0xdd29dfc4
mov esi, eax
mov edi, 0xb1de9636
sub edi, 0xb181f236
add edi, dword [ebp - 0x40]
mov ebx, 0xf320313b
add ebx, 0x5c9309b5
add dword [ebp - 0xc], eax
mov edx, dword [edi]
mov dword [ebp - 0xc], 0x970881ca
add edx, ebx
add dword [ebp - 0x38], esi
mov dword [esi], edx
xor dword [ebp - 0x1c], eax
add esi, 0x8fa3254a
add esi, 0x705cdaba
add edi, 4
loop 0x4d0d9a
add eax, 0xc2ab
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x476089
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x478f10
call fcn.004767c8
push 1
call fcn.0047632c
pop ecx
test al, al
jne 0x475f32
push 7
call fcn.00476593
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004762f7
mov byte [ebp - 0x24], al
mov eax, dword [0x49dd84]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x475f2b
test eax, eax
jne 0x475f9c
mov dword [0x49dd84], ecx
push 0x4783d8
push 0x4783c8
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x475f7f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x476083
push 0x4783c4
push 0x4783bc
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x49dd84], 2
jmp 0x475fa1
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00476489
pop ecx
call fcn.00476587
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x475fd1
push esi
call fcn.004763fc
pop ecx
test al, al
je 0x475fd1
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.004767c2
call esi
call fcn.0047658d
mov esi, eax
cmp dword [esi], edi
je 0x475fef
push esi
call fcn.004763fc
pop ecx
test al, al
je 0x475fef
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.004766a8
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.004766db
test al, al
jne 0x476028
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x476031
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.004764a6
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x476083
call fcn.0047680e
ret
call fcn.00475da3
jmp 0x475f13

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408e84
nop
mov ecx, 0x1ea45e1e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x45c65b90
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x348d3b96
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x348d3ba5
pop dword [ebp - 0x18]
mov eax, 0x82ce2c41
sub eax, 0x4e40f09c
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xc688b42f
add dword [ebp - 0x28], 0x87c9911c
mov dword [ebp - 0x24], 0xdb49555e
add dword [ebp - 0x24], 0x56e9f6e7
mov dword [ebp - 0x20], 0x7d4221fa
sub dword [ebp - 0x20], 0x30f5ddcc
mov dword [ebp - 0x1c], 0x1f271a78
add dword [ebp - 0x1c], 0xe0d8e588
lea eax, [ebp - 0x28]
push eax
mov eax, 0x9042b144
add eax, 0xa4466064
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x2b5c9291
sub dword [ebp - 0x28], 0xb6ea293b
mov dword [ebp - 0x24], 0xb60e404f
sub dword [ebp - 0x24], 0x74a1deda
mov dword [ebp - 0x20], 0xb7827cca
sub dword [ebp - 0x20], 0x5413105e
mov dword [ebp - 0x1c], 0xa35cda7d
add dword [ebp - 0x1c], 0x5ca32583
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x3cf7cf27
sub eax, 0x86ebcfb
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x5afed
push 0
call eax
mov ecx, 0x3e76
xor ebx, ebx
add ebx, eax
mov edi, 0x4bac0f8a
sub edi, 0x17193f8a
add edi, dword [ebp - 0x18]
mov edx, 0x59b0b68b
add edx, 0x8f78aec0
add dword [ebp - 0xc], ebx
mov esi, dword [edi]
sub dword [ebp - 0xc], ecx
xor esi, edx
add dword [ebp - 0x10], esi
mov dword [ebx], esi
xor dword [ebp - 8], edi
add ebx, 0xe65202d0
add ebx, 0x19adfd34
add edi, 0xd04c3a3e
sub edi, 0xd04c3a3a
loop 0x348d3cc3
add eax, 0xd0917f80
sub eax, 0xd09092d5
mov ebx, eax
add eax, 0xef9e53e0
sub eax, 0xef9e53db
mov ecx, 0x34890000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x10001310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, 0x5a4d
push ebx
push esi
mov esi, ecx
mov ebx, edx
cmp word [esi], ax
jne 0x10001388
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x10001388
movzx ecx, word [eax + 6]
xor edx, edx
add eax, 0xf8
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
test ecx, ecx
je 0x10001388
lea ecx, [eax + 0xc]
push edi
lea esp, [esp]
mov edi, dword [ecx]
lea eax, [edi + esi]
cmp ebx, eax
jb 0x10001364
mov eax, dword [ecx - 4]
add eax, edi
add eax, esi
cmp ebx, eax
jb 0x10001376
inc edx
add ecx, 0x28
cmp edx, dword [ebp - 4]
jb 0x10001350
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edx + edx*4]
shl eax, 3
pop edi
sub eax, esi
add eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001390
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
mov dword [ebp - 0x214], eax
mov edi, edx
push 0x103
lea eax, [ebp - 0x20c]
xor bl, bl
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10001444
push esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001431
push 0
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x10001426
push 0
lea eax, [ebp - 0x210]
push eax
push 0x28
push dword [ebp - 0x214]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
test esi, esi
je 0x10001431
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100253d5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
xor ecx, ebp
pop ebx
call fcn.100253d5
mov esp, ebp
pop ebp
ret

Function at 0x10001460
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x10001480
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10001480
mov al, byte [eax + 0x5e]
shr al, 6
and al, 1
ret
xor al, al
ret

Function at 0x10001490
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, ecx
test esi, esi
je 0x100014f3
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x100014f3
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x100014f3
mov ecx, 0x14c
cmp word [eax + 4], cx
jne 0x100014f3
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x100014f3
mov edx, 0xa
mov ecx, esi
call fcn.10001500
test eax, eax
je 0x100014f3
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100014f3
mov eax, dword [eax]
test eax, eax
je 0x100014f3
cmp ecx, 0x80
jb 0x100014f3
cmp dword [eax + esi + 0x7c], 0
pop esi
setne al
ret
xor al, al
pop esi
ret