joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c69f0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd20
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
call fcn.00405eb0
xor eax, eax
push ebp
push 0x4c6c0e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0x20]
call fcn.00403728
mov esi, eax
lea eax, [ebp - 0x2d0]
xor ecx, ecx
mov edx, 0x2b4
call fcn.0040368c
cmp dword [ebp + 0x20], 0
je 0x4c6aab
cmp dword [ebp - 0x10], 0
je 0x4c6aab
mov eax, dword [ebp + 0x20]
call fcn.0040d598
test al, al
jne 0x4c6a61
mov eax, dword [ebp + 0x20]
call fcn.0040d5e0
test al, al
je 0x4c6a84
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2d0]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.00405f54
push eax
call sub.shell32.dll_SHGetFileInfoW
jmp 0x4c6aa5
push 0x4010
push 0x2b4
lea eax, [ebp - 0x2d0]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.00405f54
push eax
call sub.shell32.dll_SHGetFileInfoW
mov esi, dword [ebp - 0x2cc]
cmp byte [ebp + 0x1c], 0
je 0x4c6ad2
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2d0]
push eax
push 0
push 0x4c6c20
call sub.shell32.dll_SHGetFileInfoW
mov edi, eax
jmp 0x4c6af1
push 0x4001
push 0x2b4
lea eax, [ebp - 0x2d0]
push eax
push 0
push 0x4c6c20
call sub.shell32.dll_SHGetFileInfoW
mov edi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call sub.comctl32.dll_ImageList_GetIconSize
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.00408a30
test bl, bl
je 0x4c6b39
cmp byte [ebp + 0x14], 0
jne 0x4c6b39
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00439e88
push eax
push esi
push edi
call sub.comctl32.dll_ImageList_Draw
mov eax, dword [ebp - 4]
call fcn.004c7674
test byte [ebp + 0x14], bl
je 0x4c6bf8
mov dl, 1
mov eax, dword [0x437470]
call fcn.0043e19c
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4c6bf1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.0043eab4
call fcn.00439e88
push eax
push esi
push edi
call sub.comctl32.dll_ImageList_Draw
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2dc], eax
fild dword [ebp - 0x14]
fmul qword [ebp + 0xc]
call fcn.00403508
add eax, dword [ebp - 8]
mov dword [ebp - 0x2d8], eax
fild dword [ebp - 0x18]
fmul qword [ebp + 0xc]
call fcn.00403508
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x2d4], eax
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x2e0]
mov eax, dword [ebp - 4]
call fcn.004c6910
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6bf8
mov eax, dword [ebp - 0x1c]
call fcn.00403dcc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6c15
lea eax, [ebp + 0x20]
call fcn.00405eb8
ret
Function at 0x4da614
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405eb0
mov eax, dword [ebp - 8]
call fcn.00405eb0
xor eax, eax
push ebp
push 0x4da6b3
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00405f54
push eax
call sub.advapi32.dll_OpenSCManagerW
mov ebx, eax
test ebx, ebx
jbe 0x4da693
push 4
mov eax, dword [ebp - 8]
call fcn.00405f54
push eax
push ebx
call sub.advapi32.dll_OpenServiceW
mov edi, eax
test edi, edi
jbe 0x4da689
lea eax, [ebp - 0x24]
push eax
push edi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x4da683
mov esi, dword [ebp - 0x20]
push edi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
mov ebx, esi
jmp 0x4da698
mov ebx, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da6ba
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405ec0
ret

Function at 0x4da72c
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405eb0
xor eax, eax
push ebp
push 0x4da810
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, 0xfffffffe
push 0xf003f
push 0
push 0x4da820
call sub.advapi32.dll_OpenSCManagerW
mov ebx, eax
test ebx, ebx
je 0x4da7fa
push 0x23
mov eax, dword [ebp - 4]
call fcn.00405f54
push eax
push ebx
call sub.advapi32.dll_OpenServiceW
mov esi, eax
test esi, esi
je 0x4da7f4
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push esi
call sub.advapi32.dll_QueryServiceConfigW
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x4da7cb
mov eax, dword [ebp - 0x10]
call fcn.00403058
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push esi
call sub.advapi32.dll_QueryServiceConfigW
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 4]
mov eax, dword [ebp - 0xc]
call fcn.004030a8
cmp edi, 4
jne 0x4da7ee
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
push 0xffffffffffffffff
push esi
call sub.advapi32.dll_ChangeServiceConfigW
test eax, eax
push esi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da817
lea eax, [ebp - 4]
call fcn.00405eb8
ret
Function at 0x4da824
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405eb0
mov eax, dword [ebp - 8]
call fcn.00405eb0
xor eax, eax
push ebp
push 0x4da92c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x28], eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00405f54
push eax
call sub.advapi32.dll_OpenSCManagerW
mov ebx, eax
test ebx, ebx
jbe 0x4da90a
push 0x14
mov eax, dword [ebp - 8]
call fcn.00405f54
push eax
push ebx
call sub.advapi32.dll_OpenServiceW
mov esi, eax
test esi, esi
jbe 0x4da904
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push esi
call sub.advapi32.dll_StartServiceW
test eax, eax
je 0x4da8fe
lea eax, [ebp - 0x2c]
push eax
push esi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x4da8fe
xor edi, edi
jmp 0x4da8f8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
cmp edi, 0xc8
ja 0x4da8fe
cmp dword [ebp - 0x14], 0x64
jbe 0x4da8d0
push 0x32
call sub.kernel32.dll_Sleep_1
add edi, 0x32
jmp 0x4da8dc
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_Sleep_1
add edi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push eax
push esi
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x4da8fe
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jb 0x4da8fe
cmp dword [ebp - 0x18], 0
je 0x4da8fe
cmp dword [ebp - 0x28], 4
jne 0x4da8b0
push esi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
cmp dword [ebp - 0x28], 4
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4da933
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405ec0
ret
Function at 0x4daaac
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
push edi
mov dword [ebp - 4], 1
xor edx, edx
push ebp
push 0x4dac5a
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x120]
xor ecx, ecx
mov edx, 0x11c
call fcn.0040368c
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call sub.kernel32.dll_GetVersionExW
lea eax, [ebp - 0x144]
xor ecx, ecx
mov edx, 0x24
call fcn.0040368c
push 0x4dac70
push 0x4dac98
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.00408e50
test eax, eax
je 0x4dab2b
lea edx, [ebp - 0x144]
push edx
call eax
jmp 0x4dab37
lea eax, [ebp - 0x144]
push eax
call sub.kernel32.dll_GetSystemInfo_1
cmp dword [ebp - 0x110], 2
jne 0x4dac50
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffffd
sub eax, 2
jae 0x4dab59
mov dword [ebp - 4], 2
cmp dword [ebp - 0x11c], 5
jne 0x4dab77
cmp dword [ebp - 0x118], 0
jne 0x4dab77
mov dword [ebp - 4], 3
jmp 0x4dac50
cmp dword [ebp - 0x11c], 5
jne 0x4dab95
cmp dword [ebp - 0x118], 1
jne 0x4dab95
mov dword [ebp - 4], 4
jmp 0x4dac50
cmp dword [ebp - 0x11c], 5
jne 0x4dabcf
cmp dword [ebp - 0x118], 2
jne 0x4dabcf
cmp byte [ebp - 6], 1
jne 0x4dabc3
cmp word [ebp - 0x144], 9
jne 0x4dabc3
mov dword [ebp - 4], 4
jmp 0x4dac50
mov dword [ebp - 4], 5
jmp 0x4dac50
cmp dword [ebp - 0x11c], 6
jne 0x4dabea
cmp dword [ebp - 0x118], 0
jne 0x4dabea
mov dword [ebp - 4], 6
jmp 0x4dac50
cmp dword [ebp - 0x11c], 6
jne 0x4dac05
cmp dword [ebp - 0x118], 1
jne 0x4dac05
mov dword [ebp - 4], 7
jmp 0x4dac50
cmp dword [ebp - 0x11c], 6
jne 0x4dac25
mov eax, dword [ebp - 0x118]
add eax, 0xfffffffe
sub eax, 2
jae 0x4dac25
mov dword [ebp - 4], 8
jmp 0x4dac50
mov eax, dword [ebp - 0x11c]
cmp eax, 6
jne 0x4dac44
mov edx, dword [ebp - 0x118]
sub edx, 4
jne 0x4dac44
mov dword [ebp - 4], 0xa
jmp 0x4dac50
cmp eax, 0xa
jne 0x4dac50
mov dword [ebp - 4], 0xa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dac64
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dacbc
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff9f4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4dae8b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4dae66
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4daea8
xor eax, eax
call fcn.004da6c4
test al, al
je 0x4dad42
mov edx, 2
mov eax, 0x4daea8
call fcn.004da72c
mov edx, 0x4daea8
xor eax, eax
call fcn.004da824
xor ebx, ebx
jmp 0x4dad32
push 0x3e8
call sub.kernel32.dll_Sleep_2
inc ebx
cmp ebx, 0xa
jae 0x4dad42
mov edx, 0x4daea8
xor eax, eax
call fcn.004da5ac
test al, al
je 0x4dad22
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 6
jg 0x4dad66
mov dword [ebp - 0x28], 0x1779
xor eax, eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 8]
mov edx, 0x4daea8
call fcn.00405f1c
jmp 0x4dad81
mov dword [ebp - 0x28], 0x1b59
mov dword [ebp - 0x2c], 0x44d
lea eax, [ebp - 8]
mov edx, 0x4daec8
call fcn.00405f1c
push 0x4daf00
push 0
call sub.advapi32.dll_OpenEventLogW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x4dae5c
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x160c]
xor ecx, ecx
mov edx, 0x15e0
call fcn.0040368c
jmp 0x4dae2a
lea ebx, [ebp - 0x160c]
jmp 0x4dae15
mov eax, dword [ebx + 0x10]
call fcn.004da9bc
fstp qword [ebp - 0x20]
wait
lea eax, [ebp - 4]
mov edx, edi
add edx, 0x38
call fcn.00406074
mov eax, dword [ebx + 0x14]
call fcn.004dacb4
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0040c514
test al, al
je 0x4dae0f
cmp esi, dword [ebp - 0x28]
jne 0x4dae0f
movzx eax, word [ebx + 0x1c]
cmp eax, dword [ebp - 0x2c]
jne 0x4dae0f
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax - 0x10], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax - 0xc], edx
mov byte [ebp - 0x21], 1
jmp 0x4dae24
mov eax, dword [ebx]
add eax, ebx
mov ebx, eax
lea eax, [ebp - 0x160c]
add eax, dword [ebp - 0x10]
mov edi, ebx
cmp eax, edi
ja 0x4dadba
cmp byte [ebp - 0x21], 0
jne 0x4dae53
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x15e0
lea eax, [ebp - 0x160c]
push eax
push 0
push 9
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_ReadEventLogW
test eax, eax
jne 0x4dadb2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_CloseEventLog
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dae70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dae92
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405ec0
ret
Function at 0x4dbc78
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4dbd48
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 8
call fcn.0040308c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4dbd26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax], ebx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 8]
push eax
push 0x4dbab8
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x4dbcdc
mov byte [ebp - 1], 1
jmp 0x4dbce0
mov byte [ebp - 1], 0
lea ecx, [ebp - 0x10]
mov dl, 1
movzx eax, byte [ebp - 1]
call fcn.0040d40c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x4dbd64
call fcn.0040639c
mov eax, dword [ebp - 0xc]
call fcn.00405f54
call fcn.004db3d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dbd2d
mov edx, 8
mov eax, dword [ebp - 8]
call fcn.004030a8
ret

Function at 0x4dbdf8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
mov eax, ebx
xor edx, edx
call fcn.00405ec8
push 0
push edi
lea eax, [ebp - 0x20a]
push eax
push esi
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, ebx
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.004060c8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4dbe40
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, edx
push 0xff
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.004060c8
add esp, 0x200
pop ebx
ret

Function at 0x4dbe70
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, edx
push esp
push 0xff
call sub.kernel32.dll_GetTempPathW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.004060c8
add esp, 0x200
pop ebx
ret

Function at 0x4dbe9c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, edx
push 0xff
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.004060c8
add esp, 0x200
pop ebx
ret

Function at 0x4dbecc
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
mov ebx, eax
mov eax, ebx
xor edx, edx
call fcn.00405ec8
mov dword [ebp - 4], 0x104
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x4dbf09
mov eax, ebx
lea edx, [ebp - 0x20c]
call fcn.00406074
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dbf10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
xor edx, edx
mov dword [ebp - 0x20c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4dbf8c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
test eax, eax
jbe 0x4dbf73
push ebx
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.004060c8
mov eax, dword [ebp - 0x20c]
mov ecx, 2
mov edx, 1
call fcn.00406674
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dbf93
lea eax, [ebp - 0x20c]
call fcn.00405eb8
ret
Function at 0x4dc934
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4dca97
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4dc9b2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x23
lea eax, [ebp - 0x212]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, dword [ebp - 4]
add eax, 8
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.004060c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dc9dd
xor eax, eax
push ebp
push 0x4dca1f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x1a
lea eax, [ebp - 0x212]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, dword [ebp - 4]
add eax, 4
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.004060c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dca4a
lea edx, [ebp - 0x224]
xor eax, eax
call fcn.00403460
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x220]
call fcn.0040d9a0
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 4]
add eax, 0xc
call fcn.00405ec8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dca9e
lea eax, [ebp - 0x224]
mov edx, 4
call fcn.00405ec0
ret
Function at 0x4ea4c8
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4ea5f0
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.004ea3b4
mov eax, dword [esi]
call fcn.004076c0
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x40aa80]
call fcn.00407888
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.00403244
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.00403244
add ebx, 0x1c
mov eax, dword [esi]
call fcn.004076c0
mov dword [ebp - 0xc], eax
mov eax, dword [0x5469b0]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.004e12c4
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.0040368c
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.004076c0
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.004e11b4
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov ebx, eax
mov eax, ebx
call fcn.004e0f8c
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.004e12bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea5f7
lea eax, [ebp - 4]
mov edx, dword [0x40aa80]
call fcn.00407894
ret

Function at 0x505548
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
mov edx, 0x10
call fcn.00406244
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x50556d
sub eax, 4
mov eax, dword [eax]
mov dword [esp], eax
push esp
mov eax, dword [ebx]
call fcn.00405f54
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x50558c
mov eax, ebx
mov edx, dword [esp]
call fcn.00406244
pop ecx
pop edx
pop ebx
ret

Function at 0x50ff30
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 0x50ff8a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0050ff24
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0050d134
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0050cd14
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 0x50ff91
lea eax, [ebp - 4]
call fcn.00405eb8
ret
Function at 0x532c84
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x532d79
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x532d3b
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.005327b8
test al, al
je 0x532ce0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x532d8c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_ShellExecuteW
jmp 0x532cfd
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
jg 0x532d31
cmp eax, 0x1d
je 0x532d31
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
call fcn.00532a98
mov eax, dword [ebp - 0x10]
call fcn.00405f54
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x532d63
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x532d80
lea eax, [ebp - 0x10]
call fcn.00405eb8
ret

Function at 0x532e68
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405eb0
mov eax, dword [ebp - 8]
call fcn.00405eb0
mov eax, dword [ebp - 0xc]
call fcn.00405eb0
xor eax, eax
push ebp
push 0x532fe6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 8], 0
je 0x532ead
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x532eb4
mov dword [ebp - 0x10], 1
xor edx, edx
push ebp
push 0x532f49
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405f54
mov esi, eax
push esi
mov eax, dword [ebp - 8]
call fcn.00405f54
mov ebx, eax
push ebx
mov eax, dword [ebp - 4]
call fcn.00405f54
push eax
push 0x532ff8
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
jg 0x532f3c
push ebp
call fcn.00532da8
pop ecx
test al, al
je 0x532f21
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00405f54
mov ecx, eax
mov edx, 0x532ff8
xor eax, eax
call fcn.00532c84
jmp 0x532f3c
mov eax, dword [ebp - 0x10]
push eax
push esi
push ebx
mov eax, dword [ebp - 4]
call fcn.00405f54
push eax
push 0x532ff8
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x532fcb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x532fed
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405ec0
ret
Function at 0x403368
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFiber]
push 3
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, dword [edx + ebp]
je 0x4033cb
mov eax, 0x4033a0
lea eax, [edx + eax]
push ebp
push eax
push 5
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
call 0x4033cb
xchg esp, esi
cld
lea eax, [esp]
sub eax, 0xfffffff8
mov eax, dword [eax]
lock xchg dword [esp + 0x10], edx
lea eax, [eax + 0x602c]
not eax
inc eax
sub dword [edx - 0x210], eax
je 0x4033a6
pop ecx
add esp, 0x10
jmp ecx