joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431730
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5f7100]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
cmp dword [ebp - 0x10], 0
jne 0x43179b
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x10]
cmp eax, dword [ebp - 0x1c]
jae 0x43178f
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x2c], edx
jmp 0x431795
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x28]
add edx, 0x18
push edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 4], 0
jne 0x431867
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x3e5
jne 0x43182e
push 1
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x28]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x43182c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x3e4
je 0x43182a
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x43186a
jmp 0x4317d7
jmp 0x431867
cmp dword [ebp - 0x24], 5
jne 0x431844
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x43186a
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x43186a
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055c88f
mov esp, ebp
pop ebp
ret 8
Function at 0x43a0c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x58fd30
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5f7100]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
push 0
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004058f0
push 1
push eax
lea edx, [esp + 0xc]
push 0x5c8ca0
push edx
mov dword [esp + 0x40], 0
call fcn.00414be0
add esp, 0x10
mov ecx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x40]
mov byte [esp + 0x34], 1
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
push eax
push ecx
mov ecx, esi
call edx
lea ecx, [esp + 4]
mov byte [esp + 0x30], 0
call fcn.004060e0
lea ecx, [esp + 0x10]
call fcn.004060c0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
add esp, 0x30
ret 0xc
Function at 0x43dc00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x591de8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x5f7100]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x14]
shl eax, 5
push eax
mov eax, dword [esp + 0x40]
push eax
lea esi, [esp + 0x1c]
mov dword [esp + 0x18], 0
call fcn.0043d610
mov ecx, eax
mov esi, dword [esp + 0x38]
lea eax, [edi + 0xc]
mov dword [esp + 0x30], 0
call fcn.0043d7e0
lea ecx, [esp + 0x14]
call fcn.00405800
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret 8

Function at 0x44c400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58eac0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5f7100]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x5f7100]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], ebx
test edx, edx
jne 0x44c498
push 0x5c9004
lea ecx, [esp + 0x1c]
call fcn.00409c30
lea eax, [esp + 0x18]
push eax
push 6
lea ecx, [esp + 0x3c]
mov dword [esp + 0x78], 0
call fcn.00404600
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 2
call fcn.00409d40
push 0x5e9e60
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], vtable.CryptoPP::Integer::DivideByZero.0
mov dword [esp + 0x78], 0xffffffff
call fcn.0055fd73
lea ecx, [edx - 1]
test edx, ecx
jne 0x44c4a8
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
and eax, ecx
jmp 0x44c511
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
test esi, esi
je 0x44c4c1
lea eax, [edi + esi*4 - 4]
cmp dword [eax], 0
jne 0x44c4c1
sub eax, 4
dec esi
jne 0x44c4b6
cmp edx, 5
ja 0x44c4e8
xor ecx, ecx
xor ebx, ebx
test esi, esi
je 0x44c4dc
lea eax, [edi + esi*4]
sub eax, 4
add ecx, dword [eax]
adc ebx, 0
dec esi
jne 0x44c4d1
push 0
push edx
push ebx
push ecx
call fcn.005805a0
jmp 0x44c50a
xor eax, eax
test esi, esi
je 0x44c511
xor ebx, ebx
lea edi, [edi + esi*4]
jmp 0x44c4f8
mov edx, dword [ebp + 0xc]
mov ecx, dword [edi - 4]
push ebx
push edx
sub edi, 4
push eax
push ecx
call fcn.005805a0
dec esi
jne 0x44c4f5
mov edx, dword [ebp + 0xc]
mov ebx, dword [esp + 0x14]
cmp dword [ebx + 0x10], 1
jne 0x44c51f
test eax, eax
je 0x44c51f
sub edx, eax
mov eax, edx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0055c88f
mov esp, ebp
pop ebp
ret 8
Function at 0x44dae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x590eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5f7100]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x30]
lea esi, [esp + 0xc]
call fcn.0044ac00
push eax
add edi, 0x20
push edi
mov dword [esp + 0x30], 0
call fcn.0044ab00
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.00405800
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x44dbd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x590eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5f7100]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x30]
lea esi, [esp + 0xc]
call fcn.0043d680
push eax
add edi, 0x20
push edi
mov dword [esp + 0x30], 0
call fcn.0044ab00
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.00405800
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x44dcc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x590eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5f7100]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x30]
lea esi, [esp + 0xc]
call fcn.0043d6a0
push eax
add edi, 0x20
push edi
mov dword [esp + 0x30], 0
call fcn.0044ab00
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.00405800
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x44dd60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x590eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5f7100]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esp + 0x30]
lea edi, [esp + 0xc]
call fcn.0044c5e0
push eax
add esi, 0x20
push esi
mov dword [esp + 0x30], 0
call fcn.0044ab00
mov ecx, edi
mov esi, eax
call fcn.00405800
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x44ddd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x590eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5f7100]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
lea esi, [esp + 0xc]
call fcn.0043d7c0
push eax
add edi, 0x20
push edi
mov dword [esp + 0x30], 0
call fcn.0044ab00
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.00405800
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 8
Function at 0x44de40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x590eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x5f7100]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
lea esi, [esp + 0xc]
call fcn.0043d7e0
push eax
add edi, 0x20
push edi
mov dword [esp + 0x30], 0
call fcn.0044ab00
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.00405800
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret 8

Function at 0x44e8a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58e2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5f7100]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [0x5f7100]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push str.VerifierFilter:_digital_signature_not_valid
lea ecx, [esp + 0xc]
mov dword [esp + 8], esi
call fcn.00409c30
lea eax, [esp + 8]
push eax
push 3
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.00404600
lea ecx, [esp + 8]
mov byte [esp + 0x30], 2
call fcn.00409d40
mov dword [esi], vtable.CryptoPP::SignatureVerificationFilter::SignatureVerificationFailed.0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0055c88f
add esp, 0x30
ret
Function at 0x4504e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5903fe
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x5f7100]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.00405090
mov eax, dword [esp + 0x30]
xor ebx, ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esp + 0x20], ebx
or eax, 0xffffffff
lea ecx, [esi + 0x28]
push ebx
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov byte [esi + 0x24], bl
call fcn.0040b460
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], 1
mov dword [esi], vtable.CryptoPP::SignatureVerificationFilter.0
mov dword [esi + 4], vtable.CryptoPP::SignatureVerificationFilter.1.0
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ebx
mov byte [esp + 0x20], 2
push ebx
lea ecx, [esi + 0x50]
mov dword [esi + 0x4c], ebx
call fcn.0040b460
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x10]
push str.SignatureVerificationFilterFlags
mov byte [esp + 0x28], 3
push eax
mov byte [esi + 0x5c], bl
call fcn.00450c10
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0x24], 4
call fcn.0044f1f0
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 3
call fcn.004060e0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret 0x10
Function at 0x451170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x58f268
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5f7100]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f7100]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebp, ecx
mov ecx, dword [esp + 0x78]
lea eax, [ebp + 0x18]
push eax
mov esi, str.EncodingLookupArray
mov dword [esp + 0x1c], ecx
call fcn.00451ba0
lea ebx, [ebp + 0x20]
push ebx
call fcn.004064c0
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov edi, str.BaseN_Encoder
call fcn.00451070
mov eax, dword [ebx]
xor esi, esi
cmp eax, esi
jle 0x45128e
cmp eax, 8
jge 0x45128e
mov edi, dword [esp + 0x18]
mov edx, dword [edi]
mov edx, dword [edx + 4]
lea eax, [esp + 0x17]
push eax
push 0x5fb448
push str.PaddingByte
mov ecx, edi
call edx
test al, al
je 0x451232
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x16]
push ecx
push 0x5fa8cc
push 0x5c9c50
mov ecx, edi
call edx
test al, al
je 0x45122b
cmp byte [esp + 0x16], 0
je 0x451232
movzx eax, byte [esp + 0x17]
jmp 0x451235
or eax, 0xffffffff
mov dword [ebp + 0x1c], eax
mov ecx, 8
mov eax, ecx
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x28], esi
mov esi, dword [ebx]
cdq
idiv esi
test edx, edx
je 0x45125c
mov ebx, esi
add ecx, 8
mov eax, ecx
cdq
idiv ebx
test edx, edx
jne 0x451250
mov eax, ecx
cdq
idiv esi
lea ecx, [ebp + 0x30]
push eax
mov dword [ebp + 0x24], eax
call fcn.0040b5d0
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0055c88f
add esp, 0x60
ret 4
push str.BaseN_Encoder:_Log2Base_must_be_between_1_and_7_inclusive
lea ecx, [esp + 0x20]
call fcn.00409c30
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x74], esi
call fcn.00404700
push 0x5e9b24
lea ecx, [esp + 0x3c]
push ecx
call fcn.0055fd73
int3
Function at 0x4525d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58f1d5
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5f7100]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x5f7100]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
call fcn.00405090
xor ebx, ebx
mov dword [esp + 0x58], ebx
push 0x18
mov dword [esp + 0x24], vtable.CryptoPP::ByteQueue.1.0
mov dword [esp + 0x28], vtable.CryptoPP::ByteQueue.0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x48], bl
mov byte [esp + 0x30], 1
mov dword [esp + 0x34], pe_nt_image_headers32
call fcn.0045d4b4
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov byte [esp + 0x58], 1
cmp edi, ebx
je 0x452680
mov ecx, dword [esp + 0x30]
push ecx
lea ecx, [edi + 4]
call fcn.0040b460
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], ebx
mov dword [edi], ebx
jmp 0x452682
xor edi, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov ebx, 2
mov dword [esp + 0x58], ebx
mov ecx, dword [esi]
mov al, byte [ecx]
mov dl, al
add dl, dl
add dl, dl
add al, dl
add al, al
add al, al
add al, al
add al, byte [ecx + 4]
push 1
mov byte [esp + 0x14], al
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.004050c0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, eax
sar ecx, 2
cmp ecx, ebx
jbe 0x4526ef
lea esp, [esp]
mov edx, dword [eax + ebx*4]
push edx
lea edi, [esp + 0x24]
call fcn.004524c0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, eax
inc ebx
sar ecx, 2
add esp, 4
cmp ebx, ecx
jb 0x4526d0
mov esi, dword [esp + 0x14]
push 1
push 1
lea edx, [esp + 0x18]
push edx
mov ecx, esi
mov byte [esp + 0x1c], 6
call fcn.004050c0
mov eax, dword [esp + 0x34]
xor ecx, ecx
xor edx, edx
test eax, eax
je 0x452725
mov edi, dword [eax + 0x14]
sub edi, dword [eax + 0x10]
mov eax, dword [eax]
add ecx, edi
adc edx, 0
test eax, eax
jne 0x452714
mov eax, dword [esp + 0x40]
xor edi, edi
add eax, ecx
adc edi, edx
push edi
push eax
push esi
call fcn.00452260
mov edx, dword [esp + 0x2c]
add esp, 0xc
push 1
or eax, 0xffffffff
push 0x603048
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x7c]
push esi
lea ecx, [esp + 0x30]
call eax
mov dword [esp + 0x20], vtable.CryptoPP::ByteQueue.1.0
mov dword [esp + 0x24], vtable.CryptoPP::ByteQueue.0
mov dword [esp + 0x58], 3
mov esi, dword [esp + 0x34]
test esi, esi
je 0x452799
nop
mov edi, dword [esi]
lea ecx, [esi + 4]
call fcn.0040b530
push esi
call fcn.0045d4e3
add esp, 4
mov esi, edi
test edi, edi
jne 0x452780
lea ecx, [esp + 0x20]
call fcn.00405280
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0055c88f
mov esp, ebp
pop ebp
ret 4
Function at 0x453890
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58fa28
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5f7100]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x5f7100]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x30
mov esi, ecx
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.00452ab0
mov dword [esp + 8], vtable.CryptoPP::DERSequenceEncoder.0
mov dword [esp + 0xc], vtable.CryptoPP::DERSequenceEncoder.1.0
mov dword [esp + 0x48], 0
mov edx, dword [esi + 8]
mov edx, dword [edx + 8]
lea ecx, [esi + 8]
lea eax, [esp + 8]
push eax
call edx
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 8]
lea ecx, [esi + 0x1c]
lea edx, [esp + 8]
push edx
call eax
lea esi, [esp + 8]
call fcn.00452c20
mov ecx, esi
push ecx
mov dword [esp + 0x4c], 0xffffffff
call fcn.00452ba0
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0055c88f
mov esp, ebp
pop ebp
ret 4

Function at 0x454a50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x10]
push 0
mov esi, eax
call fcn.00415010
mov ecx, eax
add esp, 4
cmp ecx, 1
je 0x454a92
test ecx, ecx
je 0x454a7d
lea eax, [ecx - 1]
test ecx, eax
jne 0x454a7d
and eax, edi
jmp 0x454a85
mov eax, edi
xor edx, edx
div ecx
mov eax, edx
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x454b41
push 0
call fcn.00415010
mov ecx, eax
add esp, 4
cmp ecx, 1
je 0x454ac7
test ecx, ecx
je 0x454ab2
lea eax, [ecx - 1]
test ecx, eax
jne 0x454ab2
and eax, ebp
jmp 0x454aba
mov eax, ebp
xor edx, edx
div ecx
mov eax, edx
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x454b41
push 0
call fcn.00415010
mov ecx, eax
add esp, 4
cmp ecx, 1
je 0x454af8
test ecx, ecx
je 0x454ae7
lea eax, [ecx - 1]
test ecx, eax
jne 0x454ae7
and eax, esi
jmp 0x454aef
mov eax, esi
xor edx, edx
div ecx
mov eax, edx
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x454b41
mov edx, dword [esp + 0x18]
mov ecx, edx
push ebx
shr ecx, 2
xor ebx, ebx
test ecx, ecx
je 0x454b2d
mov edx, ebp
sub edx, esi
mov eax, esi
sub edi, esi
mov ebx, ecx
mov ebp, dword [edx + eax]
xor ebp, dword [eax]
add eax, 4
dec ecx
mov dword [edi + eax - 4], ebp
jne 0x454b12
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea eax, [ebx*4]
sub edx, eax
pop ebx
je 0x454b60
add edi, eax
add ebp, eax
add esi, eax
jmp 0x454b45
mov edx, dword [esp + 0x18]
test edx, edx
je 0x454b60
mov ecx, ebp
sub ecx, esi
mov eax, esi
sub edi, esi
mov esi, edx
mov dl, byte [eax + ecx]
xor dl, byte [eax]
inc eax
dec esi
mov byte [eax + edi - 1], dl
jne 0x454b53
pop edi
pop esi
pop ebp
ret
Function at 0x454b70
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x1c]
push 0
xor bl, bl
call fcn.00415010
mov ecx, eax
add esp, 4
cmp ecx, 1
je 0x454bb7
test ecx, ecx
je 0x454ba2
lea eax, [ecx - 1]
test ecx, eax
jne 0x454ba2
and eax, esi
jmp 0x454baa
mov eax, esi
xor edx, edx
div ecx
mov eax, edx
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x454c45
push 0
call fcn.00415010
mov ecx, eax
add esp, 4
cmp ecx, 1
je 0x454be8
test ecx, ecx
je 0x454bd7
lea eax, [ecx - 1]
test ecx, eax
jne 0x454bd7
and eax, ebp
jmp 0x454bdf
mov eax, ebp
xor edx, edx
div ecx
mov eax, edx
neg eax
sbb eax, eax
inc eax
test eax, eax
je 0x454c45
mov ecx, edi
shr ecx, 2
xor edx, edx
xor ebx, ebx
test ecx, ecx
je 0x454c15
mov eax, ebp
sub esi, ebp
mov ebx, ecx
jmp 0x454c00
mov edi, dword [esi + eax]
xor edi, dword [eax]
add eax, 4
or edx, edi
dec ecx
jne 0x454c00
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
lea eax, [ebx*4]
sub edi, eax
jne 0x454c2c
pop edi
pop esi
xor eax, eax
test edx, edx
pop ebp
sete al
pop ebx
ret
mov ebx, edx
shr ebx, 0x18
mov ecx, edx
shr ecx, 0x10
or bl, cl
mov ecx, edx
shr ecx, 8
or bl, cl
add esi, eax
add ebp, eax
or bl, dl
test edi, edi
je 0x454c5b
mov eax, ebp
sub esi, ebp
lea ecx, [ecx]
mov dl, byte [eax + esi]
xor dl, byte [eax]
inc eax
or bl, dl
dec edi
jne 0x454c50
pop edi
pop esi
xor eax, eax
test bl, bl
pop ebp
sete al
pop ebx
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x5902a9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5f7100]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.0044a800
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
push ecx
mov dword [esp + 0x20], 0
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
push edx
push edi
mov ecx, esi
mov dword [esp + 0x1c], 1
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc