joyce8/EMBER2024-capa huggingface dataset:
Function at 0x600550
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c8784
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x772a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 0x10]
sub edi, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
sub esi, dword [ebp + 0xc]
lea eax, [edi + 1]
lea ebx, [esi + 1]
test eax, eax
je 0x60062b
test ebx, ebx
je 0x60062b
push 0x40
call fcn.00616d3f
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x6005c0
mov ecx, eax
call fcn.00606690
mov ecx, eax
jmp 0x6005c2
xor ecx, ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x10], eax
lea eax, [edi + 1]
cmp ebx, eax
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x10]
cmovle esi, edi
inc esi
mov dword [ecx + 0x24], esi
movzx eax, word [eax + 0x8c]
imul eax, dword [ebp + 0xc]
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
add eax, edx
mov dword [ecx + 0x28], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x6085a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c8b3d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x772a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x78decc], edi
lea esi, [edi + 0x6c]
mov dword [edi], vtable.CSoundManager.0
push 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00616d3f
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x43480000
mov dword [edi + 0x1c], 0x447a0000
mov dword [edi + 0x20], 0x3f800000
mov dword [edi + 0x24], 0x3f800000
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x68], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x6182f0
Capabilities:
Parse pe header

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

Function at 0x619c20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0x7003e4
push 0x64
call fcn.00617def
mov esi, eax
add esp, 8
test esi, esi
je 0x619d80
push 0x63
lea ecx, [esi + 1]
push 0
push ecx
call fcn.00650120
lea eax, [esi + 4]
mov byte [esi], 1
push 2
push eax
call fcn.00694369
lea eax, [esi + 0x34]
push eax
call fcn.00694545
xorps xmm0, xmm0
mov dword [0x7f3f40], esi
add esp, 0x18
movq qword [esi + 0x5c], xmm0
cmp dword [ebp + 0x10], 0
mov esi, dword [ebp + 8]
je 0x619c9e
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x619c93
cmp byte [eax], 0
je 0x619c93
push eax
push esi
call fcn.0061a330
jmp 0x619c9b
push 0
push esi
call fcn.0061a2b0
add esp, 8
call sub.KERNEL32.dll_GetCurrentProcessId
push 0x7ce850
mov dword [0x7f3d3c], eax
call fcn.00694385
add esp, 4
test eax, eax
jne 0x619d8f
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x619cd5
movups xmm0, xmmword [eax]
movups xmmword [0x7ef8f4], xmm0
movq xmm0, qword [eax + 0x10]
jmp 0x619cdf
xorps xmm0, xmm0
movups xmmword [0x7ef8f4], xmm0
movq qword [0x7ef904], xmm0
xorps xmm0, xmm0
push 0x7ce850
movups xmmword [0x7ef90c], xmm0
movq qword [0x7ef91c], xmm0
call fcn.006943aa
add esp, 4
cmp dword [0x7ef8f0], 0
jne 0x619d8a
push esi
call fcn.0061d400
mov dword [0x7ef8f0], eax
mov dword [eax + 8], 0x618530
mov eax, dword [0x7ef8f0]
mov dword [eax + 0xc], 0x618540
mov al, 1
mov esi, dword [0x7f3f40]
xchg byte [esi], al
push 4
call fcn.00616d3f
add esp, 8
test eax, eax
je 0x619d49
mov dword [eax], esi
jmp 0x619d4b
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x618590
push 0
push 0
call fcn.0066722f
mov ecx, eax
add esp, 0x18
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x619d9a
cmp dword [esi + 0x60], 0
jne 0x619d95
mov eax, dword [ebp - 4]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop esi
mov esp, ebp
pop ebp
ret
mov dword [0x7f3f40], 0
pop esi
mov esp, ebp
pop ebp
ret
push eax
call fcn.006946e1
call fcn.0066ef20
push 6
mov dword [ebp - 4], 0
call fcn.0069470e
int3
Function at 0x61a330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x772a40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x84]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
mov edi, dword [ebp + 0xc]
push 0x20
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call esi
lea eax, [ebp - 0xa90]
push eax
push 0x20019
push 0
push str.SoftwareValveSteam
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x61a3a4
push str.Error_opening_Steam_key_n
jmp 0x61a464
lea eax, [ebp - 0xa94]
mov dword [ebp - 0xa94], 0x208
push eax
lea eax, [ebp - 0x28c]
push eax
push 0
push 0
push str.SteamExe
push dword [ebp - 0xa90]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xa90]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x61a45f
mov ecx, dword [ebp - 0xa94]
cmp ecx, 1
jb 0x61a45f
shr ecx, 1
mov eax, esi
je 0x61a418
lea edx, [esi + 0x5c]
nop word [eax + eax]
cmp word [ebp + eax*2 - 0x28c], 0x2f
jne 0x61a413
mov word [ebp + eax*2 - 0x28c], dx
inc eax
cmp eax, ecx
jb 0x61a400
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28c]
push eax
push str.__s__steam:__rungameid__s
lea eax, [ebp - 0xa8c]
push 0x800
push eax
call fcn.0061a240
lea eax, [ebp - 0xa8c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00619f60
add esp, 0x1c
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00616d7d
mov esp, ebp
pop ebp
ret
push str.Error_reading_SteamExe_key_n
push 2
call fcn.00665936
add esp, 4
push eax
call fcn.004467d0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
call fcn.00616d7d
mov esp, ebp
pop ebp
ret
Function at 0x61a500
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x772a40]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str._pipediscord_ipc_0]
mov eax, dword [0x704508]
push ebx
push esi
push edi
push 0
push 0
mov dword [ebp - 0xc], eax
mov esi, ecx
mov ax, word [0x70450c]
push 3
movups xmmword [ebp - 0x34], xmm0
push 0
movups xmm0, xmmword [0x7044f0]
mov word [ebp - 8], ax
mov eax, 0x30
push 0
mov word [ebp - 0xa], ax
lea eax, [ebp - 0x34]
movups xmmword [ebp - 0x24], xmm0
push 0xc0000000
movq xmm0, qword [0x704500]
push eax
movq qword [ebp - 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x61a5d0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
call edi
cmp eax, 2
jne 0x61a599
mov ax, word [ebp - 0xa]
cmp ax, 0x39
jae 0x61a5e6
inc ax
mov word [ebp - 0xa], ax
jmp 0x61a5af
cmp eax, 0xe7
jne 0x61a5e6
push 0x2710
lea eax, [ebp - 0x34]
push eax
call ebx
test eax, eax
je 0x61a5e6
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x61a580
pop edi
mov byte [esi], 1
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00616d7d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00616d7d
mov esp, ebp
pop ebp
ret
Function at 0x622870
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
xor cl, cl
push ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 8], edx
push ebp
push esi
mov esi, dword [esp + 0x24]
push edi
test bl, 3
jne 0x6229a7
test dl, 3
jne 0x6229a7
mov edi, esi
xor eax, eax
shr edi, 2
xor edx, edx
mov dword [esp + 0x10], eax
test edi, edi
je 0x62296e
mov ebp, dword [esp + 0x24]
cmp edi, 8
jb 0x622937
mov ecx, edi
lea eax, [ebp + 0x10]
mov esi, ebx
and ecx, 0xfffffff8
sub esi, ebp
xorps xmm2, xmm2
mov dword [esp + 0x14], esi
xorps xmm3, xmm3
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x14]
nop word [eax + eax]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ebx + edx*4]
add edx, 8
pxor xmm1, xmm0
por xmm2, xmm1
movups xmm1, xmmword [eax + ebp - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm3, xmm1
cmp edx, ecx
jb 0x6228e0
mov ebp, dword [esp + 0x24]
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd eax, xmm2
mov dword [esp + 0x10], eax
cmp edx, edi
jae 0x622972
mov eax, ebx
lea ecx, [edx*4]
sub eax, ebp
mov ebx, edi
add ecx, ebp
mov dword [esp + 0x14], eax
sub ebx, edx
mov ebp, eax
mov edx, edi
mov edi, dword [esp + 0x10]
mov eax, dword [ecx + ebp]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
or edi, eax
sub ebx, 1
jne 0x622954
mov ebx, dword [esp + 0x20]
mov eax, edi
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x24]
shl edx, 2
sub esi, edx
jne 0x622986
pop edi
pop esi
test eax, eax
pop ebp
sete al
pop ebx
add esp, 0xc
ret
mov ecx, eax
add ebp, edx
shr eax, 0x10
add ebx, edx
mov edx, dword [esp + 0x10]
shr ecx, 0x18
or cl, al
mov dword [esp + 0x14], ebp
mov eax, edx
shr eax, 8
or cl, al
or cl, dl
mov edx, ebp
xor edi, edi
test esi, esi
je 0x622a65
cmp esi, 0x20
jb 0x622a4d
mov ebp, esi
lea eax, [edx + 0x10]
and ebp, 0xffffffe0
xorps xmm3, xmm3
mov dword [esp + 0x10], ebp
xorps xmm2, xmm2
mov ebp, ebx
sub ebp, edx
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
nop dword [eax]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [edi + ebx]
add edi, 0x20
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [eax + edx - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp edi, ebp
jb 0x6229e0
por xmm2, xmm3
mov edx, dword [esp + 0x14]
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd eax, xmm2
or cl, al
cmp edi, esi
jae 0x622a65
sub ebx, dword [esp + 0x14]
add edx, edi
sub esi, edi
mov al, byte [ebx + edx]
lea edx, [edx + 1]
xor al, byte [edx - 1]
or cl, al
sub esi, 1
jne 0x622a55
pop edi
pop esi
test cl, cl
pop ebp
sete al
pop ebx
add esp, 0xc
ret
Function at 0x622d10
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
push edi
test cl, 3
jne 0x622e1b
test bl, 3
jne 0x622e1b
mov edx, dword [esp + 0x24]
xor edi, edi
mov ebp, edx
shr ebp, 2
test ebp, ebp
je 0x622e06
cmp ebp, 0x10
jb 0x622ddc
lea eax, [ebx - 4]
lea eax, [eax + ebp*4]
lea esi, [ecx - 4]
lea esi, [esi + ebp*4]
cmp ecx, eax
ja 0x622d61
cmp esi, ebx
jae 0x622ddc
mov eax, ebp
lea esi, [ebx + 0x30]
and eax, 0xfffffff0
mov edx, ebx
sub edx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
lea eax, [ecx + 0x10]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x10]
movups xmm0, xmmword [eax - 0x10]
add edi, 0x10
lea eax, [eax + 0x40]
lea esi, [esi + 0x40]
movups xmm1, xmmword [esi - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [ebx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [esi - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [esi - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edi, dword [esp + 0x14]
jb 0x622d80
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], edi
cmp edi, ebp
jae 0x622e06
mov dword [esp + 0x14], ebx
lea ecx, [ecx + edi*4]
sub ebx, dword [esp + 0x1c]
mov esi, ebp
sub esi, edi
mov edi, ebp
nop dword [eax]
mov eax, dword [ecx + ebx]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
sub esi, 1
jne 0x622df0
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
shl edi, 2
sub edx, edi
je 0x622edf
add ecx, edi
add ebx, edi
mov dword [esp + 0x20], ebx
jmp 0x622e1f
mov edx, dword [esp + 0x24]
xor esi, esi
test edx, edx
je 0x622edf
cmp edx, 0x40
jb 0x622eca
lea eax, [ebx - 1]
lea edi, [ecx - 1]
add eax, edx
add edi, edx
cmp ecx, eax
ja 0x622e48
cmp edi, ebx
jae 0x622eca
mov ebp, edx
lea edi, [ebx + 0x30]
and ebp, 0xffffffc0
lea eax, [ecx + 0x10]
mov dword [esp + 0x14], ebp
mov ebp, ebx
sub ebp, ecx
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
movups xmm0, xmmword [eax - 0x10]
add esi, 0x40
lea edi, [edi + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [edi - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [eax + ebx - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edi - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [edi - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp esi, ebp
jb 0x622e70
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], esi
cmp esi, edx
jae 0x622edf
sub ebx, ecx
lea eax, [esi + ecx]
sub edx, esi
mov cl, byte [eax + ebx]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x622ed1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x6234d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c2e10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x772a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
xor al, al
mov ecx, dword [esi + 0x2c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
mov dword [ebp - 4], 0
call fcn.00616fa0
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x62351f
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x623530
push 0x44
push esi
call fcn.00616d6f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x62ac60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ca9cb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x772a40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
cmp dword [ebp + 8], 0
je 0x62ac97
mov dword [edi + 8], 0x7074fc
lea ecx, [edi + 0x10]
mov dword [edi + 0xc], 0
call fcn.00634a50
mov eax, dword [edi + 8]
mov dword [edi], vtable.CryptoPP::DL_GroupParametersImpl_class_CryptoPP::ModExpPrecomputation__class_CryptoPP::DL_FixedBasePrecomputationImpl_class_CryptoPP::Integer___class_CryptoPP::DL_GroupParameters_IntegerBased_.0
mov dword [edi + 4], vtable.CryptoPP::DL_GroupParametersImpl_class_CryptoPP::ModExpPrecomputation__class_CryptoPP::DL_FixedBasePrecomputationImpl_class_CryptoPP::Integer___class_CryptoPP::DL_GroupParameters_IntegerBased_.1.0
mov dword [ebp - 4], 0
mov eax, dword [eax + 4]
mov dword [eax + edi + 8], vtable.CryptoPP::DL_GroupParametersImpl_class_CryptoPP::ModExpPrecomputation__class_CryptoPP::DL_FixedBasePrecomputationImpl_class_CryptoPP::Integer___class_CryptoPP::DL_GroupParameters_IntegerBased_.2.0
mov eax, dword [edi + 8]
mov eax, dword [eax + 4]
mov dword [eax + edi + 4], 0
mov dword [edi + 0x24], vtable.CryptoPP::ModExpPrecomputation.0
mov dword [edi + 0x28], 0
lea esi, [edi + 0x2c]
mov dword [ebp + 8], esi
lea ecx, [esi + 4]
mov byte [ebp - 4], 2
mov dword [esi], vtable.CryptoPP::DL_FixedBasePrecomputationImpl_class_CryptoPP::Integer_.0
call fcn.00634a50
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 3
mov dword [esi + 0x18], 0
call fcn.00634a50
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov eax, dword [edi + 8]
mov dword [edi], vtable.CryptoPP::DL_GroupParameters_GFP.0
mov dword [edi + 4], vtable.CryptoPP::DL_GroupParameters_GFP.1.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 8], vtable.CryptoPP::DL_GroupParameters_GFP.2.0
mov eax, dword [edi + 8]
mov eax, dword [eax + 4]
mov dword [eax + edi + 4], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x64f240
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6cd359
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x772a40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x7ce514]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x805304]
cmp eax, dword [ecx + 0x20]
jg 0x64f2ba
mov eax, dword [0x805300]
push 0
push dword [ebp + 0xc]
push esi
push dword [eax]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x64f2fa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00616d7d
mov esp, ebp
pop ebp
ret 8
push 0x805304
call fcn.00617272
add esp, 4
cmp dword [0x805304], 0xffffffff
jne 0x64f288
lea ecx, [ebp - 0x51]
mov dword [ebp - 4], 0
call fcn.0064f360
push 0x805304
mov dword [0x805300], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00617221
add esp, 4
jmp 0x64f288
push eax
call fcn.0064f340
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x70800c
lea ecx, [ebp - 0x28]
call fcn.00442b10
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x50]
call fcn.0064ee50
push 0x74cb00
lea eax, [ebp - 0x50]
push eax
call fcn.006502fc
int3
Function at 0x64f470
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6cd3e9
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x772a40]
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 esi, dword [ebp + 0xc]
mov dword [ebp - 0x64], esi
test esi, esi
jne 0x64f4ab
xor ebx, ebx
jmp 0x64f4b6
push esi
call fcn.00622810
add esp, 4
mov ebx, eax
mov dword [ebp - 0x60], ebx
push 1
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.00620810
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x5c], vtable.CryptoPP::NonblockingRng.0
call fcn.0064ed10
mov eax, dword fs:[0x2c]
mov ecx, dword [0x7ce514]
mov byte [ebp - 4], 1
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x805304]
cmp eax, dword [ecx + 0x20]
jg 0x64f56a
mov eax, dword [0x805300]
push 0
push esi
push ebx
push dword [eax]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x64f5ab
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 0
mov dword [ebp - 0x5c], vtable.CryptoPP::NonblockingRng.0
test eax, eax
je 0x64f52b
push 0
push eax
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
mov eax, dword [edi]
mov ecx, edi
push esi
push ebx
call dword [eax + 0xc]
xor al, al
mov dword [ebp - 4], 4
mov edi, ebx
mov ecx, esi
rep stosb byte es:[edi], al
push ebx
call fcn.00616fa0
add esp, 4
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.00616d7d
mov esp, ebp
pop ebp
ret 8
push 0x805304
call fcn.00617272
add esp, 4
cmp dword [0x805304], 0xffffffff
jne 0x64f4f9
lea ecx, [ebp - 0x51]
mov byte [ebp - 4], 2
call fcn.0064f360
push 0x805304
mov dword [0x805300], eax
mov byte [ebp - 4], 1
call fcn.00617221
add esp, 4
jmp 0x64f4f9
push eax
call fcn.0064f340
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x70800c
lea ecx, [ebp - 0x28]
call fcn.00442b10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x50]
call fcn.0064ee50
push 0x74cb00
lea eax, [ebp - 0x50]
push eax
call fcn.006502fc
int3
Function at 0x667834
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00616dc0
mov eax, dword [0x772a40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0066dfd0
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x667876
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x6679d2
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.006177a0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x8056e0]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.006794fa
mov ecx, dword [esi*4 + 0x8056e0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x6679cb
cmp eax, dword [ecx + edi + 0x24]
jne 0x6679cb
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x6679cb
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.006794fa
add esp, 0x14
test edx, edx
jl 0x6679cb
jg 0x667941
test eax, eax
jb 0x6679cb
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x6679cb
jl 0x66795b
cmp dword [ebp - 0x1008], eax
ja 0x6679cb
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x667979
test ebx, ebx
je 0x6679b2
cmp ecx, edi
jae 0x6679b2
mov al, byte [ecx]
cmp al, 0xd
jne 0x667993
lea eax, [edi - 1]
cmp ecx, eax
jae 0x66799f
cmp byte [ecx + 1], 0xa
jne 0x66799f
inc ecx
jmp 0x66799f
movzx eax, al
movsx eax, byte [eax + 0x775130]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x667979
cmp edx, ebx
jne 0x667979
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x6679d0
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00616d7d
leave
ret