joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4289f4
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 pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x428a2d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409e5c
jmp 0x428a36
mov eax, ebx
mov edx, esi
call fcn.0040a0b4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x428a40
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_1
test eax, eax
jle 0x428a62
movzx eax, word [esp]
jmp 0x428a64
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x42974c
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 0x429871
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00429554
mov esi, eax
mov eax, dword [0x747740]
cmp byte [eax], 0
je 0x429819
mov eax, dword [0x747300]
call fcn.004074d4
call fcn.004068c0
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_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x42971c]
call fcn.0040bf10
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_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x42988c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x429855
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x747258]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x74ac50]
call fcn.0040c124
push eax
call sub.user32.dll_LoadStringW_1
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 0x429878
lea eax, [ebp - 4]
mov edx, dword [0x42971c]
call fcn.0040c034
ret
Function at 0x42a87c
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 0x42a952
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a0fc
lea eax, [ebp - 4]
call fcn.0040a270
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a9e4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42a93c
mov eax, ebx
call fcn.0040674c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42a935
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.0040a9e4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42a91f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42a964
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42a91f
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 0x42a93c
mov eax, dword [ebp - 0x10]
call fcn.00406768
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a959
lea eax, [ebp - 4]
call fcn.00409cd4
ret

Function at 0x42b320
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040a1b0
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040db88
mov edi, eax
cmp edi, 0x104
jbe 0x42b2c7
mov eax, edi
add eax, eax
call fcn.0040674c
mov esi, eax
jmp 0x42b2c9
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040db88
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42b304
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x42b2ee
mov eax, esp
cmp esi, eax
je 0x42b311
mov eax, esi
call fcn.00406768
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x42b34c
cmp bl, 0
je 0x42b348
cmp bl, 0x41
jl 0x42b343
cmp bl, 0x5a
jg 0x42b343
or bl, 0x20
xor al, bl
inc esi
jmp 0x42b327
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42b288

Function at 0x42bbc8
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040aa88
add esp, 0x800
pop ebx
ret
Function at 0x4c62e4
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c6382
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x4c6346
cmp byte [ebx + 0x10], 0
jne 0x4c6346
cmp byte [ebx + 0x3c], 0
jne 0x4c6346
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4c6367
lea edx, [ebp - 4]
mov eax, dword [0x74768c]
call fcn.0040daf4
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x498c90]
call fcn.0042989c
call fcn.004093dc
jmp 0x4c6367
lea edx, [ebp - 8]
mov eax, dword [0x74768c]
call fcn.0040daf4
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x498c90]
call fcn.0042989c
call fcn.004093dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6389
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409d34
ret

Function at 0x4c6d20
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 0x4c6d6e
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 + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004c6164
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c6d87
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c6d90
Capabilities:
Resume thread

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

Function at 0x4c9564
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x74d094
cmp dword [edi], 0
jne 0x4c95e0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x74d090]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x74576c
mov ecx, 2
call fcn.00406910
mov edx, 0x4c953c
lea eax, [esi + 5]
call fcn.004c955c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004c955c
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 0x4c95b5
mov dword [0x74d090], 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 0x4f5214
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 0x4f53cf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a0fc
mov eax, dword [ebp - 4]
call fcn.004f4b64
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4f5266
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040adf0
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.004f5e50
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4f5345
xor eax, eax
push ebp
push 0x4f533e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004f4e04
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004f5404
test al, al
je 0x4f531c
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00409e5c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4f531c
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.0040a9e4
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.004f4d64
test al, al
je 0x4f5316
mov eax, dword [ebp - 8]
call fcn.0040a9e4
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040aa4c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004f5214
dec ebx
cmp ebx, 0xffffffff
jne 0x4f52c5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5345
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004f4e04
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp byte [0x74d0c8], 0
je 0x4f5385
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040a9e4
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004f4df0
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004f4d64
mov ebx, eax
jmp 0x4f53ac
mov eax, dword [ebp - 4]
call fcn.0040a9e4
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004f4df0
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004f4d64
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f53d6
lea eax, [ebp - 0x3c]
call fcn.00409cd4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409d34
ret
Function at 0x4f5d2c
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.004f4b7c
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.0040a9e4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.004f4d64
test al, al
jne 0x4f5d94
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x74753c]
mov dl, 1
mov eax, dword [0x4f3950]
call fcn.00429aa0
call fcn.004093dc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4f5da0
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.0040a9e4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.004f4d64
test al, al
jne 0x4f5e01
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x7479cc]
mov dl, 1
mov eax, dword [0x4f3950]
call fcn.00429aa0
call fcn.004093dc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004f4bac
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 0x4f6400
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 0x4f6528
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.004f4e04
xor eax, eax
push ebp
push 0x4f6503
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.004f5404
test al, al
je 0x4f64e7
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004f62e0
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00409e5c
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4f64e7
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.0040a9e4
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.004f4d64
test al, al
je 0x4f64e3
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a9e4
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0040aa4c
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004f62e0
pop ecx
inc edi
dec ebx
jne 0x4f648b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f650a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.004f4e04
ret
Function at 0x4f6538
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 0x4f6786
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.004f4e04
xor eax, eax
push ebp
push 0x4f675c
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.004f5404
test al, al
je 0x4f6740
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00409e5c
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x4f6740
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.0040a9e4
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.004f4d64
test al, al
je 0x4f6734
mov eax, dword [ebp - 4]
call fcn.0040a9e4
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0040aa4c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004f5e50
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4f6734
xor eax, eax
push ebp
push 0x4f672d
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.004f4e04
xor eax, eax
push ebp
push 0x4f670f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a9e4
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0040aa4c
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004f4e08
mov eax, dword [ebp - 4]
call fcn.0040a9e4
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.0040aa4c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004f5e50
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4f66ec
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.004f6400
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.004f6538
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f66f3
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x4f65c3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f6763
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.004f4e04
ret
Function at 0x4ff0e0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4ff0e6
ret

Function at 0x505c03
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edx, dword [ebp - 0x4d0]
add edx, 1
mov dword [ebp - 0x4d0], edx
add esp, 4
call 0x505a2f
add byte [eax + 0x3a], cl
dec eax
inc esp
push eax
dec ecx
dec edi
cmp dword [ebx + 0x49], ecx
add esp, 4
add edi, 0x13fc3
and edi, 0xf31c
pop edi
mov edx, dword [ebp - 0x14c8]
mov dword [ebp - 0x9f0], edx
mov dword [ebp - 0xc14], 0
mov eax, dword [ebp - 0x4d0]
cmp eax, dword [ebp - 0x14c8]
jne 0x505aa6
push eax
push eax
add esp, 4
jmp 0x505a71
pop eax
push esi
push ecx
add esp, 4
xor esi, 0xea2c
and esi, 0x1357f
pop esi
push edx
and edx, 0x6434
jmp 0x505a94
pop edx
mov ecx, dword [ebp - 0xc14]
mov dword [ebp - 0x14d0], ecx
jmp 0x505bd7
cmp dword [ebp - 0xc10], 0
jle 0x505bcb
push edx
push ecx
add esp, 4
or edx, 0xb8fd
jmp 0x505ac6
and edx, 0x495b
pop edx
push edx
push esi
add esp, 4
or edx, 0x79e1
or edx, 0xf7ac
or edx, 0xe0af
pop edx
mov edx, dword [ebp - 0xa60]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x9f0]
movzx edx, byte [ecx]
cmp eax, edx
je 0x505b67
push esi
push edx
add esp, 4
xor esi, 0xffc4
call 0x505b12
add byte [ebp + 0x38], cl
inc esp
cmp eax, 0xc483433b
add al, 0x5e
push edi
xor edi, 0x37a1
call 0x505b29
add byte [0x50434833], bh
dec ecx
add esp, 4
pop edi
mov eax, dword [ebp - 0xa60]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0x9f0]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x505b4f
mov dword [ebp - 0x14cc], 1
jmp 0x505b59
mov dword [ebp - 0x14cc], 0xffffffff
mov ecx, dword [ebp - 0x14cc]
mov dword [ebp - 0xc14], ecx
jmp 0x505bcb
push esi
push esi
add esp, 4
call 0x505b78
add byte [edi + 0x40], al
cmp byte [edx], dh
dec eax
xor al, 0x83
les eax, [ecx + eax*4]
mul bh
sbb byte [eax], al
add byte [ecx + 0x62cbc6], al
add al, ch
or dword [eax], eax
add byte [eax], al
add byte [ebp + 0x36], cl
dec ecx
inc ecx
dec ebp
dec esi
cmp al, 0x47
add esp, 4
pop esi
mov edx, dword [ebp - 0xc10]
sub edx, 1
mov dword [ebp - 0xc10], edx
mov eax, dword [ebp - 0xa60]
add eax, 1
mov dword [ebp - 0xa60], eax
mov ecx, dword [ebp - 0x9f0]
add ecx, 1
mov dword [ebp - 0x9f0], ecx
jmp 0x505aa6
mov edx, dword [ebp - 0xc14]
mov dword [ebp - 0x14d0], edx
cmp dword [ebp - 0x14d0], 0
jne 0x505c20
push eax
add eax, 0x14fa5
jmp 0x505bee
pop eax
push edx
sub edx, 0x69ae
call 0x505c03
add byte [edx], bh
dec edi
aas
dec ebp
dec eax
xor eax, 0xeb04c483
add edi, dword [edx]
dec ebx
dec esi
or edx, 0x10139
pop edx
mov eax, dword [ebp - 0x4d0]
mov dword [ebp - 0xa5c], eax
jmp 0x505c61
jmp 0x50596e
Function at 0x505c53
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 4
pop eax
push eax
and eax, 0x6c51
add eax, 0x2561
pop eax
jmp 0x505c25
push ecx
push edi
add esp, 4
xor ecx, 0x118e3
jmp 0x505c37
call 0x505c43
add byte [edi], dh
cmp al, 0x4a
inc esp
dec ebp
add esp, 4
call 0x505c53
add byte [ebp + 0x4a], al
aas
xor cl, byte [eax + 0x4b]
add esp, 4
pop ecx
mov dword [ebp - 0xa5c], 0
push edx
push edi
add esp, 4
add edx, 0x174c6
or edx, 0x6a6c
xor edx, 0x1831f
pop edx
push edx
xor edx, 0x13087
pop edx
push ecx
push esi
add esp, 4
xor ecx, 0x13316
xor ecx, 0x12115
pop ecx
mov byte [ebp - 0x804], 0x45
mov byte [ebp - 0x803], 0x78
mov byte [ebp - 0x802], 0x69
mov byte [ebp - 0x801], 0x74
mov byte [ebp - 0x800], 0x50
mov byte [ebp - 0x7ff], 0x72
mov byte [ebp - 0x7fe], 0x6f
mov byte [ebp - 0x7fd], 0x63
mov byte [ebp - 0x7fc], 0x65
mov byte [ebp - 0x7fb], 0x73
mov byte [ebp - 0x7fa], 0x73
mov byte [ebp - 0x7f9], 0
push ecx
and ecx, 0xe43f
pop ecx
push esi
push ecx
add esp, 4
add esi, 0xd1aa
and esi, 0x7122
call 0x505d0f
add byte [eax + 0x39], dl
dec ebp
cmp al, 0x36
cmp byte [eax*2 + 0x4c4833c], dh
add esi, 0x4d02
pop esi
mov ecx, 0x6b
mov word [ebp - 0x1628], cx
mov edx, 0x65
mov word [ebp - 0x1626], dx
mov eax, 0x72
mov word [ebp - 0x1624], ax
mov ecx, 0x6e
mov word [ebp - 0x1622], cx
mov edx, 0x65
mov word [ebp - 0x1620], dx
mov eax, 0x6c
mov word [ebp - 0x161e], ax
mov ecx, 0x33
mov word [ebp - 0x161c], cx
mov edx, 0x32
mov word [ebp - 0x161a], dx
mov eax, 0x2e
mov word [ebp - 0x1618], ax
mov ecx, 0x64
mov word [ebp - 0x1616], cx
mov edx, 0x6c
mov word [ebp - 0x1614], dx
mov eax, 0x6c
invalid
invalid

Function at 0x50659c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop edi
mov edx, dword [ebp - 0x4d8]
mov eax, dword [edx]
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x4d8]
cmp ecx, dword [ebp - 0xc2c]
je 0x5065cc
mov edx, dword [ebp - 0x4d8]
cmp dword [edx + 0x30], 0
jne 0x506382
mov dword [ebp - 0x6ec], 0