joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2be8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b2d41
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [esi + 4], 0
je 0x4b2d1e
mov eax, dword [esi + 4]
call fcn.00409784
test al, al
je 0x4b2d1e
push 0x20
mov ecx, dword [esi + 4]
mov dl, 1
mov eax, dword [0x419bf8]
call fcn.0041ea48
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x419d18]
call fcn.00403434
mov dword [ebp - 0xc], eax
mov dl, 1
mov eax, dword [0x4199d4]
call fcn.00403434
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b2d17
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x4b2bc8]
call fcn.004059b4
add esp, 4
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0041e7c0
mov eax, dword [ebp - 0x10]
call fcn.004057f8
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4b2cbb
inc ebx
xor ecx, ecx
mov eax, ecx
mov edi, 0x61
cdq
idiv edi
add dl, 0x89
mov eax, dword [ebp - 0x10]
xor byte [eax + ecx], dl
inc ecx
dec ebx
jne 0x4b2ca4
mov eax, dword [ebp - 0x10]
call fcn.004057f8
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0041e7f8
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.0041e5b4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004b2f48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2d25
mov eax, dword [ebp - 4]
call fcn.00403464
mov eax, dword [ebp - 0xc]
call fcn.00403464
mov eax, dword [ebp - 8]
call fcn.00403464
ret
mov eax, esi
call fcn.004b29d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2d48
lea eax, [ebp - 0x10]
mov edx, dword [0x4b2bc8]
call fcn.004059c0
ret
Function at 0x4bdb24
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 [0x4188a4]
call fcn.00404ea0
xor eax, eax
push ebp
push 0x4bdc68
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x515da0], 0
jne 0x4bdb77
mov ecx, dword [0x517220]
mov dl, 1
mov eax, dword [0x407cbc]
call fcn.0040d30c
call fcn.00403bf0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402e2c
mov eax, ebx
call fcn.00404b64
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4bdc78
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.00406078
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404b74
test eax, eax
jle 0x4bdc0f
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 0x4bdc08
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404518
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004044e4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408c64
test eax, eax
jne 0x4bdc08
mov ebx, 0x15
jmp 0x4bdc14
mov ebx, 0x10
jmp 0x4bdc14
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 [0x515da0]
call fcn.004bd9c4
mov eax, dword [ebp - 8]
call fcn.004bd9c4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406090
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bdc6f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404298
lea eax, [ebp - 0x10]
mov edx, dword [0x4188a4]
call fcn.00404f70
ret

Function at 0x4c7dfc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
test dl, dl
je 0x4c7e0e
add esp, 0xfffffff0
call fcn.00403788
mov esi, ecx
mov ebx, edx
mov edi, eax
mov eax, dword [ebp + 0x18]
call fcn.00404740
mov eax, dword [ebp + 0x14]
call fcn.00404740
mov eax, dword [ebp + 0x10]
call fcn.00404740
xor eax, eax
push ebp
push 0x4c7e89
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [edi + 0x20], esi
lea eax, [edi + 0x24]
mov edx, dword [ebp + 0x18]
call fcn.004042c8
lea eax, [edi + 0x28]
mov edx, dword [ebp + 0x14]
call fcn.004042c8
lea eax, [edi + 0x2c]
mov edx, dword [ebp + 0x10]
call fcn.004042c8
mov byte [edi + 0x30], 0
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7e90
lea eax, [ebp + 0x10]
mov edx, 3
call fcn.00404298
ret

Function at 0x4c925c
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x17
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x4c9278
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
setne al
ret
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
setne al
ret
Function at 0x4da120
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4da14e
mov eax, ebx
call fcn.004dabd4
cmp dword [ebx + 0x40], 0
je 0x4da147
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4da1bf
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4da1b1
cmp dword [ebx + 8], 0
je 0x4da170
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 0x4da182
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4da1b1
cmp dword [ebx + 8], 0
je 0x4da163
cmp eax, 3
je 0x4da195
dec eax
jne 0x4da163
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 0x4da163
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4da163
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4da1dd
cmp dword [ebx + 0x14], 0xcc
je 0x4da1dd
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.004da1e8
pop ebx
ret
Function at 0x4ef73c
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x4ef744
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4ef8c5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4ef87c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x34]
mov eax, 0x4ef8dc
call fcn.004bdc88
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x10]
call fcn.0041562c
push 0
push 0
push 0x4ef900
push 0
push 0x4ef90c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00410ea0
add esp, 0x1c
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x20]
call fcn.00415714
push 0
push 0x4ef92c
push 0x4ef938
push 0x4ef978
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00410ea0
add esp, 0x18
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x30]
call fcn.00415714
mov eax, ebx
mov edx, 0x4ef990
call fcn.004042c8
lea eax, [ebp - 0x30]
call fcn.004173bc
test al, al
jne 0x4ef824
push 0x4ef998
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00410ea0
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
xor edx, edx
mov cl, 1
call fcn.00415368
lea edx, [ebp - 0x74]
pop eax
call fcn.0041794c
jg 0x4ef82e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ef886
push 0x4ef9a4
push 0
push 0x4ef9b4
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00410ea0
add esp, 0x10
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00410ea0
add esp, 0xc
lea eax, [ebp - 0x84]
mov ecx, ebx
xor edx, edx
call fcn.004173e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ef886
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ef8cc
lea eax, [ebp - 0x94]
mov edx, dword [0x40111c]
mov ecx, 6
call fcn.00404fbc
lea eax, [ebp - 0x34]
call fcn.00406078
lea eax, [ebp - 0x30]
mov edx, dword [0x40112c]
mov ecx, 3
call fcn.00404fbc
ret
Function at 0x4ef9c4
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12
push 0
push 0
dec ecx
jne 0x4ef9cc
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4efb4d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4efb04
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x34]
mov eax, 0x4efb64
call fcn.004bdc88
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x10]
call fcn.0041562c
push 0
push 0
push 0x4efb88
push 0
push 0x4efb94
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00410ea0
add esp, 0x1c
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x20]
call fcn.00415714
push 0
push 0x4efbb4
push 0x4efbc0
push 0x4efbe0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00410ea0
add esp, 0x18
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x30]
call fcn.00415714
mov eax, ebx
mov edx, 0x4efbf8
call fcn.004042c8
lea eax, [ebp - 0x30]
call fcn.004173bc
test al, al
jne 0x4efaac
push 0x4efc00
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00410ea0
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
xor edx, edx
mov cl, 1
call fcn.00415368
lea edx, [ebp - 0x74]
pop eax
call fcn.0041794c
jg 0x4efab6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4efb0e
push 0x4efc0c
push 0
push 0x4efc1c
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00410ea0
add esp, 0x10
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00410ea0
add esp, 0xc
lea eax, [ebp - 0x84]
mov ecx, ebx
xor edx, edx
call fcn.004173e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4efb0e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4efb54
lea eax, [ebp - 0x94]
mov edx, dword [0x40111c]
mov ecx, 6
call fcn.00404fbc
lea eax, [ebp - 0x34]
call fcn.00406078
lea eax, [ebp - 0x30]
mov edx, dword [0x40112c]
mov ecx, 3
call fcn.00404fbc
ret
Function at 0x4f3490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404740
xor eax, eax
push ebp
push 0x4f357d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404274
mov eax, dword [ebp - 4]
call fcn.00409784
test al, al
je 0x4f3567
mov dl, 1
mov eax, dword [0x419d18]
call fcn.00403434
mov ebx, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0041ed64
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004048dc
lea edx, [ebp - 0x3f0]
mov ecx, 0x3e8
mov eax, ebx
call fcn.0041e7c0
mov edx, 1
lea eax, [ebp - 0x3f0]
mov ecx, edx
add cl, 0xbb
xor byte [eax], cl
inc edx
inc eax
cmp edx, 0x3e9
jne 0x4f3513
mov eax, dword [ebp - 8]
call fcn.004047a8
mov edx, eax
lea eax, [ebp - 0x3f0]
mov ecx, 0x3e8
call fcn.004029b4
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
sub eax, 0x3e8
push eax
mov eax, dword [ebp - 8]
call fcn.004047a8
lea edx, [eax + 0x3e8]
mov eax, ebx
pop ecx
call fcn.0041e7c0
mov eax, ebx
call fcn.00403464
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f3584
lea eax, [ebp - 4]
call fcn.00404274
ret
Function at 0x4fc614
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4fc7fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
call fcn.00404750
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x4fc7db
mov eax, dword [ebp - 0x18]
call fcn.004027b8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x4fc7d3
xor eax, eax
push ebp
push 0x4fc7c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4fc810
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
lea eax, [ebp - 0x14]
push eax
movzx eax, si
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
mov eax, esi
call fcn.0040766c
movzx eax, ax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x4fc834
call fcn.0040a194
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x30]
mov ecx, 0x4fc858
mov edx, dword [ebp - 0x14]
call fcn.0040459c
mov eax, dword [ebp - 0x30]
call fcn.00404750
push eax
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.0040446c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x34]
mov ecx, 0x4fc870
mov edx, dword [ebp - 0x14]
call fcn.0040459c
mov eax, dword [ebp - 0x34]
call fcn.00404750
push eax
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebx + 4]
mov edx, dword [ebp - 0xc]
call fcn.0040446c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x38]
mov ecx, 0x4fc884
mov edx, dword [ebp - 0x14]
call fcn.0040459c
mov eax, dword [ebp - 0x38]
call fcn.00404750
push eax
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebx + 8]
mov edx, dword [ebp - 0xc]
call fcn.0040446c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x3c]
mov ecx, 0x4fc8a0
mov edx, dword [ebp - 0x14]
call fcn.0040459c
mov eax, dword [ebp - 0x3c]
call fcn.00404750
push eax
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.0040446c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4fc7d3
mov eax, dword [ebp - 8]
call fcn.004027d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fc805
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.00404298
lea eax, [ebp - 0x14]
call fcn.00404274
ret
Function at 0x5114dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404740
xor eax, eax
push ebp
push 0x51168a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404274
mov eax, dword [ebp - 4]
call fcn.00404550
mov esi, eax
test esi, esi
je 0x511659
mov eax, dword [ebp - 4]
call fcn.00409784
test al, al
je 0x511659
lea eax, [ebp - 0x24]
call fcn.0051140c
mov eax, dword [ebp - 0x24]
call fcn.00404550
mov dword [ebp - 0x18], eax
push 0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x419bf8]
call fcn.0041ea48
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
add eax, esi
cmp eax, dword [ebp - 0x14]
jge 0x511651
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x5114bc]
call fcn.004059b4
add esp, 4
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0041e7c0
mov ebx, dword [ebp - 0x14]
dec ebx
test ebx, ebx
jl 0x5115c2
inc ebx
xor ecx, ecx
mov eax, ecx
mov edi, 0x4d
cdq
idiv edi
add dl, 0x75
mov eax, dword [ebp - 0x10]
xor byte [eax + ecx], dl
inc ecx
dec ebx
jne 0x5115ab
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x18]
call fcn.004048dc
lea eax, [ebp - 0x1c]
mov edx, esi
call fcn.004048dc
lea eax, [ebp - 0x20]
call fcn.004047a8
mov edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.004029b4
lea eax, [ebp - 0x1c]
call fcn.004047a8
mov edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
add eax, ecx
mov ecx, esi
call fcn.004029b4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00408ba0
test al, al
je 0x511651
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
call fcn.00408ba0
test al, al
je 0x511651
mov ebx, dword [ebp - 0x14]
sub ebx, esi
sub ebx, dword [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.004048dc
mov eax, dword [ebp - 8]
call fcn.004047a8
mov edx, eax
mov eax, dword [ebp - 0x18]
add eax, esi
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax]
mov ecx, ebx
call fcn.004029b4
mov eax, dword [ebp - 0xc]
call fcn.00403464
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x511691
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404298
lea eax, [ebp - 0x10]
mov edx, dword [0x5114bc]
call fcn.004059c0
lea eax, [ebp - 4]
call fcn.00404274
ret
Function at 0x5116b8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404740
mov eax, dword [ebp - 8]
call fcn.00404740
xor eax, eax
push ebp
push 0x51181a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404550
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.00404550
mov edi, eax
test ebx, ebx
je 0x5117e9
test edi, edi
je 0x5117e9
lea eax, [ebp - 0x10]
call fcn.0051140c
mov eax, dword [ebp - 0x10]
call fcn.00404550
mov esi, eax
lea eax, [ebx + edi]
add eax, esi
push eax
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x511698]
call fcn.004059b4
add esp, 4
lea eax, [ebp - 0x10]
call fcn.004047a8
mov edx, dword [ebp - 0xc]
mov ecx, esi
call fcn.004029b4
lea eax, [ebp - 4]
call fcn.004047a8
mov edx, dword [ebp - 0xc]
add edx, esi
mov ecx, ebx
call fcn.004029b4
lea eax, [ebp - 8]
call fcn.004047a8
add esi, ebx
mov edx, dword [ebp - 0xc]
add edx, esi
mov ecx, edi
call fcn.004029b4
mov eax, dword [ebp - 0xc]
call fcn.004057f8
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x5117a4
inc ebx
xor ecx, ecx
mov eax, ecx
mov esi, 0x4d
cdq
idiv esi
add dl, 0x75
mov eax, dword [ebp - 0xc]
xor byte [eax + ecx], dl
inc ecx
dec ebx
jne 0x51178d
mov eax, dword [ebp - 4]
call fcn.00409784
test al, al
je 0x5117b8
mov eax, dword [ebp - 4]
call fcn.004098a0
push 0xffff
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x419bf8]
call fcn.0041ea48
mov ebx, eax
mov eax, dword [ebp - 0xc]
call fcn.004057f8
mov ecx, eax
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0041e7f8
mov eax, ebx
call fcn.00403464
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x511821
lea eax, [ebp - 0x10]
call fcn.00404274
lea eax, [ebp - 0xc]
mov edx, dword [0x511698]
call fcn.004059c0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404298
ret
Function at 0x401207
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x854
mov eax, dword [0x41a1e8]
xor edx, edx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [0x41a1ec]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0xc], edx
mov esi, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x34], 0x9e3779b9
mov dword [ebp - 0x18], eax
call fcn.00401200
add dword [ebp - 0xc], 0x23f
cmp dword [0x2d437ec], 0x14
jne 0x401263
push edx
lea eax, [ebp - 0x854]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov ecx, dword [0x41a1f0]
mov edx, dword [0x41a1f4]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov eax, esi
mov dword [ebp - 8], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0x2d437ec], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x2d437e8]
cmove eax, dword [ebp - 8]
and dword [ebp - 8], 0
cmp dword [0x2d437ec], 0x3eb
mov dword [0x2d437e8], eax
mov eax, dword [0x2d4373c]
cmove eax, dword [ebp - 8]
mov dword [0x2d4373c], eax
mov eax, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
add dword [ebp - 0x10], edx
and dword [ebp - 8], 0
mov dword [0x2d437e4], 0xf4ea3dee
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
xor ecx, eax
cmp dword [0x2d437ec], 0x213
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
jne 0x401359
lea eax, [ebp - 0x40]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
lea eax, [ebp - 0x854]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0x54]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
mov ecx, dword [ebp - 0x10]
sub ebx, ecx
mov eax, ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xc]
shr edx, cl
add eax, ebx
mov ecx, dword [ebp - 4]
add edx, edi
xor ecx, eax
mov dword [ebp - 0x10], edx
cmp dword [0x2d437ec], 0xb03
mov dword [ebp - 4], ecx
jne 0x40139c
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
xor ecx, edx
sub esi, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x34]
sub dword [ebp - 0xc], eax
dec dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
jne 0x40127f
mov edi, dword [ebp - 0x24]
mov dword [edi], esi
mov dword [edi + 4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret