joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e6d08
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5e6eb3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5e6e94
mov dl, 1
mov eax, dword [0x47a134]
call fcn.0049f1c4
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00408748
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5e6e83
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00520a64
test al, al
je 0x5e6e76
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5e6ec4
lea eax, [ebp - 0x394]
call fcn.004235ec
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x5e6e76
xor eax, eax
push ebp
push 0x5e6e6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x5e6f34
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5e6e58
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004097a4
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5e6e58
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004097a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e6e76
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5e6d79
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0049f114
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e6eba
lea eax, [ebp - 0x3a0]
call fcn.00408748
ret

Function at 0x5e7a60
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x9f882c]
cmp byte [eax + 0xc5], 0
jne 0x5e7ad2
cmp dword [0x9f8850], 0
jne 0x5e7a92
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x9c05e8]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x9f8850], eax
cmp dword [0x9f884c], 0
jne 0x5e7aad
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x9f884c], eax
cmp dword [0x9f8854], 0
jne 0x5e7ad2
push esp
push 0
push 0
mov eax, dword [0x9c05e4]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x9f8854], eax
pop edx
ret
Function at 0x5e7ea4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5e7ebb
add esp, 0xfffffff0
call fcn.00406f54
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004ac350
mov eax, dword [0x9f1a18]
cmp byte [eax], 0
jne 0x5e7ee8
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x9f1f54]
cmp word [eax + 2], 0
jne 0x5e7f02
mov eax, dword [0x9f1f54]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005ea13c
mov eax, dword [0x9f2128]
cmp word [eax + 2], 0
jne 0x5e7f1c
mov eax, dword [0x9f2128]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005ea340
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4e2964]
call fcn.004e8dcc
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5ea7bc
mov dl, 1
mov eax, dword [0x4767c4]
call fcn.004069b4
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x4767c4]
call fcn.004069b4
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4e76b4]
call fcn.004f21d8
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5e8104
mov eax, dword [0x9f1d20]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004f25d4
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5eaa7c
mov dl, 1
mov eax, dword [0x4767c4]
call fcn.004069b4
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x9f1d20]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004233ec
test eax, eax
je 0x5e8036
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004231c8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004233d0
test eax, eax
je 0x5e804e
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004097a4
push ebx
push 0x5e9b18
call fcn.005ddb70
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x9f1a18]
cmp byte [eax], 0
jne 0x5e809f
mov eax, ebx
call fcn.005e82e8
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005eacb4
mov eax, ebx
call fcn.005eb920
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5e80fc
call fcn.00406fac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5e862c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5e86ce
cmp dword [ebx + 0xac], 0
jne 0x5e86c8
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5e8568
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5e86c8
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_GetWindowLongW
test al, 8
je 0x5e868e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5e86c8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0xa8]
call fcn.0049ad60
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5e869d
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5e890c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x9f882c]
cmp dword [eax + 0x188], 0
je 0x5e8a86
test bl, bl
jne 0x5e89d1
cmp dword [esi + 0xb4], 0
jne 0x5e89c6
mov eax, esi
call fcn.005eb770
push eax
push 0x5e8800
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5e8997
mov eax, dword [0x9f882c]
cmp byte [eax + 0xeb], 0
je 0x5e8997
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x5e8978
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5e8997
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5e8980
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5e89c6
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.0049ad60
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5e89a6
inc dword [esi + 0xb4]
jmp 0x5e8a86
cmp dword [esi + 0xb4], 0
jle 0x5e8a86
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5e8a86
cmp dword [esi + 0x58], 0
je 0x5e8a3b
mov eax, dword [0x9f882c]
cmp byte [eax + 0xeb], 0
je 0x5e8a3b
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5e8a1c
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5e8a3b
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5e8a24
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5e8a6a
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.0049ad60
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5e8a4a
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5da2c0]
call fcn.0040af70
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5e96a4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5e9701
cmp byte [ebx + 0xeb], 0
jne 0x5e9701
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004088d0
mov eax, dword [esi]
test eax, eax
je 0x5e96ee
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5e970e
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00408b28
jmp 0x5e970e
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00408b28
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5eae9c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5eaf0d
mov eax, esi
call fcn.0051a804
test al, al
je 0x5eaf0d
mov eax, dword [ebx + 0x98]
call fcn.0051a434
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5eaf0d
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x114]
test al, al
je 0x5eaefe
push 0
mov eax, dword [ebx + 0x98]
call fcn.0051a434
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x98]
call fcn.005114ac
jmp 0x5eaf0d
mov cl, 1
mov edx, dword [ebx + 0x88]
mov eax, ebx
call fcn.005eacd4
pop esi
pop ebx
ret
Function at 0x5fa5a8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdac
push ebx
xor edx, edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040882c
xor eax, eax
push ebp
push 0x5fa769
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
call sub.kernel32.dll_GetCurrentProcessId
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x248]
mov eax, dword [ebp - 4]
call fcn.00422e74
cmp dword [ebp - 0x248], 0
jne 0x5fa627
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 4]
call fcn.00423050
mov edx, dword [ebp - 0x24c]
lea eax, [ebp - 4]
call fcn.00408b70
xor edx, edx
mov eax, 2
call fcn.004c5a38
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5fa737
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x244], 0x22c
lea edx, [ebp - 0x244]
mov eax, dword [ebp - 0x10]
call fcn.004c5a58
test eax, eax
je 0x5fa720
mov ebx, dword [ebp - 0x22c]
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x23c]
call fcn.004c5d3c
cmp ebx, dword [ebp - 0x18]
jne 0x5fa70a
lea edx, [ebp - 0x250]
mov eax, dword [ebp - 8]
call fcn.0042117c
mov eax, dword [ebp - 0x250]
push eax
lea edx, [ebp - 0x254]
mov eax, dword [ebp - 4]
call fcn.0042117c
mov edx, dword [ebp - 0x254]
pop eax
call fcn.00409aec
jne 0x5fa70a
mov eax, dword [ebp - 0x23c]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5fa70a
xor eax, eax
push ebp
push 0x5fa703
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x5fa6ec
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fa70a
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
lea edx, [ebp - 0x244]
mov eax, dword [ebp - 0x10]
call fcn.004c5a78
test eax, eax
jne 0x5fa664
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fa73e
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
Function at 0x5fec30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
xor ecx, ecx
mov dword [ebp - 0x210], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040882c
xor eax, eax
push ebp
push 0x5fecde
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20c]
xor ecx, ecx
mov edx, 0x208
call fcn.00405c80
lea eax, [ebp - 0x20c]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.004097a4
cmp dword [ebp - 0x210], 0
je 0x5fecb3
mov eax, ebx
lea edx, [ebp - 0x20c]
mov ecx, 0x104
call fcn.004097a4
jmp 0x5fecbd
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408b28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push DeferWindowPos
lea eax, [ebp - 0x210]
call fcn.00408748
lea eax, [ebp - 4]
call fcn.00408748
ret

Function at 0x6004b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, eax
push 0
push 0x80
push 3
push 0
push 7
push 0
mov eax, ebx
call fcn.004096e8
push eax
call sub.kernel32.dll_CreateFileW_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x6004ee
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
jmp 0x60052a
xor eax, eax
push ebp
push 0x600523
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetFileSize_1
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push SHGetFileInfoW
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x600798
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov eax, esi
call fcn.00600838
xor ebx, ebx
mov eax, edi
call fcn.004096e8
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x600831
mov byte [esi], 1
mov bl, 1
test al, 1
setne dl
mov byte [esi + 1], dl
test al, 2
setne dl
mov byte [esi + 2], dl
test al, 4
setne dl
mov byte [esi + 3], dl
test al, 8
setne dl
mov byte [esi + 4], dl
test al, 0x10
setne dl
mov byte [esi + 5], dl
test al, 0x20
setne dl
mov byte [esi + 6], dl
test al, 0x80
setne dl
mov byte [esi + 7], dl
test ah, 1
setne dl
mov byte [esi + 8], dl
test ah, 4
setne dl
mov byte [esi + 9], dl
test ah, 8
setne dl
mov byte [esi + 0xa], dl
test ah, 0x40
setne dl
mov byte [esi + 0xb], dl
test eax, 0x10000
setne dl
mov byte [esi + 0xc], dl
test eax, 0x1ff
setne al
mov byte [esi + 0xd], al
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x600ad4
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xffffffc4
mov ebx, edx
mov dword [esp], 0x3c
mov dword [esp + 4], 0x44c
mov dword [esp + 8], eax
mov eax, 0x600b30
mov dword [esp + 0xc], eax
mov eax, ebx
call fcn.004096e8
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x24], eax
push esp
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x3c
pop ebx
ret

Function at 0x600b48
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004096e8
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x600b61
test al, 0x10
jne 0x600b65
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x60e0e4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x9f8c9c], 0
jne 0x60e0fb
call fcn.0060e0a0
mov eax, edi
dec eax
test eax, eax
jl 0x60e123
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x9f889c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x60e105
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x610dd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x610e6a.0
jmp dword [ecx*4 + 0x610e03]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x610e35
sub dl, 8
je 0x610e44
jmp case.0x610e6a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x610a9c
jmp case.0x610e6a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x610af0
jmp case.0x610e6a.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x610e6a.0
movzx ecx, byte [ecx + 0x610e71]
jmp dword [ecx*4 + 0x610e82]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x610b90
jmp case.0x610e6a.0
cmp dl, 3
jne 0x610eaf
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x610be8
jmp case.0x610e6a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x610ba4
jmp case.0x610e6a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x610c2c
jmp case.0x610e6a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x610eda
sub dl, 8
je 0x610ee6
jmp case.0x610e6a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x610c58
jmp case.0x610e6a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x610cbc
jmp case.0x610e6a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x610f05
sub dl, 8
je 0x610f11
jmp case.0x610e6a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x610d6c
jmp case.0x610e6a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x610d94
mov ecx, dword [eax + 0x468]
mov edx, dword [ebx + 0x1c]
dec edx
imul ecx, edx
mov esi, ecx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add ecx, dword [eax + 0x44c]
mov dword [ebp - 0x10], ecx
mov esi, edx
test esi, esi
jb 0x610fb3
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0060ffe4
test eax, eax
je 0x610fb3
mov eax, ebx
call fcn.00610fbc
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x610f4c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x610fbc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x610fed
dec al
je 0x611028
dec al
je 0x611065
dec al
je 0x6110ce
jmp 0x611158
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x611158
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x610ffd
jmp 0x611158
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x611158
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov ecx, eax
xor cl, 1
and ecx, 0x7f
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ecx, byte [ecx + esi]
movzx edx, al
mov edx, dword [ebx + edx*4 + 0x40]
add cl, byte [edx + esi]
and cl, 0xff
mov byte [edx + esi], cl
inc esi
dec edi
jne 0x611038
jmp 0x611158
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x611158
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x611094
xor ebp, ebp
jmp 0x6110a4
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x6110ad
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x611075
jmp 0x611158
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x611158
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x611127
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0060e12c
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x6110e2
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x63168c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [ebp - 0x104], 2
jne 0x6316cf
cmp dword [ebp - 0x110], 5
ja 0x6316d3
cmp dword [ebp - 0x110], 5
jne 0x6316cf
cmp dword [ebp - 0x10c], 1
jae 0x6316d3
xor eax, eax
jmp 0x6316d5
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x633314
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
xor ebx, ebx
lea eax, [esi + 4]
mov edx, dword [ebp - 8]
call fcn.00408b28
cmp edi, dword [ebp - 4]
je 0x633394
mov dword [esi + 0x10], edi
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
inc dword [ebp - 0x14]
mov eax, 5
lea edx, [esi + 8]
mov ecx, dword [ebp - 0x10]
xchg ecx, eax
call fcn.004050e4
lea eax, [ebp - 0xc]
push eax
push 0x40
push 0x10
push edi
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x633394
mov eax, dword [ebp - 0x10]
mov byte [eax], 0xe9
mov eax, dword [ebp - 4]
sub eax, edi
sub eax, 5
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x10
push edi
call sub.kernel32.dll_VirtualProtect
mov bl, 1
test bl, bl
jne 0x63339d
xor eax, eax
mov dword [esi + 0x10], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x633b94
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov esi, eax
xor ebx, ebx
push esp
push 0x40
push 0x10
mov eax, dword [esi + 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x633bd0
mov edx, dword [esi + 0x10]
lea eax, [esi + 8]
mov ecx, 5
call fcn.004050e4
push esp
mov eax, dword [esp + 4]
push eax
push 0x10
mov eax, dword [esi + 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
mov bl, 1
mov eax, ebx
pop edx
pop esi
pop ebx
ret