joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c0240
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x109c
call fcn.004e3750
mov eax, dword [0x57c06c]
xor eax, esp
mov dword [esp + 0x1098], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
sub esp, 0xc
mov dword [esp + 0x20], edx
mov esi, ecx
mov dword [esp + 0x24], eax
xor edi, edi
call fcn.004bfea0
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x4c0425
push 0x800
lea eax, [esp + 0xa4]
push edi
push eax
call fcn.004e5200
push 0x800
lea eax, [esp + 0x8b0]
push edi
push eax
call fcn.004e5200
push 0x38
lea eax, [esp + 0x6c]
push edi
push eax
call fcn.004e5200
add esp, 0x24
mov dword [esp + 0x4c], 0x3c
lea eax, [esp + 0xa0]
mov dword [esp + 0x60], 0x800
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x8a0]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x4c]
push eax
push edi
push edi
push esi
mov dword [esp + 0x8c], 0x800
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov edx, dword [esp + 0x5c]
sub esp, 0x18
mov ecx, ebx
call fcn.004bff40
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 0x18
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4c041f
push edi
push 0x84000000
push edi
push edi
push edi
push dword [esp + 0x8c]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x4c0419
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [esp + 0x8c]
call fcn.0040c220
cmp dword [esp + 0x9c], 8
lea eax, [esp + 0x88]
push 0x20000000
push dword [esp + 0x9c]
cmovae eax, dword [esp + 0x90]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov eax, dword [ebp + 8]
lea edx, [esp + 0x24]
xorps xmm0, xmm0
mov dword [esp + 0x48], edi
sub esp, 0xc
mov dword [esp + 0x30], 0x28
movups xmmword [esp + 0x44], xmm0
mov ecx, esi
mov dword [esp + 0x4c], eax
movups xmmword [esp + 0x34], xmm0
mov byte [esp + 0x1c], 0
call fcn.004bfff0
add esp, 0xc
test eax, eax
je 0x4c03e3
push dword [ebp + 8]
mov edx, dword [esp + 0x18]
mov ecx, esi
call fcn.004bfce0
mov ecx, dword [esp + 0x14]
add esp, 4
test eax, eax
movzx ecx, cl
mov edx, 1
cmove ecx, edx
mov dword [esp + 0x10], ecx
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
cmp byte [esp + 0x10], 0
je 0x4c040a
push dword [ebp + 0x10]
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.004bfd30
add esp, 4
mov edi, eax
push esi
call ebx
lea ecx, [esp + 0x88]
call fcn.0040b3f0
push dword [esp + 0x1c]
call ebx
push dword [esp + 0x20]
call ebx
mov ecx, dword [esp + 0x10a4]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e24d7
mov esp, ebp
pop ebp
ret
Function at 0x4c09f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x563ca4
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4c0a73
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push 0
push str.CheckCrash
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c0a6a
cmp dword [ebp - 8], eax
je 0x4c0a6a
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 4
push 0
push str.CheckCrashRes
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x59e2c4], 0
jne 0x4c0b95
push 0x4c0e30
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x4c1f20
mov dword [0x59e2c4], eax
call fcn.004ed794
push 0x4c1f20
call fcn.004e4623
add esp, 8
xor eax, eax
mov word [0x59daa0], ax
push 0x103
push 0x59daa0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0x59daa0
call fcn.004e4b65
add esp, 8
test eax, eax
je 0x4c0ad8
xor ecx, ecx
mov word [eax], cx
add eax, 2
push eax
push 0x59e2c8
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x104
push 0x59deb0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x59deb0
push 0x104
push 0x59dca8
call fcn.004f3967
push 0x59dca8
push 0x104
push 0x59d690
call fcn.004f3967
push 0x59deb0
push 0x104
push 0x59d898
call fcn.004f3967
add esp, 0x20
mov ecx, 0x59dca8
call fcn.004c08f0
mov ecx, 0x59d690
call fcn.004c08f0
push 0x564464
mov ecx, 0x59deb0
call fcn.004c09a0
push 0x56446c
mov ecx, 0x59d898
call fcn.004c09a0
push 0x564464
mov ecx, 0x59dca8
call fcn.004c09a0
push 0x56446c
mov ecx, 0x59d690
call fcn.004c09a0
add esp, 0x14
mov dword [0x59d678], 0
mov eax, 0x59e6f0
mov esp, ebp
pop ebp
ret
Function at 0x4c1ff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x57e6f0]
cmp dword [eax*4 + 0x59d684], 0
je 0x4c205c
cmp dword [0x59d674], 0
je 0x4c205c
push esi
push str.extra:_n
call fcn.004c1920
mov edx, dword [0x59d674]
add esp, 4
mov eax, edx
mov dword [ebp - 4], 0
lea esi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4c2030
sub eax, esi
lea ecx, [ebp - 4]
push 0
sar eax, 1
push ecx
add eax, eax
push eax
mov eax, dword [0x57e6f0]
push edx
push dword [eax*4 + 0x59d684]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c2520
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0xcc
je 0x4c254a
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax]
call eax
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov eax, dword [esi + 0x198]
cmp byte [eax + 8], 0
je 0x4c25d2
lea ebx, [esi + 0x78]
nop dword [eax]
mov eax, dword [ebx]
cmp eax, dword [esi + 0x60]
jae 0x4c25a6
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4c2585
mov dword [ecx + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x60]
push esi
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [esi + 0x19c]
mov edi, dword [ebx]
push 0
push ebx
mov eax, dword [eax + 4]
push 0
push esi
call eax
mov eax, dword [ebx]
add esp, 0x10
cmp eax, edi
je 0x4c25e8
cmp eax, dword [esi + 0x60]
jb 0x4c2567
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax]
call eax
mov dword [ebx], 0
add esp, 8
mov eax, dword [esi + 0x198]
cmp byte [eax + 8], 0
jne 0x4c2560
xor eax, eax
cmp byte [esi + 0x41], al
pop edi
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov al, 1
pop esi
pop ebx
ret
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x4c6fe0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, ecx
push esi
mov dword [esp + 0x1c], ebp
cmp dword [ebp + 0x4c], 1
mov ebx, dword [ebp + 0x1c0]
mov dword [esp + 0x20], ebx
jne 0x4c7007
mov esi, 0x1fe
mov byte [ebx + 0x1c], 1
jmp 0x4c700d
xor esi, esi
mov byte [ebx + 0x1c], 0
push dword [ebp + 0x64]
mov ecx, dword [ebp + 4]
lea eax, [esi + 0x100]
push eax
push 1
push ebp
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], esi
call eax
xor ecx, ecx
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x14]
add esp, 0x10
mov dword [esp + 0x14], ecx
cmp dword [ebp + 0x64], ecx
jle 0x4c7120
push edi
nop
mov edi, dword [ebx + ecx*4 + 0x20]
cdq
idiv edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], eax
test esi, esi
je 0x4c705d
mov eax, dword [ebx + 0x18]
add dword [eax + ecx*4], 0xff
mov eax, dword [ebx + 0x18]
xor ebx, ebx
mov ebp, dword [eax + ecx*4]
lea eax, [edi + 0xfe]
lea ecx, [edi*2 - 2]
cdq
idiv ecx
xor esi, esi
mov edx, eax
nop dword [eax]
cmp esi, edx
jle 0x4c70b6
mov ecx, dword [esp + 0x10]
lea edi, [edi*2 - 2]
imul eax, ebx, 0x1fe
add ecx, 0xfe
add ecx, eax
nop dword [eax]
add ecx, 0x1fe
inc ebx
mov eax, ecx
cdq
idiv edi
mov edx, eax
cmp esi, edx
jg 0x4c70a0
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
movzx eax, bl
movzx ecx, cl
imul ecx, eax
mov byte [esi + ebp], cl
inc esi
cmp esi, 0xff
jle 0x4c7080
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4c7101
mov ecx, 1
lea edx, [ebp - 1]
nop
movzx eax, byte [ebp]
lea edx, [edx - 1]
mov byte [edx + 1], al
movzx eax, byte [ebp + 0xff]
mov byte [ecx + ebp + 0xff], al
inc ecx
cmp ecx, 0xff
jle 0x4c70e0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [eax + 0x64]
mov eax, dword [esp + 0x1c]
jl 0x4c7040
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x4dbce0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x57c06c]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
mov esi, dword [ebp + 8]
mov eax, edx
mov dword [esp + 0x14], eax
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ecx
test eax, eax
je 0x4dbe98
test esi, esi
je 0x4dbe98
lea eax, [esi + esi]
mov dword [esp + 0x1c], 0
push eax
call fcn.004e2aee
add esp, 4
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0
mov edx, esi
push ecx
push ecx
mov ecx, dword [esp + 0x20]
push eax
call fcn.004e0790
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
test eax, eax
je 0x4dbe22
cmp ecx, 0xffffffff
je 0x4dbe22
xor esi, esi
call fcn.004e0e10
mov dword [esp + 0x24], eax
test eax, eax
je 0x4dbe1c
push dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ecx, eax
call fcn.004e1080
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4dbe10
mov eax, dword [esp + 0x14]
test al, 0xf
je 0x4dbdb1
shr eax, 4
inc eax
shl eax, 4
jmp 0x4dbdb4
add eax, 0x10
push eax
mov dword [esp + 0x1c], eax
call fcn.004e2aee
mov esi, dword [esp + 0x1c]
push esi
push 0
push eax
mov dword [esp + 0x20], eax
call fcn.004e5200
push dword [esp + 0x24]
push dword [esp + 0x34]
push dword [esp + 0x28]
call fcn.004e4c80
add esp, 0x1c
lea eax, [esp + 0x14]
push esi
mov esi, dword [esp + 0x14]
push eax
push esi
push 0
push 1
push 0
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov eax, dword [esp + 0x14]
push dword [esp + 0x1c]
mov dword [esp + 0x14], eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [esp + 0x20]
jmp 0x4dbe24
xor esi, esi
push 1
push eax
call fcn.004e251d
push dword [esp + 0x18]
mov edx, esi
lea ecx, [esp + 0x3c]
call fcn.004e0c70
push 1
push esi
call fcn.004e251d
movups xmm0, xmmword [esp + 0x44]
mov dword [edi + 0x10], 0
lea ecx, [esp + 0x44]
mov dword [edi + 0x14], 0
add esp, 0x14
movups xmmword [edi], xmm0
mov byte [esp + 0x30], 0
movq xmm0, qword [esp + 0x40]
movq qword [edi + 0x10], xmm0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xf
call fcn.0040ee10
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.004e24d7
mov esp, ebp
pop ebp
ret
push 0
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0xf
push 0x55de90
mov byte [edi], 0
call fcn.0040ee70
mov ecx, dword [esp + 0x5c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004e24d7
mov esp, ebp
pop ebp
ret
Function at 0x4dc320
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov dword [ebp - 8], ecx
lea eax, [esi*4]
push eax
call fcn.004e2aee
mov ebx, dword [ebp + 0xc]
mov edx, esi
push ebx
push eax
mov ecx, edi
mov dword [ebp - 4], eax
call fcn.004e0b50
mov esi, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebx]
mov dword [ebp + 8], eax
test esi, esi
je 0x4dc3d5
cmp eax, 0xffffffff
je 0x4dc3d5
xor edi, edi
call fcn.004e0e10
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4dc3d7
mov edx, dword [ebp - 8]
mov ecx, eax
push edx
add edx, 0x10
call fcn.004e1080
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x4dc42e
mov esi, dword [ebp + 8]
push esi
call fcn.004e2aee
push esi
mov edi, eax
push 0
push edi
call fcn.004e5200
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call fcn.004e4c80
mov esi, dword [ebp - 8]
lea eax, [ebp + 8]
add esp, 0x1c
push eax
push edi
push 0
push 1
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x4dc41f
push edi
call fcn.004e2b60
mov esi, dword [ebp - 4]
add esp, 4
xor edi, edi
push esi
call fcn.004e2b60
add esp, 4
test edi, edi
je 0x4dc458
mov ebx, dword [edi]
bswap ebx
test ebx, ebx
je 0x4dc43b
push ebx
call fcn.004e2aee
mov edx, dword [ebp + 0xc]
lea ecx, [edi + 4]
mov esi, eax
push ebx
push esi
mov edx, dword [edx]
sub edx, 4
call fcn.004e0990
mov eax, dword [ebp + 0xc]
push 1
push edi
mov dword [eax], ebx
call fcn.004e251d
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov dword [ebx], eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov esi, dword [ebp - 4]
push 0
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x4dc3d7
mov eax, dword [ebp + 0xc]
push 1
push edi
mov dword [eax], 0
call fcn.004e251d
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e09f0
Capabilities:
Encrypt or decrypt via wincrypt
Reference public rsa key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, ecx
mov dword [ebp - 4], edx
test edi, edi
je 0x4e0b3b
cmp edx, 0xffffffff
je 0x4e0b3b
push ebx
push esi
xor esi, esi
call fcn.004e0e10
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x4e0b29
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push esi
push esi
push 0x94
push 0x55a970
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x4e0b0e
push dword [ebp - 4]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push esi
push esi
push 1
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x4e0b03
push dword [ebp - 0xc]
call fcn.004e2aee
push dword [ebp - 4]
mov esi, eax
push edi
push esi
call fcn.004e4c80
add esp, 0x10
lea eax, [ebp - 4]
push dword [ebp - 0xc]
push eax
push esi
push 0
push 1
push 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x4e0aed
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, dword [ebp - 4]
mov dword [eax], ebx
test ebx, 0xfffffffe
jbe 0x4e0acf
mov edx, esi
nop dword [eax + eax]
mov al, byte [edx + ebx - 1]
lea edx, [edx - 1]
mov cl, byte [edi + esi]
mov byte [edi + esi], al
inc edi
mov eax, dword [ebp - 4]
mov byte [edx + eax], cl
mov ebx, dword [ebp - 4]
mov eax, ebx
shr eax, 1
cmp edi, eax
jb 0x4e0ab0
mov ebx, dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
push esi
mov dword [eax], 0xfffffff5
call fcn.004e2b60
add esp, 4
xor esi, esi
jmp 0x4e0ad2
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xfffffff4
jmp 0x4e0ad2
mov eax, dword [ebp + 0xc]
push 0
push ebx
mov dword [eax], 0xfffffff3
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xfffffff2
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
pop edi
mov dword [eax], 0xfffffff6
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4e0c70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0x55555556
push esi
push edi
mov edi, edx
mov dword [ebp - 4], ecx
lea edx, [ebx*4]
imul edx
mov esi, edx
add edx, 0x10
shr esi, 0x1f
add esi, edx
lea eax, [esi + 1]
push eax
call fcn.004e2aee
add esp, 4
mov ecx, eax
mov dword [ebp + 8], ecx
test edi, edi
je 0x4e0dcd
test ecx, ecx
je 0x4e0dcd
lea edx, [ebx + 2]
test edx, edx
js 0x4e0dcd
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x40000000
jge 0x4e0dcd
mov esi, ecx
cmp ebx, 2
jle 0x4e0d61
lea ecx, [ebx - 3]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
inc edx
lea eax, [edx + edx*2]
sub ebx, eax
nop word [eax + eax]
movzx eax, byte [edi]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
and ecx, 3
shr eax, 4
add ecx, ecx
movzx eax, byte [eax + ecx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
movzx ecx, byte [edi + 1]
movzx eax, byte [edi + 2]
and ecx, 0xf
shr eax, 6
movzx eax, byte [eax + ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 2], al
movzx eax, byte [edi + 2]
add edi, 3
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 3], al
add esi, 4
sub edx, 1
jne 0x4e0d00
mov ecx, dword [ebp + 8]
test ebx, ebx
je 0x4e0dc8
movzx eax, byte [edi]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
cmp ebx, 1
jle 0x4e0dad
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
and ecx, 3
shr eax, 4
add ecx, ecx
movzx eax, byte [eax + ecx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [ebp + 8]
mov byte [esi + 1], al
movzx eax, byte [edi + 1]
and eax, 0xf
movzx eax, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 2], al
mov byte [esi + 3], 0x3d
jmp 0x4e0dc5
movzx eax, byte [edi]
and eax, 3
shl eax, 4
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
mov word [esi + 2], 0x3d3d
add esi, 4
mov byte [esi], 0
sub esi, ecx
mov ebx, dword [ebp - 4]
lea edx, [ecx + 1]
mov byte [ecx + esi], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e0de8
mov esi, dword [ebp + 8]
sub ecx, edx
push ecx
push esi
mov ecx, ebx
call fcn.0040ee70
push esi
call fcn.004e2b60
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e0e10
Capabilities:
Check os version
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x57c06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5801b8]
push esi
cmp eax, 0xffffffff
jne 0x4e1065
push 0x110
lea eax, [ebp - 0x114]
mov dword [0x5801b8], 0xfffffc18
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.004e5200
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4e1060
cmp dword [ebp - 0x108], 2
jne 0x4e1060
mov eax, dword [ebp - 0x114]
cmp eax, 5
jne 0x4e0fa5
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x4e0f07
mov dword [0x5801b8], 1
mov esi, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider__Prototype_
push 0
push 0x18
push esi
push str.SEContainer
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4e0ef2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
push 0x18
push esi
push str.SEContainer
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4e0ef2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x11c]
xor ecx, ebp
pop esi
call fcn.004e24d7
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x4e0f88
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_1
call fcn.004f9a9a
add esp, 0xc
test eax, eax
jne 0x4e0f35
mov dword [0x5801b8], 3
jmp 0x4e0ea1
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_2
call fcn.004f9a9a
add esp, 0xc
test eax, eax
jne 0x4e0f5e
mov dword [0x5801b8], 4
jmp 0x4e0ea1
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_3
call fcn.004f9a9a
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 5
mov dword [0x5801b8], eax
jmp 0x4e0ea1
cmp eax, 2
jne 0x4e1060
mov dword [0x5801b8], 6
mov esi, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
jmp 0x4e0ea6
cmp eax, 6
jne 0x4e104c
mov eax, dword [ebp - 0x110]
sub eax, 0
je 0x4e0fef
sub eax, 1
je 0x4e0fdb
sub eax, 1
jne 0x4e1060
mov dword [0x5801b8], 0xb
mov esi, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
jmp 0x4e0ea6
mov dword [0x5801b8], 0xa
mov esi, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
jmp 0x4e0ea6
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_1
call fcn.004f9a9a
add esp, 0xc
test eax, eax
jne 0x4e101d
mov dword [0x5801b8], 8
mov esi, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
jmp 0x4e0ea6
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_2
call fcn.004f9a9a
add esp, 0xc
mov esi, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 9
mov dword [0x5801b8], eax
jmp 0x4e0ea6
mov dword [0x5801b8], 0x3e8
mov esi, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
jmp 0x4e0ea6
mov eax, dword [0x5801b8]
cmp eax, 6
jl 0x4e0ea1
mov esi, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
jmp 0x4e0ea6
Function at 0x4e1140
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
test edx, edx
jne 0x4e114e
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
or eax, 0xffffffff
cmp esi, 8
jb 0x4e120b
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x55ac50]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x55ac50]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x55ac50]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x55ac50]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x55ac50]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x55ac50]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x55ac50]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x55ac50]
sub edi, 1
jne 0x4e1164
pop edi
test esi, esi
je 0x4e122a
nop
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x55ac50]
sub esi, 1
jne 0x4e1210
not eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4e29ef
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x578510
call fcn.004e35a0
push 1
call fcn.004e25c7
pop ecx
test al, al
jne 0x4e28a6
push 7
call fcn.004e33f4
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004e2592
mov byte [ebp - 0x24], al
mov eax, dword [0x59a7e0]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4e289f
test eax, eax
jne 0x4e2910
mov dword [0x59a7e0], ecx
push 0x53de20
push 0x53ddfc
call fcn.004fcd16
pop ecx
pop ecx
test eax, eax
je 0x4e28f3
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4e29e9
push 0x53ddf8
push 0x53d60c
call fcn.004fccba
pop ecx
pop ecx
mov dword [0x59a7e0], 2
jmp 0x4e2915
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.004e2734
pop ecx
call fcn.004e36ed
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x4e2945
push esi
call fcn.004e26aa
pop ecx
test al, al
je 0x4e2945
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.004e3074
call esi
call fcn.004e36f3
mov esi, eax
cmp dword [esi], edi
je 0x4e2963
push esi
call fcn.004e26aa
pop ecx
test al, al
je 0x4e2963
push dword [esi]
call fcn.004fbf5a
pop ecx
call fcn.004e3510
movzx eax, ax
push eax
call fcn.004fcc74
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.004fbe69
test al, al
jne 0x4e298e
push esi
call fcn.004fbf92
test bl, bl
jne 0x4e2997
call fcn.004fbf35
push edi
push 1
call fcn.004e2751
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4e29e9
call fcn.004e35e6
ret
call fcn.004e364a
jmp 0x4e2887