joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a435
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.1000a435]
mov dword [0x101c0b9c], 0x1060
mov ecx, dword [0x101c0b98]
mov edx, ecx
add edx, 0x1bd4
add ecx, 0xc29
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
jmp 0x1000a47b
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x1000a490
jmp 0x1000a4a0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
cmp word [ecx], 0x5a4d
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
je 0x1000a46a
jmp 0x1000a4a0
mov eax, dword [ebp - 0x14]
mov dword [0x101c0b9c], eax
mov eax, dword [ebp - 0x10]
add esp, 0x14
pop ebp
ret
mov eax, dword [ebp - 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jmp 0x1000a47b

Function at 0x1000a4cd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101c0b98], 0x13a8
mov dword [0x101c0ba4], 0
mov byte [0x101c0ba8], 0
mov edi, dword [0x101c0b9c]
add edi, 0xffffea5b
mov dword [0x101c0b9c], edi
mov dword [0x101c0ba0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000a52e
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101c0b9c]
add eax, 0xfffff29d
mov dword [0x101c0b98], eax
mov eax, dword [0x101c0ba0]
add eax, 1
mov dword [0x101c0ba0], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000a52e
xor eax, eax
mov dword [0x101c0b98], 0x119a
mov dword [0x101c0ba0], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101c0bac], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101c0b98], 0x21a0
mov edi, dword [0x101c0ba4]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101c0bac], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x101c0ba4], edx
mov dword [0x101c0b9c], 0xd15
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101c0ba8], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x101c0b98], 0x18ab
mov cl, byte [0x101c0ba8]
mov esi, dword [0x101c0ba4]
mov byte [ebx + esi], cl
mov esi, dword [0x101c0ba0]
add esi, 1
mov dword [0x101c0ba0], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000a57c
jmp 0x1000a526
Function at 0x1000a6bb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x101bc5c1]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x101c0b9c], 0x780
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1000a62c
mov eax, dword [0x101c0b98]
add eax, 0x23bd
mov dword [0x101c0b98], eax
call fcn.1000aff1
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1000a172
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
jne 0x1000a73d
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x101c0b98], 0x1a85
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1000a32b
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101c0b9c], 0xffffea19
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x44], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x48], ecx
mov dword [0x101c0b98], 0x24ae
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x1000a733
mov eax, dword [ebp - 0x44]
add eax, 0x1c59
mov ecx, dword [0x101c0b9c]
add ecx, 0xffffec01
mov dword [0x101c0b9c], ecx
mov dword [ebp - 0x40], eax
jmp 0x1000a733
Function at 0x1000a891
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x101c0b98], 0xacb
mov dword [ebp - 0x10], eax
call fcn.1000b3ae
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1000a8d7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x101c0b9c], 0x6ce
mov esi, dword [edx + eax + 0x24]
mov dword [0x101c0b98], 0xfffffca0
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x1000aa08
jmp 0x1000a973
mov eax, dword [ebp - 0x38]
add eax, 1
mov cl, byte [ebp - 0x39]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x1000a985
jmp 0x1000a9b2
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [0x101c0b98], 0xacb
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x40], edx
jmp 0x1000a985
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
jmp 0x1000a94d
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x54]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x39], bh
mov byte [ebp - 0x3a], cl
jne 0x1000a923
mov al, byte [ebp - 0x3a]
test al, 1
jne 0x1000a9e5
jmp 0x1000a9bb
xor eax, eax
mov ecx, dword [ebp - 0x4c]
add ecx, 2
mov edx, dword [ebp - 0x50]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x34], eax
jb 0x1000a94d
jmp 0x1000aa08
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x101c0b98], 0x1919
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000b115
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x101c0b9c], 0x1a0e
mov dword [ebp - 4], 0
mov dword [0x101c0b98], 0x7d0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x101c0b98]
add edx, 0xfffffa13
mov dword [0x101c0b98], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101c0b9c], 0x19a
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1000b1e9
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov dword [0x101c0b9c], eax
mov dword [ebp - 0x18], ecx
jmp 0x1000b2b4
mov eax, 0xffffee12
mov dword [0x101c0b98], 0x43b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x14], eax
je 0x1000b287
jmp 0x1000b171
mov eax, dword [ebp - 0x20]
mov ecx, 0xffffec88
mov dword [0x101c0b98], 0x2b1
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ecx
je 0x1000b218
jmp 0x1000b171
mov eax, 0x1137
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x14], eax
je 0x1000b25d
jmp 0x1000b171
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
je 0x1000b1aa
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], eax
jl 0x1000b1e9
jmp 0x1000b1aa
mov eax, 0xffffec88
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x14], eax
jne 0x1000b171
mov eax, 0x1137
mov dword [0x101c0b98], 0x2760
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x14], eax
je 0x1000b1d0
jmp 0x1000b171
mov eax, 0xfffff83a
mov dword [0x101c0b98], 0xe63
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x14], eax
je 0x1000b183
jmp 0x1000b171
mov eax, 0xffffee12
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x14], eax
jne 0x1000b171
mov eax, 1
mov dword [0x101c0b98], 0x26a1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x24
pop ebp
ret
Function at 0x1000b524
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, 0x1541
mov dword [0x101c0ba0], 0
mov dword [0x101c0ba4], 0
mov dword [0x101c0bb0], 0
mov dword [0x101c0b98], 0x1541
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
je 0x1000b6c8
jmp 0x1000b5b1
mov eax, dword [0x101c0b98]
mov ecx, dword [0x101c0ba4]
mov edx, dword [0x101c0ba0]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add eax, 0xffffe50f
mov ebx, esi
add ebx, 1
add ecx, 1
mov dword [0x101c0b98], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x101c0ba0], edx
mov dword [0x101c0b9c], 0x1c5a
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x34]
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [0x101c0ba4], edx
mov dword [0x101c0b98], 0xe53
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x38]
mov cl, byte [ecx + edi]
mov byte [0x101c0ba8], cl
mov dword [0x101c0b9c], 0x1303
mov ecx, dword [ebp - 0x24]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x24]
mov byte [edx + edi], cl
mov cl, byte [0x101c0ba8]
mov edx, dword [0x101c0ba4]
mov edi, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov edx, dword [0x101c0b98]
mov ecx, edx
add ecx, 0x1414
mov dword [0x101c0b98], ecx
mov ecx, dword [0x101c0ba0]
movzx ecx, byte [edi + ecx]
mov edi, dword [0x101c0ba4]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x24]
movzx edi, byte [ecx + edi]
mov ecx, dword [ebp - 0x3c]
add edi, ecx
mov ecx, edx
add ecx, 0xfffff366
mov dword [0x101c0b98], ecx
and edi, 0xff
mov dword [0x101c0bb0], edi
mov ecx, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov edi, dword [ebp - 0x1c]
mov ch, byte [edi + esi]
add edx, 0xffffe34d
mov dword [0x101c0b98], edx
xor ch, cl
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], ch
mov esi, dword [ebp - 0x10]
cmp ebx, esi
mov dword [ebp - 0x30], ebx
jne 0x1000b591
mov dword [0x101c0b9c], 0xaeb
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4a1c80
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.004017bc
mov eax, dword [0x4de040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x4e0280]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x4a1e58
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x4a1da7
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x4a1da7
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x4a1d85
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x4a1d09
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4a1e11
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x4a1e78
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x4a1e53
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x4a1e78
jmp 0x4a1ce2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004022ac
mov esp, ebp
pop ebp
ret
Function at 0x4a1f10
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.004017bc
mov eax, dword [0x4de040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x4e0280]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x4a20fb
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x4a2046
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x4a2046
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x4a2022
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x4a1f99
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4a20b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x4a211b
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x4a20f6
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x4a211b
jmp 0x4a1f72
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004022ac
mov esp, ebp
pop ebp
ret
Function at 0x10002b50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101e5344
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x1027e110]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x30]
push eax
push ecx
push edx
lea edi, [esp + 0x1c]
mov dword [esp + 0x30], 1
call fcn.10002fc0
push eax
push esi
call fcn.100316f0
mov eax, edi
push eax
mov dword [esp + 0x10], 1
mov byte [esp + 0x28], 0
call fcn.100019d0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x10004d20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101e5787
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x1027e110]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
xor eax, eax
or ecx, 0xffffffff
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esp + 0x10], 2
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
lea ecx, [esi + 0x44]
mov byte [esp + 0x10], 5
call fcn.1002d1b0
lea ecx, [esi + 0x5c]
mov byte [esp + 0x10], 6
call fcn.1002d1b0
mov byte [esi + 0x74], 1
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x101e3fe0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
mov eax, dword [0x1027e110]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [ecx - 4]
mov edx, dword [eax + 0x7c]
add ecx, 0xfffffffc
xor ebx, ebx
mov dword [esp + 0xc], ebx
call edx
push 4
mov esi, eax
push str._GCM
lea ecx, [esp + 0x18]
add esi, 4
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.10002290
mov dword [esp + 0x50], ebx
mov eax, dword [esi]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call edx
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0x10]
push ecx
push eax
push esi
mov byte [esp + 0x5c], 1
call fcn.10012d60
add esp, 0xc
cmp dword [esp + 0x44], 0x10
jb 0x10005379
mov edx, dword [esp + 0x30]
push edx
call fcn.101b4654
add esp, 4
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x1000539d
mov eax, dword [esp + 0x14]
push eax
call fcn.101b4654
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x48
ret 4
Function at 0x100058f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x101e6258
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1027e110]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
push edi
call fcn.10005050
lea esi, [edi + 0x40]
push esi
mov dword [esp + 0x18], 0
call fcn.1000d060
mov dword [esi], vtable.CryptoPP::GCM_Base::GCTR.0
mov dword [esi + 4], vtable.CryptoPP::GCM_Base::GCTR.1.0
mov dword [esi + 0x1c], vtable.CryptoPP::GCM_Base::GCTR.2.0
mov dword [esi + 0x30], vtable.CryptoPP::GCM_Base::GCTR.3.0
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x10005c80
Capabilities:
Hash data using sha256

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
push ebx
call fcn.1000ca60
lea eax, [ebx + 0x68]
mov ecx, eax
and ecx, 0xf
add ecx, eax
mov dword [eax + 0x58], ecx
mov dword [eax + 0x50], 0x3fffffff
mov dword [eax + 0x54], 0x10
mov byte [eax + 0x49], 1
mov edi, dword [ebx + 0xc0]
mov ecx, 8
mov esi, 0x10264540
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword [ebx], vtable.CryptoPP::SHA256.0
mov eax, ebx
pop ebx
ret 4

Function at 0x10006130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101e0668
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x1027e110]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push 0x5d
push str.invalid_node__this_may_result_from_using_a_map_iterator_as_a_sequence_iterator__or_vice_versa
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.10002290
or eax, 0xffffffff
mov dword [esp + 0x38], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.10005eb0
cmp dword [esp + 0x2c], 0x10
mov dword [esi], vtable.YAML::RepresentationException.0
jb 0x100061bd
mov edx, dword [esp + 0x18]
push edx
call fcn.101b4654
add esp, 4
mov eax, esi
mov dword [esi], vtable.YAML::InvalidNode.0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret