joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f2e0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x640
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x63c], eax
push esi
mov esi, dword [esp + 0x648]
test esi, esi
jne 0x46f318
xor eax, eax
pop esi
mov ecx, dword [esp + 0x63c]
xor ecx, esp
call fcn.004aeca3
add esp, 0x640
ret
push 0x206
lea eax, [esp + 0x43e]
push 0
push eax
mov word [esp + 0x444], 0
call fcn.004afb50
push 0x206
lea ecx, [esp + 0x242]
push 0
push ecx
mov word [esp + 0x248], 0
call fcn.004afb50
lea edx, [esp + 0x450]
add esp, 0x18
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x46f362
lea edx, [esp + 0x438]
push ebx
push edx
call fcn.004b25df
push 0x228
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x18], 0
call fcn.004afb50
add esp, 0x10
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x46f44c
lea ecx, [esp + 8]
push ecx
push ebx
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x46f445
lea esp, [esp]
xor eax, eax
jmp 0x46f3e0
movzx ecx, word [esp + eax + 0x2c]
mov word [esp + eax + 0x234], cx
add eax, 2
test cx, cx
jne 0x46f3e0
lea edx, [esp + 0x234]
push edx
call fcn.004b25df
add esp, 4
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x46f42d
test dx, dx
je 0x46f429
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x46f42d
add eax, 4
add ecx, 4
test dx, dx
jne 0x46f407
xor eax, eax
jmp 0x46f432
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x46f465
lea eax, [esp + 8]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x46f3d0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
xor eax, eax
pop esi
mov ecx, dword [esp + 0x63c]
xor ecx, esp
call fcn.004aeca3
add esp, 0x640
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x644]
mov eax, dword [esp + 0x10]
pop ebx
pop esi
xor ecx, esp
call fcn.004aeca3
add esp, 0x640
ret
Function at 0x46f6e0
Capabilities:
Check if file exists
Copy file
Delete file
Move file

Disassembly:
sub esp, 0x620
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x61c], eax
push ebx
mov ebx, dword [esp + 0x628]
push esi
push edi
mov edi, dword [esp + 0x634]
xor esi, esi
push 0x206
lea eax, [esp + 0x426]
push esi
push eax
mov dword [esp + 0x18], ebx
mov word [esp + 0x42c], si
call fcn.004afb50
push 0x206
lea ecx, [esp + 0x22a]
push esi
push ecx
mov word [esp + 0x230], si
call fcn.004afb50
lea edx, [esp + 0x438]
add esp, 0x18
mov eax, ebx
sub edx, ebx
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x46f750
lea edx, [esp + 0x218]
mov eax, edi
sub edx, edi
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x46f770
lea edx, [esp + 0x420]
push edx
call fcn.004b23bc
lea eax, [esp + 0x21c]
push eax
call fcn.004b23bc
add esp, 8
lea edx, [esp + 0x218]
lea ecx, [esp + 0x420]
lea ebx, [ebx]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x46f7d6
cmp ax, si
je 0x46f7d2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x46f7d6
add ecx, 4
add edx, 4
cmp ax, si
jne 0x46f7b0
xor eax, eax
jmp 0x46f7db
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x46f895
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0x206
lea ecx, [esp + 0x1a]
push 0
push ecx
mov word [esp + 0x20], 0
call fcn.004afb50
add esp, 0xc
test esi, esi
jne 0x46f824
push edi
lea edx, [esp + 0x18]
push str._s.bak
push edx
call fcn.00405340
add esp, 0xc
jmp 0x46f838
push esi
push edi
lea eax, [esp + 0x1c]
push str._s.bak_d
push eax
call fcn.00405340
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46f84e
lea edx, [esp + 0x14]
push edx
call ebx
lea eax, [esp + 0x14]
push eax
push edi
call fcn.004b2648
add esp, 8
lea ecx, [esp + 0x14]
push ecx
call ebx
mov edx, dword [esp + 0x10]
push 0
push edi
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
push 5
push 0
jne 0x46f88d
lea eax, [esp + 0x1c]
push eax
call ebp
cmp esi, 0xa
jge 0x46f894
add esi, 1
jmp 0x46f7f0
lea ecx, [esp + 0x1c]
push ecx
call ebp
pop ebp
mov ecx, dword [esp + 0x628]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004aeca3
add esp, 0x620
ret
Function at 0x46f8b0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x208], eax
push edi
mov edi, dword [esp + 0x214]
push str..del
push edi
call fcn.004ae74f
add esp, 8
test eax, eax
je 0x46f8ff
push 5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.004aeca3
add esp, 0x20c
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
xor esi, esi
lea esp, [esp]
push 0x206
lea eax, [esp + 0x12]
push 0
push eax
mov word [esp + 0x18], 0
call fcn.004afb50
add esp, 0xc
test esi, esi
jne 0x46f944
push edi
lea ecx, [esp + 0x10]
push str._s.del
push ecx
call fcn.00405340
add esp, 0xc
jmp 0x46f958
push esi
push edi
lea edx, [esp + 0x14]
push str._s.del_d
push edx
call fcn.00405340
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46f97c
lea ecx, [esp + 0xc]
push ecx
call ebx
test eax, eax
jne 0x46f97c
cmp esi, 0xa
jge 0x46f999
add esi, 1
jmp 0x46f910
lea edx, [esp + 0xc]
push edx
push edi
call fcn.004b2648
add esp, 8
push 5
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [esp + 0x214]
pop esi
pop ebx
pop edi
xor ecx, esp
call fcn.004aeca3
add esp, 0x20c
ret

Function at 0x46f9c0
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
sub esp, 0x61c
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x618], eax
push ebx
mov ebx, dword [esp + 0x624]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46faf4
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call ebp
test eax, eax
jne 0x46faf3
push esi
push edi
xor edi, edi
push 0x206
lea eax, [esp + 0x21e]
push edi
push eax
mov word [esp + 0x224], di
call fcn.004afb50
push 0x206
lea ecx, [esp + 0x432]
push edi
push ecx
mov word [esp + 0x438], di
call fcn.004afb50
add esp, 0x18
lea edx, [esp + 0x420]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x218]
push eax
push ebx
call fcn.0046f490
add esp, 8
xor esi, esi
push 0x206
lea ecx, [esp + 0x16]
push edi
push ecx
mov word [esp + 0x1c], di
call fcn.004afb50
add esp, 0xc
cmp esi, edi
lea edx, [esp + 0x218]
lea eax, [esp + 0x420]
lea ecx, [esp + 0x10]
jne 0x46faa0
push edx
push eax
push str._s_s.del
push ecx
call fcn.00405340
add esp, 0x10
jmp 0x46fab1
push esi
push edx
push eax
push str._s_s.del_d
push ecx
call fcn.00405340
add esp, 0x14
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46fad5
lea eax, [esp + 0x10]
push eax
call ebp
cmp eax, edi
jne 0x46fad5
cmp esi, 0xa
jge 0x46faf1
add esi, 1
jmp 0x46fa60
lea ecx, [esp + 0x10]
push ecx
push ebx
call fcn.004b2648
add esp, 8
push 5
push edi
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x61c]
pop ebx
xor ecx, esp
call fcn.004aeca3
add esp, 0x61c
ret
Function at 0x46fb10
Capabilities:
Check if file exists
Write file on windows

Disassembly:
sub esp, 0xc14
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0xc10], eax
push ebx
push esi
xor ebx, ebx
push 0x206
lea eax, [esp + 0x21e]
push ebx
push eax
mov word [esp + 0x224], bx
call fcn.004afb50
add esp, 0xc
xor eax, eax
jmp 0x46fb50
movzx ecx, word [eax + str.C:log_]
mov word [esp + eax + 0x218], cx
add eax, 2
cmp cx, bx
jne 0x46fb50
push 0x3e6
lea ecx, [esp + 0x836]
push ebx
push ecx
mov word [esp + 0x83c], bx
call fcn.004afb50
lea edx, [esp + 0x224]
push edx
lea eax, [esp + 0x430]
push 0x574fd8
push eax
call fcn.00405340
push 0x206
lea ecx, [esp + 0x646]
push ebx
push ecx
mov word [esp + 0x64c], bx
call fcn.004afb50
push 0x206
lea edx, [esp + 0x3a]
push ebx
push edx
mov word [esp + 0x40], bx
call fcn.004afb50
add esp, 0x30
push 0x104
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x10]
push 0x5c
push ecx
call fcn.004afca4
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 8
lea edx, [esp + 0x420]
push edx
mov word [eax], bx
call esi
test eax, eax
je 0x46fd4a
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46fc11
sub eax, edx
sar eax, 1
lea eax, [esp + eax*2 + 0x12]
lea edx, [esp + 0x628]
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x46fc30
push edi
lea eax, [esp + 0x62c]
push eax
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0x42c]
push str._s_s.txt
push edx
call fcn.00405340
mov ecx, dword [esp + 0xc34]
lea eax, [esp + 0xc38]
push eax
push ecx
lea edx, [esp + 0x84c]
push 0x1f3
push edx
call fcn.004b2748
add esp, 0x20
lea eax, [esp + 0x424]
push eax
mov word [esp + 0xc1e], bx
xor edi, edi
call esi
test eax, eax
je 0x46fca4
mov edi, 1
lea ecx, [esp + 0x424]
push 0x581ecc
push ecx
call fcn.004b214d
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x46fd49
cmp edi, ebx
jne 0x46fce1
push esi
push 2
lea edx, [esp + 0x18]
push 1
push edx
mov dword [esp + 0x20], 0xfeff
call fcn.004b1b6c
add esp, 0x10
lea eax, [esp + 0x834]
lea edx, [eax + 2]
jmp 0x46fcf0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46fcf0
sub eax, edx
sar eax, 1
push esi
add eax, eax
push eax
lea ecx, [esp + 0x83c]
push 1
push ecx
call fcn.004b1b6c
push esi
push 2
lea edx, [esp + 0x24]
push 1
push edx
mov dword [esp + 0x2c], 0xd
call fcn.004b1b6c
push esi
push 2
lea eax, [esp + 0x34]
push 1
push eax
mov dword [esp + 0x3c], 0xa
call fcn.004b1b6c
push esi
call fcn.004b1e19
add esp, 0x34
pop edi
mov ecx, dword [esp + 0xc18]
pop esi
pop ebx
xor ecx, esp
call fcn.004aeca3
add esp, 0xc14
ret

Function at 0x46fd70
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x11c], eax
push 0x11c
lea eax, [esp + 4]
push 0
push eax
call fcn.004afb50
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
mov ecx, dword [esp + 0x11c]
sbb eax, eax
xor ecx, esp
add eax, 1
call fcn.004aeca3
add esp, 0x120
ret
Function at 0x46ffb0
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0x128
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
push 0x114
xor esi, esi
lea eax, [esp + 0x18]
push esi
push eax
call fcn.004afb50
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x470066
cmp dword [esp + 0x18], 5
jbe 0x470066
lea edx, [esp + 4]
push edx
push 0x20019
push esi
mov eax, 4
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x470066
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push esi
push str.EnableLUA
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47005b
xor ecx, ecx
cmp dword [esp + 8], esi
setne cl
mov esi, ecx
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x128]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004aeca3
add esp, 0x128
ret
Function at 0x470b70
Capabilities:
Get common file path

Disassembly:
sub esp, 0xfa4
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0xfa0], eax
push ebx
mov ebx, dword [esp + 0xfac]
push esi
push edi
push 0x7d0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
movzx ecx, word [eax + str.Program_FilesInternet_Exploreriexplore.exe]
mov word [esp + eax + 0x18], cx
add eax, 2
test cx, cx
jne 0x470ba0
mov eax, ebx
mov edx, ebx
jmp 0x470bc0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x470bc0
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x470bd4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 1
push 0
push 0
push ebx
mov ecx, eax
push str.open
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop edi
pop esi
pop ebx
ja 0x470c18
lea ecx, [esp]
push ecx
call fcn.0046f230
add esp, 4
mov ecx, dword [esp + 0xfa0]
xor ecx, esp
call fcn.004aeca3
add esp, 0xfa4
ret
mov eax, 0x11ac
call fcn.004b0500
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x11a8], eax
push esi
mov esi, dword [esp + 0x11b4]
push 0x206
lea eax, [esp + 0xa]
push 0
push eax
mov word [esp + 0x10], 0
call fcn.004afb50
lea ecx, [esp + 0x10]
push ecx
call fcn.0046ef10
add esp, 0x10
test eax, eax
jne 0x470d38
push esi
call 0x470b70
add esp, 4
pop esi
mov ecx, dword [esp + 0x11a8]
xor ecx, esp
call fcn.004aeca3
add esp, 0x11ac
ret
push 0xf9e
lea edx, [esp + 0x212]
push 0
push edx
mov word [esp + 0x218], 0
call fcn.004afb50
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x220]
push str.__s___s
push ecx
call fcn.00405340
lea edx, [esp + 0x228]
push edx
call fcn.0046f230
mov ecx, dword [esp + 0x11cc]
add esp, 0x20
pop esi
xor ecx, esp
call fcn.004aeca3
add esp, 0x11ac
ret
call fcn.0046f0d0
test eax, eax
je 0x470dae
jmp 0x470b70
jmp 0x470cd0

Function at 0x470c30
Capabilities:
Create process on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
lea edx, [eax + 2]
jmp 0x470c40
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x470c40
sub eax, edx
sar eax, 1
je 0x470c73
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x470c73
push esi
call fcn.0046f230
add esp, 4
pop esi
pop ecx
ret
Function at 0x470da0
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0xfa4
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0xfa0], eax
push ebx
mov ebx, dword [esp + 0xfac]
push esi
push edi
push 0x7d0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
movzx ecx, word [eax + str.Program_FilesInternet_Exploreriexplore.exe]
mov word [esp + eax + 0x18], cx
add eax, 2
test cx, cx
jne 0x470ba0
mov eax, ebx
mov edx, ebx
jmp 0x470bc0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x470bc0
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x470bd4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
push 1
push 0
push 0
push ebx
mov ecx, eax
push str.open
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop edi
pop esi
pop ebx
ja 0x470c18
lea ecx, [esp]
push ecx
call fcn.0046f230
add esp, 4
mov ecx, dword [esp + 0xfa0]
xor ecx, esp
call fcn.004aeca3
add esp, 0xfa4
ret
mov eax, 0x11ac
call fcn.004b0500
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x11a8], eax
push esi
mov esi, dword [esp + 0x11b4]
push 0x206
lea eax, [esp + 0xa]
push 0
push eax
mov word [esp + 0x10], 0
call fcn.004afb50
lea ecx, [esp + 0x10]
push ecx
call fcn.0046ef10
add esp, 0x10
test eax, eax
jne 0x470d38
push esi
call 0x470b70
add esp, 4
pop esi
mov ecx, dword [esp + 0x11a8]
xor ecx, esp
call fcn.004aeca3
add esp, 0x11ac
ret
push 0xf9e
lea edx, [esp + 0x212]
push 0
push edx
mov word [esp + 0x218], 0
call fcn.004afb50
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x220]
push str.__s___s
push ecx
call fcn.00405340
lea edx, [esp + 0x228]
push edx
call fcn.0046f230
mov ecx, dword [esp + 0x11cc]
add esp, 0x20
pop esi
xor ecx, esp
call fcn.004aeca3
add esp, 0x11ac
ret
call fcn.0046f0d0
test eax, eax
je 0x470dae
jmp 0x470b70
jmp 0x470cd0
Function at 0x472100
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x562710
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x651788]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [esp + 0x5c]
xor esi, esi
mov eax, edx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], esi
mov word [esp + 0x30], si
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x472144
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x34]
call fcn.00402120
mov edx, dword [esp + 0x58]
mov eax, edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x472180
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00402120
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 8]
lea edx, [esp + 0x2c]
lea ecx, [ebx + 0x20]
push edx
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x58], 1
call eax
mov edi, 8
cmp dword [esp + 0x28], edi
jb 0x4721cc
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00492573
add esp, 4
cmp dword [esp + 0x44], edi
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
jb 0x4721f0
mov edx, dword [esp + 0x30]
push edx
call fcn.00492573
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x44
ret 8
Function at 0x473320
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov byte [esi + 0x68], al
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov eax, dword [esp + 8]
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
cmp dword [eax + 0x18], 0x10
mov ecx, dword [eax + 0x14]
jb 0x473368
mov eax, dword [eax + 4]
push ecx
push eax
mov ecx, esi
call fcn.00473160
mov eax, esi
pop esi
ret 4
push ecx
add eax, 4
push eax
mov ecx, esi
call fcn.00473160
mov eax, esi
pop esi
ret 4

Function at 0x4734d0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 1
mov esi, ecx
push 0
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x473513
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, esi
pop esi
ret 4
mov dword [esi + 4], 1
mov eax, esi
pop esi
ret 4

Function at 0x473540
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 1
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x47357b
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov dword [esi + 4], 0
pop esi
ret 4
mov dword [esi + 4], 1
pop esi
ret 4
Function at 0x4735a0
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x42c
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x428], eax
mov eax, dword [esp + 0x430]
push esi
lea ecx, [esp + 4]
push ecx
xor esi, esi
push 9
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WSOCK32.dll_accept
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x473604
xor eax, eax
pop esi
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.004aeca3
add esp, 0x42c
ret 4
push ebp
push 0x206
lea edx, [esp + 0x26]
push esi
push edx
mov word [esp + 0x2c], si
call fcn.004afb50
mov ecx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
add esp, 0xc
push 0x104
lea eax, [esp + 0x24]
push eax
push esi
push ecx
call ebp
test eax, eax
jne 0x4736fd
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ebx, [eax + 1]
jmp 0x473650
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4736df
push 0x206
push eax
lea edx, [esp + 0x23a]
push edx
mov dword [esp + 0x28], 0x104
mov word [esp + 0x23c], ax
call fcn.004afb50
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x234]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push 0x582528
push eax
mov dword [esp + 0x3c], ebx
call edi
test eax, eax
jne 0x4736d4
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x234]
push edx
call fcn.004ae74f
add esp, 8
test eax, eax
je 0x4736d4
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x10]
push 0x104
lea ecx, [esp + 0x2c]
push ecx
add esi, ebx
push esi
push edx
call ebp
test eax, eax
je 0x473650
pop edi
pop ebx
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x430]
mov eax, dword [esp + 0x10]
pop ebp
pop esi
xor ecx, esp
call fcn.004aeca3
add esp, 0x42c
ret 4
Function at 0x4739b0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x562856
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov eax, dword [0x651788]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov esi, dword [esp + 0x264]
xor edi, edi
push 0x206
lea eax, [esp + 0x4e]
push edi
push eax
mov word [esp + 0x54], di
call fcn.004afb50
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push edi
push 0x19
lea ecx, [esp + 0x50]
push ecx
push edi
call ebx
test eax, eax
je 0x473b01
lea eax, [esp + 0x48]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], edi
mov word [esp + 0x30], di
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x473a40
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x34]
call fcn.00402120
push 1
push 0x5a6604
lea ecx, [esp + 0x34]
mov dword [esp + 0x264], edi
call fcn.00403e10
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x473a80
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x34]
call fcn.00403e10
push 4
push str..lnk
lea ecx, [esp + 0x34]
call fcn.00403e10
cmp dword [esp + 0x44], 8
mov eax, dword [esp + 0x30]
jae 0x473ab9
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x473ae2
cmp dword [esp + 0x44], 8
jb 0x473ad8
mov eax, dword [esp + 0x30]
push eax
call fcn.00492573
add esp, 4
mov eax, 1
jmp 0x473beb
cmp dword [esp + 0x44], 8
mov dword [esp + 0x25c], 0xffffffff
jb 0x473b01
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00492573
add esp, 4
push edi
push 0x10
lea edx, [esp + 0x50]
push edx
push edi
call ebx
test eax, eax
je 0x473be9
lea eax, [esp + 0x48]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x473b30
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x18]
call fcn.00402120
push 1
push 0x5a6604
lea ecx, [esp + 0x18]
mov dword [esp + 0x264], 1
call fcn.00403e10
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x473b70
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00403e10
push 4
push str..lnk
lea ecx, [esp + 0x18]
call fcn.00403e10
mov eax, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0x473bad
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x473bd6
cmp dword [esp + 0x28], esi
jb 0x473ad8
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00492573
add esp, 4
mov eax, 1
jmp 0x473beb
cmp dword [esp + 0x28], esi
jb 0x473be9
mov edx, dword [esp + 0x14]
push edx
call fcn.00492573
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.004aeca3
add esp, 0x250
ret 4