joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ce90
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x455bb8]
cmp dword [eax + 0x30], 0
je 0x44cf3a
cmp dword [ebx + 0x94], 0
jne 0x44cf34
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44ce20
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44cf34
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44cefa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44cf34
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413e2c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44cf09
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44da9c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44dad1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404080
jmp 0x44dade
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fe4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44ebd8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44ec19
mov eax, esi
call fcn.004354fc
test al, al
je 0x44ec19
mov eax, dword [ebx + 0x84]
call fcn.00435224
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44ec19
push 0
mov eax, dword [ebx + 0x84]
call fcn.00435224
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44facc
Capabilities:
Terminate process

Disassembly:
push eax
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
push 4
push eax
call sub.KERNEL32.DLL_TerminateProcess
ret

Function at 0x44fae0
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffe8
push 0
push 2
call sub.user32.dll_ExitWindowsEx
test eax, eax
jne 0x44fb4a
push esp
push 0x28
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x44fb4a
lea eax, [esp + 0xc]
push eax
push 0x44fb50
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
test eax, eax
je 0x44fb4a
push 0
push 2
call sub.user32.dll_ExitWindowsEx
add esp, 0x18
ret
Function at 0x44fb64
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44fbd5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403f90
lea eax, [ebp - 0x100]
push eax
push pe_nt_image_headers32
call sub.KERNEL32.DLL_GetTempPathA
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x100]
call fcn.00408890
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.0040c418
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fbdc
lea eax, [ebp - 0x104]
call fcn.00403f90
ret

Function at 0x44fbe4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x160], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44fd48
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x44fd60
lea eax, [ebp - 0x15c]
mov edx, ebx
call fcn.004041f4
push dword [ebp - 0x15c]
push 0x44fd6c
lea eax, [ebp - 0x160]
mov edx, esi
call fcn.004041f4
push dword [ebp - 0x160]
lea eax, [ebp - 0x158]
mov edx, 4
call fcn.00404310
mov edx, dword [ebp - 0x158]
lea eax, [ebp - 0x154]
mov ecx, 0xff
call fcn.0040422c
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x44
call fcn.00402c74
mov dword [ebp - 0x44], 0x44
mov dword [ebp - 0x18], 1
mov word [ebp - 0x14], di
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x168]
mov edx, ebx
call fcn.004041f4
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.0040851c
mov eax, dword [ebp - 0x164]
call fcn.00404450
push eax
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0x154]
call fcn.004041f4
mov eax, dword [ebp - 0x16c]
call fcn.00404450
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
test bl, bl
je 0x44fd2a
push 0xffffffffffffffff
mov eax, dword [ebp - 0x54]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
mov eax, dword [ebp - 0x54]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x50]
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fd4f
lea eax, [ebp - 0x16c]
mov edx, 6
call fcn.00403fb4
ret
Function at 0x4a4138
Capabilities:
Check for time delay via gettickcount
Create process on windows

Disassembly:
push ebx
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
push str.cmd__c_echo_hi
call sub.KERNEL32.DLL_WinExec
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x32
jb 0x4a415c
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret
Function at 0x4d04ec
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d058a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x4d054e
cmp byte [ebx + 0x10], 0
jne 0x4d054e
cmp byte [ebx + 0x3c], 0
jne 0x4d054e
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 0x4d056f
lea edx, [ebp - 4]
mov eax, dword [0x5f9e10]
call fcn.005129fc
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4c07d4]
call fcn.004f86d4
call fcn.0050e910
jmp 0x4d056f
lea edx, [ebp - 8]
mov eax, dword [0x5f9e10]
call fcn.005129fc
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4c07d4]
call fcn.004f86d4
call fcn.0050e910
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0591
lea eax, [ebp - 8]
mov edx, 2
call fcn.0050f198
ret

Function at 0x4d0e98
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 0x4d0ee6
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.004d0438
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d0eff
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4d0f08
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.004d0438
dec esi
jne 0x4d0f2a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x4d28e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5fb008
cmp dword [edi], 0
jne 0x4d295c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x5fb004]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5f3138
mov ecx, 2
call fcn.0050cda0
mov edx, 0x4d28b8
lea eax, [esi + 5]
call fcn.004d28d8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004d28d8
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 0x4d2931
mov dword [0x5fb004], 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 0x4d5e10
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 0x4d5f8b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0050f540
mov eax, dword [ebp - 4]
call fcn.004d5770
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x4d5e62
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00510204
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.004d6a04
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4d5f41
xor eax, eax
push ebp
push 0x4d5f3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004d5a10
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004d5fc0
test al, al
je 0x4d5f18
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0050f2a0
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4d5f18
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.0050fdf8
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.004d5970
test al, al
je 0x4d5f12
mov eax, dword [ebp - 8]
call fcn.0050fdf8
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0050fe48
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.004d5e10
dec ebx
cmp ebx, 0xffffffff
jne 0x4d5ec1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5f41
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004d5a10
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.0050fdf8
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.004d59fc
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.004d5970
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5f92
lea eax, [ebp - 0x3c]
call fcn.0050f138
lea eax, [ebp - 8]
mov edx, 2
call fcn.0050f198
ret

Function at 0x4d68e0
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.004d5788
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.0050fdf8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.004d5970
test al, al
jne 0x4d6948
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5f9de4]
mov dl, 1
mov eax, dword [0x4d4594]
call fcn.004f88d8
call fcn.0050e910
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d6954
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.0050fdf8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.004d5970
test al, al
jne 0x4d69b5
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5f9de0]
mov dl, 1
mov eax, dword [0x4d4594]
call fcn.004f88d8
call fcn.0050e910
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004d57b8
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 0x4d6fb4
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 0x4d70dc
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.004d5a10
xor eax, eax
push ebp
push 0x4d70b7
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.004d5fc0
test al, al
je 0x4d709b
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004d6e94
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0050f2a0
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4d709b
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.0050fdf8
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.004d5970
test al, al
je 0x4d7097
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0050fdf8
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0050fe48
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004d6e94
pop ecx
inc edi
dec ebx
jne 0x4d703f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d70be
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.004d5a10
ret
Function at 0x4f8584
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 0x4f86a9
push dword fs:[ecx]
mov dword fs:[ecx], esp
push pe_nt_image_headers32
lea ecx, [ebp - 0x888]
call fcn.004f8394
mov esi, eax
mov eax, dword [0x5fa034]
cmp byte [eax], 0
je 0x4f8651
mov eax, dword [0x5fa040]
call fcn.0050d104
call fcn.0050cd50
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 [0x4f855c]
call fcn.00510fc8
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 0x4f86c4
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x4f868d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5f9e94]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5fa334]
call fcn.005110bc
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 0x4f86b0
lea eax, [ebp - 4]
mov edx, dword [0x4f855c]
call fcn.00510fd4
ret

Function at 0x4f9704
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 0x4f97da
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0050f540
lea eax, [ebp - 4]
call fcn.0050f6a8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0050fdf8
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4f97c4
mov eax, ebx
call fcn.0050cb4c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4f97bd
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.0050fdf8
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x4f97a7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4f97ec
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x4f97a7
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 0x4f97c4
mov eax, dword [ebp - 0x10]
call fcn.0050cb68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f97e1
lea eax, [ebp - 4]
call fcn.0050f138
ret
Function at 0x4fa1bc
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.0050f5e8
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00512a90
mov edi, eax
cmp edi, 0x104
jbe 0x4fa167
mov eax, edi
add eax, eax
call fcn.0050cb4c
mov esi, eax
jmp 0x4fa169
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00512a90
push esi
call sub.USER32.DLL_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4fa1a2
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 0x4fa18c
mov eax, esp
cmp esi, eax
je 0x4fa1af
mov eax, esi
call fcn.0050cb68
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 0x4fa1e8
cmp bl, 0
je 0x4fa1e4
cmp bl, 0x41
jl 0x4fa1df
cmp bl, 0x5a
jg 0x4fa1df
or bl, 0x20
xor al, bl
inc esi
jmp 0x4fa1c3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4fa128

Function at 0x4faa1c
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push pe_nt_image_headers32
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.0050fe9c
add esp, 0x800
pop ebx
ret
Function at 0x50df6c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.0050e358
mov byte [esp], al
cmp byte [esp], 0
jne 0x50e0f5
test edi, edi
je 0x50e0f5
mov byte [esp + 1], 0
test ebp, ebp
jle 0x50e02c
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x50e007
cmp edi, 0xffffffff
je 0x50dfcb
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x50dfcb
mov byte [esp], 0
jmp 0x50e0f5
mov ebx, dword [esi]
cmp ebx, 1
jg 0x50e007
test ebx, ebx
jne 0x50e000
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.0050af0c
test eax, eax
jne 0x50e000
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x50e0f5
pause
dec ebp
test ebp, ebp
jg 0x50dfb0
cmp edi, 0xffffffff
je 0x50e02c
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x50e02a
mov byte [esp], 0
jmp 0x50e0f5
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x50df7a
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.0050af0c
cmp ebx, eax
jne 0x50e02c
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.0050e168
mov edx, eax
mov ebx, dword [0x5fdc70]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x50e093
call sub.KERNEL32.DLL_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x50e091
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x50e093
xor edi, edi
cmp byte [esp], 0
je 0x50e0bc
mov ebx, dword [esi]
test bl, 1
jne 0x50e0d5
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.0050af0c
cmp ebx, eax
jne 0x50e099
mov byte [esp + 1], 1
jmp 0x50e0d5
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.0050af0c
cmp ebx, eax
jne 0x50e0bc
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x50e046
cmp byte [esp], 0
je 0x50e0f5
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x50ed9c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5fd3f8], 0
je 0x50edfd
cmp word [0x5fd6d4], 0xd7b2
jne 0x50edc5
cmp dword [0x5fd6dc], 0
jbe 0x50edc5
mov eax, 0x5fd6d0
call dword [0x5fd6ec]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x50ee28
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x5f3788], 0
jne 0x50ee19
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x50eff4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x5f3758], 0
je 0x50f01f
mov edx, edi
mov eax, esi
call dword [0x5f3758]
mov ebx, eax
jmp 0x50f030
mov eax, 8
call fcn.0050cb4c
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x5fd3f9], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x50efbc
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_CreateThread
mov esi, eax
test esi, esi
jne 0x50f065
mov edx, 8
mov eax, ebx
call fcn.0050cb68
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x511578
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5116dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0050f138
cmp si, word [0x5f3f48]
jb 0x511610
cmp si, word [0x5f4148]
ja 0x511610
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x511610
mov ebx, dword [ebp - 8]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x5f3f48]
jae 0x5115ea
mov edi, ebx
dec edi
jmp 0x51160b
cmp si, word [ebx*8 + 0x5f3f48]
jbe 0x5115fa
inc ebx
mov dword [ebp - 8], ebx
jmp 0x51160b
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x5f3f4c]
call fcn.00511488
jmp 0x511610
cmp edi, dword [ebp - 8]
jae 0x5115d4
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x5116bf
push 2
movzx eax, si
push eax
call sub.KERNEL32.DLL_IsValidLocale
test eax, eax
je 0x5116bf
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0050fe9c
push dword [ebp - 0x160]
push 0x5116f8
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0050fe9c
push dword [ebp - 0x164]
push 0x511708
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0050fe9c
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.005100d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5116e4
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0050f198
ret