joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4709f0
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 [0x417df4]
call fcn.00404fb0
xor eax, eax
push ebp
push 0x470b34
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d5020], 0
jne 0x470a43
mov ecx, dword [0x4d667c]
mov dl, 1
mov eax, dword [0x407c18]
call fcn.0040daec
call fcn.00403c0c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402da8
mov eax, ebx
call fcn.00404bd8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x470b44
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.00405f58
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404be8
test eax, eax
jle 0x470adb
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 0x470ad4
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404528
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404510
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408b9c
test eax, eax
jne 0x470ad4
mov ebx, 0x15
jmp 0x470ae0
mov ebx, 0x10
jmp 0x470ae0
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 [0x4d5020]
call fcn.00470948
mov eax, dword [ebp - 8]
call fcn.00470948
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405f70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470b3b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004042b4
lea eax, [ebp - 0x10]
mov edx, dword [0x417df4]
call fcn.00405080
ret

Function at 0x4746a0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, dword [0x4d67d8]
cmp byte [eax], 0
jne 0x4746ce
mov ecx, 0xaf
mov edx, 0x474724
mov eax, 0x474760
call fcn.004041ec
mov eax, ebx
call fcn.004049ac
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
jns 0x4746ee
call fcn.00403378
test eax, eax
je 0x474716
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00404b40
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x474774
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [0x4d67d8]
cmp byte [eax], 0
jne 0x474797
mov ecx, 0xbd
mov edx, 0x4747e8
mov eax, 0x474824
call fcn.004041ec
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
mov edi, eax
mov eax, ebx
add eax, 0xffffffd0
sub ax, 0xa
jae 0x4747d7
movzx esi, bx
sub esi, 0x30
jno 0x4747bc
call fcn.00403380
add esi, 0x30
jno 0x4747c6
call fcn.00403380
cmp si, di
je 0x4747d7
push esi
call sub.user32.dll_VkKeyScanW
cmp al, bl
jne 0x4747d7
mov edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x4773c4
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 0x477438
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
call sub.kernel32.dll_GetACP
test eax, eax
jns 0x4773fd
call fcn.00403378
push eax
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404510
mov eax, dword [ebp - 0xc]
pop edx
call fcn.004093f4
mov ebx, eax
test ebx, ebx
jns 0x477422
call fcn.00403378
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47743f
lea eax, [ebp - 0xc]
call fcn.00404290
ret

Function at 0x47746c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x4774c8
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x477497
call fcn.0040f0ac
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.0040298c
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4774c8
call fcn.0040f0ac
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x477d10
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x477e86
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d67d8]
cmp byte [eax], 0
je 0x477d66
mov eax, ebx
mov edx, dword [0x44a8b8]
call fcn.004035cc
test al, al
je 0x477d7f
mov eax, ebx
call fcn.0045563c
test al, al
je 0x477d7f
mov eax, ebx
call fcn.00455338
push eax
call sub.user32.dll_IsWindowUnicode
test eax, eax
jne 0x477d7f
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0044eb18
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00404b5c
jmp 0x477e5b
mov eax, ebx
mov edx, dword [0x44a8b8]
call fcn.004035cc
test al, al
jne 0x477dd4
xor edx, edx
mov eax, ebx
call fcn.00477c30
mov edi, eax
test edi, edi
jne 0x477db8
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0044eb18
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00404b5c
jmp 0x477e5b
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0044eb18
mov edx, dword [ebp - 0xc]
mov ecx, esi
lea eax, [edi + 0x38]
call fcn.004725ec
jmp 0x477e5b
mov edi, ebx
mov eax, edi
call fcn.0045563c
test al, al
jne 0x477e04
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.0044eb18
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00404b5c
mov edx, dword [ebp - 0x10]
mov ecx, esi
mov eax, ebx
call fcn.00477c7c
jmp 0x477e5b
mov eax, edi
call fcn.00455338
push eax
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
add edx, 1
jno 0x477e1d
call fcn.00403380
mov eax, esi
call fcn.00404f4c
mov eax, dword [esi]
call fcn.00404be8
push eax
mov eax, dword [esi]
call fcn.00404bd8
push eax
mov eax, edi
call fcn.00455338
push eax
call sub.user32.dll_GetWindowTextW
mov eax, dword [esi]
call fcn.00404be8
mov edx, eax
sub edx, 1
jno 0x477e54
call fcn.00403380
mov eax, esi
call fcn.00404f4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477e8d
lea eax, [ebp - 0x14]
call fcn.00404290
lea eax, [ebp - 0x10]
call fcn.004049ac
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004042b4
ret

Function at 0x47ac58
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [0x4d7170]
cmp dword [eax], 2
je 0x47ac76
mov ecx, 0x35f
mov edx, 0x47aca8
mov eax, 0x47ace4
call fcn.004041ec
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x47abf8
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4d8ff0], eax
cmp dword [0x4d8ff0], 0
jne 0x47ac9d
call fcn.0040f0ac
ret
Function at 0x481f34
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x4d53c4], 0
mov eax, dword [0x4d7170]
cmp dword [eax], 2
jne 0x48210d
mov eax, dword [0x4d69e0]
cmp dword [eax], 5
jl 0x48210d
call fcn.0047f094
test al, al
jne 0x481f65
call fcn.0047f0a0
call fcn.0047f08c
mov dword [0x4d53cc], eax
push 0x482110
mov eax, dword [0x4d53cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d5390], eax
cmp dword [0x4d5390], 0
jne 0x481fc0
mov edx, 0x8000
mov eax, 0x482124
call fcn.0040f728
mov dword [0x4d53c8], eax
mov eax, dword [0x4d53c8]
mov dword [0x4d53cc], eax
push 0x482110
mov eax, dword [0x4d53cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d5390], eax
cmp dword [0x4d5390], 0
je 0x482108
push 0x482130
mov eax, dword [0x4d53cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d5394], eax
cmp dword [0x4d5394], 0
je 0x482108
push 0x48213c
mov eax, dword [0x4d53cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d5398], eax
cmp dword [0x4d5398], 0
je 0x482108
mov byte [0x4d53c4], 1
push 0x48214c
mov eax, dword [0x4d53cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d539c], eax
push 0x482158
mov eax, dword [0x4d53cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d53a0], eax
push 0x482164
mov eax, dword [0x4d53cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d53a4], eax
push 0x482174
mov eax, dword [0x4d53cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d53a8], eax
push 0x482184
mov eax, dword [0x4d53cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d53ac], eax
mov edx, 0x8000
mov eax, 0x48219c
call fcn.0040f728
mov dword [0x4d53d0], eax
cmp dword [0x4d53d0], 0
je 0x48210d
push 0x4821ac
mov eax, dword [0x4d53d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d53b0], eax
push 0x4821c8
mov eax, dword [0x4d53d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d53b4], eax
push 0x4821e8
mov eax, dword [0x4d53d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d53b8], eax
push 0x482204
mov eax, dword [0x4d53d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d53bc], eax
push 0x48221c
mov eax, dword [0x4d53d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d53c0], eax
ret
call fcn.00481eb4
ret

Function at 0x49f320
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 0x49f37a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0049f314
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0049d0bc
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0049cc5c
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 0x49f381
lea eax, [ebp - 4]
call fcn.00404290
ret
Function at 0x4b6a14
Capabilities:
Create process on windows
Reference alidns dns server
Reference google public dns server

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x4b6c26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d6d20]
cmp byte [eax], 0
jne 0x4b6a4f
cmp byte [ebp - 1], 0
je 0x4b6c03
mov eax, dword [0x4d66f0]
mov eax, dword [eax]
call fcn.00404560
cmp eax, 5
jl 0x4b6c03
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
call fcn.004b6cb4
cmp dword [ebp - 8], 0
je 0x4b6c03
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
cmp ebx, 0x32
jle 0x4b6a8a
mov ebx, 0x32
cmp byte [ebp - 1], 0
je 0x4b6ab5
mov eax, dword [0x4d7134]
mov eax, dword [eax]
mov edx, 0x4b6c3c
call fcn.004046ac
jne 0x4b6ab5
lea eax, [ebp - 0x10]
mov edx, dword [0x4d66f0]
mov edx, dword [edx]
call fcn.00404328
jmp 0x4b6afc
cmp byte [ebp - 1], 0
je 0x4b6acd
lea eax, [ebp - 0x10]
mov edx, dword [0x4d66f0]
mov edx, dword [edx]
call fcn.00404328
jmp 0x4b6afc
mov eax, dword [0x4d7134]
mov eax, dword [eax]
mov edx, 0x4b6c3c
call fcn.004046ac
jne 0x4b6aef
lea eax, [ebp - 0x10]
mov edx, 0x4b6c4c
call fcn.00404328
jmp 0x4b6afc
lea eax, [ebp - 0x10]
mov edx, 0x4b6c5c
call fcn.00404328
push 0
mov edx, dword [0x4d675c]
mov edx, dword [edx]
lea eax, [ebp - 0x14]
mov ecx, 0x4b6c70
call fcn.004045ac
mov eax, dword [ebp - 0x14]
call fcn.00404760
push eax
call sub.kernel32.dll_WinExec
mov esi, ebx
dec esi
test esi, esi
jl 0x4b6c03
inc esi
xor ebx, ebx
imul edx, ebx, 0xd7
mov eax, dword [ebp - 8]
mov eax, dword [eax + edx*4 + 0x208]
cmp eax, 6
je 0x4b6b52
cmp eax, 0x17
je 0x4b6b52
cmp eax, 0x47
jne 0x4b6bfb
mov eax, dword [ebp - 8]
cmp dword [eax + edx*4 + 0x244], 0x64
jbe 0x4b6bfb
imul eax, ebx, 0xd7
mov edx, dword [ebp - 8]
cmp dword [edx + eax*4 + 0x224], 4
je 0x4b6b89
imul eax, ebx, 0xd7
mov edx, dword [ebp - 8]
cmp dword [edx + eax*4 + 0x224], 5
jne 0x4b6bfb
lea eax, [ebp - 0xc]
push eax
imul eax, ebx, 0xd7
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x204]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x4b6c8c
call fcn.0040a67c
cmp byte [ebp - 1], 0
je 0x4b6bd0
mov eax, dword [0x4d6d20]
mov byte [eax], 1
jmp 0x4b6bd8
mov eax, dword [0x4d6d20]
mov byte [eax], 0
push 0
mov edx, dword [0x4d675c]
mov edx, dword [edx]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
call fcn.004045ac
mov eax, dword [ebp - 0x28]
call fcn.00404760
push eax
call sub.kernel32.dll_WinExec
inc ebx
dec esi
jne 0x4b6b2f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6c2d
lea eax, [ebp - 0x28]
call fcn.00404290
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004042b4
ret
Function at 0x4b73a4
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404750
xor eax, eax
push ebp
push 0x4b74d5
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
push ebp
push 0x4b741a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004097c8
test al, al
jne 0x4b73ef
mov eax, dword [ebp - 4]
call fcn.004097ec
mov edx, dword [ebp - 4]
mov eax, 0x4b74f0
call fcn.004048a4
test eax, eax
jle 0x4b7410
push 2
mov eax, dword [ebp - 4]
call fcn.00404760
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b7430
xor edx, edx
push ebp
push 0x4b74a2
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x418eb0]
call fcn.00403410
mov esi, eax
mov edx, 0x4b7500
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 8]
mov ecx, 0x4b7510
mov edx, dword [ebp - 4]
call fcn.004045ac
push 0x80
mov eax, dword [ebp - 8]
call fcn.00404760
push eax
call sub.kernel32.dll_SetFileAttributesA
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x74]
test esi, esi
je 0x4b7490
mov eax, esi
call fcn.00403440
mov eax, dword [ebp - 8]
call fcn.004099c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b74ba
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b74dc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004042b4
ret
Function at 0x4b7d58
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404750
xor eax, eax
push ebp
push 0x4b7f3f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.004b340c
mov edi, eax
mov dword [ebp - 0x138], 0x128
lea edx, [ebp - 0x138]
mov eax, edi
call fcn.004b342c
cmp eax, 1
sbb ebx, ebx
inc ebx
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004089bc
mov edx, dword [ebp - 0x13c]
lea eax, [ebp - 4]
call fcn.00404328
jmp 0x4b7ef6
push 0x4b7f58
lea eax, [ebp - 0x148]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00404510
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.00409ab8
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004089bc
push dword [ebp - 0x140]
push 0x4b7f58
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404620
push 0x4b7f58
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x114]
mov ecx, 0x104
call fcn.00404510
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.004089bc
push dword [ebp - 0x14c]
push 0x4b7f58
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404620
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.004048a4
test eax, eax
jg 0x4b7eb3
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.004048a4
test eax, eax
jle 0x4b7ee3
mov eax, dword [ebp - 0x130]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x4b7ee3
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x4b7edd
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_WaitForSingleObject
push esi
call sub.kernel32.dll_CloseHandle
lea edx, [ebp - 0x138]
mov eax, edi
call fcn.004b344c
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4b7dfc
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_WaitForSingleObject
push edi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7f46
lea eax, [ebp - 0x150]
mov edx, 6
call fcn.004042b4
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004042b4
lea eax, [ebp - 4]
call fcn.00404290
ret
Function at 0x4b8d4c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe88
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x178], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404750
lea eax, [ebp - 0x168]
mov edx, dword [0x407bf8]
call fcn.00404fb0
xor eax, eax
push ebp
push 0x4b8f00
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, 0x4b8f18
call fcn.004042e4
xor ebx, ebx
lea ecx, [ebp - 0x168]
mov edx, 0x3f
mov eax, dword [ebp - 4]
call fcn.00409938
test eax, eax
jne 0x4b8dce
cmp dword [ebp - 0x164], 1
jle 0x4b8dce
mov bl, 1
lea eax, [ebp - 0x168]
call fcn.004099ac
test bl, bl
je 0x4b8ec9
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404760
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4b8ec9
mov eax, ebx
call fcn.00402790
mov esi, eax
push esi
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00404760
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4b8f1c
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x16c]
call fcn.00409368
push dword [ebp - 0x16c]
push 0x4b8f28
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x170]
call fcn.00409368
push dword [ebp - 0x170]
push 0x4b8f28
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x174]
call fcn.00409368
push dword [ebp - 0x174]
push 0x4b8f28
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x178]
call fcn.00409368
push dword [ebp - 0x178]
mov eax, edi
mov edx, 7
call fcn.00404620
mov eax, esi
call fcn.004027b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8f07
lea eax, [ebp - 0x178]
mov edx, 4
call fcn.004042b4
lea eax, [ebp - 0x168]
mov edx, dword [0x407bf8]
call fcn.00405080
lea eax, [ebp - 4]
call fcn.00404290
ret
Function at 0x4babfc
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404750
mov eax, dword [ebp - 8]
call fcn.00404750
xor eax, eax
push ebp
push 0x4bad11
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4baccf
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 9], 0
mov dl, 1
mov eax, dword [0x418eb0]
call fcn.00403410
mov esi, eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004bda00
mov edx, dword [ebp - 0x10]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x80
mov eax, dword [0x4d6f14]
push dword [eax]
push dword [ebp - 4]
push 0x4bad2c
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00404620
mov eax, dword [ebp - 0x14]
call fcn.00404760
push eax
call sub.kernel32.dll_SetFileAttributesA
mov eax, dword [0x4d6f14]
push dword [eax]
push dword [ebp - 4]
push 0x4bad2c
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404620
mov edx, dword [ebp - 0x18]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, esi
call fcn.00403440
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bace9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bad18
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004042b4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004042b4
ret
Function at 0x4bcf98
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4bd123
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [0x4da2d0]
call fcn.004089f8
xor esi, esi
mov eax, dword [ebp - 8]
call fcn.00404560
cmp eax, 5
jl 0x4bd0fd
mov edx, dword [ebp - 8]
mov eax, 0x4bd13c
call fcn.004048a4
test eax, eax
jg 0x4bd0fd
xor edx, edx
mov eax, 2
call fcn.004b340c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4bd0fd
xor edx, edx
push ebp
push 0x4bd0ea
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x130], 0x128
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 4]
call fcn.004b342c
jmp 0x4bd0d8
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.00404510
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.004089f8
mov edx, dword [ebp - 0x134]
mov eax, dword [0x4d66b4]
mov eax, dword [eax]
call fcn.004046ac
je 0x4bd0ca
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 0x128]
call fcn.004bc58c
mov edx, dword [ebp - 0x13c]
mov eax, dword [ebp - 8]
call fcn.004048a4
test eax, eax
jle 0x4bd0ca
mov eax, dword [ebp - 0x128]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x4bd0ca
push 9
push ebx
call sub.kernel32.dll_TerminateProcess
push ebx
call sub.kernel32.dll_CloseHandle
inc esi
cmp esi, 0xa
jg 0x4bd0e0
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 4]
call fcn.004b344c
test eax, eax
jne 0x4bd042
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bd0f4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd12a
lea eax, [ebp - 0x13c]
mov edx, 3
call fcn.004042b4
lea eax, [ebp - 8]
call fcn.00404290
ret