joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413888
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [esi], 0
push edi
jne 0x413901
cmp dword [esi + 4], 0xffffffff
jne 0x413901
lea edi, [esi + 0x240]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.00437637
movzx eax, word [esi + eax*2 + 0x23e]
cmp ax, 0x5c
pop ecx
je 0x4138d1
cmp ax, 0x2f
je 0x4138d1
push 0x4662e4
push edi
call fcn.00437b98
pop ecx
pop ecx
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00412b14
test eax, eax
pop ecx
pop ecx
jne 0x4138e8
mov eax, dword [ebp + 8]
jmp 0x413906
push eax
call fcn.00412e8e
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
pop ecx
add eax, 0x200
jmp 0x413906
mov eax, 0x1000000
pop edi
pop ebp
ret 4

Function at 0x413d77
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x47d9a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test cx, cx
push ebx
mov ebx, dword [ebp + 8]
je 0x413e22
push esi
push edi
mov edi, eax
mov edx, eax
movzx ecx, cx
cmp cx, 0x2f
je 0x413db2
cmp cx, 0x5c
jne 0x413db4
mov edi, edx
inc edx
inc edx
movzx ecx, word [edx]
test cx, cx
jne 0x413da6
cmp edi, eax
mov esi, edi
je 0x413df4
sub esi, eax
sar esi, 1
add esi, esi
push esi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00439fa0
and word [ebp + esi - 0x20c], 0
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00413d77
add esp, 0x14
lea esi, [edi + 2]
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00437bc2
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00437b98
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00436e5a
leave
ret
Function at 0x413e2f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4654
call fcn.0043ddc0
mov eax, dword [0x47d9a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
cmp dword [ebx + 4], 0xffffffff
push esi
push edi
mov dword [ebp - 0x4650], ebx
mov dword [ebp - 0x464c], eax
je 0x413e67
mov edi, dword [ebx]
call fcn.004137a6
mov esi, dword [ebx]
mov edi, dword [ebp + 8]
or dword [ebx + 4], 0xffffffff
cmp edi, dword [esi + 4]
jl 0x413e7f
mov eax, 0x10000
jmp 0x414080
cmp edi, dword [esi + 0x10]
jge 0x413e92
call fcn.0041321d
jmp 0x413e92
mov esi, dword [ebx]
call fcn.00413252
mov eax, dword [ebx]
cmp dword [eax + 0x10], edi
jl 0x413e8b
push edi
mov edi, dword [ebp - 0x4650]
lea ebx, [ebp - 0x4648]
mov ecx, edi
call fcn.0041394c
test byte [ebp - 0x443c], 0x10
je 0x413ebd
xor eax, eax
jmp 0x414080
lea eax, [edi + 0x240]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00437bc2
push dword [ebp - 0x464c]
lea eax, [ebp - 0x210]
push eax
call fcn.00437b98
xor ebx, ebx
add esp, 0x10
cmp word [ebp - 0x210], bx
lea esi, [ebp - 0x210]
mov eax, esi
je 0x413fc4
movzx ecx, word [ebp - 0x210]
cmp cx, 0x2f
je 0x413f0f
cmp cx, 0x5c
jne 0x413f12
lea esi, [eax + 2]
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, bx
jne 0x413f03
lea eax, [ebp - 0x210]
cmp esi, eax
je 0x413fc4
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00437bc2
lea eax, [ebp - 0x210]
sub esi, eax
sar esi, 1
pop ecx
mov word [ebp + esi*2 - 0x41a], bx
cmp word [ebp - 0x418], bx
pop ecx
je 0x413f76
cmp word [ebp - 0x418], 0x2f
je 0x413f76
cmp word [ebp - 0x418], 0x5c
je 0x413f76
cmp word [ebp - 0x416], 0x3a
je 0x413f76
xor bl, bl
jmp 0x413f78
mov bl, 1
lea eax, [ebp - 0x418]
push 0x46bbec
push eax
call fcn.004382a1
mov esi, eax
lea eax, [ebp - 0x418]
push 0x46bbf4
push eax
call fcn.004382a1
add esp, 0x10
test eax, eax
setne al
test esi, esi
setne cl
or al, cl
or al, bl
jne 0x413fc4
lea eax, [ebp - 0x418]
push eax
lea eax, [edi + 0x240]
push eax
call fcn.00413d77
pop ecx
pop ecx
xor eax, eax
push eax
push dword [ebp - 0x443c]
push 2
push eax
push eax
push 0x40000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x413ff4
mov eax, 0x200
jmp 0x414080
push dword [edi + 0x23c]
mov ebx, dword [edi]
call fcn.00413466
pop ecx
xor ebx, ebx
lea eax, [ebp - 0x4418]
push eax
mov eax, dword [edi]
mov ecx, 0x4000
call fcn.004135ba
cmp eax, 0xffffff96
pop ecx
je 0x414046
test eax, eax
jl 0x41404d
je 0x414054
push 0
lea ecx, [ebp - 0x464c]
push ecx
push eax
lea eax, [ebp - 0x4418]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x414004
mov ebx, 0x400
jmp 0x414070
mov ebx, 0x1000
jmp 0x414070
mov ebx, 0x5000000
jmp 0x414070
lea eax, [ebp - 0x4428]
push eax
lea eax, [ebp - 0x4438]
push eax
lea eax, [ebp - 0x4430]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
call fcn.004137a6
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00436e5a
leave
ret 8
Function at 0x41422b
Capabilities:
Get session user name
Set current directory

Disassembly:
push 0x1b0
mov eax, 0x4594a3
call fcn.0043d503
xor ebx, ebx
push 0x18e
lea eax, [ebp - 0x19e]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp - 0x1a0], bx
call fcn.00439d90
add esp, 0xc
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x1a0]
push eax
mov dword [ebp - 0x1b4], 0xc8
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.004147dc
push eax
lea eax, [ebp - 0x1a0]
push eax
push str.USER:_s___AdminProcess:_d
call fcn.00407571
add esp, 0xc
call fcn.0041bb36
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00405f08
mov byte [ebp - 4], 1
call fcn.0041bb36
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00405f08
mov byte [ebp - 4], 2
call fcn.0041bb36
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00405f08
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 3
call fcn.00403458
lea eax, [ebp + 8]
push eax
call fcn.0040bbde
test al, al
pop ecx
je 0x414303
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00403190
jmp 0x414365
push str.SYSTEM
lea esi, [ebp - 0x1a8]
call fcn.00405b92
test eax, eax
lea edi, [ebp - 0x1bc]
lea esi, [ebp - 0x1b8]
lea eax, [ebp - 0x1ac]
jl 0x414339
push 0x23
push eax
call fcn.00414494
pop ecx
pop ecx
mov byte [ebp - 4], 4
jmp 0x414347
push 0x1c
push eax
call fcn.00414494
pop ecx
pop ecx
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00403190
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1ac]
add ecx, 0xfffffff0
call fcn.004010ea
push 0x46bc18
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402fc0
push str.ZohoMeeting
lea ecx, [ebp - 0x1a4]
call fcn.00403433
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x1b0]
call fcn.00403190
mov esi, dword [ebp - 0x1b0]
push esi
call fcn.0043818b
test eax, eax
pop ecx
je 0x4143c0
call fcn.00438fd5
cmp dword [eax], 0x11
je 0x4143c0
push esi
push str.Unable_to_create_directory:___s
call fcn.004074db
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x41440d
push str.Unable_to_set_working_directory
call fcn.004074db
pop ecx
lea ecx, [esi - 0x10]
call fcn.004010ea
mov ecx, dword [ebp - 0x1a8]
add ecx, 0xfffffff0
call fcn.004010ea
mov ecx, dword [ebp - 0x1a4]
add ecx, 0xfffffff0
call fcn.004010ea
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004010ea
mov al, bl
call fcn.0043d586
ret
mov bl, 1
jmp 0x4143d6

Function at 0x414411
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x47d9a0]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 8
mov eax, 0x45857e
call fcn.0043d49a
and dword [ebp - 0x10], 0
lea eax, [ebp]
push eax
push 0x104
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, esi
call fcn.00402eda
and dword [ebp - 4], 0
lea eax, [ebp]
push eax
push 0x466c9c
push esi
mov dword [ebp - 0x10], 1
call fcn.00403880
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.00436e5a
add ebp, 0x210
leave
ret
Function at 0x4144fc
Capabilities:
Copy file

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
lea ecx, [esi - 0x10]
call fcn.004010ea
lea ecx, [edi - 0x10]
call fcn.004010ea
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x4147dc
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x47d9a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x41483a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.AllocateAndInitializeSid_Status_:__d
call fcn.004074db
pop ecx
pop ecx
xor eax, eax
jmp 0x414871
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x414865
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CheckTokenMembership_Status_:__d
call fcn.004074db
pop ecx
pop ecx
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00436e5a
leave
ret

Function at 0x41487e
Capabilities:
Create process on windows

Disassembly:
push 0x3c
mov eax, 0x457d94
call fcn.0043d49a
mov dword [ebp - 4], 2
xor esi, esi
push esi
lea ecx, [ebp + 8]
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], str.runas
call fcn.004032a1
push esi
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x38], eax
call fcn.004032a1
push esi
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x34], eax
call fcn.004032a1
cmp dword [ebp + 0x18], 1
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
jne 0x4148ed
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
cmp esi, 1
jne 0x414917
jmp 0x414907
push 1
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jge 0x414914
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x414917
xor esi, esi
inc esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004010ea
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004010ea
lea ecx, [ebx - 0x10]
call fcn.004010ea
mov eax, esi
call fcn.0043d572
ret
Function at 0x41499e
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0x23c
mov eax, 0x459419
call fcn.0043d503
xor edi, edi
push edi
push 2
mov dword [ebp - 4], edi
xor ebx, ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4149d6
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004010ea
mov eax, edi
call fcn.0043d586
ret
lea eax, [ebp - 0x240]
push eax
push esi
mov dword [ebp - 0x240], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4149f8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x248], eax
push edi
lea ecx, [ebp + 8]
call fcn.004032a1
lea ecx, [ebp - 0x21c]
push ecx
push eax
call fcn.00437d6f
test eax, eax
pop ecx
pop ecx
jne 0x414a2e
mov eax, dword [ebp - 0x238]
cmp eax, dword [ebp - 0x248]
jne 0x414a41
lea eax, [ebp - 0x240]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x414a04
jmp 0x414a7e
push eax
xor ebx, ebx
push edi
inc ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
lea eax, [ebp - 0x244]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x414a7e
cmp dword [ebp + 0xc], edi
je 0x414a7e
push dword [ebp - 0x244]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push str.Process_killed
call fcn.00407571
pop ecx
mov edi, ebx
jmp 0x4149c3
Function at 0x414d5c
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x4593e9
call fcn.0043d503
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x462fac
mov ecx, esi
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x130], ebx
call fcn.00402eee
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x128]
inc ebx
push eax
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x128], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x124]
xor edx, edx
sub eax, edx
mov dword [edi], ecx
je 0x414e6c
dec eax
je 0x414e36
dec eax
jne 0x414e81
cmp ecx, 5
jne 0x414e05
cmp dword [ebp - 0x120], edx
jne 0x414de6
lea eax, [ebp - 0x114]
push eax
push str.Windows_2000_With__s
jmp 0x414dfa
cmp dword [ebp - 0x120], ebx
jne 0x414e28
lea eax, [ebp - 0x114]
push eax
push str.Windows_XP__s
push esi
call fcn.00403880
add esp, 0xc
jmp 0x414e81
cmp ecx, 4
ja 0x414e28
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x120]
push ecx
push str.Windows_NT__d._d_with__s
push esi
call fcn.00403880
add esp, 0x14
jmp 0x414e81
push dword [ebp - 0x120]
push ecx
push str.Windows__d._d
jmp 0x414e78
cmp dword [ebp - 0x120], edx
jne 0x414e45
push str.Windows_t95
jmp 0x414e63
cmp dword [ebp - 0x120], 0xa
jne 0x414e55
push str.Windows_98
jmp 0x414e63
cmp dword [ebp - 0x120], 0x5a
jne 0x414e81
push str.Windows_tMe
mov ecx, esi
call fcn.00403458
jmp 0x414e81
push dword [ebp - 0x120]
push ecx
push 0x46bf54
push esi
call fcn.00403880
add esp, 0x10
lea eax, [ebp - 0x12c]
push str.OSVersion:
push eax
mov ecx, esi
call fcn.00405cfd
pop ecx
pop ecx
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00403190
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x12c]
add ecx, 0xfffffff0
call fcn.004010ea
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
push dword [ebp - 0x124]
push str.Microsoft_Windows_Version__d._d._d
push esi
call fcn.00403880
add esp, 0x14
push dword [esi]
push 0x466c9c
call fcn.004074db
pop ecx
pop ecx
mov eax, esi
call fcn.0043d586
ret
Function at 0x414f36
Capabilities:
Delete file

Disassembly:
push 0x18
mov eax, 0x458def
call fcn.0043d49a
and dword [ebp - 4], 0
call fcn.0041bb36
push eax
lea ecx, [ebp - 0x14]
call fcn.00405f08
mov byte [ebp - 4], 1
call fcn.0041bb36
push eax
lea ecx, [ebp - 0x20]
call fcn.00405f08
mov byte [ebp - 4], 2
call fcn.0041bb36
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405f08
mov byte [ebp - 4], 3
push dword [ebp + 0x20]
lea eax, [ebp - 0x10]
push eax
lea edi, [ebp - 0x18]
lea esi, [ebp - 0x24]
call fcn.00414494
pop ecx
pop ecx
push 0x4662e4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00403433
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00405c42
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00403190
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004010ea
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov edi, eax
call fcn.004010ea
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004010ea
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004010ea
lea ecx, [esi - 0x10]
call fcn.004010ea
lea esi, [ebp + 8]
call fcn.0040e980
mov eax, edi
call fcn.0043d572
ret

Function at 0x415012
Capabilities:
Check if file exists

Disassembly:
push 0x18
mov eax, 0x4593a1
call fcn.0043d49a
and dword [ebp - 4], 0
push dword [ebp + 0xc]
push str.ExePath__:__s
call fcn.004074db
pop ecx
pop ecx
call fcn.0041bb36
push eax
lea ecx, [ebp - 0x14]
call fcn.00405f08
mov byte [ebp - 4], 1
call fcn.0041bb36
push eax
lea ecx, [ebp - 0x20]
call fcn.00405f08
mov byte [ebp - 4], 2
call fcn.0041bb36
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405f08
mov byte [ebp - 4], 3
push dword [ebp + 0x20]
lea eax, [ebp - 0x10]
push eax
lea edi, [ebp - 0x18]
lea esi, [ebp - 0x24]
call fcn.00414494
pop ecx
pop ecx
push 0x4662e4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00403433
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00405c42
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00403190
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004010ea
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov edi, eax
call fcn.004010ea
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004010ea
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004010ea
lea ecx, [esi - 0x10]
call fcn.004010ea
lea esi, [ebp + 8]
call fcn.0040e980
mov eax, edi
call fcn.0043d572
ret
Function at 0x415551
Capabilities:
Create process on windows

Disassembly:
push 0xc
mov eax, 0x4592ad
call fcn.0043d49a
xor esi, esi
inc esi
mov dword [ebp - 4], esi
call fcn.0041bb36
push eax
lea ecx, [ebp - 0x14]
call fcn.00405f08
push 0x46c348
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00403433
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp - 0x14]
push edi
push esi
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
push str.ZM_CMD_:__s
mov dword [ebp - 0x18], eax
call fcn.004074db
pop ecx
pop ecx
call fcn.0041bb36
push eax
lea ecx, [ebp - 0x10]
call fcn.00405f08
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push str.Application__Started_with_status_code_:__d
push eax
mov byte [ebp - 4], 3
call fcn.00403880
add esp, 0xc
push dword [ebp - 0x10]
push 0x466c9c
call fcn.004074db
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004010ea
lea ecx, [esi - 0x10]
call fcn.004010ea
lea ecx, [ebx - 0x10]
call fcn.004010ea
lea ecx, [edi - 0x10]
call fcn.004010ea
mov eax, dword [ebp - 0x18]
call fcn.0043d572
ret
Function at 0x4159cd
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xbc4
mov eax, 0x45920a
call fcn.0043d503
mov esi, ecx
xor edi, edi
push 0xbb6
lea eax, [ebp - 0xbc6]
mov dword [ebp - 4], edi
push edi
push eax
mov dword [ebp - 0xbd0], 0x3ffe
mov word [ebp - 0xbc8], di
call fcn.00439d90
add esp, 0xc
cmp dword [esi + 0x10], edi
mov esi, dword [esi + 4]
lea eax, [ebp - 0xbcc]
mov dword [ebp - 0xbcc], edi
push eax
je 0x415a25
push 0xf013f
jmp 0x415a2a
push 0xf003f
push edi
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x415ac7
push edi
push str.writeValue:__Key_found_..._:__d
call fcn.004074db
push str.writeValue:__After_addRegistryKey_method_in_writeValue_method__
call fcn.004074db
mov esi, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 0xbd0]
push eax
lea eax, [ebp - 0xbc8]
push eax
lea eax, [ebp + 0xc]
push eax
push edi
push esi
push dword [ebp - 0xbcc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415aaf
push str.value_is_found
call fcn.004074db
pop ecx
lea eax, [ebp - 0xbc8]
push eax
push 0x466c9c
push ebx
call fcn.00403880
add esp, 0xc
push dword [ebp - 0xbcc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esi - 0x10]
jmp 0x415ada
push dword [ebp - 0xbcc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esi - 0x10]
call fcn.004010ea
xor al, al
jmp 0x415ae1
push eax
push str.writeValue:__Key_open_failure___d
call fcn.004074db
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004010ea
mov al, 1
call fcn.0043d586
ret 8
Function at 0x415cff
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4591da
mov eax, dword fs:[0]
push eax
mov eax, 0x8bd8
call fcn.0043ddc0
mov eax, dword [0x47d9a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push 0xbb6
xor ebx, ebx
lea eax, [ebp - 0xbc6]
push edi
inc ebx
push eax
mov dword [ebp - 0x8bdc], 0x3ffe
mov dword [ebp - 0x8bd8], 0x3fff
mov dword [ebp - 0x8be0], ebx
mov word [ebp - 0xbc8], di
call fcn.00439d90
mov eax, dword [esi + 4]
add esp, 0xc
cmp dword [esi + 0x10], edi
push esi
je 0x415d7b
push 0x101
jmp 0x415d7c
push ebx
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
mov dword [ebp - 0x8bcc], eax
je 0x415da9
push eax
push dword [esi + 4]
push str.ReadDwordRegistryData:_Error_while_opening_registry_key__s_and_the_errorcode_is_:__d
call fcn.004074db
add esp, 0xc
jmp 0x415ebe
push 0x462fac
lea ecx, [ebp - 0x8bd4]
call fcn.00402eee
lea ebx, [esi + 0x18]
push 0x462fd2
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00402f76
mov dword [esi + 0x14], edi
mov dword [ebp - 0x8bd0], edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x8bd8]
push eax
lea eax, [ebp - 0x8bc8]
push eax
push dword [ebp - 0x8bd0]
mov dword [ebp - 0x8bd8], 0x3fff
push dword [esi]
mov word [ebp - 0x8bc8], di
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x415ea8
inc dword [esi + 0x14]
lea eax, [ebp - 0x8bdc]
push eax
lea eax, [ebp - 0xbc8]
push eax
lea eax, [ebp - 0x8be0]
push eax
push edi
lea eax, [ebp - 0x8bc8]
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x8bdc]
mov dword [ebp - 0x8bcc], eax
lea eax, [ebp - 0xbc8]
push eax
lea eax, [ebp - 0x8bc8]
push eax
push str.ReadURSInfoFromReg___s___s__Len:_d_n
call fcn.00407571
lea eax, [ebp - 0xbc8]
push eax
lea eax, [ebp - 0x8bc8]
push eax
lea eax, [ebp - 0x8bd4]
push str._s_t_s
push eax
call fcn.00403880
add esp, 0x20
lea eax, [ebp - 0x8bd4]
push eax
mov ecx, ebx
call fcn.004031dd
push 0x46cc24
mov ecx, ebx
call fcn.00403433
inc dword [ebp - 0x8bd0]
cmp dword [ebp - 0x8bd0], 0x64
jb 0x415dd4
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x8bd4]
add ecx, 0xfffffff0
call fcn.004010ea
mov eax, dword [ebp - 0x8bcc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00436e5a
leave
ret
Function at 0x415edd
Capabilities:
Delete registry value

Disassembly:
push 0x10
mov eax, 0x4591aa
call fcn.0043d503
mov esi, ecx
lea edi, [esi + 4]
xor ebx, ebx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00403172
push 0x4662e4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00403433
mov eax, dword [ebp + 8]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.00403682
cmp dword [esi + 0x10], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
je 0x415f2e
push 0x102
jmp 0x415f30
push 2
push ebx
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, ebx
je 0x415f70
push dword [edi]
push esi
push 0x46cc28
call fcn.004074db
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004010ea
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004010ea
mov eax, esi
call fcn.0043d586
ret 4
push ebx
lea ecx, [ebp + 8]
call fcn.004032a1
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x415fa7
push dword [ebp + 8]
push esi
push str.Deleting_key:_:__d____s
call fcn.004074db
add esp, 0xc
xor esi, esi
jmp 0x415f50
xor esi, esi
inc esi
jmp 0x415f50