joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447520
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x447634
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x4475e5
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x4475ab
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x4475a9
push 0x6801
push 1
push 0x53d8
push 0
push 1
push 0x3589
push 0x2883
push 0x5a80
push 1
push 1
call fcn.00444417
add esp, 0x28
jmp 0x4475e3
mov byte [ebp - 1], 0
push 0xcfb
push 0x2da0
push 0
push 1
push 0
push 0x41a7
push 1
push 1
push 0x5638
lea eax, [ebp - 1]
push eax
push 0x29f3
push 0x614f
call fcn.004548da
add esp, 0x30
jmp 0x44762f
push 0x5fd
push 0
push 0xc18
push 1
push 0x6a8a
push 0x6d93
push 0x1929
push 0x4e9f
push 0x101d
push 0
push 0x3da6
push 0x72a5
push 0x2d2a
push 0x810
push 0x7213
call fcn.0043c2b6
add esp, 0x3c
jmp 0x4476f9
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x4476e1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x4476a4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x4476a2
push 0x136a
push 0
push 0
push 0x5cc
push 0
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
jmp 0x4476df
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x4476df
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x228f
push 0x39a
push 0x1a65
push 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
jmp 0x4476f9
push 0x490
push 0x23fd
push 1
push 0
push 1
call fcn.00439dac
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x44b1cf
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x44b2c7
mov eax, dword [ebp + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x44b228
push 0x3a73
push 1
push 0x5c9d
call fcn.0044b2dd
add esp, 0xc
jmp 0x44b2c5
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x44b27d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x44b27b
push 0
push 0xb71
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x44b2c5
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
push 1
mov eax, dword [ebp - 0x44]
push dword [eax]
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.004698f0
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.00407e58
lea ecx, [ebp - 0x68]
call fcn.00402d76
jmp 0x44b2d9
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x50], eax
push 1
push dword [ebp - 0x50]
call fcn.0043f2bf
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x44c9aa
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x44ca81
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x44ca08
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
push 1
push dword [ebp - 0x14]
call fcn.0044caf6
add esp, 0xc
jmp 0x44ca7f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x44ca44
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x44ca42
push 0
call fcn.004513f8
pop ecx
jmp 0x44ca7f
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x44ca7f
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x228f
push 0x39a
push 0x1a65
push 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
jmp 0x44caf2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x4c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 1
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
call fcn.0044a967
add esp, 0x30
mov esp, ebp
pop ebp
ret
Function at 0x44d378
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x44d3e6
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x44d3bb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push 0xd35
push dword [ebp - 0x10]
push 0x6122
push 0
call fcn.00451189
add esp, 0x10
jmp 0x44d3e4
push 0x1964
push 0x68d6
push 1
push 0x7f0d
push 1
push 0
push 0x11fe
push 0xb
push 0x159b
call fcn.004563b0
add esp, 0x24
jmp 0x44d459
lea eax, [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x44d412
push 0x55bd
push 1
push 0xfc0
call fcn.00438d92
add esp, 0xc
jmp 0x44d459
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x44d439
push 0x186d
push 0x2041
push 0xb09
call dword [sym.imp.KERNEL32.dll_HeapCreate]
jmp 0x44d459
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x44d459
push 0x90f
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esp, ebp
pop ebp
ret
Function at 0x44d7ed
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x44d8d4
lea eax, [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x44d840
push 0x3a8a
push 0x6d3
push 1
call fcn.0044d992
add esp, 0xc
jmp 0x44d8cf
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x44d884
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x44d882
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x44d8cf
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x44d8b2
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x44d8cf
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.00432b6e
mov dword [eax], 0xd2926a09
jmp 0x44d8a7
jmp 0x44d98e
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x44d983
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x44d960
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x44d944
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 1
jge 0x44d95e
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x6c]
call fcn.00432b6e
and dword [eax], 0
jmp 0x44d939
jmp 0x44d981
mov byte [ebp - 1], 0
push 0xd7
push 0
push 0x7c12
push 0x138f
lea eax, [ebp - 1]
push eax
call fcn.00456496
add esp, 0x14
jmp 0x44d98e
push 1
push 1
call fcn.00438363
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4511b3
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 8]
test eax, eax
je 0x4511f7
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0xdc1
push 0x4ebf
push 0x5a5a
push 0x5787
push 0xaa2
push 0x36b3
push 1
call fcn.0045127c
add esp, 0x20
jmp 0x451278
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x451244
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x45123a
mov byte [ebp - 1], 0
push 1
push 0x6bb8
push 1
push 0
lea eax, [ebp - 1]
push eax
call fcn.0044276e
add esp, 0x14
jmp 0x451242
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x451278
push 0
push 0x6c1a
push 0x105b
push 1
push 0x34ef
push 0x5b7f
push 0x60b4
push 0x167f
push 0x289
push 0x21e5
call fcn.0043a850
add esp, 0x28
mov esp, ebp
pop ebp
ret
Function at 0x455e92
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x455fac
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x455f89
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x455f6e
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 3
push 1
lea ecx, [ebp - 0x40]
call fcn.00432a80
mov dword [ebp - 0x1c], 0xd4b4
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x34]
push eax
push 0
lea eax, [ebp - 0x40]
push eax
push 0x56d
push 1
push 1
push 1
call fcn.00453af9
add esp, 0x1c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [ebp - 0x40]
push eax
push 0x5517
push 1
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push 0x145a
push 0
push 0x3e58
call fcn.004506a8
add esp, 0x38
lea ecx, [ebp - 0x40]
call fcn.00432b52
jmp 0x455f87
push 0
push 0
push 0
push 0
push 0
push 0
push 0x1355
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x455faa
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
push 0
push 0x7010
push 1
push 1
push 0x7126
push dword [ebp - 0x2c]
call fcn.0044b769
add esp, 0x18
jmp 0x455fbe
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push 0
push dword [ebp - 0x30]
call fcn.00437541
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x493c1d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4a1c0f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b4484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00491ad4
mov dword [ebp - 0x14], eax
cmp dword [0xaae570], esi
jne 0x4a1d02
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4a1c8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4a1de2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4a1de2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a1de2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xaae570], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xaae574], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xaae578], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaae580], eax
test eax, eax
je 0x4a1cff
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xaae57c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4a1d27
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4a1d1a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4a1d3c
push 4
pop eax
jmp 0x4a1de4
cmp dword [ebp - 0x14], esi
je 0x4a1d3c
push dword [0xaae570]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4a1d21
mov eax, dword [0xaae57c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4a1d9a
cmp dword [0xaae580], edi
je 0x4a1d9a
push eax
call ebx
push dword [0xaae580]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4a1d9a
test eax, eax
je 0x4a1d9a
call ecx
test eax, eax
je 0x4a1d8f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4a1d8f
test byte [ebp - 8], 1
jne 0x4a1d9a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4a1dca
mov eax, dword [0xaae574]
cmp eax, edi
je 0x4a1dc7
push eax
call ebx
test eax, eax
je 0x4a1dc7
call eax
mov esi, eax
test esi, esi
je 0x4a1dc7
mov eax, dword [0xaae578]
cmp eax, edi
je 0x4a1dc7
push eax
call ebx
test eax, eax
je 0x4a1dc7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xaae570]
call ebx
test eax, eax
je 0x4a1de2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4a1de4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00490f7b
mov esp, ebp
pop ebp
ret
Function at 0x48de0d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x48de45
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x48de33
mov al, 1
jmp 0x48de96
cmp dword [ebx + 0x54], ecx
jne 0x48de3c
mov al, 2
jmp 0x48de96
cmp dword [ebx + 0x7c], ecx
jne 0x48de96
mov al, 3
jmp 0x48de96
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x48de5a
mov al, 4
jmp 0x48de96
cmp ecx, 5
jne 0x48de7a
cmp ebx, 0
jne 0x48de68
mov al, 5
jmp 0x48de96
cmp ebx, 1
jne 0x48de71
mov al, 6
jmp 0x48de96
cmp ebx, 2
jne 0x48de7a
mov al, 7
jmp 0x48de96
cmp ecx, 6
jne 0x48de86
cmp ebx, 0
jne 0x48de88
mov al, 8
jmp 0x48de96
cmp ebx, 1
jne 0x48de8f
mov al, 9
cmp ebx, 2
jne 0x48de96
mov al, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e6b30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x57abeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0056f288
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4e6bb2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0056d07c
mov eax, dword [eax]
push 0xe05d70
push eax
call fcn.0055b8c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0056f513
test bl, bl
je 0x4e6bb2
push 0xe05d70
lea ecx, [esp + 0xc]
call fcn.0056f8a3
push 0xe05d7c
lea ecx, [esp + 0xc]
call fcn.0056f8a3
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4e6bee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0056f513
jmp 0x4e6cb9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4e6c72
lea edx, [esp + 0x7c]
push 0xe05d78
push edx
call fcn.0055b8c4
add esp, 8
test eax, eax
je 0x4e6c72
lea eax, [esp + 0x7c]
push 0xe05d74
push eax
call fcn.0055b8c4
add esp, 8
test eax, eax
je 0x4e6c72
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4e6c02
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0056f513
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4e74b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4e7512
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4e7520
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x57ac6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xe1ae68]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4e7658
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4e7586
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0056f513
xor eax, eax
jmp 0x4e76cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0056f650
push esi
lea ecx, [esp + 0xc]
call fcn.0056f8df
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4e76ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004e74b0
test eax, eax
jne 0x4e76ad
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004e74b0
test eax, eax
jne 0x4e76ad
lea eax, [esp + 0x14]
push 0xe05d8c
push eax
call fcn.0055ca30
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e768c
lea ecx, [esp + 0x14]
push 0xe05d88
push ecx
call fcn.0055c9b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4e768c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4e768f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0056f600
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4e759e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0056f513
xor eax, eax
jmp 0x4e76cf
mov byte [esi], 0
push 0xe05d84
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0056f513
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4

Function at 0x4eda06
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x4eda2e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret