joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5fc044
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x98], 0
jne 0x5fc0ca
mov eax, dword [ebx + 8]
call fcn.005578a0
mov ecx, eax
mov dl, 1
mov eax, dword [0x5680d8]
call fcn.00551190
mov dword [ebx + 0x98], eax
mov esi, dword [ebx + 0x98]
xor edx, edx
mov eax, esi
call fcn.0056f1d8
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f0], 0x5fb914
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x98]
call fcn.005578a0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x98]
call fcn.005578a0
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa8], 0
jne 0x5fc14c
mov eax, dword [ebx + 8]
call fcn.005578a0
mov ecx, eax
mov dl, 1
mov eax, dword [0x5680d8]
call fcn.00551190
mov dword [ebx + 0xa8], eax
mov esi, dword [ebx + 0xa8]
mov dl, 1
mov eax, esi
call fcn.0056f1d8
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f0], 0x5fb960
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa8]
call fcn.005578a0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa8]
call fcn.005578a0
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa0], 0
jne 0x5fc1ca
mov eax, dword [ebx + 8]
call fcn.005578a0
mov ecx, eax
mov dl, 1
mov eax, dword [0x568c1c]
call fcn.00551190
mov dword [ebx + 0xa0], eax
mov esi, dword [ebx + 0xa0]
mov byte [esi + 0x2c8], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa0]
call fcn.005578a0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa0]
call fcn.005578a0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x600d94
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.006018c8
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x6017c4
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff20
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x40
jle 0x601809
lea eax, [ebp - 0x60]
call fcn.00600d94
mov edx, ebx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
call fcn.00600dbc
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.00600e8c
mov dword [ebp + 0xc], 0x10
mov esi, dword [ebp + 8]
jmp 0x60180b
mov esi, ebx
xor ecx, ecx
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0xe0]
lea ebx, [ecx + 1]
cmp ebx, dword [ebp + 0xc]
jg 0x601834
movzx ebx, byte [esi]
xor bl, 0x36
mov byte [eax], bl
movzx ebx, byte [esi]
xor bl, 0x5c
mov byte [edx], bl
inc esi
jmp 0x60183a
mov byte [eax], 0x36
mov byte [edx], 0x5c
inc ecx
inc edx
inc eax
cmp ecx, 0x40
jne 0x601819
lea eax, [ebp - 0x60]
call fcn.00600d94
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.00600dbc
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 8]
call fcn.00601730
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.00600e8c
lea eax, [ebp - 0x60]
call fcn.00600d94
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.00600dbc
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x60]
mov ecx, 0x10
call fcn.00600dbc
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.00600e8c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x60644c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov byte [ebp - 9], cl
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6064f4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.006079a8
lea edx, [ebp - 8]
mov eax, esi
call fcn.006079a8
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.0042914c
test al, al
je 0x6064ab
mov ebx, 2
cmp byte [ebp - 9], 0
je 0x6064d7
movzx edx, byte [ebp + 8]
mov eax, dword [ebp - 8]
call fcn.006063b4
mov ebx, eax
test ebx, ebx
jne 0x6064d7
mov eax, dword [ebp - 8]
call fcn.0040c850
push eax
mov eax, dword [ebp - 4]
call fcn.0040c850
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x6064d0
xor ebx, ebx
jmp 0x6064d7
call sub.kernel32.dll_GetLastError
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6064fb
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040ba3c
pop eax
jmp eax

Function at 0x606508
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040bb74
add esp, 0x20c
pop ebx
ret
Function at 0x60721c
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov dword [esp + 4], edx
mov dword [esp], eax
xor esi, esi
mov ebx, dword [esp + 4]
jmp 0x607234
inc ebx
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea edx, [edx + edx*2]
mov eax, ebx
sub eax, edx
test eax, eax
jg 0x607233
mov eax, 0x55555556
imul ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
shl eax, 2
mov ebx, eax
mov eax, edi
xor ecx, ecx
mov edx, ebx
call fcn.0040c4e4
xor ebx, ebx
cmp esi, dword [esp + 4]
jge 0x6073bd
inc ebx
mov eax, edi
call fcn.0040bfb0
mov edx, dword [esp]
movzx edx, byte [edx + esi]
and dl, 0xfc
movzx edx, dl
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp + 4]
jge 0x607373
inc ebx
mov eax, edi
call fcn.0040bfb0
mov edx, dword [esp]
movzx edx, byte [edx + esi]
and dl, 3
movzx edx, dl
shl edx, 4
mov ecx, dword [esp]
movzx ecx, byte [ecx + esi + 1]
and cl, 0xf0
movzx ecx, cl
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp + 4]
jge 0x607340
inc ebx
mov eax, edi
call fcn.0040bfb0
mov edx, dword [esp]
movzx edx, byte [edx + esi + 1]
and dl, 0xf
movzx edx, dl
shl edx, 2
mov ecx, dword [esp]
movzx ecx, byte [ecx + esi + 2]
and cl, 0xc0
movzx ecx, cl
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.0040bfb0
mov edx, dword [esp]
movzx edx, byte [edx + esi + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
jmp 0x6073b0
inc ebx
mov eax, edi
call fcn.0040bfb0
mov edx, dword [esp]
movzx edx, byte [edx + esi + 1]
and dl, 0xf
movzx edx, dl
shl edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.0040bfb0
mov byte [eax + ebx - 1], 0x3d
jmp 0x6073b0
inc ebx
mov eax, edi
call fcn.0040bfb0
mov edx, dword [esp]
movzx edx, byte [edx + esi]
and dl, 3
movzx edx, dl
shl edx, 4
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.0040bfb0
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.0040bfb0
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp + 4]
jl 0x607277
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x6078e4
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
call fcn.006044d0
cmp edx, 0
jne 0x607912
cmp eax, 0
jae 0x607918
jmp 0x60799a
jl 0x60799a
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
mov eax, ebx
call fcn.0040c850
push eax
call sub.kernel32.dll_CreateFileW
mov ebx, eax
test ebx, ebx
jl 0x60799a
push 0
push 0
mov esi, ebx
mov eax, esi
mov edx, 2
call fcn.004290bc
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 4]
jne 0x607967
cmp eax, dword [ebp - 8]
jae 0x607994
jmp 0x607969
jge 0x607994
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, esi
xor edx, edx
call fcn.004290bc
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x60798c
cmp dword [ebp - 8], 0
jb 0x607994
jmp 0x60798e
jl 0x607994
push esi
call sub.kernel32.dll_SetEndOfFile
push esi
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x607ab4
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov byte [ebp - 1], 0
call fcn.00432538
cmp eax, 2
je 0x607ad3
mov byte [ebp - 1], 1
jmp 0x607c3f
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x15], 0
xor edx, edx
push ebp
push 0x607c38
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x607b37
call sub.kernel32.dll_GetLastError
cmp eax, 0x3f0
jne 0x607b37
lea eax, [ebp - 0xc]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
je 0x607bfc
mov eax, 0x75636a
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_AllocateAndInitializeSid
call fcn.00433b24
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x607b91
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x607b96
call fcn.00433a64
mov eax, dword [ebp - 0x10]
call fcn.00406e7c
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_GetTokenInformation
call fcn.00433b24
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x607bfc
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + ebx*8 + 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x607be9
mov eax, dword [ebp - 0x14]
test byte [eax + ebx*8 + 8], 0x10
je 0x607bed
xor eax, eax
jmp 0x607bef
mov al, 1
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x607bfc
inc ebx
dec esi
jne 0x607bca
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x607c3f
cmp dword [ebp - 0x14], 0
je 0x607c17
mov eax, dword [ebp - 0x14]
call fcn.00406eb0
cmp byte [ebp - 0x15], 0
je 0x607c26
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
cmp dword [ebp - 8], 0
je 0x607c35
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
pop eax
jmp eax
movzx eax, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6148bc
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov byte [0x764ef8], 3
cmp bl, 3
je 0x6149b1
sub bl, 2
jae 0x6148fb
call fcn.0043254c
cmp eax, 6
jl 0x6148fb
call fcn.00614828
cmp dword [0x764efc], 0
je 0x6148fb
mov byte [0x764ef8], 1
jmp 0x6149b1
call fcn.00614880
cmp edx, 0
jne 0x614908
cmp eax, 0
je 0x6149b1
push esp
call sub.kernel32.dll_QueryPerformanceCounter
cmp dword [esp + 4], 0
jne 0x61491f
cmp dword [esp], 0
je 0x6149b1
mov byte [0x764ef8], 2
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
push 0
push 0x3e8
call fcn.00614880
call fcn.0040e5e0
push edx
push eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
call fcn.0040e5e0
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
push edx
push eax
call sub.kernel32.dll_GetTickCount
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [0x764f08], eax
mov dword [0x764f0c], edx
cmp dword [0x764f0c], 0
jne 0x61499b
cmp dword [0x764f08], 0xdbba0
jbe 0x6149b1
jmp 0x61499d
jle 0x6149b1
mov dword [0x764f08], 0
mov dword [0x764f0c], 0
add esp, 0x10
pop ebx
ret
Function at 0x61ce68
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x61ce71
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x61d03b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0061d1d8
xor eax, eax
push ebp
push 0x61d00a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x61cec1
call fcn.0040b17c
jmp 0x61d011
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 8
je 0x61cf96
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 1
je 0x61cf16
mov eax, dword [ebp - 4]
cmp word [eax + 0x4a], 0
je 0x61cf16
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0061cda4
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x60]
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040cb24
mov eax, dword [ebp - 0xc]
push eax
movzx ecx, byte [ebp - 5]
mov edi, dword [ebp - 4]
mov edx, esi
mov eax, dword [edi + 0x4c]
call dword [edi + 0x48]
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 4
je 0x61cf55
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0061cda4
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x60]
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040cb24
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
call fcn.0040c850
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 2
je 0x61cff2
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0061cda4
push dword [ebp - 0x24]
mov eax, dword [ebp - 4]
push dword [eax + 0x60]
push ebx
push 0x61d058
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.0040cb24
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0061cddc
jmp 0x61cff2
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 1
je 0x61cfb9
mov eax, dword [ebp - 4]
cmp word [eax + 0x4a], 0
je 0x61cfb9
push ebx
movzx ecx, byte [ebp - 5]
mov edi, dword [ebp - 4]
mov edx, esi
mov eax, dword [edi + 0x4c]
call dword [edi + 0x48]
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 4
je 0x61cfcf
mov eax, ebx
call fcn.0040c850
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x40], 2
je 0x61cff2
lea eax, [ebp - 0x28]
mov ecx, 0x61d058
mov edx, ebx
call fcn.0040ca9c
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0061cddc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61d011
mov eax, dword [ebp - 4]
call fcn.0061d1e0
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61d042
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.0040ba3c
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.0040ba3c
pop eax
jmp eax
Function at 0x626d80
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x75b7dc
mov ecx, dword [esp]
lea edx, [esp + 0xc]
movzx ebx, byte [edi]
movzx ebx, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x626d9f
mov esi, 1
mov edx, 0x75b8e4
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
shl ecx, 2
movzx ebx, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
movzx ebx, byte [esp + eax + 0x11]
add edi, ebx
movzx ebx, byte [esp + eax + 0xd]
shl ebx, 3
movzx ebp, byte [esp + eax + 0xe]
shl ebp, 2
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x626e13
dec ebx
je 0x626e35
dec ebx
je 0x626e57
dec ebx
je 0x626e78
jmp 0x626e92
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 8
movzx ebx, bl
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x626e92
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 4
movzx ebx, bl
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x626e92
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 2
movzx ebx, bl
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x626e92
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x626e03
inc esi
add edx, 0x40
cmp esi, 9
jne 0x626dbb
mov esi, 0x20
mov eax, 0x75b80c
mov edx, dword [esp + 4]
movzx ecx, byte [eax]
movzx ecx, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x626eb7
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x626ef4
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
movzx eax, dl
movzx ebx, byte [eax + 0x75b893]
test bl, bl
jbe 0x626f25
lea eax, [esi + 0x3e0]
call fcn.00626ed0
lea eax, [esi + 0x3fc]
call fcn.00626ed0
dec bl
jne 0x626f0b
mov cl, 0x30
mov edi, 0x75b864
mov eax, dword [esp]
movzx edx, byte [edi]
cmp dl, 0x1c
ja 0x626f46
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x626f53
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x626f2f
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x626f60
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov bl, 1
lea esi, [ebp - 0x425]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.00626d18
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x626f7d
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x45]
movzx edx, byte [esi]
mov eax, dword [ebp - 0xc]
call fcn.00626d18
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00626d18
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x626f9a
mov bl, 1
lea esi, [ebp - 0x3a5]
mov ecx, esi
lea eax, [ebp - 0x425]
mov edx, ebx
call fcn.00626ef4
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x626fc4
mov bl, 1
mov eax, 0x75b75c
lea edx, [ebp - 0xa5]
cmp bl, 0x20
ja 0x626ffd
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x426]
mov byte [edx], cl
jmp 0x62700a
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x426]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x626fe9
mov byte [ebp - 0xd], 1
lea esi, [ebp - 0x3a5]
cmp byte [ebp + 8], 0
je 0x627034
lea ecx, [ebp - 0x65]
mov edx, esi
lea eax, [ebp - 0x85]
call fcn.00626d80
jmp 0x62705b
movzx eax, byte [ebp - 0xd]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d5]
lea ecx, [ebp - 0x65]
lea eax, [ebp - 0x85]
call fcn.00626d80
mov bl, 0x20
lea eax, [ebp - 0xa5]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x627063
push esi
lea esi, [ebp - 0x85]
lea edi, [ebp - 0xa5]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x65]
lea edi, [ebp - 0x85]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 0xd]
add esi, 0x30
cmp byte [ebp - 0xd], 0x11
jne 0x62701c
mov bl, 0x40
mov esi, 0x75b79c
lea eax, [ebp - 0x3e5]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x6270c9
movzx edx, dl
movzx edx, byte [ebp + edx - 0x86]
mov byte [eax], dl
jmp 0x6270d6
movzx edx, dl
movzx edx, byte [ebp + edx - 0xc6]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x6270b2
mov bl, 1
lea esi, [ebp - 0x3e5]
movzx ecx, byte [esi]
mov eax, dword [ebp - 8]
mov edx, ebx
call fcn.00626d40
inc ebx
inc esi
cmp bl, 0x41
jne 0x6270e4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x632f88
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x632fa3
xor edx, edx
mov dword [eax], edx
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov eax, esi
call fcn.0040c850
push eax
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x633033
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, edi
call fcn.0040c850
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x63302a
mov eax, dword [ebp - 0x10]
call fcn.00406e94
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
mov eax, edi
call fcn.0040c850
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x633023
cmp dword [ebp - 8], 1
jne 0x633023
mov eax, dword [ebp - 4]
mov edx, esi
call fcn.0040c8b0
mov bl, 1
mov eax, esi
call fcn.00406eb0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret