joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407f92
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.004137b0
add esp, 0xc
mov dword [ebp - 0x54], 0x44
cmp byte [ebp + 0x10], bl
jne 0x407fc0
xor eax, eax
or dword [ebp - 0x28], 1
mov word [ebp - 0x24], ax
push edi
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
xor eax, eax
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edx, [ebp - 0x10]
push edx
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea edx, [ebp - 0x54]
push edx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
test eax, eax
je 0x408028
mov dword [ebp + 0x10], ebx
cmp byte [ebp + 0x14], bl
je 0x408011
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push esi
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp + 0x10]
pop esi
jmp 0x40802b
or eax, 0xffffffff
pop ebx
leave
ret

Function at 0x40802e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408052
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x408052
xor eax, eax
inc eax
jmp 0x408054
xor eax, eax
pop esi
pop ebp
ret

Function at 0x408057
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40807b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x40807b
xor eax, eax
inc eax
jmp 0x40807d
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4089bc
Capabilities:
Copy file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
mov esi, dword [eax]
mov dword [ebp - 4], esi
cmp esi, eax
je 0x408a0d
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
je 0x4089ef
push 9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x4089f9
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x408a13
lea ecx, [ebp - 4]
call fcn.00408440
mov esi, dword [ebp - 4]
cmp esi, dword [edi + 4]
jne 0x4089d0
mov al, 1
pop edi
pop esi
leave
ret
xor al, al
jmp 0x408a0f
Function at 0x408ba2
Capabilities:
Check if file exists
Copy file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ecx + 4]
push ebx
mov ebx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], ebx
mov byte [ebp - 1], 1
cmp ebx, eax
je 0x408c84
push esi
push edi
mov esi, str..bak
push esi
add ebx, 0xc
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00408aa0
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
mov edi, eax
call fcn.00407b82
test edi, edi
je 0x408c6b
push esi
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.00408aa0
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov edi, eax
call fcn.00407b82
push esi
and edi, 0x10
mov edi, dword [ebx]
push ebx
je 0x408c3a
lea eax, [ebp - 0x14]
push eax
call fcn.00408aa0
mov eax, dword [eax]
add esp, 0xc
push 9
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x14]
jmp 0x408c55
lea eax, [ebp - 0x18]
push eax
call fcn.00408aa0
mov eax, dword [eax]
add esp, 0xc
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x18]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.00407b82
inc bl
je 0x408c6b
mov byte [ebp - 1], 0
lea ecx, [ebp - 8]
call fcn.00408440
mov ebx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
cmp ebx, dword [eax + 4]
jne 0x408bc7
pop edi
pop esi
mov al, byte [ebp - 1]
pop ebx
leave
ret

Function at 0x408c8a
Capabilities:
Check if file exists
Copy file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ecx + 4]
push ebx
push esi
mov esi, dword [eax]
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], esi
cmp esi, eax
je 0x408d29
mov edi, str..bak
add esi, 0xc
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408d16
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push edi
push esi
test al, 0x10
je 0x408ce7
lea eax, [ebp - 8]
push eax
call fcn.00408aa0
mov eax, dword [eax]
mov esi, dword [esi]
add esp, 0xc
push 9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 8]
jmp 0x408d04
lea eax, [ebp - 0xc]
push eax
call fcn.00408aa0
mov eax, dword [eax]
mov esi, dword [esi]
add esp, 0xc
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0xc]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.00407b82
inc bl
jne 0x408d30
lea ecx, [ebp - 4]
call fcn.00408440
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
cmp esi, dword [eax + 4]
jne 0x408cab
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
xor al, al
jmp 0x408d2b
Function at 0x408d34
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x433eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
push 0x10
pop edi
sub eax, edi
push eax
mov dword [ebp - 0x264], ecx
call fcn.00407e06
add eax, edi
mov dword [ebp - 0x25c], eax
mov eax, dword [esi]
sub eax, edi
push eax
call fcn.00407e06
add eax, edi
mov edi, 0x42b61c
push edi
mov dword [ebp - 0x258], eax
call fcn.00407d9c
add esp, 0xc
push eax
push edi
lea ecx, [ebp - 0x25c]
call fcn.004087df
mov edi, 0x42b614
push edi
call fcn.00407d9c
pop ecx
push eax
push edi
lea ecx, [ebp - 0x258]
call fcn.004087df
mov edi, dword [ebp - 0x258]
cmp dword [edi - 4], 1
jle 0x408dce
push dword [edi - 0xc]
lea ecx, [ebp - 0x258]
call fcn.00408278
mov edi, dword [ebp - 0x258]
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x408e1c
mov ecx, esi
call fcn.004085a7
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
lea ecx, [edi - 0x10]
call fcn.00407b82
mov ecx, dword [ebp - 0x25c]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004134fa
leave
ret 4
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp - 0x254]
push eax
push ebx
call esi
lea eax, [ebp - 0x254]
push eax
push ebx
call esi
test eax, eax
je 0x408e93
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00408aa0
mov ecx, dword [ebp - 0x264]
add esp, 0xc
lea eax, [ebp - 0x260]
push eax
call fcn.00408d34
mov ecx, dword [ebp - 0x260]
add ecx, 0xfffffff0
mov dword [ebp - 0x258], eax
call fcn.00407b82
lea eax, [ebp - 0x254]
push eax
push ebx
call esi
test eax, eax
jne 0x408e3a
cmp dword [ebp - 0x258], eax
je 0x408ec6
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x25c]
cmp dword [eax - 4], 1
jle 0x408eb4
push dword [eax - 0xc]
lea ecx, [ebp - 0x25c]
call fcn.00408278
push dword [ebp - 0x25c]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x258], eax
mov esi, dword [ebp - 0x258]
jmp 0x408df3
Function at 0x408f96
Capabilities:
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], ecx
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [ebp - 8], eax
mov byte [ebp - 1], 1
cmp eax, ecx
je 0x409049
push ebx
push esi
push edi
mov esi, str..bak
lea edi, [eax + 0xc]
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00408aa0
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov ebx, eax
call fcn.00407b82
and ebx, 0x10
push esi
push edi
je 0x409002
lea eax, [ebp - 0x14]
push eax
call fcn.00408aa0
mov ecx, dword [ebp - 0xc]
add esp, 0xc
push eax
call fcn.00408d34
mov ecx, dword [ebp - 0x14]
jmp 0x409019
lea eax, [ebp - 0x18]
push eax
call fcn.00408aa0
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x18]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.00407b82
inc bl
je 0x40902f
mov byte [ebp - 1], 0
lea ecx, [ebp - 8]
call fcn.00408440
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx + 4]
jne 0x408fbb
pop edi
pop esi
pop ebx
mov al, byte [ebp - 1]
leave
ret

Function at 0x4090c6
Capabilities:
Get token membership

Disassembly:
call fcn.00404f10
cmp eax, 3
jl 0x4090e7
call fcn.00407c1f
test al, al
je 0x4090e7
call fcn.00401d00
test al, al
je 0x4090e7
jmp fcn.0040904e
jmp fcn.00407c1f
Function at 0x40965a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x119c
call fcn.00413bb0
mov eax, dword [0x433eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x433e8c
lea ecx, [ebp - 0x1190]
call fcn.0040820a
mov edi, dword [edi]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4096c6
mov edi, dword [ebp - 0x1190]
add edi, 0xfffffff0
push edi
call fcn.00407e06
add eax, 0x10
pop ecx
mov dword [esi], eax
jmp 0x4097fd
lea eax, [ebp - 0x5c]
push eax
call fcn.004055d0
mov dword [esp], 0xfff
lea eax, [ebp - 0x105b]
push ebx
push eax
mov dword [ebp - 0x1194], ebx
mov byte [ebp - 0x105c], bl
call fcn.004137b0
add esp, 0xc
push ebx
lea eax, [ebp - 0x1194]
push eax
push 0x1000
lea eax, [ebp - 0x105c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x4096ac
mov eax, dword [ebp - 0x1194]
cmp eax, ebx
jbe 0x409741
mov dword [ebp - 0x1198], eax
lea eax, [ebp - 0x119c]
push eax
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x105c]
push eax
mov dword [ebp - 0x119c], ecx
call fcn.00405600
pop ecx
pop ecx
jmp 0x4096f2
jne 0x4096f2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x1088]
push eax
call fcn.00405700
lea eax, [ebp - 0x1088]
push eax
lea eax, [ebp - 0x1078]
push eax
call fcn.00405810
mov eax, dword [ebp - 0x1078]
add esp, 0x10
cmp dword [ebp - 0x1064], 0x10
jae 0x409785
lea eax, [ebp - 0x1078]
lea ecx, [ebp - 0x1188]
push 0xfde9
mov dword [ebp - 0x118c], ecx
push eax
lea ecx, [ebp - 0x118c]
call fcn.004082dc
push dword [ebp - 0x118c]
call fcn.00407d9c
pop ecx
push eax
push dword [ebp - 0x118c]
lea ecx, [ebp - 0x1190]
call fcn.004088a7
lea eax, [ebp - 0x1188]
cmp dword [ebp - 0x118c], eax
je 0x4097da
push dword [ebp - 0x118c]
call fcn.0041363d
pop ecx
mov edi, dword [ebp - 0x1190]
add edi, 0xfffffff0
push edi
call fcn.00407e06
pop ecx
push ebx
add eax, 0x10
push 1
lea ecx, [ebp - 0x1078]
mov dword [esi], eax
call fcn.004012b0
mov ecx, edi
call fcn.00407b82
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004134fa
leave
ret
Function at 0x409d08
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.00413bb0
mov eax, dword [0x433eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.update.ini
xor ebx, ebx
lea eax, [ebp - 0x200c]
push ebx
push eax
call fcn.00409ca0
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x2008]
push eax
call fcn.00408aa0
mov ecx, dword [ebp - 0x200c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00407b82
push dword [ebp - 0x2008]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebx
push str.Enable
mov esi, str.Notify
push esi
call edi
test eax, eax
je 0x409ece
push dword [ebp - 0x2008]
push ebx
push str.Force
push esi
call edi
mov edi, 0x433e8c
push edi
lea ecx, [ebp - 0x2014]
mov dword [ebp - 0x2018], eax
call fcn.0040820a
push edi
lea ecx, [ebp - 0x2010]
call fcn.0040820a
push edi
lea ecx, [ebp - 0x200c]
call fcn.0040820a
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2004], ax
lea eax, [ebp - 0x2002]
push ebx
push eax
call fcn.004137b0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
push dword [ebp - 0x2008]
lea eax, [ebp - 0x2004]
push 0x1000
push eax
mov ebx, 0x430230
push ebx
push str.Title
push esi
call edi
lea eax, [ebp - 0x2004]
push eax
call fcn.00407d9c
pop ecx
push eax
lea eax, [ebp - 0x2004]
push eax
lea ecx, [ebp - 0x2014]
call fcn.004088a7
push dword [ebp - 0x2008]
lea eax, [ebp - 0x2004]
push 0x1000
push eax
push ebx
push str.Info
push esi
call edi
lea eax, [ebp - 0x2004]
push eax
call fcn.00407d9c
pop ecx
push eax
lea eax, [ebp - 0x2004]
push eax
lea ecx, [ebp - 0x2010]
call fcn.004088a7
push dword [ebp - 0x2008]
lea eax, [ebp - 0x2004]
push 0x1000
push eax
push ebx
push 0x42b6a4
push esi
call edi
lea eax, [ebp - 0x2004]
push eax
call fcn.00407d9c
pop ecx
push eax
lea eax, [ebp - 0x2004]
push eax
lea ecx, [ebp - 0x200c]
call fcn.004088a7
mov esi, dword [ebp - 0x2014]
mov edi, dword [ebp - 0x2010]
xor ebx, ebx
cmp dword [ebp - 0x2018], ebx
je 0x409ed2
push ebx
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x200c]
add ecx, 0xfffffff0
call fcn.00407b82
lea ecx, [edi - 0x10]
call fcn.00407b82
lea ecx, [esi - 0x10]
call fcn.00407b82
mov bl, 1
jmp 0x409f25
push 1
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
je 0x409eb0
push ebx
push 0x80
push 4
push ebx
mov ebx, dword [ebp - 0x200c]
push 1
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x409f0b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebx - 0x10]
call fcn.00407b82
lea ecx, [edi - 0x10]
call fcn.00407b82
lea ecx, [esi - 0x10]
call fcn.00407b82
xor bl, bl
mov ecx, dword [ebp - 0x2008]
add ecx, 0xfffffff0
call fcn.00407b82
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004134fa
leave
ret
Function at 0x40b405
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7d8
mov eax, dword [0x433eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x7ce
mov word [ebp - 0x7d4], ax
xor esi, esi
lea eax, [ebp - 0x7d2]
push esi
push eax
call fcn.004137b0
add esp, 0xc
push esi
push esi
push esi
push esi
push str.http
mov dword [ebp - 0x7d8], esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
cmp ebx, esi
jne 0x40b45d
xor al, al
jmp 0x40b498
push esi
push 0x80000000
push esi
push esi
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
cmp eax, esi
je 0x40b459
lea ecx, [ebp - 0x7d8]
push ecx
push 0x7d0
lea ecx, [ebp - 0x7d4]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40b459
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004134fa
leave
ret

Function at 0x40d929
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 8]
push eax
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 8], ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40d95f
xor al, al
pop ebx
leave
ret 0x14
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x14]
push 1
push ebx
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x40d990
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x40d95a
mov bl, 1
jmp 0x40d983

Function at 0x40d994
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x433eb0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004137b0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.UCBrowserUser_DataFirst_Run
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40da12
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x40da12
mov al, 1
jmp 0x40da14
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004134fa
leave
ret
Function at 0x40db2e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20014
call fcn.00413bb0
mov eax, dword [0x433eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x44]
xor eax, eax
xor ebx, ebx
push 0x1fffe
mov word [ebp - 0x20004], ax
lea eax, [ebp - 0x20002]
push ebx
push eax
mov dword [ebp - 0x2000c], ebx
mov dword [ebp - 0x20014], 1
mov dword [ebp - 0x20010], 0x10000
call fcn.004137b0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x20], 8
jae 0x40db94
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x2000c]
push ecx
push 0x20019
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40dbe0
mov byte [ebp - 0x20005], bl
push ebx
push 1
lea ecx, [ebp + 0xc]
call fcn.00402b00
push ebx
push 1
lea ecx, [ebp + 0x28]
call fcn.00402b00
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x20005]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004134fa
leave
ret 0x40
cmp dword [ebp + 0x3c], 8
mov eax, dword [ebp + 0x28]
jae 0x40dbec
lea eax, [ebp + 0x28]
lea ecx, [ebp - 0x20010]
push ecx
lea ecx, [ebp - 0x20004]
push ecx
lea ecx, [ebp - 0x20014]
push ecx
push ebx
push eax
push dword [ebp - 0x2000c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x2000c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x40dbad
lea eax, [ebp - 0x20004]
push eax
mov ecx, edi
call fcn.00402a10
mov byte [ebp - 0x20005], 1
jmp 0x40dbb3

Function at 0x40dc3b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x433eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push esi
sub esp, 0x1c
cmp dword [ebp - 0x114], 6
mov ecx, esp
jb 0x40dc98
push 0x433818
call fcn.00405bb0
sub esp, 0x1c
mov ecx, esp
push 0x4337fc
call fcn.00405bb0
push 0x80000001
jmp 0x40dcb6
push 0x433850
call fcn.00405bb0
sub esp, 0x1c
mov ecx, esp
push 0x433834
call fcn.00405bb0
push 0x80000000
call fcn.0040db2e
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004134fa
leave
ret 4
Function at 0x40dcca
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40dd56
push esi
xor ecx, ecx
push 2
mov eax, 0x19000
pop edx
mov dword [ebp + 0xc], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041208e
mov esi, eax
mov eax, dword [ebp + 0xc]
add eax, eax
push eax
push ebx
push esi
call fcn.004137b0
add esp, 0x10
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x14]
mov ebx, eax
neg ebx
sbb bl, bl
push esi
inc bl
call fcn.00402a10
push esi
call fcn.00413bdb
pop ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
leave
ret 0x10
Function at 0x410b32
Capabilities:
Hash data with md5

Disassembly:
push esi
push 0x40
mov esi, ecx
push 0
push esi
call fcn.004137b0
and dword [esi + 0x44], 0
and dword [esi + 0x40], 0
add esp, 0xc
mov dword [esi + 0x48], 0x67452301
mov dword [esi + 0x4c], 0xefcdab89
mov dword [esi + 0x50], 0x98badcfe
mov dword [esi + 0x54], 0x10325476
mov eax, esi
pop esi
ret

Function at 0x41162a
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37d0
call fcn.00413bb0
mov eax, dword [0x433eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x37cc], ebx
mov dword [ebp - 0x37c4], ebx
mov esi, 0x2710
push dword [ebp - 0x37c4]
lea eax, [ebp - 0x104]
push str..PhysicalDrive_d
push eax
call fcn.004140b9
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x37c8], eax
cmp eax, 0xffffffff
je 0x41181f
xor eax, eax
lea edi, [ebp - 0x37c0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
lea eax, [ebp - 0x2fe4]
push ebx
push eax
mov dword [ebp - 0x37d0], ebx
mov dword [ebp - 0x37c0], ebx
mov dword [ebp - 0x37bc], ebx
call fcn.004137b0
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0xc
push ebx
lea eax, [ebp - 0x37d0]
push eax
push esi
lea eax, [ebp - 0x2fe4]
push eax
push 0xc
lea eax, [ebp - 0x37c0]
push eax
push 0x2d1400
push dword [ebp - 0x37c8]
call edi
test eax, eax
je 0x41180d
lea eax, [ebp - 0x37b4]
push eax
push ebx
push dword [ebp - 0x2fd8]
lea eax, [ebp - 0x2fe4]
push eax
call fcn.004114da
lea eax, [ebp - 0x8d4]
push eax
push ebx
push dword [ebp - 0x2fd4]
lea eax, [ebp - 0x2fe4]
push eax
call fcn.004114da
lea eax, [ebp - 0x33cc]
push eax
push ebx
push dword [ebp - 0x2fd0]
lea eax, [ebp - 0x2fe4]
push eax
call fcn.004114da
lea eax, [ebp - 0x4ec]
push eax
push 1
push dword [ebp - 0x2fcc]
lea eax, [ebp - 0x2fe4]
push eax
call fcn.004114da
add esp, 0x40
cmp byte [0x4355b8], bl
jne 0x4117db
movsx eax, byte [ebp - 0x4ec]
push eax
call fcn.0041471b
pop ecx
test eax, eax
jne 0x41178f
movsx eax, byte [ebp - 0x4d9]
push eax
call fcn.0041471b
pop ecx
test eax, eax
je 0x4117db
xor eax, eax
cmp byte [ebp - 0x4ec], 0x20
jne 0x4117a5
inc eax
cmp byte [ebp + eax - 0x4ec], 0x20
je 0x41179a
lea eax, [ebp + eax - 0x4ec]
mov edx, 0x4355b8
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4117b3
xor eax, eax
mov cl, byte [ebp + eax - 0x8d4]
mov byte [eax + 0x4359b8], cl
inc eax
cmp cl, bl
jne 0x4117bf
mov dword [ebp - 0x37cc], 1
push esi
lea eax, [ebp - 0x2fe4]
push ebx
push eax
call fcn.004137b0
add esp, 0xc
push ebx
lea eax, [ebp - 0x37d0]
push eax
push esi
lea eax, [ebp - 0x2fe4]
push eax
push ebx
push ebx
push 0x700a0
push dword [ebp - 0x37c8]
call edi
jmp 0x411813
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x37c8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x37c4]
cmp dword [ebp - 0x37c4], 0x10
jl 0x411657
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x37cc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004134fa
leave
ret