joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484c80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b328e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004855a0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x873154
call fcn.004a458d
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x484d13
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a458d
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x484d0c
push 0
mov ecx, eax
call fcn.0047bdb0
mov dword [esi + 0xc], eax
jmp 0x484d15
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x484d15
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4a6c1a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a6c52
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a4ca7
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a4c7f
jmp 0x4a6c5e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a8308
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a834a
call fcn.004adec7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a834a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a8341
xor eax, eax
jmp 0x4a8352
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a8358
pop edi
pop esi
pop ebx
ret 4

Function at 0x4ae3f7
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4ae425
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ae443
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004ae35d
jmp 0x4ae443
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ae443
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004ae35d
test edi, edi
mov eax, edi
jne 0x4ae42d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x404210
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x404271
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x404254
cmp edi, 2
jb 0x404254
cmp byte [esi], cl
jne 0x404254
cmp byte [esi + 1], cl
jne 0x404254
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x431378]
jmp 0x404225
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x431378]
test edi, edi
jne 0x404225
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x4042a0
cmp cl, 0x23
jne 0x404287
cmp byte [esi], cl
jne 0x404287
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x431378]
test cl, cl
jne 0x404278
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x4043b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x4043c4
mov dword [ebx], 0
mov edx, 0x430f9c
call fcn.004042b0
mov esi, eax
test esi, esi
je 0x4044b2
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x4044a8
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x4044a8
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x4044a8
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x4044a8
mov eax, dword [0x438430]
test eax, eax
je 0x40443c
inc dword [eax + 0xb4]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x4044a8
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x40448d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x438430]
add esp, 4
test eax, eax
je 0x40447a
dec dword [eax + 0xb4]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x40449f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406c80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x43800c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov esi, 4
mov eax, dword [edi + 0xe4]
mov ebx, dword [edi + 0xec]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x431378]
sub esi, 1
jne 0x406cc0
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e7c], ebx
jne 0x406cf7
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.004180b0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042db8b
mov esp, ebp
pop ebp
ret 4
Function at 0x409f60
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x409f9d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x409f83
cmp byte [esi], bl
jne 0x409f83
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x431378]
test bl, bl
jne 0x409f74
pop edi
pop esi
not ecx
pop ebx
jmp fcn.00409f00
Function at 0x416ae0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5aac], 0
lea esi, [edi + 0x5ab0]
je 0x416b62
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x416b1c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00418b90
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00404640
mov edx, dword [esi]
mov ecx, 0x43842c
push dword [edi + 0x5aac]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5ab8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00404640
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x416f50
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x438430]
test bl, bl
je 0x416f96
or edi, 0xffffffff
cmp bl, 0x23
jne 0x416f77
cmp byte [esi], bl
jne 0x416f77
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x431378]
test bl, bl
jne 0x416f68
mov edi, dword [0x438430]
mov esi, dword [edi + 0x5a54]
xor ecx, ecx
not eax
test esi, esi
jle 0x416fbc
mov edi, dword [edi + 0x5a5c]
lea edx, [edi + 4]
nop dword [eax]
cmp dword [edx], eax
je 0x416fc2
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x416fb0
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea eax, [ecx + ecx*8]
lea eax, [edi + eax*4]
pop edi
pop esi
pop ebx
ret
Function at 0x420fa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x420fda
mov eax, dword [0x438430]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x420fcd
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x42100b
mov eax, dword [0x438430]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x420ffe
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x42103c
mov eax, dword [0x438430]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x42102f
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x421089
mov eax, dword [0x438430]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x42107c
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x4210ba
mov eax, dword [0x438430]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x4210ad
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x4210eb
mov eax, dword [0x438430]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x4210de
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.004238a0
Function at 0x42e578
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x5cdf1d44
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x20b01235
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x406371
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x238
mov eax, 0x40e86a
call fcn.0040d30f
mov dword [ebp - 0x21c], ecx
movzx eax, word [ebp + 8]
xor edi, edi
mov esi, dword [0x4166e8]
inc edi
push 0xf0
push eax
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
je 0x4064e2
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x4064e2
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4064e2
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4064e2
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x220], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x40645b
push 3
lea eax, [ebp - 0x110]
push esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
call main
push dword [ebp - 0x114]
mov eax, dword [ebp - 0x21c]
and dword [ebp - 4], 0
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
lea eax, [ebp - 0x110]
cmove edi, ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x114], eax
je 0x4064d4
push dword [ebp - 0x114]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x4064d4
mov ecx, 0x1234
cmp cx, ax
jne 0x4064d4
or dword [ebp - 0x240], 0xffffffff
lea eax, [ebp - 0x214]
push 3
push esi
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x244], 1
mov dword [ebp - 0x218], eax
call main
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x23c], eax
cmp eax, ecx
je 0x4064ae
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x21c]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
add esi, dword [ebp - 0x220]
test edi, edi
jne 0x4063c9
mov eax, edi
call fcn.0040d2ca
ret 4

Function at 0x40c739
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x40c748
pop dword [ebp - 4]
mov eax, 0x1e3e3393
add eax, 0xe20293b5
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x39aa6
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0x7a8e7e1a
add ecx, 0x8571ce97
xor edi, edi
add edi, eax
mov esi, 0xd9bc6628
sub esi, 0xd97abc28
add esi, dword [ebp - 4]
mov ebx, 0xb81b3779
add ebx, 0x4d5f865d
mov edx, dword [esi]
xor edx, ebx
mov dword [edi], edx
add edi, 0x5b550af7
add edi, 0xa4aaf50d
add esi, 4
loop 0x40c7a4
add eax, 0x9c9ada6d
add eax, 0x63664b2a
xor ebx, ebx
add ebx, eax
add eax, 0x6843ee4c
sub eax, 0x6843ee47
mov ecx, 0x2bb9df49
sub ecx, 0x2b79df49
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x401443
pop dword [ebp - 0x48]
mov eax, 0x8e6b13fd
sub eax, 0x8e2affba
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xcca2b1b8
add dword [ebp - 0x58], 0x81af9393
mov dword [ebp - 0x54], 0xd6d32934
add dword [ebp - 0x54], 0x5b602311
mov dword [ebp - 0x50], 0xf911f49d
sub dword [ebp - 0x50], 0xacc5b06f
mov dword [ebp - 0x4c], 0xd2ba9467
add dword [ebp - 0x4c], 0x2d456b99
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xb6663367
sub dword [ebp - 0x58], 0x41f3ca11
mov dword [ebp - 0x54], 0xbaa3cfff
sub dword [ebp - 0x54], 0x79376e8a
mov dword [ebp - 0x50], 0x9b838990
sub dword [ebp - 0x50], 0x38141d24
mov dword [ebp - 0x4c], 0x3a016afe
sub dword [ebp - 0x4c], 0x3a016afe
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x4c930822
add eax, 0xb3ad78de
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x352de
push 0
call eax
mov ecx, 0x75a95f84
sub ecx, 0x75a923f6
mov ebx, eax
mov esi, 0xbe7bde6
add esi, 0xf45f261a
add esi, dword [ebp - 0x48]
mov edx, 0x76f7c5c0
sub edx, 0x545702c
sub dword [ebp - 0x34], 0x89bd4b81
mov edi, dword [esi]
xor dword [ebp - 0x10], esi
xor edi, edx
add dword [ebp - 0x28], edi
mov dword [ebx], edi
sub dword [ebp - 0xc], 0xae56d43f
add ebx, 0xc82afbf9
sub ebx, 0xc82afbf5
add esi, 4
loop 0x401560
add eax, 0xe10b
mov ebx, eax
add eax, 0x469e05dc
sub eax, 0x469e05d7
mov ecx, 0x99bc7e88
sub ecx, 0x997c7e88
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x40105b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b0004]
jne 0x401065
repz ret
jmp fcn.00401684

Function at 0x40495b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b0004]
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.0040382b
and dword [ebp - 0x14], 0
cmp dword [0x4b2928], 0
mov dword [ebp - 0x18], eax
jne 0x404a0e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404ab6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404ab6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4b2928], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4b292c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4b2930], eax
call edi
push eax
call esi
mov dword [0x4b2938], eax
test eax, eax
je 0x404a0e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4b2934], eax
mov eax, dword [0x4b2934]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404a67
cmp dword [0x4b2938], ecx
je 0x404a67
push eax
call esi
push dword [0x4b2938]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404a67
test ebx, ebx
je 0x404a67
call edi
test eax, eax
je 0x404a5e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x404a5e
test byte [ebp - 8], 1
jne 0x404a67
or dword [ebp + 0x10], 0x200000
jmp 0x404a9a
mov eax, dword [0x4b292c]
cmp eax, dword [ebp - 0x18]
je 0x404a9a
push eax
call esi
test eax, eax
je 0x404a9a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x404a9a
mov eax, dword [0x4b2930]
cmp eax, dword [ebp - 0x18]
je 0x404a9a
push eax
call esi
test eax, eax
je 0x404a9a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b2928]
call esi
test eax, eax
je 0x404ab6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404ab8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040105b
leave
ret
Function at 0x401630
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
mov edx, dword [esp + 0x60]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
test esi, esi
je 0x401687
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 8]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret

Function at 0x403390
Capabilities:
Reference cloudflare dns server

Disassembly:
push 0xffffffffffffffff
push 0x41b1e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0x3c]
mov ecx, edi
call sub.MFC42.DLL_CString::CString_2
lea ebx, [esi + 0x40]
mov dword [esp + 0x1c], 0
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_2
lea ebp, [esi + 0x44]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_2
push str.1.0.0.1
mov ecx, ebx
mov byte [esp + 0x20], 2
mov dword [esi], 0x41da44
mov dword [esi + 4], 0
call sub.MFC42.DLL_CString::operator_1
push 0x425c0c
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_1
push 0x425c0c
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
mov ecx, 0x19
xor eax, eax
lea edi, [esi + 0x48]
rep stosd dword es:[edi], eax
mov ecx, esi
call fcn.00403740
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xac], 0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x403630
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x403738
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.BroadCast_Process
push eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
push str.Call_Process
push eax
call edi
mov ecx, dword [esi + 4]
push str.Get_ObjInfoList
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi + 4]
push str.RsCommxFree
push edx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
push str.Register_Client
push eax
call edi
mov ecx, dword [esi + 4]
push str.UnRegister_Client
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 4]
push str.GetSessionID
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
push str.SetCallEnterPoint
push eax
call edi
mov ecx, dword [esi + 4]
push str.Get_ActiveObjInfoList
push ecx
mov dword [esi + 0x24], eax
call edi
mov edx, dword [esi + 4]
push str.Rav_StartupProcess
push edx
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 4]
push str.InitializeMemory
push eax
call edi
mov ecx, dword [esi + 4]
push str.ReportState
push ecx
mov dword [esi + 0x30], eax
call edi
mov edx, dword [esi + 4]
push str.ReportMessage
push edx
mov dword [esi + 0x34], eax
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0xc]
test eax, eax
pop edi
je 0x403738
mov eax, dword [esi + 8]
test eax, eax
je 0x403738
mov eax, dword [esi + 0x10]
test eax, eax
je 0x403738
mov eax, dword [esi + 0x14]
test eax, eax
je 0x403738
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x403738
mov eax, dword [esi + 0x20]
test eax, eax
je 0x403738
mov eax, dword [esi + 0x28]
test eax, eax
je 0x403738
mov eax, dword [esi + 0x24]
test eax, eax
je 0x403738
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret