joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ab586
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x5a9319
call fcn.00553bf3
mov ebx, ecx
xor edx, edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edx
xor ecx, ecx
mov edi, ebx
inc ecx
xor eax, eax
mov dword [ebp - 4], ecx
mov esi, edx
mov dword [ebp - 0x2c], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
xor eax, eax
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x2d]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 0x2d], dl
call fcn.004502c3
push ecx
lea ecx, [ebp + 8]
lea edi, [ebp - 0x28]
call fcn.00450beb
push ecx
mov ecx, esp
push eax
call fcn.00450baa
mov ecx, edi
call fcn.004ab6f7
mov edx, dword [ebp - 0x28]
pop ecx
mov ecx, dword [ebp - 0x24]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x34], eax
je 0x4ab658
push dword [ebp - 0x3c]
and dword [ebp - 0x18], esi
lea eax, [ecx - 4]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00450d57
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.00450e5c
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.0045109d
call fcn.004ab784
mov edx, dword [ebp - 0x28]
add esp, 0xc
add eax, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
xor edi, edi
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
je 0x4ab690
mov al, byte [edx + edi]
mov ecx, ebx
xor al, byte [esi + 0x5cb6d0]
cbw
movzx eax, ax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004ab45d
mov edx, dword [ebp - 0x28]
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
inc edi
cmp edi, dword [ebp - 0x34]
jb 0x4ab662
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.004ab45d
lea ecx, [ebp - 0x1c]
call fcn.00451121
lea ecx, [ebp - 0x28]
call fcn.00451121
lea ecx, [ebp + 8]
call fcn.00451121
mov eax, ebx
call fcn.00553ba2
ret
Function at 0x4ab6f7
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xc
mov eax, 0x5a9346
call fcn.00553bf3
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x4ab771
push ebx
push ebx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 1
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x4ab733
mov eax, dword [esi]
mov dword [esi + 4], eax
jmp 0x4ab769
push dword [ebp - 0x14]
mov ecx, esi
call fcn.00450469
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push ebx
push ebx
push eax
mov esi, dword [edi - 0xc]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00450beb
push eax
push 1
push esi
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x4ab771
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00450c0a
mov eax, ebx
call fcn.00553ba2
ret
Function at 0x4ab7c4
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x5a939c
call fcn.00553bf3
mov ebx, ecx
xor edx, edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edx
xor ecx, ecx
mov dword [ebp - 0x34], edx
mov edi, ebx
inc ecx
mov dword [ebp - 4], ecx
xor eax, eax
mov esi, edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
xor eax, eax
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x29]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 0x29], dl
call fcn.004502c3
push ecx
lea ecx, [ebp + 8]
lea edi, [ebp - 0x28]
call fcn.00450beb
push ecx
mov ecx, esp
push eax
call fcn.00450baa
mov ecx, edi
call fcn.004ab6f7
mov edx, dword [ebp - 0x28]
pop ecx
mov ecx, dword [ebp - 0x24]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x30], eax
je 0x4ab896
push dword [ebp - 0x3c]
and dword [ebp - 0x18], esi
lea eax, [ecx - 4]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00450d57
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.00450e5c
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
push eax
call fcn.0045109d
call fcn.004ab784
mov edx, dword [ebp - 0x28]
add esp, 0xc
add eax, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
xor edi, edi
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
je 0x4ab8c9
mov al, byte [edx + edi]
mov ecx, ebx
xor al, byte [esi + 0x5cb6d0]
mov byte [ebp - 0x29], al
lea eax, [ebp - 0x29]
push eax
call fcn.00451301
mov edx, dword [ebp - 0x28]
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
inc edi
cmp edi, dword [ebp - 0x30]
jb 0x4ab8a0
lea eax, [ebp - 0x29]
mov byte [ebp - 0x29], 0
push eax
mov ecx, ebx
call fcn.00451301
lea ecx, [ebp - 0x1c]
call fcn.00451121
lea ecx, [ebp - 0x28]
call fcn.00451121
lea ecx, [ebp + 8]
call fcn.00451121
mov eax, ebx
call fcn.00553ba2
ret
Function at 0x4abec7
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
call fcn.004abe87
test eax, eax
jne 0x4abed6
inc eax
pop esi
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x4abef1
mov ecx, esi
call fcn.004abe87
neg eax
pop esi
sbb eax, eax
inc eax
ret
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ecx, ecx
cmp eax, 0x102
pop esi
setne cl
mov eax, ecx
ret
Function at 0x4ac660
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x24
mov eax, 0x5a947b
call fcn.00553bf3
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0x10]
lea edi, [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0x2c], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
mov eax, dword [ecx]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push 1
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], 0x20019
push eax
call fcn.004ac619
add esp, 0xc
test eax, eax
jne 0x4ac705
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
push esi
push edi
push esi
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ac6fd
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
call fcn.00450469
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.00450beb
lea ecx, [ebp - 0x18]
push ecx
push eax
push edi
push esi
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4ac766
lea ecx, [ebp - 0x24]
call fcn.004c2dd2
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
push 0x20219
push dword [ebp - 0x30]
push dword [eax]
call fcn.004c2dec
mov edi, eax
test edi, edi
jne 0x4ac778
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x28]
push esi
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x4ac770
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
call fcn.00450469
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.00450beb
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x28]
push esi
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x4ac770
lea ecx, [ebp - 0x24]
call fcn.004c2dd2
jmp 0x4ac77a
lea ecx, [ebp - 0x24]
call fcn.004c2dd2
mov esi, edi
lea ecx, [ebp - 0x24]
call fcn.004c2dd2
mov eax, esi
call fcn.00553ba2
ret
Function at 0x4ac88d
Capabilities:
Set registry value

Disassembly:
push 0x20
mov eax, 0x5a950a
call fcn.00553bf3
mov dword [ebp - 0x20], edx
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
xor ecx, ecx
lea edi, [ebp - 0x1c]
mov dword [ebp - 4], ecx
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 0x20006
push eax
mov ecx, ebx
call fcn.004ac619
mov edi, dword [ebp - 0x20]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4ac8fc
cmp byte [ebp + 0x20], 0
je 0x4ac8f8
push dword [ebp + 0x1c]
mov edx, edi
mov ecx, ebx
call fcn.004ac822
pop ecx
mov esi, eax
test esi, esi
jne 0x4ac945
push dword [ebp + 0x1c]
lea eax, [ebp - 0x24]
mov edx, edi
push eax
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.004ac619
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4ac945
mov esi, dword [ebp + 0x10]
sub esi, dword [ebp + 0xc]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00450beb
push esi
push eax
push dword [ebp + 0x18]
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.004c2dd2
lea ecx, [ebp - 0x1c]
call fcn.004c2dd2
lea ecx, [ebp + 0xc]
call fcn.00451121
mov eax, esi
call fcn.00553ba2
ret
Function at 0x4ada9b
Capabilities:
Get hostname
Get user security identifier

Disassembly:
push 0x24
mov eax, 0x5a96c0
call fcn.00553bf3
mov eax, ecx
mov dword [ebp - 0x30], eax
call fcn.004c38e6
push 0x10
pop edi
xor ebx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
call fcn.0045082c
push eax
lea ecx, [ebp - 0x14]
call fcn.004c3be8
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.004c3a23
push edi
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.004c3aa0
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea ecx, [ebp - 0x14]
test eax, eax
je 0x4adbf3
push dword [ebp - 0x18]
call fcn.004c3aa0
push 0x20
pop eax
push eax
mov dword [ebp - 0x28], eax
call fcn.005312f2
mov esi, dword [ebp - 0x14]
mov edi, eax
mov dword [ebp - 0x2c], edi
pop ecx
test edi, edi
jne 0x4adb23
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4adc03
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x4adb50
push edi
call fcn.0054e4d7
pop ecx
jmp 0x4adb18
push dword [ebp - 0x28]
push ebx
push edi
call fcn.005533c0
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
add esp, 0xc
push esi
call fcn.004c3a23
push esi
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.004c3aa0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
push edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea ecx, [ebp - 0x14]
push dword [ebp - 0x24]
test eax, eax
jne 0x4adba1
call fcn.004c3aa0
jmp 0x4adb47
call fcn.004c3aa0
push edi
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x4adb47
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
mov ecx, dword [ebp - 0x20]
mov edi, eax
call fcn.004c3b60
mov ecx, dword [ebp - 0x30]
push eax
push dword [ebp - 0x20]
call fcn.004c3780
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x2c]
mov dword [ebp - 0x20], ebx
call fcn.0054e4d7
pop ecx
test edi, edi
jne 0x4adc05
jmp 0x4adb18
push 0xffffffffffffffff
call fcn.004c318a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00450c0a
mov eax, ebx
call fcn.00553ba2
ret
Function at 0x4af6d7
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x5f4748]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0xf0000040
push 0x18
push ebx
mov esi, ecx
mov dword [ebp - 8], ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4af74e
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x8003
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4af74e
push ebx
push dword [ebp + 0xc]
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4af74e
lea eax, [esi + 4]
push eax
push 1
push dword [ebp - 8]
push 0x6602
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x4af74e
xor eax, eax
jmp 0x4af762
cmp dword [ebp - 8], ebx
je 0x4af75c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054d1e7
mov esp, ebp
pop ebp
ret 8

Function at 0x4af848
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x9c
mov eax, 0x5a988b
call fcn.00553bf3
mov edi, ecx
mov dword [ebp - 0x24], edi
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
xor esi, esi
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], esi
lea ecx, [ebp - 0xa8]
push 0xfde9
push dword [ebp + 8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xa8], eax
call fcn.004c2180
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push dword [ebp - 0xa8]
call fcn.004c2785
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa8], eax
je 0x4af8bc
push dword [ebp - 0xa8]
call fcn.0054e49f
pop ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push 1
push esi
push dword [edi + 4]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
call edi
test eax, eax
je 0x4af92b
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
push eax
mov dword [ecx], eax
call fcn.005312f2
mov ecx, dword [ebp - 0x20]
mov dword [ebx], eax
push dword [ecx]
push esi
push eax
call fcn.005533c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
push dword [ebx]
call fcn.0054d95f
add esp, 0x20
lea eax, [ebp - 0x1c]
push dword [ebp - 0x18]
push eax
push dword [ebx]
mov eax, dword [ebp - 0x24]
push esi
push 1
push esi
push dword [eax + 4]
call edi
test eax, eax
jne 0x4af933
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00450c0a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00450c0a
mov eax, esi
call fcn.00553ba2
ret 0xc
Function at 0x4af953
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x114
mov eax, 0x5a98be
call fcn.00553bf3
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [edi + 1]
mov dword [ebp - 0x14], edi
push eax
call fcn.005312f2
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push 0
push eax
call fcn.005533c0
push edi
push esi
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
push esi
call fcn.0054d95f
add esp, 0x20
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
push esi
push 0
push 1
push 0
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x4af9cd
push esi
call fcn.0054e4d7
pop ecx
mov ecx, dword [ebp - 0x18]
call fcn.004c38e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4afa26
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x120]
push 0xfde9
push esi
mov byte [esi + eax], 0
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], eax
call fcn.004c2028
and dword [ebp - 4], 0
push dword [ebp - 0x120]
mov ecx, dword [ebp - 0x18]
call fcn.004c3b9a
lea eax, [ebp - 0x11c]
cmp dword [ebp - 0x120], eax
je 0x4afa1d
push dword [ebp - 0x120]
call fcn.0054e49f
pop ecx
push esi
call fcn.0054e4d7
pop ecx
xor eax, eax
call fcn.00553ba2
ret 0xc
Function at 0x4b3e70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x7c
mov eax, 0x5a9ed5
call fcn.00553bf3
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
call fcn.0045082c
push eax
lea ecx, [ebp - 0x14]
call fcn.004c3be8
push dword [ebp + 8]
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x1e]
push ebx
sub esp, 0xc
mov dword [ebp - 0x78], 0x4773445a
mov ecx, esp
mov dword [ebp - 0x74], 0x546b7a4a
lea edx, [ebp - 0x78]
mov dword [ebp - 0x70], 0x674d6765
mov dword [ebp - 0x6c], 0x335a5844
push ecx
push eax
push edx
mov dword [ebp - 0x68], 0x6d46794e
mov dword [ebp - 0x64], 0x6d305341
mov dword [ebp - 0x60], 0x384a7a5a
mov dword [ebp - 0x5c], 0x48674349
mov dword [ebp - 0x58], 0x396c334b
mov dword [ebp - 0x54], 0x38777844
mov dword [ebp - 0x50], 0x3974794e
mov dword [ebp - 0x4c], 0x4f597966
mov dword [ebp - 0x48], 0x69633347
mov dword [ebp - 0x44], 0x6c73774a
mov dword [ebp - 0x40], 0x68556749
mov dword [ebp - 0x3c], 0x39774444
mov dword [ebp - 0x38], 0x72456845
mov dword [ebp - 0x34], 0x6355584b
mov dword [ebp - 0x30], 0x6967524e
mov dword [ebp - 0x2c], 0x544d4147
mov dword [ebp - 0x28], 0x2b46434e
mov dword [ebp - 0x24], 0x41414141
mov word [ebp - 0x20], 0x5150
call fcn.00450208
lea ecx, [ebp - 0x88]
call fcn.004c35a2
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004ab6d2
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004c3755
add esp, 0xc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x88]
call fcn.004ab565
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x7c]
push esi
call fcn.004c3491
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 4]
call fcn.004ba31e
mov ecx, dword [ebp - 0x7c]
lea ecx, [ecx - 0x10]
call fcn.00450c0a
lea ecx, [esi - 0x10]
call fcn.00450c0a
call fcn.00553ba2
ret 4
Function at 0x4ba018
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ab34a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x5f4748]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
push edi
mov ecx, dword [eax + 4]
add ecx, esi
mov edx, dword [ecx + 0xc]
and edx, 0xfffffffe
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], edi
cmove edx, eax
push edx
call fcn.0044f843
push ecx
push esi
lea ecx, [esp + 0x14]
call fcn.0044e260
mov dword [esp + 0x38], edi
mov eax, dword [esi]
mov ecx, dword [eax + 4]
test byte [ecx + esi + 0xc], 6
jne 0x4ba0d7
mov ecx, dword [ecx + esi + 0x38]
lea edx, [esp + 0x14]
push 1
push edi
push dword [ebp + 0xc]
mov eax, dword [ecx]
push dword [ebp + 8]
push edx
call dword [eax + 0x28]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
adc ecx, dword [esp + 0x20]
cmp eax, dword [0x5bd1a0]
jne 0x4ba0d7
cmp ecx, dword [0x5bd1a4]
jne 0x4ba0d7
mov eax, dword [esi]
push edi
mov ecx, dword [eax + 4]
add ecx, esi
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], edi
cmove edx, eax
push edx
call fcn.0044f843
or dword [esp + 0x38], 0xffffffff
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov ecx, dword [eax + ecx + 0x38]
test ecx, ecx
je 0x4ba0f2
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4bb7fd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ab552
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5f4748]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x5f4748]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x4bb937
cmp byte [ebx + 0x45], 0
je 0x4bb937
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4bb85d
xor al, al
jmp 0x4bb939
xor eax, eax
mov dword [esp + 0x2c], 0xf
push eax
push 8
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], al
call fcn.0044fc65
and dword [esp + 0x40], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4bb8c2
dec eax
je 0x4bb8c6
dec eax
dec eax
je 0x4bb924
xor bl, bl
jmp 0x4bb926
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x4bb905
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00550c24
add esp, 0x10
cmp esi, eax
jne 0x4bb8be
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x4bb924
test esi, esi
jne 0x4bb888
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0044fa32
jmp 0x4bb880
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.00451c1f
mov al, bl
jmp 0x4bb939
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0054d1e7
mov esp, ebp
pop ebp
ret
Function at 0x4be263
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x5f4748]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0xf0000040
push 0x18
xor ebx, ebx
mov esi, ecx
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4be297
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4be39c
push edi
mov edi, 0x94
push edi
call fcn.005312f2
push edi
push ebx
push eax
mov dword [esi + 0x10], eax
call fcn.005533c0
mov eax, dword [esi + 0x10]
push 0x80
push 0x5cb710
push edi
mov dword [eax], 0x206
mov dword [eax + 4], 0xa400
mov eax, dword [esi + 0x10]
mov dword [eax + 8], 0x31415352
mov dword [eax + 0xc], 0x400
mov dword [eax + 0x10], 0x10001
mov eax, dword [esi + 0x10]
add eax, 0x14
push eax
call fcn.0054d95f
add esp, 0x20
lea eax, [esi + 4]
push eax
push ebx
push ebx
push edi
push dword [esi + 0x10]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x4be37f
lea edi, [esi + 8]
push edi
push 0x800001
push 0x6602
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
je 0x4be37f
lea ebx, [esi + 0xc]
push ebx
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_CryptDuplicateKey]
test eax, eax
je 0x4be37f
lea eax, [ebp - 8]
push eax
push 0
push 0
push 1
push dword [ebx]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptExportKey]
test eax, eax
je 0x4be37f
push dword [ebp - 8]
call fcn.005312f2
push dword [ebp - 8]
mov dword [esi + 0x14], eax
push 0
push eax
call fcn.005533c0
add esp, 0x10
lea eax, [ebp - 8]
push eax
push dword [esi + 0x14]
push 0
push 1
push dword [ebx]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptExportKey]
test eax, eax
jne 0x4be387
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4be39b
mov eax, dword [esi + 0x14]
add eax, 0xc
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff4
mov dword [esi + 0x1c], eax
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0054d1e7
mov esp, ebp
pop ebp
ret