joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4411b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4de3f8
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x5134a8]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x27c]
mov eax, 0x10
mov esi, ecx
cmp dword [ebp + 0x3c], eax
jb 0x441203
mov ebx, dword [ebp + 0x28]
jmp 0x441206
lea ebx, [ebp + 0x28]
cmp dword [ebp + 0x1c], eax
jb 0x441210
mov eax, dword [ebp + 8]
jmp 0x441213
lea eax, [ebp + 8]
add ebp, 0x40
push ebp
call fcn.00456d30
push str.Delete_From_diqulist
mov eax, ebp
call fcn.00456eb0
mov ebx, eax
push str.BEGIN_TRANSACTION_
mov eax, ebp
mov dword [esp + 0x1c], ebx
call fcn.00456eb0
push 0x1ff
lea eax, [esp + 0x69]
push 0
push eax
mov byte [esp + 0x70], 0
call fcn.004728d0
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 8]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add esp, 0xc
xor edi, edi
test ecx, ecx
jle 0x44133f
call fcn.0041e410
mov ebx, eax
push ebx
lea ecx, [esp + 0x20]
call fcn.00406040
mov dword [esp + 0x274], 0
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x3c], edx
mov eax, dword [ebx + 0x24]
add ebx, 0x28
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], eax
call fcn.00406040
mov dword [esp + 0x274], 1
mov ecx, dword [esp + 0x4c]
mov eax, 0x10
cmp dword [esp + 0x60], eax
jae 0x4412c9
lea ecx, [esp + 0x4c]
cmp dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
jae 0x4412d7
lea eax, [esp + 0x24]
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push ecx
push edx
push eax
push str.INSERT_INTO_diqulist_name_tagid_status_statustext__VALUES__s__d__d__s_
lea eax, [esp + 0x78]
push 0x200
push eax
call fcn.004634e0
add esp, 0x1c
lea ecx, [esp + 0x64]
push ecx
mov eax, ebp
call fcn.00456eb0
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x278], 0xffffffff
call fcn.004153b0
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 8]
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jl 0x441274
mov ebx, dword [esp + 0x18]
push str.COMMIT_TRANSACTION_
mov eax, ebp
call fcn.00456eb0
mov eax, dword [ebp + 4]
test eax, eax
je 0x441362
push eax
call fcn.004993f8
add esp, 4
mov dword [ebp + 4], 0
mov eax, ebx
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.00460640
add esp, 0x264
ret 4
Function at 0x4421b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4e1407
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x4ffddc
mov dword [edi + 8], 0x4ff3b0
mov dword [edi + 0x5c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 0xc]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.004426a0
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
call fcn.0043f520
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x51d114]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x448ed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4de278
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0x1c], 1
mov byte [esp + 0xc], 0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push edx
sub esp, 0xc
lea edi, [esp + 0x48]
mov eax, esp
mov dword [esp + 0x24], esp
call fcn.00449140
sub esp, 0xc
lea edi, [esp + 0x48]
mov eax, esp
mov byte [esp + 0x40], 2
mov dword [esp + 0x34], esp
call fcn.00449140
mov byte [esp + 0x40], 1
call fcn.00449160
add esp, 0x24
mov esi, eax
mov byte [esp + 0x1c], 0
call fcn.00402690
lea edi, [esp + 0x30]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00402690
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x44e450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4deec1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], 3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov byte [esp + 0xc], 0
mov eax, dword [esp + 0xc]
push eax
push ecx
push edx
sub esp, 0xc
mov dword [esp + 0x24], esp
mov eax, esp
lea ecx, [esp + 0x60]
push ecx
push eax
call fcn.0044dbe0
sub esp, 0xc
mov byte [esp + 0x48], 4
lea edx, [esp + 0x60]
mov eax, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0044e770
sub esp, 8
lea ecx, [esp + 0x60]
mov eax, esp
mov dword [esp + 0x48], esp
push ecx
mov byte [esp + 0x58], 5
call fcn.0044e770
add esp, 4
push esi
mov byte [esp + 0x58], 3
call fcn.0044e7a0
add esp, 0x34
lea edi, [esp + 0x30]
mov dword [esp + 0x10], 1
mov byte [esp + 0x24], 2
call fcn.00402690
lea edi, [esp + 0x3c]
mov byte [esp + 0x24], 1
call fcn.00402690
lea edi, [esp + 0x48]
mov byte [esp + 0x24], 0
call fcn.00402690
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 0x44e540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4deec1
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], 3
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov byte [esp + 0xc], 0
mov eax, dword [esp + 0xc]
push eax
push ecx
push edx
sub esp, 0xc
mov dword [esp + 0x24], esp
mov eax, esp
lea ecx, [esp + 0x60]
push ecx
push eax
call fcn.0044dbe0
sub esp, 0xc
mov byte [esp + 0x48], 4
lea edx, [esp + 0x60]
mov eax, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0044e770
sub esp, 8
lea ecx, [esp + 0x60]
mov eax, esp
mov dword [esp + 0x48], esp
push ecx
mov byte [esp + 0x58], 5
call fcn.0044e770
add esp, 4
push esi
mov byte [esp + 0x58], 3
call fcn.0044e8d0
add esp, 0x34
lea edi, [esp + 0x30]
mov dword [esp + 0x10], 1
mov byte [esp + 0x24], 2
call fcn.00402690
lea edi, [esp + 0x3c]
mov byte [esp + 0x24], 1
call fcn.00402690
lea edi, [esp + 0x48]
mov byte [esp + 0x24], 0
call fcn.00402690
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 0x4501f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4dee60
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov dword [eax], vtable.Json::StyledWriter.0
mov dword [eax + 4], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x30], ecx
mov edx, 0xf
mov dword [eax + 0x34], edx
mov byte [eax + 0x20], cl
mov dword [eax + 0x38], ecx
mov dword [eax + 0x54], edx
mov dword [eax + 0x50], ecx
mov byte [eax + 0x40], cl
mov dword [eax + 0x58], 0x4a
mov dword [eax + 0x5c], 3
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x14
ret 4
Function at 0x454920
Capabilities:
Encode data using xor

Disassembly:
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x454925
sub eax, edx
push edi
mov edi, eax
xor ecx, ecx
test edi, edi
jle 0x45495c
jmp 0x454940
mov eax, 0xcccccccd
mul ecx
shr edx, 2
lea eax, [edx + edx*4]
mov edx, ecx
sub edx, eax
mov al, byte [ebx + edx*4]
xor byte [ecx + esi], al
inc ecx
cmp ecx, edi
jl 0x454940
pop edi
ret
Function at 0x454960
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x4dde58
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x5134a8]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x1ac]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1bc]
mov esi, ecx
xor ebx, ebx
push 0x4f6168
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
call fcn.00401f40
mov edi, 1
mov dword [esp + 0x1b4], edi
cmp ebp, ebx
jne 0x454a04
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00406040
mov byte [esp + 0x1b4], bl
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x14], edi
jb 0x4549f7
mov ecx, dword [esp + 0x44]
push ecx
call fcn.00460940
add esp, 4
mov dword [esp + 0x58], 0xf
jmp 0x454b9c
mov dword [esp + 0x1c], edi
mov cl, 0x70
mov al, 0x66
mov edi, 4
mov byte [esp + 0x1a0], bl
lea ebx, [esp + 0x1c]
lea esi, [esp + 0x190]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 3
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 2
mov byte [esp + 0x190], 0x65
mov byte [esp + 0x191], 0x6b
mov byte [esp + 0x192], 0x6d
mov byte [esp + 0x193], cl
mov byte [esp + 0x194], al
mov byte [esp + 0x195], 0x6e
mov byte [esp + 0x196], 0x69
mov byte [esp + 0x197], al
mov byte [esp + 0x198], 0x32
mov byte [esp + 0x199], 0x37
mov byte [esp + 0x19a], 0x6c
mov byte [esp + 0x19b], 0x61
mov byte [esp + 0x19c], 0x72
mov byte [esp + 0x19d], 0x73
mov byte [esp + 0x19e], 0x67
mov byte [esp + 0x19f], cl
call fcn.00454920
mov edx, dword [esp + 0x190]
mov eax, dword [esp + 0x194]
mov ecx, dword [esp + 0x198]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x19c]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
lea edi, [esp + 0x5c]
mov dword [esp + 0x74], 0xa
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
call fcn.00458b40
mov eax, edi
push eax
mov edx, ebp
lea ecx, [esp + 0x20]
call fcn.00459c00
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x1c0], 2
call fcn.00401ff0
mov edi, 0x10
mov byte [esp + 0x1b4], 1
cmp dword [esp + 0x38], edi
jb 0x454b4c
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00460940
add esp, 4
mov ebp, 0xf
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00401050
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call fcn.00406040
mov byte [esp + 0x1b4], bl
mov dword [esp + 0x14], 1
cmp dword [esp + 0x58], edi
jb 0x454b98
mov eax, dword [esp + 0x44]
push eax
call fcn.00460940
add esp, 4
mov dword [esp + 0x58], ebp
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00401050
mov eax, esi
mov ecx, dword [esp + 0x1ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.00460640
add esp, 0x1a4
ret
Function at 0x455f90
Capabilities:
Delete file

Disassembly:
push ecx
push ebx
push esi
push edi
mov esi, eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
jne 0x455fc7
pop esi
xor al, al
pop ebx
pop ecx
ret 4
push ebp
call fcn.00456290
mov eax, dword [esi]
mov ebp, dword [sym.imp.libcurl.dll_curl_easy_setopt]
push 1
push 0x50
push eax
call ebp
mov ecx, dword [esp + 0x20]
mov edx, dword [esi]
push ecx
push 0x2712
push edx
call ebp
mov eax, dword [esi]
push eax
mov dword [esi + 0x30], 1
call dword [sym.imp.libcurl.dll_curl_easy_perform]
mov edx, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push 0x200002
push edx
mov dword [esi + 0xc], eax
call dword [sym.imp.libcurl.dll_curl_easy_getinfo]
mov eax, dword [esi + 8]
add esp, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
test eax, eax
je 0x45602a
mov dword [esi + 8], 0xffffffff
cmp dword [esi + 0xc], 0
jne 0x456044
cmp dword [esp + 8], 0xc8
jne 0x456044
mov bl, 1
pop esi
mov al, bl
pop ebx
pop ecx
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
mov al, bl
pop ebx
pop ecx
ret 4
Function at 0x456440
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4dc751
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5134a8]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea esi, [esp + 0x20]
mov ecx, ebp
mov dword [esp + 0x34], 2
call fcn.00407830
mov edi, eax
sub esp, 0xc
mov esi, esp
mov byte [esp + 0x40], 3
mov ecx, edi
mov edx, esi
mov dword [esp + 0x48], esp
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00402610
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
sub esp, 0xc
mov esi, esp
mov byte [esp + 0x4c], 4
lea ecx, [esp + 0x5c]
mov edx, esi
mov dword [esp + 0x30], esp
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00402610
mov ecx, dword [esp + 0x64]
mov dword [esi + 8], ecx
mov byte [esp + 0x4c], 3
call fcn.004565f0
add esp, 0x18
lea edi, [esp + 0x20]
mov dword [esp + 0x3c], eax
mov byte [esp + 0x34], 2
call fcn.00402690
sub esp, 0xc
mov esi, esp
lea ecx, [esp + 0x50]
mov edx, esi
mov dword [esp + 0x24], esp
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00402610
mov edx, dword [esp + 0x58]
mov dword [esi + 8], edx
sub esp, 0xc
mov esi, esp
mov byte [esp + 0x4c], 5
lea ecx, [esp + 0x68]
mov edx, esi
mov dword [esp + 0x34], esp
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00402610
mov eax, dword [esp + 0x70]
mov dword [esi + 8], eax
mov byte [esp + 0x4c], 2
call fcn.004565f0
mov esi, dword [esp + 0x54]
add esp, 0x18
push eax
push esi
mov ecx, ebp
call fcn.004020d0
cmp dword [ebp + 0x1c], 0x10
jb 0x456556
mov eax, dword [ebp + 8]
jmp 0x456559
lea eax, [ebp + 8]
lea ebx, [eax + esi]
mov esi, dword [esp + 0x40]
push esi
mov ecx, ebp
call fcn.00409040
mov eax, 1
lea edi, [esp + 0x44]
mov dword [esp + 0x14], eax
mov byte [esp + 0x34], al
call fcn.00402690
lea edi, [esp + 0x50]
mov byte [esp + 0x34], 0
call fcn.00402690
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x20
Function at 0x458db0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push edi
mov edi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
add eax, eax
add eax, eax
xor ecx, ecx
test eax, eax
jle 0x458dfe
nop
mov ebx, ecx
and ebx, 0x80000003
jns 0x458ddf
dec ebx
or ebx, 0xfffffffc
inc ebx
mov eax, ecx
cdq
and edx, 3
add eax, edx
mov dl, byte [ecx + edi]
sar eax, 2
add eax, esi
mov byte [eax + ebx*4], dl
mov eax, dword [esi + 0x10]
add eax, eax
inc ecx
add eax, eax
cmp ecx, eax
jl 0x458dd0
lea ebp, [esi + 4]
mov eax, ebp
lea ecx, [esi + 0x3d]
mov edi, 4
jmp 0x458e10
movzx edx, byte [ecx - 1]
xor byte [eax - 4], dl
movzx edx, byte [ecx]
xor byte [eax], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 4], dl
movzx edx, byte [ecx + 2]
xor byte [eax + 8], dl
inc eax
add ecx, 4
sub edi, 1
jne 0x458e10
mov eax, dword [esi + 0x18]
lea ebx, [edi + 1]
dec eax
cmp eax, ebx
jl 0x458e8e
lea edi, [esi + 0x4e]
mov eax, esi
call fcn.004590a0
push esi
call fcn.00459140
push esi
call fcn.004592e0
mov ecx, edi
mov eax, ebp
mov edi, 4
lea ecx, [ecx]
movzx edx, byte [ecx - 2]
xor byte [eax - 4], dl
movzx edx, byte [ecx - 1]
xor byte [eax], dl
movzx edx, byte [ecx]
xor byte [eax + 4], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 8], dl
add ecx, 4
inc eax
sub edi, 1
jne 0x458e60
mov eax, dword [esi + 0x18]
inc ebx
dec eax
cmp ebx, eax
mov edi, ecx
jle 0x458e41
mov eax, esi
call fcn.004590a0
push esi
call fcn.00459140
mov ecx, dword [esi + 0x18]
shl ecx, 4
mov eax, ebp
lea ecx, [ecx + esi + 0x3e]
mov edi, 4
lea esp, [esp]
movzx edx, byte [ecx - 2]
xor byte [eax - 4], dl
movzx edx, byte [ecx - 1]
xor byte [eax], dl
movzx edx, byte [ecx]
xor byte [eax + 4], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 8], dl
add ecx, 4
inc eax
sub edi, 1
jne 0x458eb0
mov eax, dword [esi + 0x10]
add eax, eax
add eax, eax
xor ecx, ecx
test eax, eax
jle 0x458f12
mov edi, ecx
and edi, 0x80000003
jns 0x458eef
dec edi
or edi, 0xfffffffc
inc edi
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, esi
mov dl, byte [eax + edi*4]
mov eax, dword [esp + 0x10]
mov byte [ecx + eax], dl
mov edx, dword [esi + 0x10]
add edx, edx
inc ecx
add edx, edx
cmp ecx, edx
jl 0x458ee0
pop edi
pop ebp
pop ebx
ret 4
Function at 0x458f20
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push edi
mov edi, ecx
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
add eax, eax
add eax, eax
xor ecx, ecx
test eax, eax
jle 0x458f70
mov ebx, ecx
and ebx, 0x80000003
jns 0x458f51
dec ebx
or ebx, 0xfffffffc
inc ebx
mov eax, ecx
cdq
and edx, 3
add eax, edx
mov dl, byte [ecx + esi]
sar eax, 2
add eax, edi
mov byte [eax + ebx*4], dl
mov eax, dword [edi + 0x10]
add eax, eax
inc ecx
add eax, eax
cmp ecx, eax
jl 0x458f42
mov ecx, dword [edi + 0x18]
lea ebx, [edi + 4]
shl ecx, 4
mov eax, ebx
lea ecx, [ecx + edi + 0x3e]
mov esi, 4
movzx edx, byte [ecx - 2]
xor byte [eax - 4], dl
movzx edx, byte [ecx - 1]
xor byte [eax], dl
movzx edx, byte [ecx]
xor byte [eax + 4], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 8], dl
add ecx, 4
inc eax
sub esi, 1
jne 0x458f84
mov eax, dword [edi + 0x18]
dec eax
cmp eax, 1
jl 0x459013
mov ecx, eax
shl ecx, 4
push ebp
lea ebp, [ecx + edi + 0x3e]
mov dword [esp + 0x10], eax
mov edi, edi
push edi
call fcn.00459210
mov eax, edi
call fcn.004590f0
mov eax, ebx
mov ecx, ebp
mov esi, 4
jmp 0x458fe0
movzx edx, byte [ecx - 2]
xor byte [eax - 4], dl
movzx edx, byte [ecx - 1]
xor byte [eax], dl
movzx edx, byte [ecx]
xor byte [eax + 4], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 8], dl
add ecx, 4
inc eax
sub esi, 1
jne 0x458fe0
call fcn.00459410
sub ebp, 0x10
sub dword [esp + 0x10], 1
jne 0x458fc0
pop ebp
push edi
call fcn.00459210
mov eax, edi
call fcn.004590f0
mov eax, ebx
lea ecx, [edi + 0x3d]
mov esi, 4
lea ebx, [ebx]
movzx edx, byte [ecx - 1]
xor byte [eax - 4], dl
movzx edx, byte [ecx]
xor byte [eax], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 4], dl
movzx edx, byte [ecx + 2]
xor byte [eax + 8], dl
inc eax
add ecx, 4
sub esi, 1
jne 0x459030
mov eax, dword [edi + 0x10]
add eax, eax
add eax, eax
xor ecx, ecx
test eax, eax
jle 0x459092
mov esi, ecx
and esi, 0x80000003
jns 0x45906f
dec esi
or esi, 0xfffffffc
inc esi
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, edi
mov dl, byte [eax + esi*4]
mov eax, dword [esp + 0x14]
mov byte [ecx + eax], dl
mov edx, dword [edi + 0x10]
add edx, edx
inc ecx
add edx, edx
cmp ecx, edx
jl 0x459060
pop edi
pop esi
pop ebx
pop ecx
ret 4

Function at 0x4590a0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
add eax, 4
mov ecx, 4
jmp 0x4590b0
movzx edx, byte [eax - 4]
movzx edx, byte [edx + 0x517df0]
mov byte [eax - 4], dl
movzx edx, byte [eax]
movzx edx, byte [edx + 0x517df0]
mov byte [eax], dl
movzx edx, byte [eax + 4]
movzx edx, byte [edx + 0x517df0]
mov byte [eax + 4], dl
movzx edx, byte [eax + 8]
movzx edx, byte [edx + 0x517df0]
mov byte [eax + 8], dl
inc eax
sub ecx, 1
jne 0x4590b0
ret
Function at 0x4590f0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
add eax, 4
mov ecx, 4
jmp 0x459100
movzx edx, byte [eax - 4]
movzx edx, byte [edx + 0x517ef0]
mov byte [eax - 4], dl
movzx edx, byte [eax]
movzx edx, byte [edx + 0x517ef0]
mov byte [eax], dl
movzx edx, byte [eax + 4]
movzx edx, byte [edx + 0x517ef0]
mov byte [eax + 4], dl
movzx edx, byte [eax + 8]
movzx edx, byte [edx + 0x517ef0]
mov byte [eax + 8], dl
inc eax
sub ecx, 1
jne 0x459100
ret
Function at 0x460640
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5134a8]
jne 0x46064a
repz ret
jmp fcn.00472250

Function at 0x463080
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x46309f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x4630a6
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x4630bd
mov ecx, dword [ebp - 4]
push ecx
call fcn.0046bee0
add esp, 4
or eax, 0xffffffff
jmp 0x4630bf
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4a02cd
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x10], 0
jne 0x4a0309
push 1
push 0x14
call fcn.004a1a9c
add esp, 8
mov dword [ebp - 4], eax
push 0x14
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.004728d0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x4a030f
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x30]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x4a0349
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call fcn.004a1a72
add esp, 4
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
shl edx, 1
push edx
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
push 0
push 0
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x4a0389
push 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
add eax, 0x10
push eax
call fcn.004a1a9c
add esp, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4a04e2
Capabilities:
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x4a04fb
cmp dword [ebp + 0xc], 0
jne 0x4a04ff
xor eax, eax
jmp 0x4a056c
call fcn.004a0570
test eax, eax
jne 0x4a050d
or eax, 0xffffffff
jmp 0x4a056c
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8004
mov ecx, dword [0x51c834]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4a0569
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4a055f
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
push 0x6801
mov ecx, dword [0x51c834]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4a0570
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x51c834], 0
je 0x4a0583
mov eax, 1
jmp 0x4a05c0
push 0
push 1
push 0x5149b4
push 0
push 0x51c834
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x4a05bb
push 8
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push 0x51c834
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x4a05bb
xor eax, eax
jmp 0x4a05c0
mov eax, 1
pop ebp
ret