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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x703034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x10], 0
je 0x5428aa
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00621120
mov ebx, esp
test ebx, ebx
je 0x5428aa
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1c8
call fcn.0050d734
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.005127a4
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp byte [eax + 0x16d], 0
je 0x5428aa
mov ecx, dword [esi + 0x10]
call fcn.0050b0d6
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00620181
mov esp, ebp
pop ebp
ret

Function at 0x545c50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
xor esi, esi
push edi
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x6d0], edx
mov dword [ebx + 0x6d4], esi
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x6d8], 6
test edx, edx
jne 0x545c91
call fcn.0054822c
lea eax, [ebx + 0x10]
push eax
call fcn.0054822c
mov ecx, eax
call fcn.00548163
mov ecx, dword [ebx + 0x6d0]
test ecx, ecx
jne 0x545cb2
mov eax, dword [0xa8]
jmp 0x545cbd
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [eax + 0xa8]
sub esp, 0x10
mov dword [ebp - 8], esi
mov edi, esp
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
lea esi, [ebp - 0x14]
push ecx
movsd dword es:[edi], dword [esi]
push 0x88
push closesocket
push ecx
movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00515cc6
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x545cf9
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x545cf4
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x5480c8
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp method.DuiLib::CMenuUI.2.virtual_312
Function at 0x54f918
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0xa0
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebx + 0x10], eax
test eax, eax
je 0x54fa1e
lea eax, [ebp - 0x14]
push eax
call fcn.0054fa27
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
sub esp, 0x10
lea esi, [ebp - 0x14]
mov edi, esp
push ecx
movsd dword es:[edi], dword [esi]
push 0
push 0x40000080
push ecx
push dword [eax + 0xa8]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00515cc6
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x54fa1e
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
push dword [ecx + 0x558]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.005133bf
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call esi
mov eax, dword [ebx + 0x10]
push 0
movzx ecx, byte [eax + 0x7a6]
movzx eax, byte [eax + 0x7a4]
shl ecx, 8
or ecx, eax
push ecx
push 0x401
push dword [ebx + 4]
call esi
lea eax, [ebp - 0x9c]
mov ecx, ebx
push eax
call fcn.0054feec
mov ecx, dword [ebx + 0x10]
push 0xffffffffffffffff
add ecx, 0x1c8
push dword [eax]
call fcn.0050d66a
lea ecx, [ebp - 0x9c]
call fcn.0041b502
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x100]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebx + 0x18], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x54fe44
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x703034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
cmp esi, 0x21
jb 0x54fe8c
cmp esi, 0x28
jbe 0x54fe86
lea eax, [esi - 0x2d]
cmp eax, 1
ja 0x54fe8c
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00638f20
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
or ecx, 0x1000000
cmp dword [ebp + 0x10], 0
push 0x104
cmove ecx, edi
push eax
shl ecx, 0x10
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0050d58c
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00620181
mov esp, ebp
pop ebp
ret 0xc
Function at 0x554810
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [eax]
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x554820
sub ecx, edx
mov esi, 0x811c9dc5
mov edx, 0
je 0x554846
movzx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x554835
push 0x1f31d
and esi, 0x7fffffff
push esi
call fcn.0064e6e9
imul ecx, eax, 0xb14
add esp, 8
imul edx, edx, 0x41a7
pop edi
pop esi
sub edx, ecx
lea eax, [edx + 0x7fffffff]
js 0x554874
mov eax, edx
pop ebp
ret 4
Function at 0x575de0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x674c38
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x703034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x575e2f
mov eax, dword [esi]
jmp 0x575e31
mov eax, esi
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
mov byte [eax], 0
call fcn.004296dd
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], 0xf
push 0
push dword [ebp + 0xc]
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.004296dd
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x34], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x578910
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
mov edx, dword [ebx + 8]
cmp esi, dword [edx]
jne 0x578943
cmp eax, edx
jne 0x578943
call fcn.00578170
mov eax, dword [ebx + 8]
pop esi
pop ebx
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 0xc
cmp esi, eax
je 0x578a19
push edi
nop dword [eax]
mov eax, dword [esi]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 8]
lea edx, [eax + 1]
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x578960
sub eax, edx
mov edi, 0x811c9dc5
mov edx, 0
je 0x57898c
mov ebx, dword [esi + 8]
movzx ecx, byte [edx + ebx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x578978
mov ebx, dword [ebp - 4]
push 0x1f31d
and edi, 0x7fffffff
push edi
call fcn.0064e6e9
imul ecx, edx, 0x41a7
add esp, 8
imul eax, eax, 0xb14
sub ecx, eax
jns 0x5789b6
add ecx, 0x7fffffff
mov eax, dword [ebx + 0x1c]
and eax, ecx
mov ecx, dword [ebx + 0x10]
lea edx, [eax*8]
add ecx, edx
cmp dword [ecx + 4], esi
jne 0x5789e9
cmp dword [ecx], esi
jne 0x5789e1
mov eax, dword [ebx + 8]
mov dword [ecx], eax
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 8]
mov dword [edx + ecx + 4], eax
jmp 0x5789f1
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x5789f1
cmp dword [ecx], esi
jne 0x5789f1
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
push esi
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 0xc]
call fcn.00476f40
mov esi, dword [ebp + 0xc]
add esp, 4
cmp esi, dword [ebp + 0x10]
jne 0x578950
pop edi
mov eax, dword [ebp + 8]
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x57b120
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67533a
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x703034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], eax
cmp byte [edi + 9], bl
je 0x57b191
push 0x8a
push 0x684774
push 3
lea ecx, [ebp - 0x34]
call fcn.00551710
mov dword [ebp - 4], ebx
mov ecx, eax
mov ebx, 1
push 0x6847a0
mov dword [ebp - 0x3c], ebx
call fcn.005517b0
push eax
lea ecx, [ebp - 0x35]
call fcn.00551c40
test bl, 1
je 0x57b19e
lea ecx, [ebp - 0x34]
call fcn.00551750
mov ebx, dword [ebp + 0xc]
push ebx
push dword [ebp - 0x40]
push dword [edi + 4]
call fcn.00656a7d
mov esi, eax
add esp, 0xc
test esi, esi
jns 0x57b1ca
call fcn.0063c804
cmp dword [eax], 4
je 0x57b1a1
call fcn.0063c804
mov eax, dword [eax]
mov dword [edi + 0xc], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00620181
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x676eb5
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x703034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
mov dword [esi], vtable.google::protobuf::FileDescriptorProto.0
call fcn.00560ed0
mov dword [esi + 0x10], 0
mov eax, esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x80], 0
mov dword [esi + 8], 0x712100
mov dword [esi + 0xc], 0x712100
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x84], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x590710
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6771c6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x703034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
mov dword [esi], vtable.google::protobuf::DescriptorProto.0
call fcn.00560ed0
mov dword [esi + 0xc], 0
mov eax, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x60], 0
mov dword [esi + 8], 0x712100
mov dword [esi + 0x5c], 0
mov dword [esi + 0x64], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67876d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x703034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
mov dword [esi], vtable.google::protobuf::UninterpretedOption.0
call fcn.00560ed0
mov dword [esi + 8], 0
xorps xmm0, xmm0
mov dword [esi + 0xc], 0
mov eax, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x18], 0x712100
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
movsd qword [esi + 0x30], xmm0
mov dword [esi + 0x38], 0x712100
mov dword [esi + 0x3c], 0x712100
mov dword [esi + 0x44], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6788e7
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x703034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [ebp - 4], 0
mov dword [esi], vtable.google::protobuf::SourceCodeInfo_Location.0
call fcn.00560ed0
mov dword [esi + 8], 0
mov eax, esi
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x28], 0x712100
mov dword [esi + 0x2c], 0x712100
mov dword [esi + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5b0730
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005b0740

Function at 0x5b09c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x5b09cc
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.005b09e0

Function at 0x5b60c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x5b60e7
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x5b60d6
pop edi
movzx eax, dl
pop esi
ret

Function at 0x5b6370
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x10c
call fcn.00620f90
mov eax, dword [0x703034]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x5b640f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x5b640f
lea eax, [esp + 0x118]
push eax
push 0
push dword [esp + 0x11c]
lea eax, [esp + 0x14]
push 0x100
push eax
call fcn.00421b37
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0064170e
add esp, 0x1c
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [esp + 4]
push 0
push ecx
test eax, eax
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00620181
add esp, 0x10c
ret
lea eax, [esp + 0x118]
push eax
push 0
push dword [esp + 0x11c]
lea eax, [esp + 0x14]
push 0xff
push eax
call fcn.00421b37
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.0064170e
add esp, 0x1c
mov byte [esp + 0x107], 0
call fcn.005b6230
test eax, eax
jle 0x5b64a3
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x5b64b7
push 0
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.00620181
add esp, 0x10c
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
call fcn.00620181
add esp, 0x10c
ret
Function at 0x5c5630
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x5c56f9
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x5c5651
cmp al, 0x6b
jne 0x5c56f9
inc ecx
cmp al, 0x6b
jne 0x5c56bb
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x5c5672
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x5c5672
cmp dl, 0xbb
jne 0x5c569b
inc eax
cmp eax, esi
jl 0x5c5660
sub esi, eax
test eax, eax
jne 0x5c56be
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.005b5300
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.005b5300
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x5c56e7
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.005b5300
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.00638420
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.005b5300
add esp, 0x14
or eax, 0xffffffff
pop esi
ret

Function at 0x5d1280
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push dword [esp + 0x10]
call fcn.005d1370
mov edi, eax
add esp, 8
test edi, edi
jne 0x5d1326
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.005b5300
push 0x6aa5f0
push esi
push 0x6cc3b0
push dword [esp + 0x2c]
push str.fopen_
push 5
call fcn.005b4af0
add esp, 0x2c
call fcn.0063c804
cmp dword [eax], 2
je 0x5d1306
call fcn.0063c804
cmp dword [eax], 6
je 0x5d1306
push 0xb8
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.005b5300
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0xb6
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.005b5300
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0x702514
call fcn.005b3b00
mov esi, eax
add esp, 4
test esi, esi
jne 0x5d1347
push edi
call fcn.0064b82c
add esp, 4
xor eax, eax
pop edi
pop esi
ret
push 0
push esi
call fcn.005b3740
push edi
push 1
push 0x6a
push esi
call fcn.005b3770
add esp, 0x18
mov eax, esi
pop edi
pop esi
ret
Function at 0x5d2c90
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
test esi, esi
jle 0x5d2d7c
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
inc edi
nop word [eax + eax]
cmp esi, 3
jl 0x5d2d0d
movzx ecx, byte [edi - 1]
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
mov eax, ecx
shr eax, 0x12
movzx eax, byte [eax + 0x6aa7c8]
mov byte [edx], al
mov eax, ecx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + 0x6aa7c8]
mov byte [edx + 1], al
mov eax, ecx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + 0x6aa7c8]
mov byte [edx + 2], al
add edx, 3
and ecx, 0x3f
movzx eax, byte [ecx + 0x6aa7c8]
mov byte [edx], al
jmp 0x5d2d61
movzx eax, byte [edi - 1]
shl eax, 0x10
cmp esi, 2
jne 0x5d2d21
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + 0x6aa7c8]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + 0x6aa7c8]
mov byte [edx + 1], cl
cmp esi, 1
jne 0x5d2d4b
lea eax, [esi + 0x3c]
jmp 0x5d2d58
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + 0x6aa7c8]
mov byte [edx + 2], al
add edx, 3
mov byte [edx], 0x3d
sub esi, 3
add ebx, 4
add edi, 3
inc edx
test esi, esi
jg 0x5d2cb0
pop edi
pop esi
mov eax, ebx
mov byte [edx], 0
pop ebx
ret
mov eax, dword [esp + 0xc]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
ret
Function at 0x5e1d00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.00620f90
mov eax, dword [0x703034]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
mov dword [esp + 0xc], eax
xor ebx, ebx
mov eax, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [eax], ebx
lea eax, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x8c]
push eax
call fcn.005d5170
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.005d4fd0
add esp, 0xc
test eax, eax
je 0x5e1e02
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.005d4cd0
add esp, 0xc
test eax, eax
je 0x5e1e02
lea eax, [esp + 0x20]
push eax
call fcn.005d4f10
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x5e1e20
push edi
call fcn.005b9070
push ebx
push edi
mov dword [esp + 0x1c], eax
call fcn.005e2f00
mov esi, eax
add esp, 0xc
test esi, esi
je 0x5e1e02
push esi
call fcn.005e3610
add esp, 4
test eax, eax
jle 0x5e1e02
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.005e2cb0
add esp, 0x18
test eax, eax
jle 0x5e1e02
push dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x24]
push esi
call fcn.005e3520
add esp, 0x14
test eax, eax
jle 0x5e1e02
mov ecx, dword [esp + 0x14]
mov ebx, 1
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
push esi
call fcn.005e2ea0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00620181
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x5e1e38
cmp dword [edi], edx
je 0x5e1e62
inc eax
add ecx, 4
cmp eax, 4
jl 0x5e1e25
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.005b5300
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00620181
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x5e1e96
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.005b5300
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00620181
add esp, 0x6c
ret
push dword [edi + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x44]
push dword [esp + 0x28]
push ecx
push dword [esi]
call eax
mov ecx, dword [esp + 0x90]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00620181
add esp, 0x6c
ret