joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e90
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403ebd
push 0x4ccb98
push eax
push eax
mov edx, 0x4ccb98
call fcn.00408150
add esp, 0xc
xor eax, eax
pop ecx
ret
mov eax, 1
cmp esi, dword [esp]
je 0x403ed6
push 0x4ccb98
call fcn.00408420
add esp, 4
xor eax, eax
pop ecx
ret

Function at 0x403ee0
Capabilities:
Write file on windows

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x403f0d
push 0x4ccb98
push eax
push eax
mov edx, 0x4ccb98
call fcn.00408150
add esp, 0xc
xor eax, eax
pop ecx
ret
mov eax, 1
cmp esi, dword [esp]
je 0x403f26
push 0x4ccb98
call fcn.00408420
add esp, 4
xor eax, eax
pop ecx
ret

Function at 0x403fa0
Capabilities:
Clear file content

Disassembly:
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x403fc2
push 0x4ccb98
push eax
push eax
mov edx, 0x4ccb98
call fcn.00408150
add esp, 0xc
xor eax, eax
ret
mov eax, 1
ret
Function at 0x403fd0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x20
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x40400b
push 0x4ccb98
push 0
push 0
mov edx, 0x4ccb98
call fcn.00408150
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
cmp esi, edi
ja 0x404130
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
jb 0x40402d
cmp ecx, edx
jae 0x404130
mov eax, edx
sub eax, ecx
mov ecx, edi
sbb ecx, esi
mov ebx, eax
shrd ebx, ecx, 0xf
shr ecx, 0xf
and eax, 0x7fff
mov dword [esp + 0x10], ebx
mov esi, eax
jne 0x404052
mov esi, 0x8000
jmp 0x404057
inc ebx
mov dword [esp + 0x10], ebx
xor eax, eax
sub edx, esi
sbb edi, eax
mov eax, dword [esp + 0x40]
mov ebp, edi
xor edi, edi
mov ebx, edx
add eax, ebx
adc edi, ebp
cmp dword [esp + 0x10], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], 0
jbe 0x404130
mov ecx, dword [esp + 0x34]
push 0
push 0
push ebp
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x403feb
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
push 0
lea edx, [esp + 0x1c]
push edx
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403feb
cmp esi, dword [esp + 0x18]
jne 0x40413d
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
push 0
push 0
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x403feb
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
push 0
lea ecx, [esp + 0x20]
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403feb
cmp esi, dword [esp + 0x1c]
jne 0x40413d
mov eax, dword [esp + 0x14]
add ebx, 0xffff8000
adc ebp, 0xffffffff
add dword [esp + 0x20], 0xffff8000
mov esi, 0x8000
adc edi, 0xffffffff
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x10]
jb 0x404082
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
push 0x4ccb98
mov eax, 1
call fcn.00408420
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
Function at 0x404320
Capabilities:
Write file on windows

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, eax
mov eax, dword [esp + 0x20]
lea esi, [edi + 7]
shr esi, 3
add esi, esi
push eax
add esi, esi
add esi, esi
push esi
push ebp
push ecx
push ebx
call fcn.00403fd0
add esp, 0x14
test eax, eax
je 0x4043f8
mov edx, dword [esp + 0x14]
push 0
push 0
push ebp
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x4043cc
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x10]
push eax
push edi
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4043cc
cmp edi, dword [esp + 0xc]
je 0x40439f
push 0x4ccb98
mov eax, 1
call fcn.00408420
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
sub esi, edi
je 0x4043ff
mov edx, dword [esp + 0x20]
push esi
push 0
push edx
call fcn.004840d0
add esp, 0xc
xor eax, eax
add edi, dword [esp + 0x14]
push 0
push 0
adc eax, ebp
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4043e9
push 0x4ccb98
push 0
push 0
mov edx, 0x4ccb98
call fcn.00408150
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
mov ecx, dword [esp + 0x20]
mov edx, ebx
call fcn.00403ee0
test eax, eax
jne 0x4043ff
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret
Function at 0x4053c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x10]
mov esi, dword [edi]
mov dword [esp + 0x1c], ecx
xor ecx, ecx
push ecx
push ecx
mov dword [esp + 0x20], eax
mov eax, dword [edi + 8]
push ecx
push eax
push esi
call ebx
test eax, eax
jne 0x40540c
push 0x4ccb98
push 0
push 0
mov edx, 0x4ccb98
call fcn.00408150
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0x14]
push edx
push 8
lea eax, [esp + 0x24]
push eax
push esi
call ebp
test eax, eax
je 0x4053ec
cmp dword [esp + 0x10], 8
jne 0x405471
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
mov eax, edi
call fcn.00406240
add esp, 4
test eax, eax
je 0x405483
mov edi, dword [edi + 4]
xor eax, eax
push eax
push eax
push eax
push edi
push esi
call ebx
test eax, eax
je 0x4053ec
push 0
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esp + 0x20]
push eax
push esi
call ebp
test eax, eax
je 0x4053ec
cmp dword [esp + 0x10], 4
je 0x40548d
push 0x4ccb98
mov eax, 1
call fcn.00408420
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret

Function at 0x405b50
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, eax
mov eax, dword [esi]
mov edi, dword [esi + 0x18]
lea ecx, [esp + 0x10]
push ecx
xor ebp, ebp
push eax
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x405b98
push 0x4ccb98
push ebp
push ebp
mov edx, 0x4ccb98
call fcn.00408150
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0xb4]
xor edx, edx
sub ebx, edi
mov edi, dword [esp + 0x14]
sbb edi, edx
sub ebx, 0x298
sbb edi, ebp
xor eax, eax
cmp edi, eax
jl 0x405c2c
jg 0x405bc0
cmp ebx, ecx
jb 0x405c2c
mov ebp, dword [esi]
push 0
push 0
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x405bf1
push 0x4ccb98
push eax
push eax
mov edx, 0x4ccb98
call fcn.00408150
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
mov esi, 0x298
mov edx, ebp
call fcn.00403e90
test eax, eax
je 0x405be7
mov eax, dword [esp + 0x20]
test eax, eax
je 0x405c12
mov dword [eax], ebx
mov dword [eax + 4], edi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x405c39
mov ecx, 1
mov word [eax], cx
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x405c39
xor edx, edx
mov word [eax], dx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x409bb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc610
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4e97d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x4ee52c]
xor edi, edi
cmp ecx, edi
jne 0x409bfb
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x409c08
mov dword [ebp - 0x14], edi
jmp 0x409c20
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x409cbd
mov ecx, dword [0x4ee52c]
mov eax, dword [ecx]
cmp eax, edi
je 0x409be7
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x409be7
mov dword [ebp - 4], edi
mov ebx, 0x4ee52c
call fcn.00409cd0
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x409c5e
mov dword [ebp - 0x18], 1
push 0x4df48c
lea eax, [ebp - 0x18]
push eax
call fcn.004841d6
mov ecx, esi
mov eax, dword [0x4ee52c]
call fcn.00409f60
test eax, eax
jne 0x409c83
mov dword [ebp - 0x1c], 4
push 0x4df48c
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004841d6
mov dword [ebp - 4], 0xffffffff
jmp 0x409ca8
mov edx, dword [0x4ee52c]
mov eax, dword [edx]
test eax, eax
je 0x409cbb
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409cd0
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x409cfd
xor ecx, ecx
jmp 0x409d09
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x409dbd
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x409d30
mov dword [esp + 0xc], esi
jmp 0x409d90
push eax
push 1
push pe_nt_image_headers32
call edi
test eax, eax
jne 0x409d89
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x409d7c
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x409d90
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x409d90
push 0x4cd478
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x409d90
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x409db3
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x409d22
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x409dd1
mov ecx, dword [ebx]
add ecx, 8
call fcn.0040a060
test eax, eax
je 0x409dd1
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x409de0
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x4bc5eb
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4e97d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.004840d0
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x409e78
push 0x4df48c
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.004841d6
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov dword [esp + 0x14], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x40a900
Capabilities:
Check http status code

Disassembly:
sub esp, 0x14
push edi
xor edi, edi
mov dword [esp + 0xc], 3
mov dword [esp + 8], edi
mov dword [esp + 0x10], 4
cmp esi, edi
je 0x40a9f9
push ebx
mov ebx, dword [sym.imp.WININET.dll_HttpSendRequestW]
push ebp
mov ebp, dword [sym.imp.WININET.dll_InternetQueryOptionW]
mov eax, dword [esp + 0x14]
mov ecx, eax
dec eax
mov dword [esp + 0x14], eax
test ecx, ecx
jle 0x40a9f7
push 0
push 0
push 0
push 0
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x40a9b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0d
je 0x40a968
cmp eax, 0x2f19
jne 0x40a9a4
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x10]
push eax
push 0x1f
push esi
mov dword [esp + 0x2c], 4
call ebp
or dword [esp + 0xc], 0x3180
push 4
lea ecx, [esp + 0x10]
push ecx
push 0x1f
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push 0
push 0
push 0
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x40a930
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40a930
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
push 0x20000013
push esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov edi, eax
test edi, edi
je 0x40a9a8
cmp dword [esp + 0x10], 0xc8
je 0x40a9f7
xor edi, edi
jmp 0x40a930
pop ebp
pop ebx
mov eax, edi
pop edi
add esp, 0x14
ret
Function at 0x40dc40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40dc59
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40dc94
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40dc90
lea ebx, [ebx]
cmp esi, eax
jae 0x40dc94
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40dc80
cmp esi, eax
jb 0x40dc9a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x40e100
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x144
mov eax, dword [0x4e97d0]
xor eax, esp
mov dword [esp + 0x140], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40e153
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.004841c7
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push pe_nt_image_headers32
lea ecx, [esp + 0x114]
push ecx
push esi
call edi
test eax, eax
je 0x40e1db
cmp dword [esp + 0xc], 0x40
jne 0x40e1db
mov edx, 0x5a4d
cmp word [esp + 0x108], dx
jne 0x40e1db
mov eax, dword [esp + 0x144]
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [esp + 0x144]
jne 0x40e1db
push 0
lea ecx, [esp + 0x10]
push ecx
push 0xf8
lea edx, [esp + 0x1c]
push edx
push esi
call edi
test eax, eax
je 0x40e1db
cmp dword [esp + 0xc], 0xf8
jne 0x40e1db
cmp dword [esp + 0x10], 0x4550
jne 0x40e1db
cmp word [esp + 0x16], bx
je 0x40e1db
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004841c7
mov esp, ebp
pop ebp
ret
Function at 0x41d815
Capabilities:
Check if file exists
Create process on windows
Create process suspended

Disassembly:
push 0x60
mov eax, 0x4b3f33
call fcn.00484f9f
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.installer_setup.exe
xor esi, esi
xor edi, edi
call fcn.0040b680
lea eax, [ebp - 0x14]
push eax
call fcn.0041d5cb
pop ecx
pop ecx
push dword [ebp - 0x14]
mov dword [ebp - 4], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d91e
push esi
push 1
push 1
push dword [ebp - 0x14]
call fcn.0040e410
test eax, eax
je 0x41d91e
push str.__secore_restore___360se_pid8000041___silent_install___not_create_mplnk
lea ecx, [ebp - 0x18]
call fcn.0040b680
push 0x4ecda4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040ba90
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
push str.__s___s
push eax
call fcn.0041cbb1
push pe_nt_image_headers32
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.004840d0
xor eax, eax
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x28], esi
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
add esp, 0x1c
mov dword [ebp - 0x6c], 0x44
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.0040cf00
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0041d302
cmp edi, esi
je 0x41d908
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x28]
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040dd20
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, edi
call fcn.00485077
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41de76
xor eax, eax
ret
and al, 0x10
xor cl, cl
cmp cl, al
sbb eax, eax
neg eax
ret

Function at 0x41df2d
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
push SysReAllocString
push dword [ebp + 8]
mov dword [esi], edi
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41df67
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41dfa5
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], edi
jne 0x41dfa2
push 1
push edi
push edi
push dword [ebp - 4]
call fcn.00487820
xor ecx, ecx
add eax, dword [ebp - 8]
adc edx, ecx
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x440a2b
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0x7c
mov eax, 0x4b6827
call fcn.00484f9f
mov edi, ecx
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x18]
mov ebx, 0x4ec5f8
push eax
mov ecx, ebx
call fcn.0046df8c
push 0x4ce474
push eax
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0041af66
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040dd20
push 0x4ecda4
lea ecx, [ebp - 0x14]
call fcn.0040ba90
mov eax, dword [edi + 0x19c]
mov byte [ebp - 4], 3
cmp eax, 1
jne 0x440ad6
push esi
push 0xcb
call fcn.0044736d
pop ecx
pop ecx
call fcn.0041d6b9
test eax, eax
je 0x440ab1
call fcn.0041d815
test eax, eax
jne 0x440be0
push str.SoftMgrSDIS.exe
lea ecx, [ebp - 0x10]
call fcn.0041cb8c
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x440bf4
push str._Softid2000001098__Show1__S1
jmp 0x440b0b
cmp eax, 2
jne 0x440b16
push esi
push 0xd9
call fcn.0044736d
pop ecx
pop ecx
push str.safemon360realpro.exe
lea ecx, [ebp - 0x10]
call fcn.0041cb8c
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x440bf4
push str._Lock360HomePage__id1
lea eax, [ebp - 0x14]
push eax
call fcn.0041cbb1
pop ecx
pop ecx
push esi
push dword [ebp - 0x10]
call fcn.0040e370
pop ecx
pop ecx
test eax, eax
jne 0x440b3c
push 1
push 0x4e4bb8
push dword [ebp - 0x10]
call fcn.0040e9e0
add esp, 0xc
jmp 0x440bf4
push pe_nt_image_headers32
lea eax, [ebp - 0x84]
push esi
push eax
call fcn.004840d0
xor eax, eax
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x58], ax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov edi, 0x100
push edi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x88], 0x44
call fcn.004409ee
push dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
push dword [ebp - 0x10]
push str.__s___s
push edi
push esi
call fcn.0043e257
push eax
call fcn.0048a60c
mov edi, dword [ebp - 0x10]
add esp, 0x14
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x88]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x44]
call fcn.0043e257
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x440bcc
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x28]
call esi
lea ecx, [ebp - 0x44]
call fcn.0042e393
push dword [ebp - 0x44]
call fcn.004840be
mov edi, dword [ebp - 0x1c]
pop ecx
mov ecx, ebx
call fcn.0046e0a8
mov eax, dword [edi + 0x1a0]
mov dword [eax + 0x30], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040dd20
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
xor eax, eax
call fcn.00485077
ret 0x10
Function at 0x45612e
Capabilities:
Get graphical window text

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0xc
mov eax, 0x4b8db8
call fcn.00484f9f
mov edi, ecx
push 0x3ee
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x45618e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.004841c7
add ebp, 0x804
leave
ret
push 0x400
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, 0x4ecda4
push esi
lea ecx, [ebp - 0x10]
call fcn.0040ba90
and dword [ebp - 4], 0
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c8e0
lea ecx, [ebp - 0x10]
call fcn.00446392
lea ecx, [ebp - 0x10]
call fcn.004463db
push esi
lea ecx, [ebp - 0x14]
call fcn.0040ba90
mov eax, dword [ebp - 0x10]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040cf00
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, edi
call fcn.004560b0
test eax, eax
jne 0x456243
mov esi, dword [ebp - 0x14]
cmp dword [esi - 0xc], eax
je 0x456212
push pe_nt_image_headers32
push 0x96
push esi
push dword [edi + 4]
call fcn.004503e7
add esp, 0x10
push 0
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x18]
call fcn.0045483c
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
xor edi, edi
lea ecx, [esi - 0x10]
call fcn.0040dd20
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, edi
jmp 0x45616b
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0041d302
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x4ec63c
call fcn.0041cb3f
mov esi, dword [ebp - 0x14]
xor edi, edi
inc edi
jmp 0x456229