joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4375f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x463a83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00457954
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0045cfea
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0045e506
test eax, eax
je 0x43770c
mov ecx, dword [esp + 0x3c]
call fcn.0045d017
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4376d0
push edi
mov ecx, esi
call fcn.0045a67b
mov ecx, esi
call fcn.00437870
cmp dword [esp + 0x38], 1
jne 0x437705
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0045a7b6
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43a130
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43a163
push esi
call fcn.0043d220
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43a15c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43a1e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43a1d2
mov eax, dword [esi + 8]
test eax, eax
je 0x43a187
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43a1ce
cmp eax, 2
je 0x43a1d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43a17a
cmp eax, 3
je 0x43a1ad
cmp eax, 1
jne 0x43a17a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43a17a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43a17a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043a210
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43a1f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043a210
add esp, 4
pop esi
ret

Function at 0x45874a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x458782
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004567fe
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004567d6
jmp 0x45878e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x459e38
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x459e7a
call fcn.0045f8f1
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x459e7a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x459e71
xor eax, eax
jmp 0x459e82
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00459e88
pop edi
pop esi
pop ebx
ret 4

Function at 0x45fe21
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x45fe4f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x45fe6d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045fd87
jmp 0x45fe6d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45fe6d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0045fd87
test edi, edi
mov eax, edi
jne 0x45fe57
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405520
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x14], 8
push esi
jb 0x405533
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
jne 0x40554a
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 1
push esi
call fcn.0049e7f9
mov edi, eax
add esp, 8
test edi, edi
je 0x4055c1
mov ecx, dword [ebp - 4]
push edi
push esi
push ecx
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4055b8
lea edx, [ebp - 8]
push edx
lea eax, [ebp + 8]
push eax
push 0x59755c
push edi
mov dword [ebp + 8], 0
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4055b8
cmp dword [ebp + 8], 0
je 0x4055b8
push 0x14
call fcn.0049d431
mov esi, eax
add esp, 4
test esi, esi
je 0x4055c1
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
call fcn.00405360
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.0049d8ca
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405810
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x59ece0]
xor eax, ebp
mov dword [ebp - 4], eax
movzx ecx, word [edi + 8]
mov eax, dword [ebp + 0xc]
mov dx, word [edi + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov dword [ebp - 0x224], eax
mov word [ebp - 0x14], cx
mov word [ebp - 0x12], dx
call esi
movzx ecx, word [edi + 8]
mov word [ebp - 0x10], ax
mov ax, word [edi + 0xc]
mov edx, 0x4e4
mov word [ebp - 0xe], ax
mov word [ebp - 0xc], cx
mov word [ebp - 0xa], dx
call esi
mov word [ebp - 8], ax
mov eax, 0x4e4
mov word [ebp - 6], ax
xor esi, esi
jmp 0x405880
movzx ecx, word [ebp + esi*2 - 0x12]
movzx edx, word [ebp + esi*2 - 0x14]
push ebx
push ecx
push edx
push 0x597768
push 0x104
lea eax, [ebp - 0x21c]
push 0x104
push eax
add esi, 2
call fcn.0049e857
mov eax, dword [edi + 4]
add esp, 0x1c
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x220]
push edx
lea ecx, [ebp - 0x21c]
push ecx
push eax
mov dword [ebp - 0x220], 0
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4058e5
mov edx, dword [ebp - 0x220]
test edx, edx
jne 0x4058fe
cmp esi, 8
jb 0x405880
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d4b1
mov esp, ebp
pop ebp
ret 8
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405903
mov ecx, dword [ebp - 0x224]
sub eax, esi
sar eax, 1
push eax
push edx
call fcn.00405c50
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0049d4b1
mov esp, ebp
pop ebp
ret 8
Function at 0x40c060
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44c
mov eax, dword [0x59ece0]
xor eax, esp
mov dword [esp + 0x448], eax
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x42]
push ecx
mov word [esp + 0x44], ax
call fcn.0049d850
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x256]
push eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0x208
mov word [esp + 0x258], dx
call fcn.0049d850
add esp, 0x18
push 0
push 0x26
lea ecx, [esp + 0x248]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0x240]
push edx
lea eax, [esp + 0x3c]
push str._sInternet_Exploreriexplore.exe
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
call esi
test eax, eax
jne 0x40c136
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x5977a4
push 0x5972c8
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea edx, [esp + 0x38]
push edx
call esi
test eax, eax
jne 0x40c136
mov word [esp + 0x38], ax
lea eax, [esp + 0x38]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c140
sub eax, edx
sar eax, 1
je 0x40c189
push 0xa
push 0
push str.http:__chrome.360.cn_
lea ecx, [esp + 0x44]
push ecx
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.0049d4b1
mov esp, ebp
pop ebp
ret
lea edx, [esp + 8]
push edx
push 0x524150
push 0x15
push 0
push 0x524140
mov dword [esp + 0x1c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x40c1c3
xor eax, eax
pop esi
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.0049d4b1
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 8]
test eax, eax
je 0x40c254
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x94]
call eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40c203
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esp + 0xc]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push str.http:__chrome.360.cn_
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor edx, edx
mov word [esp + 0x18], dx
lea edx, [esp + 0x18]
push edx
push edx
mov esi, eax
push edx
push edx
mov eax, 8
mov word [esp + 0x38], ax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x38]
mov dword [esp + 0x40], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xd0]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 0x44c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0049d4b1
mov esp, ebp
pop ebp
ret
Function at 0x40c270
Capabilities:
Check if file exists
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x59ece0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0049d850
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x412]
push eax
mov dword [ebp - 0x41c], 1
mov dword [ebp - 0x420], 0x208
mov word [ebp - 0x414], dx
call fcn.0049d850
add esp, 0x18
push 0
push 0x26
lea ecx, [ebp - 0x414]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x20c]
push str._sInternet_Exploreriexplore.exe
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0xc
lea ecx, [ebp - 0x20c]
push ecx
call esi
test eax, eax
jne 0x40c351
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x41c]
push ecx
push 0x5977a4
push 0x5972c8
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea edx, [ebp - 0x20c]
push edx
call esi
test eax, eax
jne 0x40c351
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
pop esi
jmp 0x40c360
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c360
sub eax, edx
sar eax, 1
jne 0x40c3ac
lea ecx, [ebp - 0x418]
push ecx
push 0x524150
push 0x15
push 0
push 0x524140
mov dword [ebp - 0x418], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40c3bf
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x40c3bf
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d4b1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0049d4b1
mov esp, ebp
pop ebp
ret

Function at 0x40cbe0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x59ece0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp dword [0x623cc0], edi
je 0x40cc0c
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d4b1
mov esp, ebp
pop ebp
ret
push 0x24
call fcn.0049d431
add esp, 4
cmp eax, edi
je 0x40cc29
push edi
mov ecx, eax
call fcn.0040ca90
mov dword [0x623cc0], eax
jmp 0x40cc2f
mov dword [0x623cc0], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov word [ebp - 0x20], cx
mov ecx, eax
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], edi
lea esi, [ecx + 2]
jmp 0x40cc50
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x40cc50
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00405c50
mov edi, dword [0x623cc0]
lea ecx, [ebp - 0x20]
call fcn.0040db30
cmp dword [ebp - 0xc], 8
pop esi
jb 0x40cc8a
mov edx, dword [ebp - 0x20]
push edx
call fcn.0049d0c3
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop edi
call fcn.0049d4b1
mov esp, ebp
pop ebp
ret
Function at 0x4120d0
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x59ece0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
jne 0x4120ed
xor esi, esi
jmp 0x4120fd
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4120f2
sub eax, edx
mov esi, eax
xor eax, eax
mov word [ebp - 0x20], ax
push edi
lea ecx, [ebp - 0x20]
mov eax, esi
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
call fcn.0041e070
push esi
push edi
lea edi, [ebp - 0x20]
call fcn.00412440
mov eax, dword [ebp - 0x20]
mov esi, 8
add esp, 0xc
cmp dword [ebp - 0xc], esi
jae 0x412138
mov eax, edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
setne bl
cmp dword [ebp - 0xc], esi
jb 0x412157
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0049d0c3
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0049d4b1
mov esp, ebp
pop ebp
ret

Function at 0x415d40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [0x626530]
push 0x10
push 1
xor bl, bl
push edi
mov dword [esp + 0x28], 0
mov byte [esp + 0x1f], bl
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x415e18
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ebx, eax
push edi
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x415e21
test esi, esi
je 0x415e21
push esi
call fcn.0049ca06
add esp, 4
push esi
mov edi, eax
push ebx
push edi
call fcn.0049d0d0
xor esi, esi
add esp, 0xc
cmp edi, esi
je 0x415dfc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x597558
push edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x415dfc
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
mov dword [ecx], edx
mov ecx, dword [ebp + 0xc]
cmp ecx, esi
je 0x415df8
mov edx, dword [eax + 0xc]
mov dword [ecx], edx
mov bl, 1
jmp 0x415e00
mov bl, byte [esp + 0x13]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp edi, esi
je 0x415e18
push edi
call fcn.0049d97d
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418900
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
lea esi, [ecx + 4]
push eax
push esi
mov dword [esp + 0xc], 0
call fcn.00418bd0
add esp, 8
test al, al
jne 0x41896d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x418963
cmp eax, 0x21
je 0x418963
cmp eax, 5
jne 0x418940
mov eax, 0x3e8
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x14], 8
jb 0x418948
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
lea eax, [ecx + ecx + 0x3e9]
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x3ea
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x418bd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10008
call fcn.004a2a90
mov eax, dword [0x59ece0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x598330
push eax
call fcn.0040a320
mov esi, eax
add esp, 8
test esi, esi
jne 0x418c15
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d4b1
mov esp, ebp
pop ebp
ret
push esi
push 0x10000
lea eax, [ebp - 0x10008]
push 1
push eax
call fcn.004a1199
add esp, 0x10
test eax, eax
je 0x418c5e
test edi, edi
je 0x418c43
push eax
lea ecx, [ebp - 0x10008]
push ecx
mov ecx, edi
call fcn.004049e0
push esi
push 0x10000
lea edx, [ebp - 0x10008]
push 1
push edx
call fcn.004a1199
add esp, 0x10
test eax, eax
jne 0x418c30
push esi
call fcn.004a1688
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.0049d4b1
mov esp, ebp
pop ebp
ret
Function at 0x42b7d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1dc
mov eax, dword [0x59ece0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x103
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x167]
push ebx
push ecx
mov dword [ebp - 0x1d8], eax
mov byte [ebp - 0x168], 0
call fcn.0049d850
push esi
push 0x5978f4
mov ecx, 0x104
lea edi, [ebp - 0x168]
mov dword [ebp - 0x1cc], ebx
mov dword [ebp - 0x1d0], ebx
mov dword [ebp - 0x1c8], 0x67452301
mov dword [ebp - 0x1c4], 0xefcdab89
mov dword [ebp - 0x1c0], 0x98badcfe
mov dword [ebp - 0x1bc], 0x10325476
call fcn.0042b6a0
mov eax, edi
add esp, 0x14
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42b860
sub eax, edx
lea edx, [ebp - 0x168]
push edx
mov ecx, eax
lea esi, [ebp - 0x1d0]
call fcn.0042de40
mov ecx, esi
call fcn.0042df70
mov ecx, esi
call fcn.0042df70
mov ecx, dword [ebp - 0x174]
mov eax, dword [ebp - 0x178]
mov edx, dword [ebp - 0x170]
push 0x40
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x60]
push ebx
push ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
call fcn.0049d850
add esp, 0x10
movzx edx, byte [ebp + ebx - 0x1c]
xor eax, eax
push edx
push 0x5987a4
lea ecx, [eax + 8]
lea edi, [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call fcn.0042b6a0
lea eax, [ebp - 0x60]
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42b8e5
sub eax, edx
mov ecx, 0x40
sub ecx, eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x1d4], ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42b901
sub eax, esi
mov dword [ebp - 0x1dc], eax
cmp eax, ecx
lea eax, [ebp - 0x1dc]
jl 0x42b920
lea eax, [ebp - 0x1d4]
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x60]
push 0x40
push edx
call fcn.004c4750
inc ebx
add esp, 0x10
cmp ebx, 0x10
jl 0x42b8be
mov edi, dword [ebp - 0x1d8]
test edi, edi
je 0x42b96c
mov esi, dword [ebp + 0xc]
push esi
push 0
push edi
call fcn.0049d850
lea eax, [ebp - 0x60]
push eax
push 0x5978f4
lea ecx, [esi - 1]
call fcn.0042b6a0
push esi
push edi
call fcn.004c4739
add esp, 0x1c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d4b1
mov esp, ebp
pop ebp
ret
Function at 0x42c5f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x510
mov eax, dword [0x59ece0]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
je 0x42c732
cmp edi, 0x20
jb 0x42c732
push 0x400
lea eax, [ebp - 0x508]
push 0
push eax
mov dword [ebp - 0x510], 1
mov dword [ebp - 0x50c], 0x400
call fcn.0049d850
add esp, 0xc
lea ecx, [ebp - 0x50c]
push ecx
lea edx, [ebp - 0x508]
push edx
lea eax, [ebp - 0x510]
push eax
push 0x5988d0
push str.Software360SafeLiveup
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x42c732
lea eax, [ebp - 0x508]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42c680
sub eax, edx
cmp eax, 0x40
jne 0x42c732
push 0x20
lea ecx, [ebp - 0x508]
push ecx
mov eax, 0x80
lea ecx, [ebp - 0x88]
call fcn.0042b770
push 0x7ffffffe
lea edx, [ebp - 0x4e8]
push edx
mov eax, 0x80
lea ecx, [ebp - 0x108]
call fcn.0042b770
push 0x400
lea eax, [ebp - 0x508]
push 0
push eax
call fcn.0049d850
add esp, 0xc
lea ecx, [ebp - 0x508]
push 0x400
push ecx
lea ecx, [ebp - 0x88]
call fcn.0042b7d0
add esp, 8
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x508]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x42c732
lea ecx, [ebp - 0x88]
push ecx
mov edx, edi
mov ecx, esi
call fcn.0042b5a0
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d4b1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0049d4b1
mov esp, ebp
pop ebp
ret

Function at 0x42cf40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
pop ebp
ret

Function at 0x42d2e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x59ece0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 4]
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov ecx, dword [eax]
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], ecx
push eax
lea ecx, [ebp - 0x5c]
push ecx
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
mov dword [ebp - 0x60], edx
call fcn.0042cf70
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x6c]
push eax
call fcn.0042d070
lea ecx, [ebp - 0x6c]
push ecx
push esi
call fcn.0042d180
mov ecx, dword [ebp - 4]
add esp, 0x18
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0049d4b1
mov esp, ebp
pop ebp
ret