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

Disassembly:
cmp ecx, dword [0x444210]
jne 0x426c1a
repz ret
jmp fcn.0042887d

Function at 0x428ecd
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x444210]
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.004266e5
and dword [ebp - 0x14], 0
cmp dword [0x656b78], 0
mov dword [ebp - 0x18], eax
jne 0x428f80
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x429028
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x429028
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x656b78], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x656b7c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x656b80], eax
call edi
push eax
call esi
mov dword [0x656b88], eax
test eax, eax
je 0x428f80
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x656b84], eax
mov eax, dword [0x656b84]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x428fd9
cmp dword [0x656b88], ecx
je 0x428fd9
push eax
call esi
push dword [0x656b88]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x428fd9
test ebx, ebx
je 0x428fd9
call edi
test eax, eax
je 0x428fd0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x428fd0
test byte [ebp - 8], 1
jne 0x428fd9
or dword [ebp + 0x10], 0x200000
jmp 0x42900c
mov eax, dword [0x656b7c]
cmp eax, dword [ebp - 0x18]
je 0x42900c
push eax
call esi
test eax, eax
je 0x42900c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42900c
mov eax, dword [0x656b80]
cmp eax, dword [ebp - 0x18]
je 0x42900c
push eax
call esi
test eax, eax
je 0x42900c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x656b78]
call esi
test eax, eax
je 0x429028
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42902a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426c10
leave
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x35f51e35
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4310d2
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x16e961a8
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401072
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a8004]
jne 0x40107c
repz ret
jmp fcn.0040145e

Function at 0x407117
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004019f0
and dword [ebp - 4], 0
cmp dword [0x4b0ef0], 0
mov ebx, eax
jne 0x4071c8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407279
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407279
push eax
call fcn.0040197e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b0ef0], eax
call esi
push eax
call fcn.0040197e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b0ef4], eax
call esi
push eax
call fcn.0040197e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b0ef8], eax
call esi
push eax
call fcn.0040197e
pop ecx
mov dword [0x4b0f00], eax
test eax, eax
je 0x4071c8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040197e
pop ecx
mov dword [0x4b0efc], eax
mov eax, dword [0x4b0efc]
cmp eax, ebx
je 0x407220
cmp dword [0x4b0f00], ebx
je 0x407220
push eax
call fcn.004019f9
push dword [0x4b0f00]
mov esi, eax
call fcn.004019f9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407220
test edi, edi
je 0x407220
call esi
test eax, eax
je 0x407217
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407217
test byte [ebp - 0xc], 1
jne 0x407220
or dword [ebp + 0x10], 0x200000
jmp 0x407259
mov eax, dword [0x4b0ef4]
cmp eax, ebx
je 0x407259
push eax
call fcn.004019f9
pop ecx
test eax, eax
je 0x407259
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407259
mov eax, dword [0x4b0ef8]
cmp eax, ebx
je 0x407259
push eax
call fcn.004019f9
pop ecx
test eax, eax
je 0x407259
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b0ef0]
call fcn.004019f9
pop ecx
test eax, eax
je 0x407279
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40727b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a45e3
Capabilities:
Check for software breakpoints
Get geographical location
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10c4
call fcn.00410270
mov eax, dword [0x4a8004]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 4], 0
jmp 0x4a4607
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x365ea9e0
jge 0x4a4652
cmp dword [0x4b139c], 0xc31
jne 0x4a4622
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
cmp dword [ebp - 4], 0x176afc
jle 0x4a4650
cmp dword [0x4b139c], 0xa
jne 0x4a464e
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x4a4652
jmp 0x4a4600
and dword [ebp - 0x64], 0
jmp 0x4a465f
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x5f6c74
jge 0x4a467d
cmp dword [ebp - 0x64], 0x562d05
jne 0x4a467b
mov eax, dword [0x4a8c58]
mov dword [0x4b13fc], eax
jmp 0x4a4658
cmp dword [0x4b139c], 0x7c
jne 0x4a46a9
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
call dword [sym.imp.KERNEL32.dll_LocalUnlock]
cmp dword [0x4b139c], 0x2d
jne 0x4a46a9
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp dword [0x4b139c], 0x110a
jne 0x4a4774
and dword [0x4b1388], 0
and dword [0x4b138c], 0
cmp dword [0x4b139c], 0xcc
jne 0x4a46e5
push 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x4b1058], 0x14
push 0
lea eax, [ebp - 0x880]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push 0
call fcn.004010e9
pop ecx
pop ecx
push 0
push 0
call fcn.004010e9
pop ecx
pop ecx
mov eax, dword [0x4a6c0c]
mov dword [ebp - 0x1088], eax
push 0x7fc
push 0
lea eax, [ebp - 0x1084]
push eax
call fcn.004033b0
add esp, 0xc
lea eax, [ebp - 0x888]
mov dword [ebp - 0x884], eax
push 0
push 0
call fcn.004010e9
pop ecx
pop ecx
push 0
call fcn.00401250
pop ecx
push 0
call fcn.00401081
pop ecx
call fcn.004a3c7d
and dword [ebp - 0x1090], 0
jmp 0x4a478f
mov eax, dword [ebp - 0x1090]
inc eax
mov dword [ebp - 0x1090], eax
mov eax, dword [ebp - 0x1090]
cmp eax, dword [0x4b139c]
jae 0x4a47e6
mov eax, dword [0x4b13fc]
mov dword [ebp - 0x1094], eax
mov eax, 0xa231
add dword [ebp - 0x1094], eax
mov eax, dword [0x4b12e4]
add eax, dword [ebp - 0x1090]
mov ecx, dword [ebp - 0x1094]
add ecx, dword [ebp - 0x1090]
mov cl, byte [ecx]
mov byte [eax], cl
cmp dword [0x4b139c], 0x5ab
jne 0x4a47e4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualLock]
jmp 0x4a4782
call fcn.004a4435
call fcn.004a3c92
mov eax, 0x4a8c60
call fcn.004a45b3
and dword [ebp - 0x1098], 0
jmp 0x4a4810
mov eax, dword [ebp - 0x1098]
inc eax
mov dword [ebp - 0x1098], eax
cmp dword [ebp - 0x1098], 0x15a63d
jge 0x4a4839
cmp dword [ebp - 0x1098], 0xbd9cb
jne 0x4a4837
mov eax, dword [0x4b12e4]
add eax, 0
mov dword [0x4b12e4], eax
jmp 0x4a4803
jmp dword [0x4b12e4]
Function at 0x42a4f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40d015
lea edi, [esi - 0xc015]
push edi
or ebp, 0xffffffff
jmp 0x42a512
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42a519
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42a508
mov eax, 1
add ebx, ebx
jne 0x42a52b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42a520
jne 0x42a53c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42a520
xor ecx, ecx
sub eax, 3
jb 0x42a550
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42a5c2
mov ebp, eax
add ebx, ebx
jne 0x42a55b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42a568
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42a58c
inc ecx
add ebx, ebx
jne 0x42a578
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42a56d
jne 0x42a589
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42a56d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42a5ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42a59d
jmp 0x42a50e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42a5ac
add edi, ecx
jmp 0x42a50e
pop esi
mov edi, esi
mov ecx, 0x21
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42a5ca
cmp byte [edi], 1
jne 0x42a5ca
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 0x42a5cf
lea edi, [esi + 0x28000]
mov eax, dword [edi]
or eax, eax
je 0x42a63e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2a088]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2a140]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42a5fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2a148]
or eax, eax
je 0x42a638
mov dword [ebx], eax
add ebx, 4
jmp 0x42a619
call dword [esi + 0x2a144]
mov ebp, dword [esi + 0x2a14c]
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 0x42a672
sub esp, 0xffffff80
jmp 0x401219

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
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
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x68001600
Capabilities:
Get graphical window text

Disassembly:
push ebp
shl ecx, 0xc
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x5c
mov dword [ebp - 0x48], ecx
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x54], 0xd
mov dword [ebp - 0x44], 0xf000
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1004
mov dword [esp], eax
call edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 8]
sub esp, 0x10
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x54]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104d
call edi
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x68001be0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x2c
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x68001c80
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
xor esi, esi
mov edi, dword fs:[0x18]
mov dword [ebp - 0x1c], eax
lea esi, [esi]
nop
mov edx, dword [ebx + 0xc]
lea eax, [esi + esi*2]
inc esi
lea eax, [edx + eax*4]
mov eax, dword [eax + 4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
call eax
sub esp, 0xc
cmp dword [ebx + 8], esi
jg 0x68001c10
mov edx, dword [ebx + 0xc]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
call eax
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x1c], eax
jmp 0x68001c3f
Function at 0x68001c90
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [eax + 4]
push esi
xor esi, esi
push ebx
mov ebx, edx
sub esp, 0x2c
mov dword [ebp - 0x20], eax
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1c], eax
test edx, edx
jne 0x68001d06
jmp 0x68001da1
test al, 4
je 0x68001cca
mov ecx, dword [edi + 0xc]
mov edx, ecx
shr edx, 0x10
jne 0x68001dd0
test al, 8
je 0x68001cdc
mov ecx, dword [edi + 0x10]
mov edx, ecx
shr edx, 0x10
jne 0x68001e00
test ah, 0x10
je 0x68001ceb
mov ecx, dword [edi + 0x24]
mov edx, ecx
shr edx, 0x10
jne 0x68001d40
test ah, 0x20
je 0x68001cfa
mov eax, dword [edi + 0x28]
mov edx, eax
shr edx, 0x10
jne 0x68001d70
inc esi
add edi, 0x38
cmp ebx, esi
je 0x68001da1
mov eax, dword [edi]
test al, 1
jne 0x68001cb8
mov ecx, dword [edi + 8]
mov edx, ecx
shr edx, 0x10
je 0x68001cb8
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [edi]
sub esp, 0xc
jmp 0x68001cb8
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [edi]
sub esp, 0xc
jmp 0x68001ceb
mov dword [esp + 8], eax
inc esi
add edi, 0x38
mov dword [esp + 4], 0
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
cmp ebx, esi
jne 0x68001d06
mov ebx, dword [ebp - 0x20]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ebx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [edi]
sub esp, 0xc
jmp 0x68001cca
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [edi]
sub esp, 0xc
jmp 0x68001cdc
Function at 0x68001e90
Capabilities:
Get process heap flags
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
lea eax, [ebp - 0x24]
push ebx
sub esp, 0x5c
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x20019
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftCryptographyUICertmgrPurpose
mov dword [esp], 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExW]
sub esp, 0x24
test eax, eax
jne 0x68001f41
lea eax, [ebp - 0x20]
lea esi, [ebp - 0x1c]
mov dword [esp + 0x10], 0
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x14], esi
mov dword [esp + 8], 0
mov dword [esp + 4], str.Purpose
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
je 0x68001f50
cmp eax, 0xea
je 0x68001f50
xor edi, edi
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [ebp - 0x20], 1
jne 0x68001f30
mov eax, dword fs:[0x18]
mov edx, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x68001f30
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Purpose
mov dword [esp], eax
call ebx
sub esp, 0x18
test eax, eax
je 0x68001f32
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x68001f30
Function at 0x68001ff0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
push ebx
mov ebx, eax
sub esp, 0x1c
mov eax, dword [eax]
test eax, eax
jne 0x68002050
mov dword [esp + 8], 4
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 4], eax
sub esp, 0xc
mov esi, eax
test esi, esi
je 0x68002090
mov eax, dword [ebx]
lea edx, [eax + 1]
mov dword [ebx], edx
mov dword [esi + eax*4], edi
mov esi, ebx
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [eax*4 + 4]
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
mov dword [ebx + 4], eax
sub esp, 0x10
mov esi, eax
jmp 0x68002030
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x68002040
Function at 0x680020c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
mov ebx, edx
sub esp, 0x6c
mov dword [ebp - 0x5c], eax
mov edi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1004
mov dword [esp], eax
call edi
mov dword [ebp - 0x40], esi
lea esi, [ebp - 0x54]
mov dword [ebp - 0x50], eax
sub esp, 0x10
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], 5
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x34], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104d
mov dword [esp], eax
call edi
mov eax, dword [ebp + 8]
sub esp, 0x10
test eax, eax
je 0x68002164
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x60]
mov dword [esp + 0xc], esi
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x40], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x1074
mov dword [esp], eax
call edi
sub esp, 0x10
mov eax, dword [ebx + 8]
test eax, eax
je 0x680021e8
lea eax, [eax + eax*2 + 3]
mov dword [esp + 4], 0
shl eax, 2
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
mov dword [ebx + 0xc], eax
sub esp, 0x10
test eax, eax
je 0x680021d9
mov ecx, dword [ebx + 8]
mov edx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*2]
mov dword [eax + ecx*4], edx
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
lea eax, [eax + eax*2]
lea eax, [edx + eax*4]
mov dword [eax + 4], 0
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
inc dword [ebx + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 0xc], eax
sub esp, 0xc
jmp 0x680021a1