joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cc50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
push esi
mov esi, dword [esp + 8]
push edi
mov edi, eax
jne 0x42cc61
pop edi
xor eax, eax
pop esi
ret
cmp edi, 8
not esi
jb 0x42cd49
push ebp
mov ebp, edi
shr ebp, 3
movzx edx, byte [ecx]
xor edx, esi
and edx, 0xff
add ecx, 1
mov eax, esi
shr eax, 8
xor eax, dword [edx*4 + 0x466280]
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x466280]
movzx edx, byte [ecx + 1]
xor edx, eax
and edx, 0xff
add ecx, 1
shr eax, 8
xor eax, dword [edx*4 + 0x466280]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x466280]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x466280]
movzx edx, byte [ecx + 1]
xor edx, eax
add ecx, 1
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x466280]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x466280]
movzx edx, byte [ecx + 1]
add ecx, 1
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x466280]
add ecx, 1
sub edi, 8
sub ebp, 1
mov esi, eax
jne 0x42cc72
pop ebp
test edi, edi
je 0x42cd6c
lea ecx, [ecx]
movzx eax, byte [ecx]
xor eax, esi
and eax, 0xff
shr esi, 8
xor esi, dword [eax*4 + 0x466280]
add ecx, 1
sub edi, 1
jne 0x42cd50
mov eax, esi
pop edi
not eax
pop esi
ret

Function at 0x42cd80
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [edx]
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x466280]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
add eax, 1
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x466280]
mov dword [edx + 8], ecx
ret

Function at 0x42cdd0
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
xor al, bl
movzx ebx, al
xor ebx, edx
shr edx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x466280]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
add edx, 1
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x466280]
pop ebx
mov dword [esi + 8], ecx
ret

Function at 0x42d4e0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ebx
imul esi, dword [esp + 0x10]
cmp byte [edi], 0
je 0x42d518
mov ecx, dword [edi + 4]
push 0
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42d50d
mov byte [edi + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
pop esi
div ebx
pop ebx
ret
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
push ebp
lea ebp, [ecx + esi]
cmp ebp, eax
pop ebp
jbe 0x42d52b
sub eax, ecx
mov esi, eax
mov eax, dword [edi + 0x14]
push esi
add eax, ecx
push eax
push edx
call fcn.00440630
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
pop esi
div ebx
pop ebx
ret
Function at 0x42e020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x42e038
pop edi
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0x42e02d
cmp dword [edi + 0x7c], ebx
je 0x42e047
call fcn.0042e430
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0042de40
add esp, 0xc
test eax, eax
je 0x42e06d
pop edi
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push ebp
push 0x84
call fcn.0043df47
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x42e0af
push 0x4000
call fcn.0043df47
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
mov dword [ebp], eax
mov dword [ebp + 0x44], ecx
mov dword [ebp + 0x48], edx
mov dword [ebp + 0x4c], ebx
jne 0x42e0bb
push ebp
call fcn.0043d169
add esp, 4
pop ebp
pop edi
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [ebp + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [ebp + 0x54], ecx
mov dword [ebp + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [ebp + 0x64], edx
mov ecx, dword [edi]
mov dword [ebp + 0x60], ecx
mov edx, dword [edi + 0xc]
push esi
mov dword [ebp + 0x68], edx
cmp eax, ebx
mov dword [ebp + 0x18], ebx
jne 0x42e104
lea esi, [ebp + 4]
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
call fcn.0042d040
test eax, eax
jne 0x42e104
mov dword [ebp + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [ebp + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [ebp + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [ebp + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x42e12e
mov cl, byte [edi + 0x39]
mov byte [ebp + 0x80], cl
jmp 0x42e137
mov dl, byte [edi + 0x3f]
mov byte [ebp + 0x80], dl
mov al, byte [ebp + 0x6c]
mov esi, dword [esp + 0x20]
neg al
lea edx, [ebp + 0x70]
mov dword [edx], 0x12345678
mov dword [ebp + 0x74], 0x23456789
mov dword [ebp + 0x78], 0x34567890
sbb eax, eax
and eax, 0xc
cmp esi, ebx
mov dword [ebp + 0x7c], eax
je 0x42e173
mov cl, byte [esi]
cmp cl, bl
je 0x42e173
call fcn.0042cd80
add esi, 1
jne 0x42e163
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [ebp + 0x3c], eax
mov dword [ebp + 8], ebx
pop esi
mov dword [edi + 0x7c], ebp
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x42e4b0
Capabilities:
Get common file path

Disassembly:
cmp dword [edi], 0
push esi
jne 0x42e552
cmp dword [edi + 4], 0xffffffff
jne 0x42e552
lea esi, [edi + 0x244]
push esi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, esi
lea edx, [eax + 2]
jmp 0x42e4e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42e4e0
sub eax, edx
sar eax, 1
movzx ecx, word [edi + eax*2 + 0x242]
cmp cx, 0x5c
je 0x42e517
cmp cx, 0x2f
je 0x42e517
mov word [edi + eax*2 + 0x244], 0x2f
mov word [edi + eax*2 + 0x246], 0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
lea esi, [esp + 0x14]
call fcn.0042d4a0
add esp, 8
test eax, eax
jne 0x42e539
mov eax, dword [esp + 0xc]
pop esi
ret 8
call fcn.0042d880
mov dword [edi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop esi
ret 8
mov eax, 0x1000000
pop esi
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x45b186
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x477564]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], ebx
mov byte [esi + 0x14], bl
lea edi, [esi + 0x30]
mov dword [esp + 0x18], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
mov byte [esp + 0x18], 1
push ebx
mov dword [esi], 1
call fcn.0043ca78
add esp, 4
push 0xffffffffffffffff
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov eax, dword [0x47cecc]
push ebx
push 0x47ced4
mov ecx, edi
mov dword [esi + 0x2c], eax
call fcn.00405e10
mov ecx, dword [0x47ced0]
mov dword [esi + 0x4c], ecx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x45b579
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x477564]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
lea esi, [edi + 0x10]
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea ebp, [edi + 0x2c]
mov dword [esp + 0x38], ebx
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x14], ebx
mov byte [ebp + 4], bl
mov dword [edi + 0x60], eax
mov dword [edi + 0x5c], ebx
mov byte [edi + 0x4c], bl
mov byte [esp + 0x38], 2
push ebx
mov dword [edi], 1
call fcn.0043ca78
add esp, 4
push 4
push str.lock
mov ecx, esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
call fcn.004054f0
mov eax, dword [0x47cecc]
push eax
lea esi, [esp + 0x18]
call fcn.0042f090
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x44], 3
call fcn.00405e10
cmp dword [esp + 0x2c], 0x10
jb 0x42ef15
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043c477
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
Function at 0x42f110
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push 0
mov edi, eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push esi
mov dword [esp + 0x1c], 0
call ebp
test eax, eax
je 0x42f18f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
je 0x42f18f
mov ecx, dword [edi + 0x14]
cmp eax, ecx
ja 0x42f155
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.00406440
jmp 0x42f15e
push 0
sub eax, ecx
call fcn.00405d70
mov eax, dword [edi + 0x14]
push 0
lea ecx, [esp + 0xc]
push ecx
push eax
mov eax, edi
mov dword [esp + 0x14], 0
call fcn.004055f0
push eax
push esi
call ebp
test eax, eax
je 0x42f18f
mov edx, dword [edi + 0x14]
cmp edx, dword [esp + 8]
jne 0x42f18f
pop edi
mov al, 1
pop ebp
pop ecx
ret
pop edi
xor al, al
pop ebp
pop ecx
ret

Function at 0x42f1a0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x45bee8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
mov eax, dword [0x477564]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x42f1dd
lea eax, [esp + 0x28]
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
je 0x42f258
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x42f1fc
lea eax, [esp + 0x28]
push ebx
push 0x80
push 3
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42f258
mov eax, dword [edi + 0x14]
push ebx
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, edi
mov dword [esp + 0x1c], ebx
call fcn.004055f0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42f251
mov edx, dword [edi + 0x14]
cmp edx, dword [esp + 0x10]
jne 0x42f251
mov eax, ebp
call fcn.0042f110
test al, al
je 0x42f251
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x3c], 0x10
jb 0x42f26c
mov eax, dword [esp + 0x28]
push eax
call fcn.0043c477
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x430860
Capabilities:
Create thread

Disassembly:
push ebx
push 0
xor bl, bl
call fcn.0043ca78
push eax
call fcn.0043c988
add esp, 8
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esi], eax
je 0x4308a6
push 0
push 0
push eax
push 0x430540
push 0
push 0
call fcn.0043c65b
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
mov al, 1
jne 0x4308a8
mov al, bl
pop ebx
ret

Function at 0x430a20
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
mov edx, edi
xor eax, eax
shr edx, 2
je 0x430a64
mov edi, ebx
sub esi, ecx
mov eax, ecx
sub edi, ecx
mov dword [esp + 0xc], edx
push ebp
mov ebp, dword [esi + eax]
xor ebp, dword [eax]
add eax, 4
sub edx, 1
mov dword [edi + eax - 4], ebp
jne 0x430a46
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
pop ebp
add eax, eax
add eax, eax
sub edi, eax
je 0x430a91
add ebx, eax
add esi, eax
add ecx, eax
test edi, edi
jbe 0x430a91
mov edx, esi
mov esi, ebx
sub edx, ecx
mov eax, ecx
sub esi, ecx
mov cl, byte [eax + edx]
xor cl, byte [eax]
add eax, 1
sub edi, 1
mov byte [eax + esi - 1], cl
jne 0x430a80
pop edi
pop esi
pop ebx
pop ecx
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x45ce88
mov eax, dword fs:[0]
push eax
mov eax, dword [0x477564]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 0xc], ecx
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
or edx, 0xffffffff
mov dword [eax], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [eax + 4], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov byte [eax + 0x24], cl
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4

Function at 0x4343e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45ce61
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x477564]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x30]
push eax
push ecx
lea edi, [esp + 0x18]
mov dword [esp + 0x2c], 1
call fcn.00434480
push eax
push esi
call fcn.00436130
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov dword [esp + 0xc], 1
je 0x434461
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
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 0x434ca0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45d448
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x477564]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x13]
push ecx
push 0x47a450
push str.InsertLineBreaks
mov ecx, esi
call edx
test al, al
mov bl, byte [esp + 0x13]
jne 0x434cf3
mov bl, 1
mov eax, dword [esi]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push 0x47a45c
push str.MaxLineLength
mov ecx, esi
call edx
test al, al
mov eax, dword [esp + 0x14]
jne 0x434d18
mov eax, 0x48
test bl, bl
mov esi, 0x466a8c
jne 0x434d26
mov esi, 0x462c9b
neg bl
mov dword [esp + 0x20], 6
mov dword [esp + 0x14], str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
sbb ebx, ebx
and ebx, eax
lea eax, [esp + 0x54]
mov dword [esp + 0x18], ebx
mov ebx, dword [edi + 0x44]
push eax
call fcn.00430bd0
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x7c], 0
call fcn.00430bd0
mov esi, eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, str.EncodingLookupArray
mov byte [esp + 0x80], 1
call fcn.00434ec0
add esp, 8
mov byte [esp + 0x78], 2
movzx ecx, byte [eax + 8]
push ecx
push str.PaddingByte
mov edi, eax
call fcn.00435010
movzx edx, byte [eax + 8]
push edx
lea ecx, [esp + 0x1c]
push ecx
push str.GroupSize
mov edi, eax
call fcn.004164f0
movzx edx, byte [eax + 8]
push edx
push esi
push str.Separator
mov edi, eax
call fcn.00416430
movzx ecx, byte [eax + 8]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push str.Terminator
mov edi, eax
call fcn.00416430
push 1
lea ecx, [esp + 0x24]
push ecx
push str.Log2Base
mov edi, eax
call fcn.004164f0
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], vtable.CryptoPP::CombinedNameValuePairs.0
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call edx
mov byte [esp + 0x78], 1
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x434e23
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov edx, edi
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.0043d169
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, edi
xor al, al
push edx
rep stosb byte es:[edi], al
call fcn.0043d169
add esp, 8
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x434ec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45ce61
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x477564]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], vtable.CryptoPP::AlgorithmParameters.0
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x30]
push eax
push ecx
lea edi, [esp + 0x18]
mov dword [esp + 0x2c], 1
call fcn.00434f60
push eax
push esi
call fcn.00436130
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x14]
test ecx, ecx
mov dword [esp + 0xc], 1
je 0x434f41
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
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 0x438550
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45d6a0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x477564]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [0x477564]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
push 1
mov dword [esp + 0x20], eax
mov dword [esp + 8], eax
push 0x478ac4
lea eax, [esp + 0xc]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x10], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x7c]
push eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x20], vtable.CryptoPP::ArraySink.1.0
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.0043c709
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45d6d0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x477564]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x477564]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ecx]
xor edx, edx
push 1
push 0x478ac4
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edx
push eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x34], eax
push edx
mov edx, dword [esi + 0x80]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x30], vtable.CryptoPP::ArraySink.1.0
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0043c709
mov esp, ebp
pop ebp
ret 8

Function at 0x43c709
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x477564]
jne 0x43c713
repz ret
jmp fcn.00442f36
Function at 0x4465a4
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x477f38]
je 0x4465bf
inc edi
cmp edi, 0x17
jb 0x4465b0
cmp edi, 0x17
jae 0x44673f
push ebp
push 3
call fcn.00454768
cmp eax, 1
pop ecx
je 0x44670b
push 3
call fcn.00454768
test eax, eax
pop ecx
jne 0x4465f3
cmp dword [0x477540], 1
je 0x44670b
cmp ebx, 0xfc
je 0x44673e
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x47b868
push ebp
call fcn.004422f8
add esp, 0xc
test eax, eax
je 0x446629
push esi
push esi
push esi
push esi
push esi
call fcn.0043c722
add esp, 0x14
push 0x104
mov esi, 0x47b881
push esi
push 0
mov byte [0x47b985], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44666d
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004422f8
add esp, 0xc
test eax, eax
je 0x44666d
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043c722
add esp, 0x14
push esi
call fcn.0043e750
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4466b2
push esi
call fcn.0043e750
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x47bb7c
push 0x46155c
sub ecx, eax
push ecx
push eax
call fcn.00449ff1
add esp, 0x14
test eax, eax
je 0x4466b2
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043c722
add esp, 0x14
jmp 0x4466b4
xor esi, esi
push 0x461558
push ebx
push ebp
call fcn.00449f80
add esp, 0xc
test eax, eax
je 0x4466d4
push esi
push esi
push esi
push esi
push esi
call fcn.0043c722
add esp, 0x14
push dword [edi*8 + 0x477f3c]
push ebx
push ebp
call fcn.00449f80
add esp, 0xc
test eax, eax
je 0x4466f6
push esi
push esi
push esi
push esi
push esi
call fcn.0043c722
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004545ab
add esp, 0xc
jmp 0x44673e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x44673e
cmp ebp, 0xffffffff
je 0x44673e
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x477f3c]
push dword [esi]
call fcn.0043e750
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret