joyce8/EMBER2024-capa huggingface dataset:
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 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x1043f108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1043f258
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1043f12e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1043f11a
add dl, dl
jne 0x1043f139
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1043f18c
xor eax, eax
add dl, dl
jne 0x1043f146
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1043f22d
add dl, dl
jne 0x1043f155
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1043f160
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1043f16b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1043f176
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1043f182
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1043f125
mov eax, 1
add dl, dl
jne 0x1043f19a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1043f1a5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1043f191
sub eax, ebx
mov ebx, 1
jne 0x1043f1d8
mov ecx, 1
add dl, dl
jne 0x1043f1be
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1043f1c9
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1043f1b5
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1043f125
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1043f1ef
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1043f1fa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1043f1e6
cmp eax, 0x7d00
jae 0x1043f21d
cmp eax, 0x500
jb 0x1043f218
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1043f125
cmp eax, 0x7f
ja 0x1043f220
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1043f125
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1043f24e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1043f125
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x10004830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10004839
xor eax, esi
pop esi
pop ebp
ret 4

Function at 0x10004850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10004859
xor eax, esi
pop esi
pop ebp
ret 4

Function at 0x100055a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055a9
pop esi
pop ebp
ret 8

Function at 0x100055c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055c9
pop esi
pop ebp
ret 4

Function at 0x100055e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055e9
pop esi
pop ebp
ret 8

Function at 0x100186b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x1018092c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101837c8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x60], ebx
test eax, eax
jne 0x10018788
push esi
push 0x55
pop esi
push esi
push 0x101837d0
push 0x5c
push ebx
call dword [sym.imp.kernel32.dll_GetLocaleInfoEx]
test eax, eax
jle 0x10018772
push esi
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.100a9420
add esp, 0xc
mov eax, ebx
cmp word [eax*2 + 0x101837d0], 0x5f
mov cl, 0x2d
je 0x10018712
mov cl, byte [eax*2 + 0x101837d0]
mov byte [ebp + eax - 0x5c], cl
test cl, cl
je 0x1001871f
inc eax
cmp eax, esi
jl 0x100186fe
cmp eax, esi
push 0x41
sbb al, al
and byte [ebp - 8], al
call sym.icucnv69.dll_ulocimp_forLanguageTag_69
mov esi, eax
pop ecx
test esi, esi
je 0x10018772
lea eax, [ebp - 0x60]
push eax
push 0x40
lea eax, [ebp - 0x5c]
push esi
push eax
call sym.icucnv69.dll_ulocimp_forLanguageTag_69
add esp, 0x10
cmp dword [ebp - 0x60], ebx
jg 0x1001876b
push 0x10017f70
push 0x17
mov byte [eax + esi], bl
mov dword [0x101837c8], esi
mov byte [0x101837cc], 1
call sym.icucnv69.dll_ulocimp_forLanguageTag_69
pop ecx
jmp 0x10018771
push esi
call sym.icucnv69.dll_ulocimp_forLanguageTag_69
pop ecx
mov ecx, dword [0x101837c8]
mov eax, 0x100fef10
test ecx, ecx
pop esi
cmovne eax, ecx
mov dword [0x101837c8], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10084499
leave
ret
Function at 0x100799b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x100799bf
pop dword [ebp - 0x28]
mov eax, 0x100799bf
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x7216f
push 0
mov eax, 0xdc289a76
sub eax, 0xcc196932
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0xcd51a772
add ecx, 0x32aea147
mov ebx, eax
mov esi, 0x2a49ed59
add esi, 0xe5cf22a7
add esi, dword [ebp - 0x28]
mov edx, 0x315afa00
sub edx, 0xdb8b76d7
sub dword [ebp - 8], ebx
mov edi, dword [esi]
xor dword [ebp - 0x24], 0xcda1d130
xor edi, edx
add dword [ebp - 0x1c], ebx
mov dword [ebx], edi
add ebx, 4
add esi, 4
loop 0x10079a19
add eax, 0x201e17d5
add eax, 0xdfe2fde2
xor ebx, ebx
add ebx, eax
add eax, 0x629c4fa0
add eax, 0x9d63b065
mov ecx, 0x1c37b404
sub ecx, 0xc37b404
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
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 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
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 + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0xf43468
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf43472
pushal
call 0xf43478
pop ebp
sub ebp, 0x10
sub ebp, 0xb43468
jmp 0xf4348e
mov eax, 0xb43468
add eax, ebp
add eax, 0x4c
mov ecx, 0x5be
mov edx, 0xd07863cc
xor byte [eax], dl
inc eax
dec ecx
jne 0xf434a5
jmp 0xf434b8
inc edi
add dword [edi + 0x45], eax
invalid
Function at 0x401e6e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45207c]
jne 0x401e78
repz ret
jmp fcn.00402914

Function at 0x405a91
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45207c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004034f4
and dword [ebp - 0x14], 0
cmp dword [0x454b1c], 0
mov dword [ebp - 0x18], eax
jne 0x405b44
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405bec
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405bec
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x454b1c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x454b20], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x454b24], eax
call edi
push eax
call esi
mov dword [0x454b2c], eax
test eax, eax
je 0x405b44
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x454b28], eax
mov eax, dword [0x454b28]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405b9d
cmp dword [0x454b2c], ecx
je 0x405b9d
push eax
call esi
push dword [0x454b2c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405b9d
test ebx, ebx
je 0x405b9d
call edi
test eax, eax
je 0x405b94
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405b94
test byte [ebp - 8], 1
jne 0x405b9d
or dword [ebp + 0x10], 0x200000
jmp 0x405bd0
mov eax, dword [0x454b20]
cmp eax, dword [ebp - 0x18]
je 0x405bd0
push eax
call esi
test eax, eax
je 0x405bd0
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405bd0
mov eax, dword [0x454b24]
cmp eax, dword [ebp - 0x18]
je 0x405bd0
push eax
call esi
test eax, eax
je 0x405bd0
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x454b1c]
call esi
test eax, eax
je 0x405bec
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405bee
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401e6e
leave
ret
Function at 0x10006762
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x1005f070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10060d58], 0
jne 0x10006812
and dword [ebp - 0x6c], 0
lea eax, [ebp - 0x6c]
push esi
push eax
push 0x20019
push ecx
mov edx, str.SOFTWAREMicrosoftInternet_Explorer
mov dword [ebp - 0x70], 0x64
mov ecx, 0x80000002
call fcn.1002cd30
xor esi, esi
inc esi
test eax, eax
jne 0x100067fc
movzx eax, byte [ebp - 0x68]
xor ecx, ecx
cmp dword [ebp - 0x74], esi
cmove eax, ecx
mov byte [ebp - 0x68], al
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x74]
push eax
push ecx
push str.Version
push dword [ebp - 0x6c]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x100067fc
cmp word [ebp - 0x68], ax
je 0x100067fc
push 0xa
pop edx
lea ecx, [ebp - 0x68]
call fcn.1002cd30
mov ecx, dword [0x10060d54]
cmp eax, 4
cmova ecx, esi
mov dword [0x10060d54], ecx
cmp dword [ebp - 0x6c], 0
mov dword [0x10060d58], esi
pop esi
je 0x10006812
push dword [ebp - 0x6c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [0x10060d54]
xor ecx, ebp
call fcn.1002f764
leave
ret
Function at 0x10009b64
Capabilities:
Delete registry value

Disassembly:
push 0x1c
mov eax, 0x10031761
call fcn.10030d83
mov ebx, edx
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov edi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x18]
mov edx, str.SOFTWARE
push eax
lea eax, [ebp - 0x28]
push eax
sub esp, 0x14
call fcn.1002cd30
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
mov edx, 0x10036e08
push eax
sub esp, 0x14
call fcn.1002cd30
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov edx, str.Internet_Explorer
push eax
sub esp, 0x14
call fcn.1002cd30
test eax, eax
jne 0x10009c8d
cmp dword [ebp + 8], edi
mov eax, str.Default_HTML_Editor
mov ecx, dword [ebp - 0x14]
mov esi, str.Default_MHTML_Editor
cmove esi, eax
mov edx, esi
call fcn.1000b7bc
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
mov edx, esi
push eax
sub esp, 0x14
call fcn.1002cd30
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
mov edx, 0x10036e40
push eax
sub esp, 0x14
call fcn.1002cd30
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
mov edx, 0x100364c0
push eax
sub esp, 0x14
call fcn.1002cd30
test eax, eax
jne 0x10009c8d
push str.Description
push dword [ebp - 0x10]
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
mov edx, dword [ebp - 0x1c]
xor esi, esi
push esi
mov ecx, ebx
call fcn.1002cd30
call fcn.10006762
test eax, eax
je 0x10009c8a
push esi
push esi
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendNotifyMessageW]
xor edi, edi
inc edi
cmp dword [ebp - 0x1c], 0
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
je 0x10009c9e
push dword [ebp - 0x1c]
call esi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x20], ebx
je 0x10009cad
push dword [ebp - 0x20]
call esi
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x10], ebx
je 0x10009cba
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
je 0x10009cc7
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x24], ebx
je 0x10009cd4
push dword [ebp - 0x24]
call esi
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x28], ebx
je 0x10009ce1
push dword [ebp - 0x28]
call esi
mov eax, edi
call fcn.10030d61
ret 4
Function at 0x1000eae7
Capabilities:
Create process on windows

Disassembly:
push 0x90
mov eax, 0x10031b12
call fcn.10030db7
mov edi, edx
mov eax, dword [ebp + 0x20]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x68], eax
xor esi, esi
mov eax, dword [ebp + 0x24]
mov ebx, esi
mov dword [ebp - 0x64], eax
call fcn.1002cd30
push eax
push ecx
push dword [0x10038130]
lea ecx, [ebp - 0x7c]
call fcn.1002cd30
push 7
mov dword [ebp - 4], esi
xor eax, eax
pop ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], ecx
mov word [ebp - 0x60], ax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ecx
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 2
call fcn.10021463
test al, al
je 0x1000ebb9
call fcn.1002cd30
test al, al
jne 0x1000ebb9
test edi, edi
je 0x1000ec68
cmp word [edi], si
je 0x1000ec68
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x1000eb68
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x48]
call fcn.1002cd30
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x28]
call fcn.1002cd30
push eax
lea ecx, [ebp - 0x60]
call fcn.1002cd30
lea ecx, [ebp - 0x28]
call fcn.1000ccca
cmp dword [ebp - 0x50], 0
je 0x1000ebb9
cmp dword [ebp - 0x4c], 8
lea ebx, [ebp - 0x60]
lea edi, [ebp - 0x48]
cmovae ebx, dword [ebp - 0x60]
cmp dword [ebp - 0x34], 8
cmovae edi, dword [ebp - 0x48]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push esi
push esi
push 0x400
push esi
push esi
push esi
push edi
push ebx
call dword [sym.imp.kernel32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x1000ec36
lea ecx, [ebp - 0x9c]
call fcn.1002cd30
push eax
push ecx
push dword [0x1003812c]
lea ecx, [ebp - 0x24]
call fcn.1002cd30
cmp byte [ebp - 0x24], 0
je 0x1000ec36
mov ecx, dword [ebp - 0x14]
call fcn.1002cd30
mov edi, eax
test edi, edi
je 0x1000ec36
cmp byte [ebp - 0x1c], 0
je 0x1000ec22
mov ecx, dword [ebp - 0x14]
call fcn.1002cd30
test eax, eax
je 0x1000ec22
mov ecx, dword [ebp - 0x18]
mov edx, eax
call fcn.1002cd30
push dword [ebp - 0x14]
xor cl, cl
call fcn.1002cd30
mov ecx, dword [ebp - 0x20]
mov edx, edi
call fcn.1002cd30
xor eax, eax
mov dword [ebp - 0x20], vtable.Mso::Logging::StructuredObject_unsigned_int__1_.0
mov word [ebp - 0x14], ax
mov edx, 0x851
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], str.Param
push eax
push str.HevCreateProcess_
push ecx
push 0x64
mov ecx, 0x170b0c5
mov dword [ebp - 0x18], esi
call fcn.1002cd30
lea ecx, [ebp - 0x48]
call fcn.1000ccca
lea ecx, [ebp - 0x60]
call fcn.1000ccca
cmp byte [ebp - 0x7c], 0
je 0x1000ecbc
mov ecx, dword [ebp - 0x6c]
call fcn.1002cd30
mov edi, eax
test edi, edi
je 0x1000ecbc
cmp byte [ebp - 0x74], 0
je 0x1000eca8
mov ecx, dword [ebp - 0x6c]
call fcn.1002cd30
test eax, eax
je 0x1000eca8
mov ecx, dword [ebp - 0x70]
mov edx, eax
call fcn.1002cd30
push dword [ebp - 0x6c]
xor cl, cl
call fcn.1002cd30
mov ecx, dword [ebp - 0x78]
mov edx, edi
call fcn.1002cd30
mov eax, esi
call fcn.10030d76
ret 0x20
Function at 0x1001d0a2
Capabilities:
Get thread local storage value

Disassembly:
push 8
mov eax, 0x100323df
call fcn.10030d83
cmp byte [0x100604ac], 0
push dword [0x100604a8]
je 0x1001d0c5
call dword [sym.imp.kernel32.dll_FlsGetValue]
jmp 0x1001d0cb
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1001d114
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x1001d11c
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
push 8
pop ecx
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call fcn.1000ccf7
mov dword [esi], eax
push esi
mov dword [eax], edi
mov dword [eax + 4], edi
mov ecx, dword [esi]
mov dword [ecx], esi
mov ecx, 0x100604a8
call fcn.1002cd30
mov eax, esi
call fcn.10030d61
ret
call fcn.1002cd30
int3
Function at 0x10001220
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1005d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xb
mov ebx, ecx
lea edi, [ebp - 0x34]
pop ecx
mov esi, str._pipediscord_ipc_0
rep movsd dword es:[edi], dword [esi]
push 0x30
pop eax
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor edi, edi
mov word [ebp - 0xa], ax
jmp 0x1000128c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10001272
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0x100012b9
inc ax
mov word [ebp - 0xa], ax
jmp 0x1000128c
cmp eax, 0xe7
jne 0x100012b9
push 0x2710
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x100012b9
push edi
push edi
push 3
push edi
push edi
push 0xc0000000
lea eax, [ebp - 0x34]
push eax
call esi
mov dword [ebx + 4], eax
cmp eax, 0xffffffff
je 0x10001255
mov byte [ebx], 1
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004c374
leave
ret
xor al, al
jmp 0x100012aa

Function at 0x10001415
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 4], edi
mov eax, esi
test edx, edx
je 0x1000144a
cmp word [edx], di
je 0x1000144a
push edi
lea eax, [ebp - 4]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10001473
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
mov edi, eax
test ecx, ecx
je 0x10001471
cmp ecx, esi
je 0x10001471
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x10001684
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor ebx, ebx
mov dword [0x100d3a50], 0xea60
push esi
mov eax, 0x1f4
mov dword [0x100d3a4c], ebx
push edi
push ebx
mov dword [0x100d3a48], eax
mov dword [0x100d3a54], ebx
mov dword [0x100d3a58], eax
mov dword [0x100d3a5c], ebx
mov dword [0x100d3a60], ebx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov esi, eax
mov dword [0x100d3a74], edx
mov eax, 0x55555555
mov dword [0x100d3a70], esi
xor edi, edi
mov dword [0x100d4df0], eax
pop ecx
mov dword [0x100d4df4], eax
inc edi
push 0x5851f42d
mov ecx, edx
xor eax, eax
push 0x4c957f2d
shr ecx, 0x1e
xor eax, edx
xor ecx, esi
push eax
push ecx
call fcn.100500f0
mov esi, eax
mov eax, 0x138
add esi, edi
mov dword [edi*8 + 0x100d3a70], esi
adc edx, ebx
mov dword [edi*8 + 0x100d3a74], edx
inc edi
cmp edi, eax
jb 0x100016e2
movaps xmm0, xmmword [0x100591f0]
pop edi
pop esi
mov dword [0x100d3a68], eax
mov eax, 0x100d3a48
movups xmmword [0x100d4df8], xmm0
pop ebx
ret 0x10
Function at 0x100019f9
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x10050609
call fcn.1004fdfb
mov esi, dword [0x100f5e7c]
xor edi, edi
mov al, 1
xchg byte [esi], al
push 4
call fcn.1004c382
mov dword [ebp - 0x10], eax
mov dword [eax], esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
push ecx
push edi
push eax
push 0x10002dfe
push edi
push edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x1c
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10001a59
cmp dword [esi + 0x60], edi
je 0x10001a4a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call fcn.1004fdd8
ret
push 6
mov dword [ebp - 0x14], edi
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3