joyce8/EMBER2024-capa huggingface dataset:
Function at 0x68001660
Capabilities:
Get graphical window text

Disassembly:
push ebp
shl ecx, 0xc
mov ebp, esp
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x50
mov dword [ebp - 0x38], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1004
mov dword [esp], eax
mov dword [ebp - 0x44], 0xd
mov dword [ebp - 0x34], 0xf000
call sym._SendMessageW_16
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 8]
sub esp, 0x10
mov dword [esp], ebx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x44]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x104d
mov dword [ebp - 0x3c], 0
call sym._SendMessageW_16
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x68001bb0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x68001d48
imul edx, edx, 0x38
mov eax, dword [ebp - 0x1c]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov edi, eax
lea ebx, [edx + eax]
mov eax, dword fs:[0x18]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
jmp 0x68001c35
test al, 4
je 0x68001bfa
mov ecx, dword [edi + 0x10]
mov edx, ecx
shr edx, 0x10
jne 0x68001d20
test al, 8
je 0x68001c0c
mov ecx, dword [edi + 0x14]
mov edx, ecx
shr edx, 0x10
jne 0x68001cc8
test ah, 0x10
je 0x68001c1f
mov ecx, dword [edi + 0x28]
mov edx, ecx
shr edx, 0x10
jne 0x68001cf0
test ah, 0x20
je 0x68001c2e
mov eax, dword [edi + 0x2c]
mov edx, eax
shr edx, 0x10
jne 0x68001c70
add edi, 0x38
cmp ebx, edi
je 0x68001c98
mov eax, dword [edi + 4]
test al, 1
jne 0x68001be8
mov ecx, dword [edi + 0xc]
mov edx, ecx
shr edx, 0x10
je 0x68001be8
mov eax, dword [ebp - 0x20]
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 esi
mov eax, dword [edi + 4]
sub esp, 0xc
jmp 0x68001be8
mov dword [esp + 8], eax
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 esi
sub esp, 0xc
cmp ebx, edi
jne 0x68001c35
mov ebx, dword [ebp - 0x1c]
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 esi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
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 esi
mov eax, dword [edi + 4]
sub esp, 0xc
jmp 0x68001c0c
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 esi
mov eax, dword [edi + 4]
sub esp, 0xc
jmp 0x68001c1f
mov eax, dword [ebp - 0x24]
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 esi
mov eax, dword [edi + 4]
sub esp, 0xc
jmp 0x68001bfa
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x68001c98
Function at 0x68001dc0
Capabilities:
Get process heap flags
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x24]
push ebx
xor ebx, ebx
sub esp, 0x4c
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 sym._RegCreateKeyExW_36
sub esp, 0x24
test eax, eax
jne 0x68001e6c
lea eax, [ebp - 0x20]
lea esi, [ebp - 0x1c]
mov dword [esp + 0x10], 0
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 sym._RegQueryValueExA_24
sub esp, 0x18
test eax, eax
je 0x68001e80
cmp eax, 0xea
je 0x68001e80
xor ebx, ebx
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [ebp - 0x20], 1
jne 0x68001e5c
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x68001e5c
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 sym._RegQueryValueExA_24
sub esp, 0x18
test eax, eax
je 0x68001e5e
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x68001e5c

Function at 0x68001f10
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 0x68001f70
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 0x68001fb0
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 0x68001f50
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 0x68001f60
Function at 0x68002390
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x418]
push ebx
sub esp, 0x42c
mov dword [esp + 4], 0xaf0
mov dword [esp], eax
call sym._GetDlgItem_8
mov ebx, eax
mov eax, dword [0x68022004]
sub esp, 8
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], esi
mov dword [esp + 4], 0x432
mov dword [esp], eax
call sym._LoadStringW_16
sub esp, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x14a
mov dword [esp], ebx
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x151
mov dword [esp], ebx
call sym._SendMessageW_16
mov eax, dword [0x68022004]
sub esp, 0x10
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], esi
mov dword [esp + 4], 0x433
mov dword [esp], eax
call sym._LoadStringW_16
sub esp, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x14a
mov dword [esp], ebx
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x151
mov dword [esp], ebx
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14e
mov dword [esp], ebx
call sym._SendMessageW_16
sub esp, 0x10
call sym._get_cert_mgr_usages
mov dword [ebp - 0x420], eax
test eax, eax
je 0x680025f2
mov dword [esp], eax
mov esi, eax
mov eax, dword [sym.imp.ucrtbase.dll_strchr]
mov dword [esp + 4], 0x2c
mov dword [ebp - 0x41c], eax
call eax
cmp byte [esi], 0
mov edi, eax
jne 0x6800255f
jmp 0x680025c8
mov byte [edi], 0
mov dword [esp + 4], esi
mov dword [esp + 8], 0
mov dword [esp], 1
call sym._CryptFindOIDInfo_12
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x68002541
mov eax, dword [eax + 8]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14a
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x151
mov dword [esp], ebx
call sym._SendMessageW_16
sub esp, 0x10
lea esi, [edi + 1]
mov dword [esp + 4], 0x2c
mov eax, dword [ebp - 0x41c]
mov dword [esp], esi
call eax
cmp byte [edi + 1], 0
je 0x680025c8
mov edi, eax
test edi, edi
jne 0x680024e0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 1
call sym._CryptFindOIDInfo_12
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x680025c8
mov eax, dword [eax + 8]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14a
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sym._SendMessageW_16
sub esp, 0x10
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x151
mov dword [esp], ebx
call sym._SendMessageW_16
sub esp, 0x10
lea esi, [esi]
mov edx, dword [ebp - 0x420]
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
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x68002d00
Capabilities:
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x78
mov eax, dword [ecx + 0x10]
mov ebx, dword [ecx]
mov dword [esp + 4], 0xa29
mov dword [esp], eax
call sym._GetDlgItem_8
mov dword [ebp - 0x5c], 0
sub esp, 8
mov dword [ebp - 0x58], 0xffff0002
mov edi, eax
mov dword [esp], ebx
mov dword [ebp - 0x54], 1
call sym._CryptFindLocalizedName_4
sub esp, 4
test eax, eax
je 0x68002e40
mov dword [esp + 8], 8
mov esi, eax
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x6c], eax
call eax
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x68002e74
cmp word [ebx], 0
mov dword [eax], 1
je 0x68002e48
mov eax, ebx
add eax, 2
cmp word [eax], 0
jne 0x68002da0
sub eax, ebx
add eax, 2
mov ecx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x74], edx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x70], ecx
mov dword [esp], eax
mov eax, dword [ebp - 0x6c]
call eax
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x70]
sub esp, 0xc
test eax, eax
mov dword [edx + 4], eax
je 0x68002e52
or dword [ebp - 0x54], 4
mov dword [ebp - 0x30], edx
xor edx, edx
nop
movzx ecx, word [ebx + edx]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x68002df0
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x5c]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x1132
mov dword [esp], edi
call sym._SendMessageW_16
mov eax, 1
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov dword [ebp - 0x44], ebx
jmp 0x68002e03
mov eax, 2
jmp 0x68002dae
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
xor eax, eax
sub esp, 0xc
jmp 0x68002e2a
xor eax, eax
jmp 0x68002e2a

Function at 0x68002f80
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
pop ebp
mov eax, dword [eax + 0xc]
add eax, 0x28
jmp sym._format_long_date

Function at 0x68002fa0
Capabilities:
Get geographical location
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
pop ebp
mov eax, dword [eax + 0xc]
add eax, 0x20
jmp sym._format_long_date
Function at 0x68003a70
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x1c]
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x3c
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._CertGetCertificateContextProperty_16
sub esp, 0x10
test eax, eax
je 0x68003b21
mov eax, dword fs:[0x18]
mov ecx, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 0
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_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x68003b21
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [ebp - 0x2c], eax
call sym._CertGetCertificateContextProperty_16
mov edx, dword [ebp - 0x2c]
sub esp, 0x10
test eax, eax
je 0x68003b00
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], edx
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
lea esp, [ebp - 0xc]
xor edx, edx
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret

Function at 0x68003b30
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x1c]
push ebx
mov ebx, eax
sub esp, 0x3c
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], eax
call sym._CertGetCertificateContextProperty_16
sub esp, 0x10
test eax, eax
je 0x68003bde
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x68003bde
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 2
mov dword [esp], ebx
mov dword [ebp - 0x2c], eax
call sym._CertGetCertificateContextProperty_16
mov edx, dword [ebp - 0x2c]
sub esp, 0x10
test eax, eax
je 0x68003bc0
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 0xc]
xor edx, edx
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
Function at 0x68004000
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x5c
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
mov dword [esp + 4], 0x110a
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
test eax, eax
je 0x680040d5
mov ebx, eax
xor edi, edi
lea esi, [esi]
xor eax, eax
mov dword [ebp + eax - 0x38], edi
add eax, 4
cmp eax, 0x20
jb 0x68004042
lea eax, [ebp - 0x40]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0x113e
mov dword [esp], esi
mov dword [ebp - 0x40], 0x14
mov dword [ebp - 0x3c], ebx
call sym._SendMessageW_16
mov edx, dword [ebp - 0x1c]
sub esp, 0x10
test edx, edx
je 0x680040ac
cmp dword [edx], 1
mov ecx, dword [sym.imp.kernel32.dll_HeapFree]
je 0x680040e0
mov dword [esp + 8], edx
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 ecx
sub esp, 0xc
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 1
mov dword [esp + 4], 0x110a
mov dword [esp], esi
call sym._SendMessageW_16
sub esp, 0x10
mov ebx, eax
test eax, eax
jne 0x68004040
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [edx + 4]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov ecx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x50], edx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x4c], ecx
mov dword [esp], eax
call ecx
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
sub esp, 0xc
jmp 0x6800408c

Function at 0x68004210
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
sub esp, 0x14
mov dword [esp + 4], 0xaf4
mov dword [esp], eax
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._EnableWindow_8
sub esp, 8
mov dword [esp], ebx
mov dword [esp + 4], 0xaf5
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._EnableWindow_8
sub esp, 8
mov dword [esp], ebx
mov dword [esp + 4], 0xaf8
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._EnableWindow_8
sub esp, 8
mov dword [esp], ebx
mov dword [esp + 4], 0xaf7
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 0xc], 0x68017d36
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov dword [esp], eax
call sym._SendMessageW_16
mov eax, ebx
mov ebx, dword [ebp - 4]
sub esp, 0x10
leave
jmp sym._refresh_store_certs
Function at 0x680049f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x3c
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [ebp - 0x1c], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
mov edi, eax
sub esp, 0x18
lea ecx, [edi + edi]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
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]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x68004a8e
mov dword [esp + 0x14], edi
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], 0
call edx
sub esp, 0x18
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x68004ee0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x1c]
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x5c
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 0
mov eax, dword [eax + 8]
mov dword [esp + 8], edx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov dword [esp + 4], 0
mov dword [esp + 0x10], eax
mov dword [esp], 1
call sym._CryptFormatObject_36
xor edx, edx
sub esp, 0x24
test eax, eax
je 0x68004fa5
mov edx, dword [ebp - 0x1c]
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
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov dword [esp + 8], esi
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0
mov dword [esp], 1
call sym._CryptFormatObject_36
mov edx, dword [ebp - 0x2c]
sub esp, 0x24
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x68005030
Capabilities:
Check for peb beingdebugged flag
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 0xc]
mov dword [esp + 4], 0
lea edx, [esi + esi*2]
lea edx, [edx + edx + 2]
mov dword [esp + 8], edx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x1c], eax
sub esp, 0xc
test eax, eax
je 0x680050a9
test esi, esi
je 0x680050a9
mov ebx, dword [ebp + 8]
mov edi, eax
add esi, ebx
lea esi, [esi]
movzx eax, byte [ebx]
mov dword [esp], edi
add ebx, 1
add edi, 6
mov dword [esp + 8], str._02x
mov dword [esp + 0xc], eax
mov dword [esp + 4], 4
call sym._swprintf
cmp esi, ebx
jne 0x68005080
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x68005100
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push ebx
sub esp, 0x14
mov dword [esp + 8], 0x18
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_HeapAlloc]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x68005159
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [esp + 8], 0x68017564
mov dword [esp + 4], 0xc
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sym._swprintf
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x68005160
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x44c
mov eax, dword [ebp + 8]
mov dword [esp + 8], 0
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x38]
mov dword [esp], 1
mov dword [esp + 4], eax
call sym._CryptFindOIDInfo_12
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x680052b9
mov eax, dword [0x68022004]
lea esi, [ebp - 0x418]
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], esi
mov dword [esp + 4], 0x409
mov dword [esp], eax
call sym._LoadStringW_16
sub esp, 0x10
test eax, eax
je 0x680052c8
cmp word [ebp - 0x418], 0
je 0x680052d8
mov eax, esi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x680051e0
sub eax, esi
sar eax, 1
mov edi, dword [ebx + 8]
cmp word [edi], 0
je 0x6800520f
mov ecx, edi
nop
lea esi, [esi]
add ecx, 2
cmp word [ecx], 0
jne 0x68005200
sub ecx, edi
sar ecx, 1
add eax, ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
mov ecx, dword [ecx + 0x44]
mov dword [esp + 4], 0
lea eax, [eax + ecx*8]
mov edx, eax
lea ecx, [edx + edx]
mov dword [ebp - 0x42c], edx
mov dword [esp + 8], ecx
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]
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x680052c8
mov eax, dword [ebx + 8]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebx + 0xc]
mov ebx, edi
mov dword [esp], 1
add eax, 0x38
mov dword [esp + 4], eax
call sym._CertGetPublicKeyLength_8
mov edx, dword [ebp - 0x42c]
sub esp, 8
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x420]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 0x2400
call dword [sym.imp.kernel32.dll_FormatMessageW]
sub esp, 0x1c
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x680051ed

Function at 0x680053a0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
pop ebp
mov eax, dword [eax + 0xc]
add eax, 0x18
jmp sym._field_format_detailed_cert_name