joyce8/EMBER2024-capa huggingface dataset:
Function at 0x493ef0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00493198
xor eax, eax
push ebp
push 0x494063
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x49404d
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x493f3c
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x493f46
call fcn.004f0f94
jmp 0x49406a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004a7c98
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x494042
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_send
mov edi, eax
cmp edi, 0xffffffff
jne 0x493ff5
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x493fe2
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004eff9c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00493ea8
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0x494078]
cmp dl, byte [eax + 0x28]
je 0x494049
call fcn.004daa74
jmp 0x494049
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004a7cb8
jmp 0x494049
cmp edi, ebx
jge 0x494011
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004a7cb8
jmp 0x493f46
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004a7c98
cmp edx, dword [esp + 4]
jne 0x494031
cmp eax, dword [esp]
pop edx
pop eax
jne 0x493f46
push ebp
call fcn.00493ea8
pop ecx
jmp 0x494049
push ebp
call fcn.00493ea8
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49406a
mov eax, dword [ebp - 4]
call fcn.004931a0
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4940ac
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4941ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00493198
xor eax, eax
push ebp
push 0x4941b1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4940fc
call fcn.004f0f94
jmp 0x4941b8
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x49419b
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x49419b
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004eff9c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x49419b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.004d9b48
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x4941ec
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x540054]
mov dl, 1
mov eax, dword [0x490444]
call fcn.004dac90
call fcn.004f0ea0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4941b8
mov eax, dword [ebp - 4]
call fcn.004931a0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4941d5
lea eax, [ebp - 0x28]
call fcn.004f16c8
ret
Function at 0x49423c
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4943ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00493198
xor eax, eax
push ebp
push 0x494390
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x4942a1
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x4942a1
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_ioctlsocket
jmp 0x49437a
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4942b4
call fcn.004f0f94
jmp 0x494397
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_ioctlsocket
test eax, eax
jne 0x4942db
cmp dword [ebp - 0x10], 0
jle 0x4942db
cmp ebx, dword [ebp - 0x10]
jle 0x4942db
mov ebx, dword [ebp - 0x10]
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x49437a
call sub.WSOCK32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x49437a
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004eff9c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x49437a
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.004d9b48
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, 0x4943cc
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x540054]
mov dl, 1
mov eax, dword [0x490444]
call fcn.004dac90
call fcn.004f0ea0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494397
mov eax, dword [ebp - 4]
call fcn.004931a0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4943b4
lea eax, [ebp - 0x2c]
call fcn.004f16c8
ret
Function at 0x4af868
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4af906
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x4af8ca
cmp byte [ebx + 0x10], 0
jne 0x4af8ca
cmp byte [ebx + 0x3c], 0
jne 0x4af8ca
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4af8eb
lea edx, [ebp - 4]
mov eax, dword [0x540038]
call fcn.004f51f0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x49fac0]
call fcn.004daa8c
call fcn.004f0ea0
jmp 0x4af8eb
lea edx, [ebp - 8]
mov eax, dword [0x540038]
call fcn.004f51f0
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x49fac0]
call fcn.004daa8c
call fcn.004f0ea0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af90d
lea eax, [ebp - 8]
mov edx, 2
call fcn.004f1728
ret

Function at 0x4b0214
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4b0262
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004af7b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b027b
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b0284
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004af7b4
dec esi
jne 0x4b02a6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x4b1c5c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5439cc
cmp dword [edi], 0
jne 0x4b1cd8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x5439c8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x538ef8
mov ecx, 2
call fcn.004ef364
mov edx, 0x4b1c34
lea eax, [esi + 5]
call fcn.004b1c54
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004b1c54
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4b1cad
mov dword [0x5439c8], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4b63b8
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b6533
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004f1af0
mov eax, dword [ebp - 4]
call fcn.004b5d18
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4b640a
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004f27b4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004b6fac
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4b64e9
xor eax, eax
push ebp
push 0x4b64e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004b5fb8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004b6568
test al, al
je 0x4b64c0
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.004f1850
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4b64c0
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.004f23a8
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004b5f18
test al, al
je 0x4b64ba
mov eax, dword [ebp - 8]
call fcn.004f23a8
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004f23f8
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004b63b8
dec ebx
cmp ebx, 0xffffffff
jne 0x4b6469
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b64e9
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004b5fb8
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.004f23a8
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004b5fa4
push eax
call sub.ADVAPI32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004b5f18
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b653a
lea eax, [ebp - 0x3c]
call fcn.004f16c8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004f1728
ret

Function at 0x4b6e88
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.004b5d30
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004f23a8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.004b5f18
test al, al
jne 0x4b6ef0
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x54000c]
mov dl, 1
mov eax, dword [0x4b4b3c]
call fcn.004dac90
call fcn.004f0ea0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4b6efc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004f23a8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.004b5f18
test al, al
jne 0x4b6f5d
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x540008]
mov dl, 1
mov eax, dword [0x4b4b3c]
call fcn.004dac90
call fcn.004f0ea0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004b5d60
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4b755c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b7684
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.004b5fb8
xor eax, eax
push ebp
push 0x4b765f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004b6568
test al, al
je 0x4b7643
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004b743c
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004f1850
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4b7643
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004f23a8
push eax
push edi
push esi
call sub.ADVAPI32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004b5f18
test al, al
je 0x4b763f
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004f23a8
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.004f23f8
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004b743c
pop ecx
inc edi
dec ebx
jne 0x4b75e7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7666
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.004b5fb8
ret
Function at 0x4b7694
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4b78e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.004b5fb8
xor eax, eax
push ebp
push 0x4b78b8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004b6568
test al, al
je 0x4b789c
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004f1850
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x4b789c
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.004f23a8
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004b5f18
test al, al
je 0x4b7890
mov eax, dword [ebp - 4]
call fcn.004f23a8
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.004f23f8
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004b6fac
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4b7890
xor eax, eax
push ebp
push 0x4b7889
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.004b5fb8
xor eax, eax
push ebp
push 0x4b786b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004f23a8
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.004f23f8
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004b5fbc
mov eax, dword [ebp - 4]
call fcn.004f23a8
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.004f23f8
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004b6fac
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4b7848
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004b755c
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004b7694
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b784f
mov eax, dword [ebp - 0x24]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x4b771f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b78bf
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.004b5fb8
ret
Function at 0x4d5868
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4d58c1
test eax, edx
je 0x4d58c4
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4d587f
movzx eax, word [eax]
sub eax, ecx
jmp 0x4d58a6
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4d58a7
add ecx, 4
js 0x4d5897
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4d58a4
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4d58a6
xor eax, eax
ret
test eax, eax
je 0x4d58d0
test edx, edx
jne 0x4d5870
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4d9be4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4d9c1d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004f1850
jmp 0x4d9c26
mov eax, ebx
mov edx, esi
call fcn.004f1aa8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4d9c30
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4d9c52
movzx eax, word [esp]
jmp 0x4d9c54
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4da910
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4daa35
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.004da720
mov esi, eax
mov eax, dword [0x5402b4]
cmp byte [eax], 0
je 0x4da9dd
mov eax, dword [0x5402c0]
call fcn.004ef694
call fcn.004ef314
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4da8e8]
call fcn.004f36a4
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4daa50
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x4daa19
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x540118]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x540514]
call fcn.004f38b0
push eax
call sub.USER32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.USER32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4daa3c
lea eax, [ebp - 4]
mov edx, dword [0x4da8e8]
call fcn.004f37c8
ret

Function at 0x4dbabc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4dbb92
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004f1af0
lea eax, [ebp - 4]
call fcn.004f1c58
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004f23a8
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4dbb7c
mov eax, ebx
call fcn.004ef110
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4dbb75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004f23a8
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4dbb5f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4dbba4
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4dbb5f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dbb7c
mov eax, dword [ebp - 0x10]
call fcn.004ef12c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dbb99
lea eax, [ebp - 4]
call fcn.004f16c8
ret