joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468988
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 [0x408288]
call fcn.00405db4
xor eax, eax
push ebp
push 0x468b29
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a6814], 0
jne 0x4689e3
mov ecx, dword [0x52c0fc]
mov dl, 1
mov eax, dword [0x4088ac]
call fcn.0040d854
call fcn.00404b58
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004038ec
mov eax, ebx
call fcn.00405b6c
mov dword [ebp - 0x24], eax
mov esi, 0x468b38
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.00406d5c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405b7c
test eax, eax
jle 0x468acc
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 0x468ab8
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405454
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x468a5e
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.0040546c
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x468a74
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.0040546c
mov eax, dword [ebp - 0x54]
call fcn.00405674
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405454
mov eax, dword [ebp - 0x58]
call fcn.00405674
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x468aba
xor eax, eax
test al, al
je 0x468ac5
mov ebx, 0x15
jmp 0x468ad1
mov ebx, 0x10
jmp 0x468ad1
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 [0x4a6814]
call fcn.00468808
mov eax, dword [ebp - 4]
call fcn.00468808
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406d74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468b30
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00405208
lea eax, [ebp - 0xc]
mov edx, dword [0x408288]
call fcn.00405e84
ret
Function at 0x4754d8
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 0x475592
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004059ec
mov eax, dword [0x52c17c]
cmp byte [eax], 0
je 0x475547
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405d50
mov eax, dword [ebx]
call fcn.00405b7c
push eax
mov eax, dword [ebx]
call fcn.00405b6c
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405b7c
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405d50
jmp 0x475579
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.0040a818
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405b5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475599
lea eax, [ebp - 0x3f0]
call fcn.004051e4
ret

Function at 0x4755a0
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.0040a818
add esp, 0x3ec
pop ebx
ret

Function at 0x475760
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 0x475828
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045bb24
mov ebx, eax
movzx edx, word [esi + 4]
mov eax, ebp
call fcn.0047541c
mov edi, eax
test edi, edi
je 0x4757c1
movzx eax, byte [0x475834]
cmp al, bl
jne 0x4757c1
mov edx, edi
mov eax, ebp
call fcn.00475354
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x475828
cmp byte [ebp + 0x161], 2
jne 0x4757ec
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x52c52c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.00449d3c
test eax, eax
jne 0x475828
jmp 0x475823
mov edx, dword [0x52c408]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x475823
test byte [eax + 0x358], 8
jne 0x475823
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x52c408]
mov eax, edx
mov edx, 0xb006
call fcn.00449d3c
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47bb48
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 [0x52c52c]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x47bbee
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 0x47bb8d
cmp eax, dword [esp]
pop edx
pop eax
jae 0x47bbc9
jmp 0x47bb91
pop edx
pop eax
jge 0x47bbc9
mov eax, dword [0x52c52c]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00476564
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x47bbee
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x47bbee
cmp dword [ebx + 0x11c], 0
je 0x47bbee
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00438600
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 0x482aa8
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 0x482b62
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004059ec
mov eax, dword [0x52c17c]
cmp byte [eax], 0
je 0x482b17
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405d50
mov eax, dword [ebx]
call fcn.00405b7c
push eax
mov eax, dword [ebx]
call fcn.00405b6c
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405b7c
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405d50
jmp 0x482b49
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.0040a818
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405b5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482b69
lea eax, [ebp - 0x3f0]
call fcn.004051e4
ret

Function at 0x485cd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x485d2a
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.00485d34
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 0x485d31
ret
Function at 0x48c588
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 0x48c5be
jmp 0x48c664
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 0x48c602
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x48c602
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x48c612
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x48c612
mov eax, dword [edx + 0x14]
test eax, eax
je 0x48c62b
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.00488f14
jmp 0x48c664
mov dl, 1
mov eax, dword [0x424130]
call fcn.0042634c
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00426d20
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.00425e70
mov edx, esp
mov eax, esi
call fcn.00426a5c
mov eax, esi
call fcn.004042e4
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x48ee94
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00450a1c
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x2c1], 0
xor edx, edx
mov eax, ebx
call fcn.0044896c
pop ebx
ret
Function at 0x49950c
Capabilities:
Hide graphical window

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

Function at 0x4995ec
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 0x49975e
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 0x499743
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.0040a818
mov dl, 1
mov eax, dword [0x46f98c]
call fcn.0046f9e4
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x417dcc]
call fcn.004042b4
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.0046fa60
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49973f
mov dl, 1
mov eax, dword [0x470ef8]
call fcn.00470f60
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, 0x499774
call fcn.004701d4
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004054fc
xor eax, eax
push ebp
push 0x499738
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.00471268
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0049977c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49973f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
call fcn.004042e4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.004042e4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x34]
call fcn.004042e4
ret
movzx ebx, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499765
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405208
ret
Function at 0x49aa3b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
test ebx, ebx
je 0x49aa95
mov eax, ebx
add eax, dword [eax + 0x3c]
mov edi, dword [eax + 0x78]
add edi, ebx
xor esi, esi
jmp 0x49aa90
mov eax, dword [edi + 0x20]
lea edx, [ebx + eax]
mov eax, dword [edx + esi*4]
add eax, ebx
push dword [ebp + 0xc]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x49aa8f
mov edx, dword [edi + 0x24]
lea ecx, [ebx + edx]
mov ax, word [ecx + esi*2]
movzx edx, ax
mov ecx, dword [edi + 0x1c]
lea eax, [ebx + ecx]
mov eax, dword [eax + edx*4]
add eax, ebx
mov dword [ebp - 4], eax
inc esi
cmp esi, dword [edi + 0x18]
jb 0x49aa5c
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x49b984
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
mov eax, dword [esi + 0x44]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
push 0
push 0
mov eax, dword [esi + 0x70]
push eax
call sub.kernel32.dll_PostQueuedCompletionStatus
mov eax, dword [esi + 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0
push 0x42000000
push 3
push 0
push 7
push 0xc0000000
mov eax, dword [esi + 0x68]
call fcn.00405674
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
mov eax, esi
call fcn.0049b978
mov dword [esi + 0x44], edi
mov eax, esi
call fcn.0049bb0c
call sub.kernel32.dll_GetLastError_1
cmp eax, 2
je 0x49b9f3
call sub.kernel32.dll_GetLastError_1
cmp eax, 3
jne 0x49ba0d
mov eax, esi
call fcn.0049b978
xor eax, eax
mov dword [esi + 0x44], eax
xor eax, eax
mov dword [esi + 0x70], eax
mov eax, esi
call fcn.0049bb0c
jmp 0x49ba82
push 0
mov eax, dword [esi + 4]
push eax
push 0
mov eax, dword [esi + 0x44]
push eax
call sub.kernel32.dll_CreateIoCompletionPort
mov ebx, eax
mov eax, esi
call fcn.0049b978
mov dword [esi + 0x70], ebx
mov eax, esi
call fcn.0049bb0c
xor eax, eax
mov dword [esi + 0x8c], eax
lea eax, [esi + 0x90]
xor ecx, ecx
mov edx, 0x1000
call fcn.004038ec
push 0
lea eax, [esi + 0x74]
push eax
lea eax, [esi + 0x8c]
push eax
mov eax, dword [esi + 0x88]
push eax
cmp byte [esi + 0x6c], 1
cmc
sbb eax, eax
push eax
push 0x1000
lea eax, [esi + 0x90]
push eax
mov eax, dword [esi + 0x44]
push eax
call sub.kernel32.dll_ReadDirectoryChangesW
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x49c638
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.004038ec
ret
Function at 0x49ca24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
xor edx, edx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x410], 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 0x49cc9b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3f4]
mov eax, 0x49ccb0
call fcn.0049c88c
lea eax, [ebp - 0x3f0]
call fcn.004051e4
lea eax, [ebp - 0x3fc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x3f4]
call fcn.00405674
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x49cc5c
xor eax, eax
push ebp
push 0x49cc55
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
lea edx, [ebp - 0x408]
mov eax, 0x49ccf0
call fcn.0049c88c
mov eax, dword [ebp - 0x408]
call fcn.00405674
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49cb27
push ebp
mov eax, 0x49cd1c
call fcn.0049c97c
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 - 0x40c]
mov eax, 0x49cd28
call fcn.0049c88c
mov eax, dword [ebp - 0x40c]
call fcn.00405674
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49cbb1
push dword [ebp - 0x3f0]
push 0x49cd50
lea eax, [ebp - 0x410]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.00405454
push dword [ebp - 0x410]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.00405578
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 - 0x414]
mov eax, 0x49cd5c
call fcn.0049c88c
mov eax, dword [ebp - 0x414]
call fcn.00405674
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49cc3b
push dword [ebp - 0x3f0]
push 0x49cd50
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.00405454
push dword [ebp - 0x418]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.00405578
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49cc5c
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.00405238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49cca2
lea eax, [ebp - 0x418]
mov edx, 5
call fcn.00405208
lea eax, [ebp - 0x3f4]
mov edx, 2
call fcn.00405208
ret
Function at 0x4a0a90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405664
xor eax, eax
push ebp
push 0x4a0bcb
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4a0b9b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00405674
mov ebx, eax
push ebx
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.0040a0a8
test al, al
jne 0x4a0b0b
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebx
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00403684
lea eax, [ebp - 0x1d0]
call fcn.00403420
call fcn.0040305c
push dword [0x531e6c]
push 0x4a0be4
push dword [0x531e70]
push 0x4a0be4
push dword [0x531e74]
lea eax, [ebp - 0x1d8]
mov edx, 5
call fcn.00405578
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.004a1df8
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d0]
call fcn.00405994
call fcn.00403d40
call fcn.0040305c
lea eax, [ebp - 0x1d0]
call fcn.0040374c
call fcn.0040305c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a0ba5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0bd2
lea eax, [ebp - 0x1d8]
mov edx, 2
call fcn.00405208
lea eax, [ebp - 4]
call fcn.004051e4
ret
Function at 0x4a164c
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.00405664
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4a17b4
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.004a0f04
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.004a0f24
mov ebx, eax
jmp 0x4a1786
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405454
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040a3bc
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00409558
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00409558
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.0040560c
je 0x4a1766
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405454
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00409558
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00409558
mov edx, dword [ebp - 0x148]
pop eax
call fcn.0040560c
jne 0x4a177b
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.004a0f44
mov ebx, eax
test ebx, ebx
jne 0x4a16c7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a17bb
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00405208
lea eax, [ebp - 4]
call fcn.004051e4
ret

Function at 0x4a1b50
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.00405664
xor eax, eax
push ebp
push 0x4a1c2a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x4a1c40
mov edx, dword [ebp - 4]
call fcn.004054fc
mov eax, dword [ebp - 8]
call fcn.00405674
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 6
ja case.0x4a1b9a.0
jmp dword [eax*4 + 0x4a1ba1]
mov eax, ebx
mov edx, 0x4a1c4c
call fcn.00405238
jmp 0x4a1c0f
mov eax, ebx
mov edx, 0x4a1c60
call fcn.00405238
jmp 0x4a1c0f
mov eax, ebx
mov edx, 0x4a1c70
call fcn.00405238
jmp 0x4a1c0f
mov eax, ebx
mov edx, 0x4a1c84
call fcn.00405238
jmp 0x4a1c0f
mov eax, ebx
mov edx, 0x4a1c94
call fcn.00405238
jmp 0x4a1c0f
mov eax, ebx
mov edx, 0x4a1ca8
call fcn.00405238
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1c31
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405208
ret
Function at 0x4a2678
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4a2734
call fcn.0040a0cc
test al, al
jne 0x4a2690
mov eax, 0x4a2734
call fcn.0040a5bc
mov eax, dword [0x531ee4]
mov edx, 0x4a274c
call fcn.0040560c
jne 0x4a272b
mov eax, 0x531f2c
mov ecx, dword [0x531f40]
mov edx, dword [0x531f3c]
call fcn.004054fc
mov edx, dword [0x531f2c]
mov eax, dword [0x531f04]
call fcn.004a23d0
mov eax, dword [0x531ee4]
mov edx, 0x4a274c
call fcn.0040560c
jne 0x4a272b
mov eax, dword [0x52c2c8]
mov eax, dword [eax]
mov edx, 0x4a2758
call fcn.0040560c
jne 0x4a26f9
mov eax, dword [0x531ee0]
call fcn.004628b4
mov eax, dword [0x531f2c]
call fcn.0040a0a8
test al, al
je 0x4a272b
push 5
mov eax, dword [0x531f2c]
call fcn.00405674
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [0x531ee0]
mov eax, dword [eax + 0x360]
mov dl, 1
call fcn.00438600
ret