joyce8/EMBER2024-capa huggingface dataset:
Function at 0x680025f0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x418]
sub esp, 0x42c
mov dword [esp + 4], 0xaf0
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
mov edx, dword [sym.imp.user32.dll_LoadStringW]
mov esi, eax
mov eax, dword [0x68024004]
sub esp, 8
mov dword [ebp - 0x41c], edx
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x432
mov dword [esp], eax
call edx
mov edi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x14a
mov dword [esp], esi
call edi
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x151
mov dword [esp], esi
call edi
mov eax, dword [0x68024004]
mov edx, dword [ebp - 0x41c]
sub esp, 0x10
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x433
mov dword [esp], eax
call edx
sub esp, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0x14a
mov dword [esp], esi
call edi
sub esp, 0x10
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], 0x151
mov dword [esp], esi
call edi
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14e
mov dword [esp], esi
call edi
sub esp, 0x10
call sym._get_cert_mgr_usages
mov dword [ebp - 0x424], eax
test eax, eax
je 0x6800286a
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_strchr]
mov dword [esp + 4], 0x2c
mov dword [ebp - 0x420], eax
call eax
mov edx, dword [ebp - 0x424]
mov ebx, eax
cmp byte [edx], 0
je 0x68002840
mov dword [ebp - 0x41c], esi
mov esi, edx
jmp 0x680027d6
mov byte [ebx], 0
mov dword [esp + 4], esi
mov dword [esp + 8], 0
mov dword [esp], 1
call dword [sym.imp.crypt32.dll_CryptFindOIDInfo]
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x680027b8
mov eax, dword [eax + 8]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14a
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x41c]
mov dword [esp], eax
call edi
sub esp, 0x10
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x41c]
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0x151
mov dword [esp], eax
call edi
sub esp, 0x10
lea esi, [ebx + 1]
mov dword [esp + 4], 0x2c
mov eax, dword [ebp - 0x420]
mov dword [esp], esi
call eax
cmp byte [ebx + 1], 0
je 0x68002840
mov ebx, eax
test ebx, ebx
jne 0x68002750
mov edx, esi
mov dword [esp + 8], 0
mov esi, dword [ebp - 0x41c]
mov dword [esp + 4], edx
mov dword [esp], 1
call dword [sym.imp.crypt32.dll_CryptFindOIDInfo]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x68002840
mov eax, dword [eax + 8]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x14a
mov dword [esp + 0xc], eax
mov dword [esp], esi
call edi
sub esp, 0x10
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 0x151
mov dword [esp], esi
call edi
sub esp, 0x10
nop
mov ecx, dword [ebp - 0x424]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], ecx
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 0x68002ff0
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 dword [sym.imp.user32.dll_GetDlgItem]
mov dword [ebp - 0x5c], 0
sub esp, 8
mov dword [ebp - 0x58], 0xffff0002
mov edi, eax
mov dword [ebp - 0x54], 1
mov dword [esp], ebx
call dword [sym.imp.crypt32.dll_CryptFindLocalizedName]
sub esp, 4
test eax, eax
je 0x68003140
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 0x68003174
cmp word [ebx], 0
mov dword [eax], 1
je 0x68003148
mov eax, ebx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x68003098
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 0x68003152
or dword [ebp - 0x54], 4
mov dword [ebp - 0x30], edx
xor edx, edx
lea esi, [esi]
lea esi, [esi]
movzx ecx, word [ebx + edx]
mov word [eax + edx], cx
add edx, 2
test cx, cx
jne 0x680030f0
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 dword [sym.imp.user32.dll_SendMessageW]
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 0x68003103
mov eax, 2
jmp 0x680030a6
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 0x6800312b
xor eax, eax
jmp 0x6800312b

Function at 0x68003320
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 0x68003340
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 0x68003e30
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x1c]
push ebx
mov ebx, edx
sub esp, 0x3c
mov dword [ebp - 0x2c], eax
mov esi, dword [sym.imp.crypt32.dll_CertGetCertificateContextProperty]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call esi
sub esp, 0x10
test eax, eax
je 0x68003ee1
mov eax, dword fs:[0x18]
mov ecx, eax
mov dword [ebp - 0x34], 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 0x68003ee1
mov dword [esp + 8], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0xc], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x30]
sub esp, 0x10
test eax, eax
je 0x68003ec0
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x34]
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 0x68003ef0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x1c]
push ebx
mov ebx, eax
sub esp, 0x3c
mov esi, dword [sym.imp.crypt32.dll_CertGetCertificateContextProperty]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], eax
call esi
sub esp, 0x10
test eax, eax
je 0x68003fa1
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 0x68003fa1
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 2
mov dword [esp], ebx
call esi
mov edx, dword [ebp - 0x2c]
sub esp, 0x10
test eax, eax
je 0x68003f80
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 0x680043e0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov dword [ebp - 0x4c], eax
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
mov dword [esp + 4], 0x110a
mov dword [esp], eax
call esi
sub esp, 0x10
test eax, eax
je 0x680044bb
mov ebx, eax
mov eax, esi
mov esi, ebx
mov ebx, eax
lea esi, [esi]
xor eax, eax
mov ecx, 8
lea edi, [ebp - 0x38]
mov dword [ebp - 0x3c], esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x14
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x113e
mov dword [esp], eax
call ebx
mov edi, dword [ebp - 0x1c]
sub esp, 0x10
test edi, edi
je 0x68004492
cmp dword [edi], 1
mov ecx, dword [sym.imp.kernel32.dll_HeapFree]
je 0x680044c8
mov dword [esp + 8], edi
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 eax, dword [ebp - 0x4c]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
mov dword [esp + 4], 0x110a
mov dword [esp], eax
call ebx
sub esp, 0x10
mov esi, eax
test eax, eax
jne 0x68004428
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [edi + 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 eax, dword [eax + 0x18]
mov dword [ebp - 0x50], ecx
mov dword [esp], eax
call ecx
mov ecx, dword [ebp - 0x50]
sub esp, 0xc
jmp 0x68004472
Function at 0x68004b20
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 0x68004bbe
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 0x68005010
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x1c]
push ebx
mov ebx, eax
sub esp, 0x5c
mov dword [ebp - 0x2c], edx
mov esi, dword [sym.imp.crypt32.dll_CryptFormatObject]
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 esi
xor edx, edx
sub esp, 0x24
test eax, eax
je 0x680050d9
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]
mov edx, dword [ebp - 0x2c]
sub esp, 0xc
mov dword [ebp - 0x30], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 8]
mov dword [esp + 8], edx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0
mov dword [esp], 1
call esi
mov edx, dword [ebp - 0x30]
sub esp, 0x24
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x68005120
Capabilities:
Check for peb beingdebugged flag
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
sub esp, 0x2c
mov dword [ebp - 0x1c], eax
mov dword [esp + 8], 0
mov eax, dword [ecx]
mov dword [ebp - 0x20], edx
mov dword [esp + 4], eax
mov dword [esp], 1
call dword [sym.imp.crypt32.dll_CryptFindOIDInfo]
xor edx, edx
sub esp, 0xc
mov edi, eax
mov eax, esi
call sym._crypt_format_extension
mov ebx, eax
test edi, edi
je 0x680051b0
mov ecx, dword [edi + 8]
mov edx, dword [ebp - 0x20]
mov dword [esp + 8], esi
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], sym._field_format_detailed_extension
call sym._add_field_and_value_to_list
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
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 esi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 4], 0
mov edi, eax
lea edx, [edi + edi + 2]
mov dword [esp + 8], edx
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 [ebp - 0x24], eax
sub esp, 0xc
test eax, eax
je 0x6800525c
mov ecx, dword [esi]
mov edx, dword [ebp - 0x24]
lea eax, [ecx + 1]
add edi, eax
jmp 0x68005201
inc eax
movsx cx, byte [ecx]
add edx, 2
mov word [edx - 2], cx
mov ecx, eax
cmp eax, edi
jne 0x68005200
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
mov dword [esp + 8], esi
mov dword [esp + 4], sym._field_format_detailed_extension
mov eax, dword [ebp - 0x1c]
mov dword [esp], ebx
mov ecx, edi
call sym._add_field_and_value_to_list
mov dword [esp + 8], edi
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
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
sub esp, 0xc
jmp 0x68005183
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x68005183

Function at 0x68005360
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 0x680053d7
test esi, esi
je 0x680053d7
mov ebx, dword [ebp + 8]
mov edi, eax
add esi, ebx
lea esi, [esi]
movzx eax, byte [ebx]
mov dword [esp], edi
inc ebx
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 0x680053b0
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x68005430
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 0x68005489
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 0x68005490
Capabilities:
Check for peb beingdebugged flag
Get process heap flags

Disassembly:
push ebp
mov edx, 0x11
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [ebp + 0xc]
call sym._crypt_format_extension
mov ebx, eax
test eax, eax
je 0x680054c0
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
test eax, eax
je 0x680054ac
add eax, 7
mov dword [esp + 4], 0
shr eax, 3
imul eax, eax, 0x46
mov edx, dword fs:[0x18]
add eax, 2
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]
mov dword [ebp - 0x38], eax
sub esp, 0xc
test eax, eax
je 0x680054ac
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], 0
mov ebx, eax
mov edi, dword [edi + 8]
test edi, edi
je 0x68005622
lea esi, [esi]
mov edx, dword [ebp - 0x20]
mov eax, edx
mov dword [ebp - 0x30], edx
add edx, 8
cmp edx, edi
mov dword [ebp - 0x20], edx
mov esi, eax
cmova edx, edi
mov dword [ebp - 0x2c], edx
cmp eax, edx
jae 0x68005668
mov edi, dword [ebp + 0xc]
lea esi, [esi]
nop
mov eax, dword [edi + 0xc]
movzx eax, byte [eax + esi]
mov dword [esp], ebx
inc esi
add ebx, 6
mov dword [esp + 8], 0x68017574
mov dword [esp + 0xc], eax
mov dword [esp + 4], 4
call sym._swprintf
mov eax, dword [edi + 8]
mov edx, dword [ebp - 0x20]
cmp eax, edx
mov ecx, edx
cmovbe ecx, eax
cmp esi, ecx
jb 0x68005548
mov dword [ebp - 0x2c], ecx
mov edi, eax
cmp esi, eax
je 0x68005630
mov eax, 0x20
lea esi, [ebx + 2]
mov ecx, dword [ebp - 0x2c]
mov word [ebx], ax
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x28], esi
cmp ebx, ecx
jae 0x6800560b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], edi
mov eax, dword [eax + 0xc]
add ebx, eax
add eax, ecx
mov dword [ebp - 0x24], eax
lea esi, [esi]
movzx edi, byte [ebx]
mov eax, edi
mov dword [esp], edi
mov byte [ebp - 0x19], al
call dword [sym.imp.ucrtbase.dll_iswprint]
mov ecx, eax
mov eax, 0x2e
test ecx, ecx
je 0x680055ed
mov dword [esp], edi
mov edi, 0x2e
call dword [sym.imp.ucrtbase.dll_iswspace]
mov edx, eax
movzx eax, byte [ebp - 0x19]
test edx, edx
cmovne eax, edi
mov word [esi], ax
inc ebx
add esi, 2
cmp dword [ebp - 0x24], ebx
jne 0x680055b8
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
lea eax, [esi + eax*2]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, 0xa
mov word [eax], cx
lea ebx, [eax + 2]
cmp dword [ebp - 0x20], edi
jb 0x68005520
xor edx, edx
mov word [ebx], dx
mov ebx, dword [ebp - 0x38]
jmp 0x680054ac
test edi, 7
je 0x6800558d
mov ecx, dword [0x6801756c]
movzx edx, word [0x68017570]
mov eax, edi
lea esi, [esi]
nop
inc eax
mov dword [ebx], ecx
add ebx, 6
mov word [ebx - 2], dx
test al, 7
jne 0x68005650
jmp 0x6800558d
cmp dword [ebp - 0x30], edi
je 0x68005630
lea eax, [ebx + 2]
mov dword [ebp - 0x28], eax
mov eax, 0x20
mov word [ebx], ax
jmp 0x6800560b
Function at 0x68005680
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 dword [sym.imp.crypt32.dll_CryptFindOIDInfo]
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x680057da
mov eax, dword [0x68024004]
lea esi, [ebp - 0x418]
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], esi
mov dword [esp + 4], 0x409
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
sub esp, 0x10
test eax, eax
je 0x680057e8
cmp word [ebp - 0x418], 0
je 0x680057f8
mov eax, esi
nop
add eax, 2
cmp word [eax], 0
jne 0x68005700
sub eax, esi
sar eax, 1
mov edi, dword [ebx + 8]
cmp word [edi], 0
je 0x6800572f
mov ecx, edi
lea esi, [esi]
nop
add ecx, 2
cmp word [ecx], 0
jne 0x68005720
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 0x680057e8
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 dword [sym.imp.crypt32.dll_CertGetPublicKeyLength]
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 0x6800570d

Function at 0x680058c0
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
Function at 0x680058e0
Capabilities:
Get graphical window text
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, dword fs:[0x18]
sub esp, 0x6c
mov dword [ebp - 0x5c], edx
mov dword [esp + 4], 0x965
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 8
mov dword [ebp - 0x60], eax
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 8
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
test eax, eax
je 0x680059f1
mov ecx, dword [ebp - 0x5c]
mov ebx, eax
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 4], 0
inc eax
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov edi, eax
test eax, eax
je 0x680059f9
mov ecx, dword [ebp - 0x5c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [sym.imp.ucrtbase.dll_strcpy]
mov esi, dword [ebp - 0x60]
mov dword [ebx + 4], edi
mov dword [ebx], 0x1c
mov dword [ebp - 0x54], 0xd
mov dword [ebp - 0x48], 0x2000
mov dword [ebp - 0x44], 0xf000
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1004
mov dword [esp], esi
call dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0x4c], 0
sub esp, 0x10
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x40], edi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1007
mov dword [esp], esi
call dword [sym.imp.user32.dll_SendMessageA]
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x680059f1