joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1011a4d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, ecx
push ebp
movzx ebp, word [ebx + 0x74]
lea edx, [ebx + 0x74]
push esi
mov al, byte [ebx + 0x88]
and al, 0x1f
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], ebp
push edi
cmp al, 0xe
jne 0x1011a528
movzx edx, word [ebx + 0x182]
cmp edx, ebp
jbe 0x1011a524
movzx ecx, word [ebx + 0x19a]
cmp ecx, ebp
jbe 0x1011a524
nop
cmp ecx, edx
jb 0x1011a6a4
mov eax, dword [ebx + 0x10]
movzx ecx, word [eax + ecx*8 + 6]
cmp ecx, ebp
ja 0x1011a510
mov edx, dword [esp + 0x18]
movzx eax, word [ebx + 0x19c]
cmp eax, ebp
jbe 0x1011a6ae
mov esi, dword [ebx + 0x10]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0x8000
lea eax, [esi + eax*8]
mov dword [esp + 0x34], eax
movzx eax, word [eax]
movzx ecx, word [esi + eax*8 + 2]
lea ebx, [esi + eax*8]
cmp edx, ebx
je 0x1011a6a4
movzx edi, word [edx + 2]
cmp byte [esi + edi*8 + 5], 0x1d
lea edx, [esi + edi*8]
jne 0x1011a574
movzx edi, word [edx]
lea edx, [esi + edi*8]
cmp byte [esi + ecx*8 + 5], 0x1d
lea ebp, [esi + ecx*8]
jne 0x1011a585
movzx ecx, word [ebp]
lea ebp, [esi + ecx*8]
mov eax, dword [esp + 0x14]
mov al, byte [eax + 0x79]
mov byte [esp + 0x13], al
cmp al, 0x39
je 0x1011a5a2
cmp al, 0x38
je 0x1011a5a2
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 0x74]
jmp 0x1011a5ae
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 0x74]
movzx eax, word [esi + eax*8]
movzx eax, ax
mov dword [esp + 0x2c], eax
mov al, byte [ebx + 5]
cmp al, 0x39
je 0x1011a5c5
cmp al, 0x38
je 0x1011a5c5
movzx eax, word [ebx]
jmp 0x1011a5cc
movzx eax, word [ebx]
movzx eax, word [esi + eax*8]
movzx ebx, ax
cmp edi, ecx
je 0x1011a673
cmp edi, 0x8000
jae 0x1011a5eb
cmp ecx, 0x8000
jb 0x1011a68d
cmp byte [esp + 0x13], 0x38
jne 0x1011a669
xor eax, eax
mov dword [esp + 0x1c], edi
cmp byte [edx + 5], 0x28
mov dword [esp + 0x20], eax
jne 0x1011a633
movzx esi, word [edx + 2]
cmp si, word [esp + 0x24]
mov esi, dword [esp + 0x28]
jae 0x1011a62f
movzx eax, word [edx]
mov dword [esp + 0x1c], eax
movzx eax, word [edx + 2]
mov edx, dword [esi + eax*8]
cmp dword [esp + 0x1c], ecx
jne 0x1011a629
test edx, edx
jne 0x1011a68d
mov eax, dword [esp + 0x20]
jmp 0x1011a635
mov edx, eax
jmp 0x1011a635
xor edx, edx
cmp byte [ebp + 5], 0x28
jne 0x1011a65d
movzx esi, word [ebp + 2]
cmp si, word [esp + 0x24]
mov esi, dword [esp + 0x28]
jae 0x1011a65d
movzx eax, word [ebp + 2]
movzx ecx, word [ebp]
mov eax, dword [esi + eax*8]
cmp edi, ecx
jne 0x1011a65d
test eax, eax
jne 0x1011a68d
cmp dword [esp + 0x1c], ecx
jne 0x1011a673
cmp edx, eax
je 0x1011a673
jmp 0x1011a68d
mov al, byte [ebp + 4]
xor al, byte [edx + 4]
test al, 0x1f
jne 0x1011a68d
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x1011a6a4
push ebx
push eax
push dword [esp + 0x1c]
call fcn.1011adf0
add esp, 0xc
test eax, eax
jne 0x1011a6a4
mov eax, dword [esp + 0x34]
movzx eax, word [eax + 6]
cmp eax, dword [esp + 0x38]
jbe 0x1011a6ae
mov edx, dword [esp + 0x18]
jmp 0x1011a546
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret
Function at 0x1011b280
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
movzx eax, word [esp + 0xc]
mov ecx, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 8], eax
push esi
push edi
movzx eax, word [ebp + eax*2 + 0x11a]
cmp eax, ecx
jbe 0x1011b2f4
mov edi, dword [ebp + 0x10]
mov dl, byte [edi + eax*8 + 4]
lea ebx, [edi + eax*8]
movzx eax, word [ebx]
and dl, 0x1f
cmp eax, ecx
je 0x1011b321
test dl, dl
jne 0x1011b2ec
cmp word [esp + 0x1c], 0x40
movzx edx, word [edi + eax*8 + 2]
movzx esi, word [edi + ecx*8 + 2]
je 0x1011b2d8
mov al, byte [edi + esi*8 + 4]
xor al, byte [edi + edx*8 + 4]
test al, 0x1f
jne 0x1011b2ec
cmp edx, esi
je 0x1011b319
cmp edx, 0x8000
jae 0x1011b319
cmp esi, 0x8000
jae 0x1011b319
movzx eax, word [ebx + 6]
cmp eax, ecx
ja 0x1011b2a5
mov eax, dword [esp + 0x10]
movzx eax, word [ebp + eax*2 + 0x10c]
cmp eax, ecx
jbe 0x1011b319
mov esi, dword [ebp + 0x10]
lea edx, [esi + eax*8]
movzx eax, word [edx]
cmp eax, ecx
je 0x1011b32e
movzx eax, word [edx + 6]
cmp eax, ecx
ja 0x1011b307
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
pop edi
xor eax, eax
test dl, dl
pop esi
pop ebp
setne al
pop ebx
pop ecx
ret
test byte [edx + 4], 0x1f
mov eax, 0
pop edi
pop esi
pop ebp
setne al
pop ebx
pop ecx
ret
Function at 0x1014b00b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1014acb2

Function at 0x1014b016
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1014ae3c
Function at 0x10007bbf
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10007be9
mov eax, dword [ebp + 8]
push eax
mov dword [0x100e3bb8], eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
push eax
push eax
push eax
push 0x10008226
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
inc eax
pop ebp
ret 0xc

Function at 0x10007bf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100e1c40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], edx
push esi
push edi
mov dword [ebp - 8], ebx
mov edi, ebx
mov dword [ebp - 8], ebx
xor eax, eax
push 0x2332
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
call fcn.100245d4
mov esi, eax
mov dword [esp], 0x2332
push edi
mov dword [ebx], esi
push esi
lea eax, [esi + 0x2332]
mov dword [ebx + 8], eax
call fcn.100450b0
lea eax, [esi + 0x2332]
add esp, 0xc
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 7
jbe 0x10007c5b
mov eax, dword [eax]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push edi
mov esi, eax
push 0x8d954
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 8]
push eax
push 0x2332
push dword [ebx]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10042ec0
leave
ret
Function at 0x1ca6380
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x1ca68a0
test edx, edx
je 0x1ca68a0
call fcn.01ca6397
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x1caa080
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
call fcn.01caa089

Function at 0x1cd2685
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x24
mov eax, dword [0x1f07010]
xor eax, ebp
mov dword [ebp - 0xc], eax
pcmpeqd xmm0, xmm0
lea esi, [ebp - 0x28]
movdqu xmmword [esi + 4], xmm0
mov dword [esi + 0x14], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esi], fcn.01cd2ca0
xor edi, edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], eax
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], edi
mov ecx, esi
call fcn.01d025f8
lea esi, [ebp - 0x2c]
mov dword [esi], edi
push esi
push 0x40
push 0x80
push section..crthunk
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1cd2732
push 0x1eb03c8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea ecx, [ebp - 0x28]
push edi
push 0x80
push section..crthunk
push 0x1cd2300
push edi
push str.NtMapViewOfSection
push 0x1c20000
push eax
call fcn.01d026f0
test eax, eax
js 0x1cd2739
push esi
push 0x20
push 0x80
push section..crthunk
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor esi, esi
jmp 0x1cd2743
mov esi, 0xf
jmp 0x1cd2743
mov dword [0x1f0d3b4], eax
mov esi, 0x10
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.01e60425
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebp
ret
Function at 0x1cd4ab0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push eax
push eax
push eax
push 0x1daf9e0
push eax
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
pop ebp
ret
Function at 0x1ce045a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x1ce048e
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, esi
call fcn.01ce04a0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x1ce0487
mov dword [esi], ebx
call fcn.01da4710
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x1ce3fe8
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, edx
cmp edx, 4
jb 0x1ce4020
imul esi, dword [ecx], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, esi
add ecx, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x1ce3ffa
cmp edx, 1
je 0x1ce4041
cmp edx, 2
je 0x1ce4038
cmp edx, 3
jne 0x1ce404c
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 8

Function at 0x1ce538e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x1f07010]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor edi, edi
push edi
call fcn.01ce2dcc
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], ebx
pcmpeqd xmm0, xmm0
lea ebx, [ebp - 0x34]
movdqu xmmword [ebx + 0x10], xmm0
movdqu xmmword [ebx], xmm0
mov dword [ebx + 0x20], 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x1c]
cmp eax, ecx
cmova ecx, eax
mov dword [esi + 0x98], ecx
mov dword [esi + 0x9c], 0x10
mov dword [esi + 0xa0], 0x20
mov dword [esi + 0xa4], edi
lea eax, [esi + 4]
mov dword [esi + 4], edi
xor eax, 0xb37cc16a
mov dword [esi + 8], eax
mov dword [esi + 0xc], esi
pxor xmm0, xmm0
movdqu xmmword [esi + 0x14], xmm0
movdqu xmmword [esi + 0x24], xmm0
movdqu xmmword [esi + 0x34], xmm0
movdqu xmmword [esi + 0x44], xmm0
movdqu xmmword [esi + 0x54], xmm0
movdqu xmmword [esi + 0x64], xmm0
movdqu xmmword [esi + 0x74], xmm0
movdqu xmmword [esi + 0x80], xmm0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01e60425
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x1ce9340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x1ce9369
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
xor ebx, ebx
mov al, byte [ecx + esi]
xor al, byte [edx + esi]
or bl, al
inc esi
cmp edi, esi
jne 0x1ce9357
movzx eax, bl
jmp 0x1ce936b
xor eax, eax
neg eax
shr eax, 8
and eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1ce9550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x1f07010]
xor edx, ebp
mov dword [ebp - 4], edx
vmovups ymm0, ymmword [ecx]
vmovups ymm1, ymmword [ecx + 0x10]
vmovups ymmword [ebp - 0x24], ymm1
vmovups ymmword [ebp - 0x34], ymm0
test eax, eax
je 0x1ce958d
xor ecx, ecx
mov dl, byte [eax + ecx]
xor byte [ebp + ecx - 0x34], dl
inc ecx
cmp ecx, 0x30
jne 0x1ce9580
vxorps xmm0, xmm0, xmm0
vmovups ymmword [0x1f0e6b4], ymm0
vmovups ymmword [0x1f0e6a4], ymm0
lea ecx, [ebp - 0x34]
vzeroupper
call fcn.01ce95c5
mov dword [0x1f0e6d4], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01e60425
add esp, 0x34
pop ebp
ret

Function at 0x1cf8920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x1cf894d
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ecx, ecx
xor ebx, ebx
mov al, byte [edx + ebx]
xor al, byte [esi + ebx]
or cl, al
inc ebx
cmp edi, ebx
jne 0x1cf8937
xor eax, eax
test cl, cl
setne al
jmp 0x1cf894f
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1cf8954
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x1cf8984
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov al, byte [ebp + 0x14]
xor ebx, ebx
sub bl, al
mov al, byte [edx + esi]
mov ah, byte [ecx + esi]
xor ah, al
and ah, bl
xor ah, al
mov byte [edx + esi], ah
inc esi
cmp edi, esi
jne 0x1cf8970
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1d01e38
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x1d01e4a
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x1d01e74
mov esi, dword [ecx + 4]
mov edi, dword [edx + 0x3c]
lea ebx, [edi + 0x18]
xor eax, eax
cmp ebx, esi
ja 0x1d01e45
add edx, edi
cmp dword [edx], 0x4550
jne 0x1d01e45
add edx, 4
mov dword [ecx + 0x10], edx
mov eax, edx
jmp 0x1d01e45
mov edx, dword [ecx]
xor eax, eax
test edx, edx
je 0x1d01e45
mov dword [ecx + 0xc], edx
mov esi, dword [ecx + 4]
cmp esi, 0x40
jb 0x1d01e92
movzx edi, word [edx]
cmp edi, 0x5a4d
je 0x1d01e54
mov dword [ecx + 0xc], 0
jmp 0x1d01e45
Function at 0x1d0229a
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov eax, 0xa
mov edx, dword [ecx + eax*4]
bswap edx
mov dword [ecx + eax*4], edx
inc eax
cmp eax, 0x1a
jne 0x1d0229f
mov eax, 0x1a
mov edx, dword [ecx + eax*4 - 0x20]
xor edx, dword [ecx + eax*4 - 0xc]
xor edx, dword [ecx + eax*4 - 0x38]
xor edx, dword [ecx + eax*4 - 0x40]
rol edx, 1
mov dword [ecx + eax*4], edx
inc eax
cmp eax, 0x5a
jne 0x1d022b2
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov edi, dword [ecx + 0x14]
mov esi, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x24]
mov dword [ebp - 0x20], ebx
xor ebx, ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x34], ecx
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
mov edx, edi
mov dword [ebp - 0x1c], edi
rol edx, 5
cmp ebx, 0x14
mov dword [ebp - 0x10], eax
jae 0x1d02340
mov ecx, eax
mov eax, esi
and eax, dword [ebp - 0x14]
add eax, edx
mov edi, esi
not edi
and edi, ecx
mov ecx, dword [ebp - 0x34]
add edi, dword [ebp - 0x18]
add edi, eax
add edi, dword [ecx + ebx*4 + 0x28]
mov eax, 0x5a827999
jmp 0x1d02389
cmp ebx, 0x28
jae 0x1d0235c
mov edi, dword [ebp - 0x14]
xor edi, eax
xor edi, esi
add edi, edx
add edi, dword [ebp - 0x18]
add edi, dword [ecx + ebx*4 + 0x28]
mov eax, 0x6ed9eba1
jmp 0x1d02389
cmp ebx, 0x3b
mov edi, dword [ebp - 0x14]
ja 0x1d02377
mov eax, edi
or eax, dword [ebp - 0x10]
and eax, esi
and edi, dword [ebp - 0x10]
or edi, eax
mov eax, 0x8f1bbcdc
jmp 0x1d02380
xor edi, eax
xor edi, esi
mov eax, 0xca62c1d6
add edi, dword [ebp - 0x18]
add edi, edx
add edi, dword [ecx + ebx*4 + 0x28]
add edi, eax
rol esi, 0x1e
inc ebx
mov eax, dword [ebp - 0x14]
mov edx, esi
cmp ebx, 0x50
jne 0x1d02302
mov dword [ecx], edi
mov eax, dword [ebp - 0x24]
add eax, edi
mov ebx, dword [ebp - 0x14]
mov dword [ecx + 0xc], ebx
mov dword [ecx + 8], esi
mov edi, dword [ebp - 0x1c]
mov dword [ecx + 4], edi
mov edx, ecx
mov ecx, dword [ebp - 0x10]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x28]
add eax, edi
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x2c]
add eax, esi
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x30]
add eax, ebx
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, ecx
mov dword [edx + 0x24], eax
mov dword [edx + 0x168], 0
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1d21620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ecx + 0x18]
push 0
push dword [ebp + 8]
call fcn.01db9ad0
mov ecx, dword [esi + 0x18]
pop esi
pop ebp
jmp fcn.01db9c40
Function at 0x1d2c900
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, dword [ebp + 8]
mov eax, dword [0x1f07010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0x60
call fcn.01e5f33c
add esp, 4
mov edi, eax
mov ecx, eax
push 0
call fcn.01dc1b90
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x1c]
lea ebx, [ebp - 0x18]
mov ecx, edi
mov edx, esi
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.01d2cac0
add esp, 0x1c
mov esi, eax
test eax, eax
je 0x1d2c97f
test edi, edi
je 0x1d2ca5d
mov ecx, edi
jmp 0x1d2ca56
push 0x50
call fcn.01e5f33c
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov ecx, ebx
push 0x1eb4aff
call fcn.01db7f30
mov dword [ebx], fcn.01d2d960
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x18], eax
mov word [ebx + 0x1c], 0x100
mov byte [ebx + 0x1e], 1
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
movups xmm0, xmmword [0x1eefb30]
movups xmmword [ebx + 0x40], xmm0
mov eax, dword [0x1f0c740]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [0x1f0e7a4]
cmp ecx, dword [eax + 4]
jg 0x1d2ca8a
lock inc dword [0x1f0e79c]
mov dword [ebp - 0x24], ebx
mov ecx, edi
push ebx
call fcn.01dc1ca0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [eax], edi
test ecx, ecx
je 0x1d2ca5d
push 1
call fcn.01dc21f0
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x1d2ca76
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 1
call ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01e60425
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1f0e7a4
call fcn.01e5f3e7
add esp, 4
cmp dword [0x1f0e7a4], 0xffffffff
jne 0x1d2ca39
call fcn.01d2db30
push 0x1f0e7a4
call fcn.01e5f45d
add esp, 4
jmp 0x1d2ca39
Function at 0x1d2d1d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
lea ecx, [ebp + 0x10]
xor edi, edi
cmp ebx, 8
jb 0x1d2d2c0
mov edx, dword [ebp + 0x14]
mov esi, dword [edx + 4]
sub ebx, esi
jb 0x1d2d2c0
cmp dword [edx], 0x100000
ja 0x1d2d2c0
lea eax, [edx + esi]
mov dword [ebp - 0x14], eax
push 0x50
call fcn.01e5f33c
add esp, 4
mov edi, eax
lea ecx, [ebp + 0x10]
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
mov dword [ecx], 0
mov ecx, edi
push 0x1eb4aff
call fcn.01db7f30
mov dword [edi], fcn.01d2d960
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x18], eax
mov word [edi + 0x1c], 0x100
mov byte [edi + 0x1e], 1
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], esi
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
movups xmm0, xmmword [0x1eefb30]
movups xmmword [edi + 0x40], xmm0
mov eax, dword [0x1f0c740]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [0x1f0e7a4]
cmp ecx, dword [eax + 4]
jg 0x1d2d2e6
lock inc dword [0x1f0e79c]
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0x10]
mov dword [eax], edi
mov edi, dword [ecx]
test edi, edi
je 0x1d2d2de
mov esi, eax
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 1
call ebx
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1f0e7a4
call fcn.01e5f3e7
add esp, 4
cmp dword [0x1f0e7a4], 0xffffffff
jne 0x1d2d2b3
call fcn.01d2db30
push 0x1f0e7a4
call fcn.01e5f45d
add esp, 4
jmp 0x1d2d2b3
Function at 0x1d31540
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1b4
mov esi, ecx
mov eax, dword [0x1f07010]
xor eax, ebp
mov dword [ebp - 0x10], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x40], xmm0
movdqu xmmword [ebp - 0x50], xmm0
movdqu xmmword [ebp - 0x60], xmm0
movdqu xmmword [ebp - 0x70], xmm0
movdqu xmmword [ebp - 0x80], xmm0
movdqu xmmword [ebp - 0x90], xmm0
movdqu xmmword [ebp - 0xa0], xmm0
movdqu xmmword [ebp - 0xb0], xmm0
movdqu xmmword [ebp - 0xc0], xmm0
movdqu xmmword [ebp - 0xd0], xmm0
movdqu xmmword [ebp - 0xe0], xmm0
movdqu xmmword [ebp - 0xf0], xmm0
movdqu xmmword [ebp - 0x100], xmm0
movdqu xmmword [ebp - 0x110], xmm0
mov dword [ebp - 0x114], 0
lea eax, [ebp - 0x114]
lea ebx, [ebp - 0x110]
push 0
push eax
push 0x100
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1d31651
mov dword [ebp - 0x1c0], 0xffffffff
lea eax, [ebp - 0x1c0]
push 0
push 0
push dword [ebp - 0x114]
push ebx
push eax
call fcn.01d032f0
add esp, 0x14
mov ecx, dword [ebp - 0x1c0]
test ecx, ecx
je 0x1d316b5
call fcn.01d039d0
cmp eax, 7
jbe 0x1d316b5
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c0]
call fcn.01d03960
cmp dword [eax], edi
jne 0x1d31711
mov eax, dword [ebp - 0x1c0]
mov dword [esi], eax
jmp 0x1d3169e
push 2
call fcn.01da24f0
add esp, 4
test al, al
je 0x1d31698
call fcn.01da3130
lea edi, [ebp - 0x1bc]
mov ecx, edi
push eax
push 2
push 0x38
push str.....mojocore_broker_win.cc
call fcn.01da32d0
lea eax, [ebp - 0x1b4]
push 0x19
push str.Error_reading_broker_pipe
push eax
call fcn.01cdcc16
add esp, 0xc
mov ecx, edi
call fcn.01da3380
mov dword [esi], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01e60425
mov eax, esi
add esp, 0x1b4
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
call fcn.01da24f0
add esp, 4
test al, al
je 0x1d316f6
lea esi, [ebp - 0x1bc]
mov ecx, esi
push 2
push 0x40
push str.....mojocore_broker_win.cc
call fcn.01da2590
lea eax, [ebp - 0x1b4]
push 0x16
push str.Invalid_broker_message
push eax
call fcn.01cdcc16
add esp, 0xc
mov ecx, esi
call fcn.01da29c0
push ebx
call sym.msedge_elf.dll_OQS_destroy
add esp, 4
lea eax, [ebp - 0x114]
push eax
call sym.msedge_elf.dll_OQS_destroy
add esp, 4
int3
push 2
call fcn.01da24f0
add esp, 4
test al, al
je 0x1d31752
lea esi, [ebp - 0x1bc]
mov ecx, esi
push 2
push 0x4b
push str.....mojocore_broker_win.cc
call fcn.01da2590
lea eax, [ebp - 0x1b4]
push 0x1e
push str.Unexpected_broker_message_type
push eax
call fcn.01cdcc16
add esp, 0xc
mov ecx, esi
call fcn.01da29c0
push ebx
call sym.msedge_elf.dll_OQS_destroy
add esp, 4
lea eax, [ebp - 0x114]
push eax
call sym.msedge_elf.dll_OQS_destroy
add esp, 4
int3