joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4871d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4873b6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x487372
mov eax, dword [ebp - 4]
call fcn.00488b78
cmp ebx, eax
jge 0x487372
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.0047d974
mov edx, dword [0x47f330]
call fcn.004046b8
mov esi, eax
mov eax, esi
call fcn.004801f4
test al, al
je 0x487368
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x48735c
xor eax, eax
push ebp
push 0x487355
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00487788
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041f650
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00405b28
mov eax, dword [ebp - 8]
call fcn.004058f8
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx eax, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0048754c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx edx, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4873a0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x487354
mov eax, dword [ebp - 4]
call fcn.0048780c
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040b590
jmp 0x4873a0
mov eax, dword [ebp - 8]
call fcn.00405408
jmp 0x4873a0
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.0040a97c
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x41a314]
call fcn.0040edf0
call fcn.00404d7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4873bd
lea eax, [ebp - 0x54]
call fcn.00405408
ret
Function at 0x48c464
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x4087e4]
call fcn.00406008
xor eax, eax
push ebp
push 0x48c605
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f5fc0], 0
jne 0x48c4bf
mov ecx, dword [0x4f73ac]
mov dl, 1
mov eax, dword [0x408e50]
call fcn.0040ee70
call fcn.00404d7c
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403afc
mov eax, ebx
call fcn.00405dc0
mov dword [ebp - 0x24], eax
mov esi, 0x48c614
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.0040725c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405dd0
test eax, eax
jle 0x48c5a8
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x48c594
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405678
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x48c53a
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00405690
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x48c550
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00405690
mov eax, dword [ebp - 0x54]
call fcn.00405898
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405678
mov eax, dword [ebp - 0x58]
call fcn.00405898
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x48c596
xor eax, eax
test al, al
je 0x48c5a1
mov ebx, 0x15
jmp 0x48c5ad
mov ebx, 0x10
jmp 0x48c5ad
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4f5fc0]
call fcn.0048c2e4
mov eax, dword [ebp - 4]
call fcn.0048c2e4
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00407274
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c60c
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.0040542c
lea eax, [ebp - 0xc]
mov edx, dword [0x4087e4]
call fcn.004060d8
ret

Function at 0x4b1b80
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 0x4b1bda
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004b1b70
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004af7c8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004af2e0
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 0x4b1be1
lea eax, [ebp - 4]
call fcn.00405408
ret
Function at 0x4c03cc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4c0486
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405c10
mov eax, dword [0x4f746c]
cmp byte [eax], 0
je 0x4c043b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405fa4
mov eax, dword [ebx]
call fcn.00405dd0
push eax
mov eax, dword [ebx]
call fcn.00405dc0
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405dd0
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405fa4
jmp 0x4c046d
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040b590
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405db0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c048d
lea eax, [ebp - 0x3f0]
call fcn.00405408
ret

Function at 0x4c0494
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.0040b590
add esp, 0x3ec
pop ebx
ret

Function at 0x4c0654
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x4c071c
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00469ffc
mov ebx, eax
movzx edx, word [esi + 4]
mov eax, ebp
call fcn.004c0310
mov edi, eax
test edi, edi
je 0x4c06b5
movzx eax, byte [0x4c0728]
cmp al, bl
jne 0x4c06b5
mov edx, edi
mov eax, ebp
call fcn.004c0248
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4c071c
cmp byte [ebp + 0x161], 2
jne 0x4c06e0
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4f7a14]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.00458130
test eax, eax
jne 0x4c071c
jmp 0x4c0717
mov edx, dword [0x4f7878]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x4c0717
test byte [eax + 0x358], 8
jne 0x4c0717
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4f7878]
mov eax, edx
mov edx, 0xb006
call fcn.00458130
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c6a3c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x4f7a14]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x4c6ae2
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x4c6a81
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4c6abd
jmp 0x4c6a85
pop edx
pop eax
jge 0x4c6abd
mov eax, dword [0x4f7a14]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004c1458
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4c6ae2
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4c6ae2
cmp dword [ebx + 0x11c], 0
je 0x4c6ae2
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00441f74
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4cd99c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4cda56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405c10
mov eax, dword [0x4f746c]
cmp byte [eax], 0
je 0x4cda0b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405fa4
mov eax, dword [ebx]
call fcn.00405dd0
push eax
mov eax, dword [ebx]
call fcn.00405dc0
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405dd0
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405fa4
jmp 0x4cda3d
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040b590
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405db0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cda5d
lea eax, [ebp - 0x3f0]
call fcn.00405408
ret

Function at 0x4d0bc4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4d0c1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x310], ecx
mov dword [esi + 0x314], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x304], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x310]
mov eax, esi
call fcn.004d0c28
mov eax, dword [esi + 0x310]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x6c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0c25
ret
Function at 0x4d747c
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4d74b2
jmp 0x4d7558
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x4d74f6
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x4d74f6
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x4d7506
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x4d7506
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4d751f
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.004d3e08
jmp 0x4d7558
mov dl, 1
mov eax, dword [0x4281ec]
call fcn.0042a408
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.0042aea4
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.00429f2c
mov edx, esp
mov eax, esi
call fcn.0042ab18
mov eax, esi
call fcn.00404508
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4d9d88
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0045eeb8
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x2c1], 0
xor edx, edx
mov eax, ebx
call fcn.00456d58
pop ebx
ret
Function at 0x4e4400
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x4e4426
push 0
mov eax, dword [ebx + 0x94]
call fcn.0045eeb8
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x4e44e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4e4652
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 0xc]
test byte [eax + 0x1c], 0x10
jne 0x4e4637
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 4]
lea eax, [ebp - 0x10d]
call fcn.0040b590
mov dl, 1
mov eax, dword [0x4ba5a8]
call fcn.004ba600
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x41aeac]
call fcn.004044d8
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
call fcn.004ba67c
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4e4633
mov dl, 1
mov eax, dword [0x4bbb14]
call fcn.004bbb7c
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x34], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
mov edx, 0x4e4668
call fcn.004badf0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405720
xor eax, eax
push ebp
push 0x4e462c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.004bbe84
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004e4670
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e4633
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
call fcn.00404508
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.00404508
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.00404508
ret
movzx ebx, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e4659
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040542c
ret
Function at 0x4e5814
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push ebx
xor edx, edx
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x408], edx
mov dword [ebp - 0x3f0], edx
mov dword [ebp - 0x3f4], edx
mov dword [ebp - 0x3f8], eax
xor eax, eax
push ebp
push 0x4e59d8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3f4]
mov eax, 0x4e59ec
call fcn.004e567c
lea eax, [ebp - 0x3f0]
call fcn.00405408
lea eax, [ebp - 0x3fc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x3f4]
call fcn.00405898
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4e5999
xor eax, eax
push ebp
push 0x4e5992
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x3e9
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 7
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
push 0x4e5a24
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4e58ee
push ebp
mov eax, 0x4e5a40
call fcn.004e576c
pop ecx
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x408]
mov eax, 0x4e5a4c
call fcn.004e567c
mov eax, dword [ebp - 0x408]
call fcn.00405898
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4e5978
push dword [ebp - 0x3f0]
push 0x4e5a70
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.00405678
push dword [ebp - 0x40c]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.0040579c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e5999
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x3f8]
mov edx, dword [ebp - 0x3f0]
call fcn.0040545c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e59df
lea eax, [ebp - 0x40c]
mov edx, 2
call fcn.0040542c
lea eax, [ebp - 0x3f4]
mov edx, 2
call fcn.0040542c
ret
Function at 0x4e6a64
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405888
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4e6bcc
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.004942ac
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.004942cc
mov ebx, eax
jmp 0x4e6b9e
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405678
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040b134
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00409c60
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00409c60
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00405830
je 0x4e6b7e
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405678
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00409c60
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00409c60
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00405830
jne 0x4e6b93
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.004942ec
mov ebx, eax
test ebx, ebx
jne 0x4e6adf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e6bd3
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.0040542c
lea eax, [ebp - 4]
call fcn.00405408
ret
Function at 0x4e9bd8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405888
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4e9d4a
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.004942ac
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.004942cc
mov ebx, eax
jmp 0x4e9d1c
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405678
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040b134
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00409c60
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00409c60
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00405830
je 0x4e9cf2
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405678
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00409c60
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00409c60
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00405830
jne 0x4e9d11
call sub.kernel32.dll_GetCurrentProcessId
cmp eax, dword [edi + 8]
je 0x4e9d11
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.004942ec
mov ebx, eax
test ebx, ebx
jne 0x4e9c53
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9d51
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.0040542c
lea eax, [ebp - 4]
call fcn.00405408
ret
Function at 0x4ebefc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405888
xor eax, eax
push ebp
push 0x4ebf91
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x4ebfa8
mov edx, dword [ebp - 4]
call fcn.00405720
push 0xff
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xff
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 8]
call fcn.00405898
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [ebp - 0xc]
xor edx, edx
push edx
push eax
mov eax, ebx
call fcn.0040a598
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ebf98
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040542c
ret

Function at 0x4ec078
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405888
xor eax, eax
push ebp
push 0x4ec152
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x4ec168
mov edx, dword [ebp - 4]
call fcn.00405720
mov eax, dword [ebp - 8]
call fcn.00405898
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 6
ja case.0x4ec0c2.0
jmp dword [eax*4 + 0x4ec0c9]
mov eax, ebx
mov edx, 0x4ec174
call fcn.0040545c
jmp 0x4ec137
mov eax, ebx
mov edx, 0x4ec184
call fcn.0040545c
jmp 0x4ec137
mov eax, ebx
mov edx, 0x4ec194
call fcn.0040545c
jmp 0x4ec137
mov eax, ebx
mov edx, 0x4ec1a8
call fcn.0040545c
jmp 0x4ec137
mov eax, ebx
mov edx, 0x4ec1b8
call fcn.0040545c
jmp 0x4ec137
mov eax, ebx
mov edx, 0x4ec1cc
call fcn.0040545c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ec159
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040542c
ret