joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ec24
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4c2b80]
cmp byte [eax + 0xa5], 0
jne 0x45ec95
cmp dword [0x4c2b98], 0
jne 0x45ec56
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45ebe0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c2b98], eax
cmp dword [0x4c2b94], 0
jne 0x45ec71
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4c2b94], eax
cmp dword [0x4c2b9c], 0
jne 0x45ec95
push esp
push 0
push 0
push 0x45eb84
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4c2b9c], eax
pop edx
ret

Function at 0x45f328
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c2b80]
cmp dword [eax + 0x30], 0
je 0x45f3d2
cmp dword [ebx + 0x94], 0
jne 0x45f3cc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45f2b8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45f3cc
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 0x45f392
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45f3cc
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.0041a048
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45f3a1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45ff30
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 0x45ff65
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.00404790
jmp 0x45ff72
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046f4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46112c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46116d
mov eax, esi
call fcn.00447300
test al, al
je 0x46116d
mov eax, dword [ebx + 0x84]
call fcn.00446ffc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46116d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00446ffc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x462a60
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416c50]
call fcn.0040506c
xor eax, eax
push ebp
push 0x462ba4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4bdf90], 0
jne 0x462ab3
mov ecx, dword [0x4c1464]
mov dl, 1
mov eax, dword [0x407d10]
call fcn.0040ca68
call fcn.00404014
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403238
mov eax, ebx
call fcn.00404f18
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x462bb4
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004061c0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404f28
test eax, eax
jle 0x462b4b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x462b44
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404928
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404910
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408bf4
test eax, eax
jne 0x462b44
mov ebx, 0x15
jmp 0x462b50
mov ebx, 0x10
jmp 0x462b50
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4bdf90]
call fcn.004628d8
mov eax, dword [ebp - 8]
call fcn.004628d8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004061d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462bab
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004046c4
lea eax, [ebp - 0x10]
mov edx, dword [0x416c50]
call fcn.0040513c
ret
Function at 0x466a24
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x466c04
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.0046a678
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4bf0e0], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4bf0e4], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4bf0e8], eax
mov eax, dword [0x4c1e70]
cmp dword [eax], 2
sete byte [0x4be9c4]
push 0x466c10
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0046a0b8
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x4be9c4], 0
jne 0x466ab3
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0046a1fc
test al, al
je 0x466ab3
mov eax, dword [ebp - 0x4c]
mov dword [0x4c2bf0], eax
jmp 0x466aba
xor eax, eax
mov dword [0x4c2bf0], eax
call fcn.0046675c
and eax, 0x7f
cmp eax, 0x12
ja case.0x466acb.0
jmp dword [eax*4 + 0x466ad2]
mov byte [0x4be9b0], 1
jmp case.0x466acb.0
mov byte [0x4be9b4], 1
jmp case.0x466acb.0
mov byte [0x4be9b8], 1
jmp case.0x466acb.0
mov byte [0x4be9bc], 1
jmp case.0x466acb.0
mov byte [0x4be9c0], 1
jmp case.0x466acb.0
mov byte [0x4be9c8], 1
mov byte [0x4be9cc], 1
jmp case.0x466acb.0
mov byte [0x4be9c8], 1
mov byte [0x4be9d0], 1
jmp case.0x466acb.0
mov byte [0x4be9c8], 1
mov byte [0x4be9d0], 1
mov byte [0x4be9d4], 1
jmp case.0x466acb.0
mov byte [0x4be9d8], 1
jmp case.0x466acb.0
mov byte [0x4be9dc], 1
jmp case.0x466acb.0
mov byte [0x4be9e0], 1
jmp case.0x466acb.0
mov byte [0x4be9e4], 1
jmp case.0x466acb.0
mov byte [0x4be9e8], 1
jmp case.0x466acb.0
mov byte [0x4be9ec], 1
jmp case.0x466acb.0
mov byte [0x4be9f0], 1
jmp case.0x466acb.0
mov byte [0x4be9f4], 1
jmp case.0x466acb.0
mov byte [0x4be9f8], 1
jmp case.0x466acb.0
mov byte [0x4be9fc], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466c0b
lea eax, [ebp - 4]
call fcn.004046a0
ret

Function at 0x4686ec
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x468750
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404910
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409058
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468757
lea eax, [ebp - 0xc]
call fcn.004046a0
ret
Function at 0x4693ac
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x4693c1
add esp, 0xfffffff0
call fcn.00403bac
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00403804
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.004046f4
mov eax, esi
call fcn.00404b60
push eax
xor eax, eax
mov al, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexA
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x469416
mov ecx, dword [0x4c1cb4]
mov dl, 1
mov eax, dword [0x469184]
call fcn.004623b4
call fcn.00404014
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46943d
call fcn.00403c04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x46a1fc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x46a2b2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404b60
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x46a29c
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404cec
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404b60
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x46a29c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x46a2c4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46a29c
cmp dword [ebp - 8], 0x34
jne 0x46a29c
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a2b9
lea eax, [ebp - 0x10]
call fcn.004046a0
ret
Function at 0x47ed58
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47ed86
mov eax, ebx
call fcn.0047f80c
cmp dword [ebx + 0x40], 0
je 0x47ed7f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47edf7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47ede9
cmp dword [ebx + 8], 0
je 0x47eda8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x47edba
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47ede9
cmp dword [ebx + 8], 0
je 0x47ed9b
cmp eax, 3
je 0x47edcd
dec eax
jne 0x47ed9b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47ed9b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47ed9b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47ee15
cmp dword [ebx + 0x14], 0xcc
je 0x47ee15
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047ee20
pop ebx
ret
Function at 0x493ca4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov dl, 1
mov eax, dword [0x4254e0]
call fcn.0042b8b8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x493e77
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x54]
cmp dword [eax + 8], 0
jle 0x493e56
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0042cce4
mov eax, dword [ebp - 8]
call fcn.0042be88
mov eax, dword [eax + 0x14]
mov edx, esi
call fcn.00426c7c
cmp byte [ebp + 8], 0
je 0x493d3e
xor edx, edx
mov eax, ebx
call fcn.00492cb4
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.00492cb4
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
mov eax, ebx
call fcn.00492be4
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x493d7a
xor edx, edx
mov eax, ebx
call fcn.00492cb4
mov edx, dword [eax]
call dword [edx + 0x2c]
mov esi, eax
mov eax, ebx
call fcn.00492be4
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.00492cb4
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.004189d0
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
call fcn.0042be88
pop edx
call fcn.00427020
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.00492be4
dec eax
test eax, eax
jl 0x493e2e
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00492b88
push 0
lea eax, [ebp - 0x20]
push eax
mov edx, esi
mov eax, ebx
call fcn.00492ce0
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x20]
imul esi
xor edx, edx
mov dl, byte [ebp + 8]
imul edx
push eax
mov edx, esi
mov eax, ebx
call fcn.00492ce0
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
imul esi
mov dl, byte [ebp + 8]
xor dl, 1
and edx, 0x7f
imul edx
xor ecx, ecx
pop edx
call fcn.004189a8
mov eax, dword [ebp - 8]
call fcn.0042be88
mov edx, eax
lea ecx, [ebp - 0x20]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x14]
inc esi
dec dword [ebp - 0x10]
jne 0x493dc4
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00492b88
cmp byte [ebp + 0xc], 0
je 0x493e56
movzx eax, word [ebx + 0x58]
mov edx, 0x10
call fcn.0042dec0
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00492378
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493e7e
mov eax, dword [ebp - 8]
call fcn.00403834
ret
Function at 0x4985b8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
call fcn.00498564
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x498630
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x4c4f38], eax
mov dword [ebp - 4], 0x4984f0
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x498630
xor eax, eax
push ebp
push 0x498629
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498630
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
ret
mov esp, ebp
pop ebp
ret

Function at 0x498634
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
call fcn.00498564
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4986a3
mov eax, dword [0x4c4f38]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4986a3
xor eax, eax
push ebp
push 0x49869c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4986a3
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
ret
mov esp, ebp
pop ebp
ret
Function at 0x4ae24c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4ae254
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4ae446
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4ae45c
mov eax, esi
call fcn.004ac0c4
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004046f4
lea ecx, [ebp - 0x10]
mov edx, 0x4ae470
mov eax, esi
call fcn.004ac0c4
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004046f4
lea ecx, [ebp - 0x14]
mov edx, 0x4ae488
mov eax, esi
call fcn.004ac0c4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004046f4
lea ecx, [ebp - 0x18]
mov edx, 0x4ae4a4
mov eax, esi
call fcn.004ac0c4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004046f4
lea ecx, [ebp - 0x1c]
mov edx, 0x4ae4c0
mov eax, esi
call fcn.004ac0c4
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004046f4
lea ecx, [ebp - 0x24]
mov edx, 0x4ae4d8
mov eax, esi
call fcn.004ac0c4
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408c64
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409058
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4ae4f0
mov eax, esi
call fcn.004ac0c4
mov eax, dword [ebp - 0x28]
call fcn.004a59cc
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4ae500
mov eax, esi
call fcn.004ac0c4
mov eax, dword [ebp - 0x2c]
call fcn.004a59cc
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4ae518
mov eax, esi
call fcn.004ac0c4
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409058
inc eax
je 0x4ae3e9
lea ecx, [ebp - 0x34]
mov edx, 0x4ae518
mov eax, esi
call fcn.004ac0c4
mov eax, dword [ebp - 0x34]
call fcn.0040901c
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a7d4
fstp qword [ebp - 0x3c]
wait
call fcn.0040ab44
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4ae404
lea ecx, [ebp - 0x40]
mov edx, 0x4ae518
mov eax, esi
call fcn.004ac0c4
mov eax, dword [ebp - 0x40]
call fcn.004a59cc
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4ae528
mov eax, esi
call fcn.004ac0c4
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004046f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae44d
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004046c4
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004046c4
ret
Function at 0x4b5248
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4b52a2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004b5238
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004a461c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004a421c
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b52a9
lea eax, [ebp - 4]
call fcn.004046a0
ret

Function at 0x4ba5d8
Capabilities:
Acquire debug privileges

Disassembly:
add esp, 0xffffffe8
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x4ba628
lea eax, [esp + 0xc]
push eax
push 0x4ba62c
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
add esp, 0x18
ret

Function at 0x4ba640
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x18], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b50
xor eax, eax
push ebp
push 0x4ba782
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404b60
mov ebx, eax
push ebx
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x4ba759
mov eax, dword [ebp - 0xc]
call fcn.00408958
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4ba74e
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4ba790
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
cmp dword [ebp - 0x14], 0
je 0x4ba6fa
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004076b4
mov edx, dword [ebp - 0x14]
mov dx, word [edx]
call fcn.004076a8
lea ecx, [ebp - 0x18]
mov edx, 8
call fcn.00408ff4
push 0x4ba7b4
push dword [ebp - 0x18]
push 0x4ba7d0
lea eax, [ebp - 0x11c]
mov edx, 3
call fcn.00404a20
mov edx, dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
call fcn.00409838
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4ba74e
mov edx, esi
mov eax, dword [ebp - 0x14]
call fcn.004099a8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00402b28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba789
lea eax, [ebp - 0x11c]
call fcn.004046a0
lea eax, [ebp - 0x18]
call fcn.004046a0
lea eax, [ebp - 4]
call fcn.004046a0
ret
Function at 0x4babac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
xor eax, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4bada7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x60]
call fcn.004ba438
mov edx, dword [ebp - 0x60]
mov eax, 0x4c52d0
call fcn.004046f4
lea eax, [ebp - 8]
mov ecx, 0x4badbc
mov edx, dword [0x4c52d0]
call fcn.004049ac
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 8]
call fcn.004095f4
mov eax, dword [ebp - 0x64]
mov edx, dword [0x4c52bc]
call fcn.004ba7e0
lea eax, [ebp - 0x4c]
mov dx, 0xa
call fcn.004bab80
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0x4badc4
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404b60
mov ebx, eax
push ebx
push ebx
call sub.kernel32.dll_CreateProcessA
mov ebx, dword [ebp - 0x5c]
call fcn.004ba5d8
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 8]
call fcn.004ba640
mov eax, dword [ebp - 0x68]
mov edx, 0x4badd0
call fcn.00404aac
jne 0x4bacb8
test ebx, ebx
jbe 0x4bacb8
lea eax, [ebp - 4]
push eax
push 2
push 0x4c13d4
push 0x53d3f4
push ebx
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 4]
push eax
push 2
push 0x4c13d4
push 0x53d3fc
push ebx
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 4]
push eax
push 2
push 0x4c13d4
push 0x53d407
push ebx
call sub.kernel32.dll_WriteProcessMemory
push ebx
call sub.kernel32.dll_CloseHandle
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 8]
call fcn.004ba640
mov eax, dword [ebp - 0x6c]
mov edx, 0x4bade8
call fcn.00404aac
jne 0x4bad1e
test ebx, ebx
jbe 0x4bad1e
lea eax, [ebp - 4]
push eax
push 2
push 0x4c13d4
push 0x53dd54
push ebx
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 4]
push eax
push 2
push 0x4c13d4
push 0x53dd5c
push ebx
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 4]
push eax
push 2
push 0x4c13d4
push 0x53dd67
push ebx
call sub.kernel32.dll_WriteProcessMemory
push ebx
call sub.kernel32.dll_CloseHandle
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 8]
call fcn.004ba640
mov eax, dword [ebp - 0x70]
mov edx, 0x4bae00
call fcn.00404aac
jne 0x4bad84
test ebx, ebx
jbe 0x4bad84
lea eax, [ebp - 4]
push eax
push 2
push 0x4c13d4
push 0x6e6404
push ebx
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 4]
push eax
push 2
push 0x4c13d4
push 0x6e640c
push ebx
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 4]
push eax
push 2
push 0x4c13d4
push 0x6e6417
push ebx
call sub.kernel32.dll_WriteProcessMemory
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4badae
lea eax, [ebp - 0x70]
mov edx, 5
call fcn.004046c4
lea eax, [ebp - 8]
call fcn.004046a0
ret