joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446b10
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x13c]
push edi
xor edi, edi
cmp eax, edi
je 0x446b2d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x13c], edi
mov eax, dword [esp + 0xc]
push edi
push 4
push esi
push 0x446ad0
push edi
push edi
mov dword [esi + 0x44], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xb8], eax
cmp eax, edi
je 0x446b7e
push 0xffffffffffffffff
push eax
mov edi, 1
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esi + 0xb8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x4a6d48
call fcn.0040cd20
add esp, 4
mov eax, edi
pop edi
pop esi
ret 4
push 0x4a6d24
call fcn.0040cd20
add esp, 4
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x446ba0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
xor eax, eax
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 4]
xor esi, esi
push eax
push 0x20
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x446c39
lea ecx, [esp + 8]
push ecx
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x446c2e
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
neg edx
push esi
sbb edx, edx
push esi
and edx, 2
push esi
mov dword [esp + 0x28], edx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
push esi
push eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov esi, eax
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x1c
ret

Function at 0x446c70
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x240]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov ebx, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x446cf3
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x446cec
lea esp, [esp]
cmp ebx, dword [esp + 0x14]
je 0x446cdd
push 0x104
lea ecx, [esp + 0x34]
push ecx
push edi
call fcn.0045600f
add esp, 0xc
test eax, eax
je 0x446d0f
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x446cc0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00454cc7
add esp, 0x230
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
jmp 0x446cf5
Function at 0x446e00
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x64c
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x648], eax
push edi
mov edi, dword [esp + 0x654]
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0xc], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x246]
push ecx
mov word [esp + 0x248], ax
call fcn.00454ce0
add esp, 0xc
test edi, edi
je 0x446e76
cmp word [edi], 0
je 0x446e76
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x446e76
push eax
push 0x208
lea edx, [esp + 0x244]
push edx
call fcn.0040d2b0
xor eax, eax
cmp ax, word [esp + 0x23c]
jne 0x446e9a
pop edi
mov ecx, dword [esp + 0x648]
xor ecx, esp
call fcn.00454cc7
add esp, 0x64c
ret 4
push esi
push 0x228
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.00454ce0
add esp, 0xc
push 0
push 2
mov dword [esp + 0x1c], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 8], esi
test esi, esi
je 0x446f99
push ebx
lea edx, [esp + 0x18]
push edx
push esi
call sub.KERNEL32.dll_Process32FirstW
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x446f95
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
lea eax, [esp + 0x248]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.004550e9
add esp, 8
test eax, eax
jne 0x446f77
mov edx, dword [esp + 0x24]
push edx
push eax
push 0x410
call ebp
mov esi, eax
test esi, esi
je 0x446f73
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x45a]
push ecx
mov word [esp + 0x45c], ax
call fcn.00454ce0
add esp, 0xc
push 0x104
lea edx, [esp + 0x454]
push edx
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push esi
call ebx
lea eax, [esp + 0x450]
push edi
push eax
call fcn.004550e9
add esp, 8
test eax, eax
jne 0x446f73
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x18], eax
jne 0x446f8c
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x446ef0
jmp 0x446f94
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
pop ebp
push esi
call ebx
pop ebx
mov ecx, dword [esp + 0x650]
mov eax, dword [esp + 0xc]
pop esi
pop edi
xor ecx, esp
call fcn.00454cc7
add esp, 0x64c
ret 4
Function at 0x446fc0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x61c
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x618], eax
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
push edi
mov edi, dword [esp + 0x628]
jne 0x447162
push ebx
xor ebx, ebx
push ebp
lea ebp, [ebx + 1]
test edi, edi
je 0x446ffb
cmp word [edi], bx
je 0x446ffb
mov ebx, ebp
call fcn.00446c50
cmp dword [esi + 8], 0
jne 0x447012
push ebp
call fcn.00446ba0
add esp, 4
mov dword [esi + 8], eax
push str.Global360SD_Setup
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x447039
cmp eax, 5
jne 0x44715d
push str._Setup_
call fcn.0040cd20
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x226]
push ecx
mov word [esp + 0x228], ax
call fcn.00454ce0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x43a]
push eax
mov word [esp + 0x43c], dx
call fcn.00454ce0
add esp, 0x1c
push 0x104
lea ecx, [esp + 0x21c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x4470ba
push eax
push 0x208
lea eax, [esp + 0x428]
push eax
call fcn.0040d2b0
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x1a]
push edx
mov word [esp + 0x1c], cx
call fcn.00454ce0
add esp, 0xc
test ebx, ebx
je 0x447147
push str.360sdinstall.exe
push edi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x218]
push ecx
lea edx, [esp + 0x14]
push edx
xor edi, edi
call fcn.004550e9
add esp, 8
test eax, eax
jne 0x447113
push 0x4a6de0
call fcn.0040cd20
add esp, 4
mov edi, ebp
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00446e00
test eax, eax
je 0x447133
push 0x4a6d90
mov dword [esi + 4], ebp
call fcn.0040cd20
add esp, 4
cmp dword [esi + 4], 0
jne 0x44715d
test edi, edi
jne 0x44715d
lea ecx, [esp + 0x420]
push ecx
jmp 0x44714f
lea edx, [esp + 0x420]
push edx
mov ecx, esi
call fcn.00446c70
test eax, eax
je 0x44715d
mov dword [esi + 4], ebp
mov dword [esi + 0xc], ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x620]
pop edi
pop esi
xor ecx, esp
call fcn.00454cc7
add esp, 0x61c
ret 4
Function at 0x448830
Capabilities:
Get common file path

Disassembly:
sub esp, 0x650
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x64c], eax
push ebp
mov ebp, dword [esp + 0x658]
push esi
xor esi, esi
cmp dword [0x4c438c], esi
je 0x448870
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.00454cc7
add esp, 0x650
ret
push 0x206
lea ecx, [esp + 0x42]
xor eax, eax
push esi
push ecx
mov word [esp + 0x48], ax
call fcn.00454ce0
add esp, 0xc
push 0x104
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x448857
push edi
push 0x206
lea ecx, [esp + 0x24e]
xor eax, eax
push esi
push ecx
mov word [esp + 0x254], ax
call fcn.00454ce0
push str.user32.dll
lea edx, [esp + 0x50]
push edx
push 0x4a1680
lea eax, [esp + 0x260]
push 0x208
push eax
call fcn.0040d340
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
add esp, 0x20
lea ecx, [esp + 0x248]
push ecx
call edi
cmp eax, esi
jne 0x44890e
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.00454cc7
add esp, 0x650
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.UpdateLayeredWindow
push eax
call ebx
mov dword [0x4c438c], eax
cmp eax, esi
jne 0x44892d
xor al, al
jmp 0x448a2a
mov dword [esp + 0x10], esi
call fcn.004130f0
test eax, eax
je 0x4489b4
lea edx, [esp + 0x10]
push edx
call fcn.00421f50
add esp, 4
test eax, eax
je 0x4489b4
cmp dword [esp + 0x10], esi
jne 0x4489b4
push 0x206
lea ecx, [esp + 0x45a]
xor eax, eax
push esi
push ecx
mov word [esp + 0x460], ax
call fcn.00454ce0
push str.dwmapi.dll
lea edx, [esp + 0x54]
push edx
push 0x4a1680
lea eax, [esp + 0x46c]
push 0x208
push eax
call fcn.0040d340
add esp, 0x20
lea ecx, [esp + 0x454]
push ecx
call edi
cmp eax, esi
je 0x4489b4
push 0x4a70d8
push eax
mov byte [0x4c0b90], 1
call ebx
mov dword [0x4c4390], eax
push 0x30
lea edx, [esp + 0x18]
push esi
push edx
mov dword [0x4c0b98], ebp
call fcn.00454ce0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
add esp, 0xc
push 0x7f00
push esi
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 3
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], esi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov ecx, dword [0x4c0b94]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 6
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], esi
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov al, 1
mov ecx, dword [esp + 0x65c]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00454cc7
add esp, 0x650
ret
Function at 0x44a960
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, ecx
test ebx, ebx
jne 0x44a97d
push ebx
push ebx
push ebx
push 2
call fcn.0044da50
pop ebp
xor al, al
pop ebx
ret 8
push edi
call fcn.0044a5e0
push 2
or eax, 0xffffffff
push 0
push ebx
mov dword [ebp + 8], eax
mov dword [ebp + 4], eax
call fcn.004582b2
push ebx
call fcn.004581ba
push 0
push 0
push ebx
mov edi, eax
call fcn.004582b2
add esp, 0x1c
test edi, edi
jg 0x44a9c6
push 0
push 0
push 0
push 0xc
mov ecx, ebp
call fcn.0044da50
pop edi
pop ebp
xor al, al
pop ebx
ret 8
lea eax, [edi + 1]
push esi
push eax
call fcn.00453fb8
push ebx
push 1
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.00458000
add esp, 0x14
cmp eax, 1
je 0x44aa08
push esi
call fcn.00453aa7
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, ebp
call fcn.0044da50
pop esi
pop edi
pop ebp
xor al, al
pop ebx
ret 8
mov byte [esi + edi], 0
cmp byte [esi], 0
mov eax, esi
mov ecx, esi
je 0x44aa31
mov dl, byte [eax]
cmp dl, 0xd
jne 0x44aa28
mov byte [ecx], 0xa
inc eax
inc ecx
cmp byte [eax], 0xa
jne 0x44aa2c
jmp 0x44aa2b
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], 0
jne 0x44aa15
mov eax, dword [esp + 0x18]
push eax
mov byte [ecx], 0
mov edx, dword [ebp]
mov edx, dword [edx + 8]
push 0
push esi
mov ecx, ebp
call edx
push esi
call fcn.00453aa7
add esp, 4
pop esi
xor eax, eax
cmp byte [ebp + 0x2c], al
pop edi
pop ebp
sete al
pop ebx
ret 8
Function at 0x44f490
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4014
call fcn.00454e50
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x4010], eax
mov eax, dword [esp + 0x4028]
push ebx
mov ebx, dword [esp + 0x4024]
push ebp
mov ebp, dword [esp + 0x402c]
push esi
mov esi, dword [esp + 0x4024]
push edi
mov edi, dword [esp + 0x402c]
xor ecx, ecx
push 0x3ffe
push ecx
lea edx, [esp + 0x2a]
push edx
mov dword [esp + 0x1c], eax
mov word [esp + 0x2c], cx
call fcn.00454ce0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x1c], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
lea ecx, [eax - 1]
cmp ecx, 0x3ffe
ja 0x44f566
lea edx, [esp + 0x20]
push edx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44f566
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x4a0e7c
lea edx, [esp + 0x2c]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x44f566
mov eax, dword [esp + 0x18]
movzx ecx, word [eax + 0xa]
mov word [edi], cx
movzx edx, word [eax + 8]
mov word [ebx], dx
movzx ecx, word [eax + 0xe]
mov word [ebp], cx
movzx edx, word [eax + 0xc]
mov eax, dword [esp + 0x10]
mov word [eax], dx
mov eax, 1
jmp 0x44f568
xor eax, eax
mov ecx, dword [esp + 0x4020]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00454cc7
add esp, 0x4014
ret
Function at 0x450d60
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x49f120
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4c1bd8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea eax, [esp + 0x20]
xor esi, esi
push eax
mov dword [esp + 0x24], esi
call fcn.00419340
push str.360base.dll
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x3c], esi
call fcn.00416660
add esp, 0x10
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edi, 0xffffffff
mov byte [esp + 0x2c], 2
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x450dd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x450e6e
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.0044f490
add esp, 0x14
test eax, eax
je 0x450e6e
cmp word [esp + 0x10], 1
ja 0x450e3d
cmp word [esp + 0x14], si
ja 0x450e3d
cmp word [esp + 0x18], si
ja 0x450e3d
mov ecx, 0x3eb
cmp word [esp + 0x1c], cx
jb 0x450e6e
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.0040d530
mov esi, dword [esp + 0x38]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x2c], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
jmp 0x450f14
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.0041b1c0
push 0x4a7d38
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x40], 3
call fcn.00416660
add esp, 0x14
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 4
call fcn.0040e240
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 3
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450ec4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 2
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x450ee8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.0040d530
mov esi, dword [esp + 0x38]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x2c], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x450f22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret
Function at 0x45370e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4c452c], 0
push esi
jne 0x45367c
call fcn.00453590
test eax, eax
je 0x4536bf
mov eax, dword [0x4c452c]
cmp eax, 1
jne 0x45369d
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4536bf
pop esi
ret
push eax
call dword [0x4c4534]
test eax, eax
jne 0x453707
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4536c3
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4c452c]
call dword [0x4c4534]
mov edi, eax
test edi, edi
je 0x4536e8
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x453704
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4c452c]
call dword [0x4c4530]
add edi, 0x10
cmp edi, esi
jb 0x4536f0
mov eax, edi
pop edi
pop esi
ret
jmp 0x453669

Function at 0x454cc7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c1bd8]
jne 0x454cd1
repz ret
jmp fcn.0045e64c

Function at 0x477eb3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004599fa
and dword [ebp - 4], 0
cmp dword [0x4c514c], 0
mov ebx, eax
jne 0x477f64
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x478015
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x478015
push eax
call fcn.00459988
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4c514c], eax
call esi
push eax
call fcn.00459988
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4c5150], eax
call esi
push eax
call fcn.00459988
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4c5154], eax
call esi
push eax
call fcn.00459988
pop ecx
mov dword [0x4c515c], eax
test eax, eax
je 0x477f64
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00459988
pop ecx
mov dword [0x4c5158], eax
mov eax, dword [0x4c5158]
cmp eax, ebx
je 0x477fbc
cmp dword [0x4c515c], ebx
je 0x477fbc
push eax
call fcn.00459a03
push dword [0x4c515c]
mov esi, eax
call fcn.00459a03
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x477fbc
test edi, edi
je 0x477fbc
call esi
test eax, eax
je 0x477fb3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x477fb3
test byte [ebp - 0xc], 1
jne 0x477fbc
or dword [ebp + 0x10], 0x200000
jmp 0x477ff5
mov eax, dword [0x4c5150]
cmp eax, ebx
je 0x477ff5
push eax
call fcn.00459a03
pop ecx
test eax, eax
je 0x477ff5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x477ff5
mov eax, dword [0x4c5154]
cmp eax, ebx
je 0x477ff5
push eax
call fcn.00459a03
pop ecx
test eax, eax
je 0x477ff5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c514c]
call fcn.00459a03
pop ecx
test eax, eax
je 0x478015
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x478017
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x485f40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x49f3e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c1bd8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov edi, dword [esp + 0x34]
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push edi
mov dword [esp + 0x38], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
mov dword [esp + 0x1c], ebx
cmp ebx, ebp
je 0x485ff5
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [esp + 0x18], esi
cmp esi, ebp
je 0x485fea
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 1
push eax
push ebp
call fcn.00486610
add esp, 0xc
test eax, eax
je 0x485fea
mov ecx, dword [esp + 0x14]
push eax
mov dword [ecx + 4], 1
call fcn.00485110
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
jmp 0x485ff7
test esi, esi
je 0x485ff5
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc
Function at 0x489af0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x10
push ebx
mov bl, byte [edx + 8]
cmp bl, 3
je 0x489c9a
mov ecx, dword [esp + 0x20]
push ebp
mov ebp, dword [edx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x24], esi
test bl, 2
je 0x489b48
movzx eax, byte [edx + 9]
movzx esi, byte [ecx]
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 1]
mov dword [esp + 0x10], edi
mov edi, eax
sub edi, esi
movzx esi, byte [ecx + 2]
sub eax, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov edi, 3
jmp 0x489b5b
movzx eax, byte [ecx + 3]
movzx edi, byte [edx + 9]
sub edi, eax
mov dword [esp + 0x10], edi
mov edi, 1
test bl, 4
je 0x489b6f
movzx ecx, byte [ecx + 4]
movzx eax, byte [edx + 9]
sub eax, ecx
mov dword [esp + edi*4 + 0x10], eax
inc edi
xor ecx, ecx
xor eax, eax
cmp edi, ecx
jle case.0x489bb6.3
jmp 0x489b80
cmp dword [esp + eax*4 + 0x10], ecx
jg 0x489b8c
mov dword [esp + eax*4 + 0x10], ecx
jmp 0x489b91
mov esi, 1
inc eax
cmp eax, edi
jl 0x489b80
cmp si, cx
je case.0x489bb6.3
movzx eax, byte [edx + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x489bb6.3
movzx eax, byte [eax + 0x489cb4]
jmp dword [eax*4 + 0x489ca0]
mov edx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp edx, ecx
jbe case.0x489bb6.3
lea esp, [esp]
mov cl, byte [eax]
shr cl, 1
and cl, 0x55
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x489bd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, dword [edx + 4]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov ecx, edx
mov eax, 0xf0
sar eax, cl
mov ebx, 0xf
sar ebx, cl
and al, 0xf0
or al, bl
test edi, edi
jbe case.0x489bb6.3
mov edi, edi
mov bl, byte [esi]
mov cl, dl
shr bl, cl
inc esi
and bl, al
sub edi, 1
mov byte [esi - 1], bl
jne 0x489c10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x489bb6.3
mov eax, ebx
xor edx, edx
div edi
inc ebx
inc esi
mov cl, byte [esp + edx*4 + 0x10]
shr byte [esi - 1], cl
cmp ebx, ebp
jb 0x489c36
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [esp + 0x28]
imul ebp, edi
xor ebx, ebx
test ebp, ebp
jbe case.0x489bb6.3
mov edi, edi
xor edx, edx
mov eax, ebx
div edi
movzx ax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
inc esi
inc ebx
inc esi
movzx ecx, word [esp + edx*4 + 0x10]
shr ax, cl
movzx eax, ax
mov edx, eax
shr edx, 8
mov byte [esi - 2], dl
mov byte [esi - 1], al
cmp ebx, ebp
jb 0x489c60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret