joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d078
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0x78
lea ebp, [esp - 4]
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp + 0x78], eax
push 0xc
mov eax, 0x45c46a
call fcn.0043ac8b
mov eax, dword [ebp + 0x8c]
mov edi, dword [ebp + 0x84]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp]
mov dword [ebp - 0x18], eax
call fcn.0042fa71
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x88], ebx
je 0x40d14b
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push edi
call fcn.00422458
pop ecx
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp esi, ebx
je 0x40d11b
cmp edi, ebx
je 0x40d0ee
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x40d0f2
xor eax, eax
jmp 0x40d108
lea esi, [eax + eax]
mov eax, esi
call fcn.0043bc40
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004099a6
push 1
push eax
lea ecx, [ebp]
call fcn.0042fac1
test al, al
jne 0x40d1a0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0040a217
xor eax, eax
lea esp, [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x78]
xor ecx, ebp
call fcn.0043a7c3
add ebp, 0x7c
leave
ret 0x14
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x10]
push eax
push ebx
mov dword [ebp - 0x10], ebx
call fcn.0042247c
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
cmp eax, ebx
jbe 0x40d1a0
inc eax
push eax
call fcn.004339c0
mov esi, eax
mov eax, dword [ebp - 0x10]
inc eax
push eax
push ebx
push esi
call fcn.0043a190
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.0042247c
add esp, 0x18
test eax, eax
je 0x40d199
push ebx
push ebx
push esi
lea ecx, [ebp]
call fcn.0043188d
push esi
call fcn.0043a76e
pop ecx
push 0x4611bc
lea ecx, [ebp]
call fcn.0042efd9
mov esi, eax
cmp esi, ebx
je 0x40d11b
push 0x4611b4
mov ecx, esi
call fcn.0042efd9
cmp eax, ebx
je 0x40d11b
mov ecx, dword [ebp - 0x14]
push eax
call fcn.004099de
test eax, eax
je 0x40d11b
push dword [ebp + 0x94]
mov ecx, dword [ebp - 0x14]
push dword [ebp + 0x90]
push dword [ebp - 0x18]
push edi
push dword [ebp + 0x88]
push esi
call fcn.0040ce9e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
mov esi, eax
call fcn.0040a217
mov eax, esi
jmp 0x40d129
Function at 0x40d22a
Capabilities:
Enumerate files on windows

Disassembly:
push 0x27c
mov eax, 0x45c49a
call fcn.0043acf4
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp + 0x10]
mov esi, ecx
mov dword [ebp - 0x284], eax
call fcn.00409a43
lea ebx, [esi + 0x3c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esi + 4]
call fcn.0040c4eb
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xffffffffffffffff
xor ebx, ebx
push ebx
push dword [ebp - 0x280]
lea ecx, [esi + 0x1c]
call fcn.0040a857
mov ecx, esi
call fcn.0040ca59
cmp dword [edi + 0x18], 8
mov dword [ebp - 0x280], ebx
jb 0x40d299
mov edi, dword [edi + 4]
jmp 0x40d29c
add edi, 4
push ebx
push ebx
lea eax, [ebp - 0x280]
push eax
push ebx
push edi
mov ecx, esi
call fcn.0040d078
mov dword [ebp - 0x288], eax
cmp eax, ebx
je 0x40d383
push 0x24c
lea eax, [ebp - 0x278]
push ebx
push eax
mov dword [ebp - 0x27c], ebx
call fcn.0043a190
add esp, 0xc
push dword [ebp - 0x284]
lea ecx, [ebp - 0x2c]
call fcn.0040ac6c
push 0x4611c8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.0040ac92
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40d301
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x27c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40d378
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x284]
lea ecx, [ebp - 0x2c]
call fcn.0040a857
push 0x460c20
lea ecx, [ebp - 0x2c]
call fcn.0040ac92
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ac92
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x280], ebx
jae 0x40d355
lea eax, [ebp - 0x28]
push ebx
push ebx
lea ecx, [ebp - 0x280]
push ecx
push eax
mov ecx, esi
call fcn.0040d210
lea eax, [ebp - 0x27c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40d316
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040a08f
mov eax, dword [ebp - 0x288]
call fcn.0043ad77
ret 0xc
Function at 0x40e5fd
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0043a190
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...SomProxy.dll
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 0x40e6af
lea eax, [ebp - 0x20c]
push eax
call fcn.00401aac
pop ecx
test eax, eax
je 0x40e6af
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x40e69c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x40e6af
push str.HandlerChromePlug
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e6af
push esi
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043a7c3
leave
ret

Function at 0x40eb95
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b8]
sub esp, 0x238
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp + 0x1b4], eax
push ebx
mov ebx, dword [ebp + 0x1c4]
push esi
push edi
mov edi, dword [ebp + 0x1c0]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x40ec4a
push 0x228
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0043a190
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push esi
mov dword [ebp - 0x78], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40ec43
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x70]
je 0x40ec35
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.0043be2a
pop ecx
pop ecx
test eax, eax
jne 0x40ec35
push dword [ebp - 0x70]
call fcn.0040e59d
test eax, eax
je 0x40ec35
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
mov ecx, ebx
call fcn.00415440
lea eax, [ebp - 0x78]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40ec00
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x1b4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a7c3
add ebp, 0x1b8
leave
ret 8
Function at 0x40ec64
Capabilities:
Get graphical window text

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x38
mov eax, 0x45c606
call fcn.0043ac8b
mov edi, dword [ebp + 0x218]
mov eax, dword [ebp + 0x214]
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp edi, ebx
jne 0x40eca4
xor eax, eax
jmp 0x40eda2
lea ecx, [ebp - 0x44]
call fcn.0041a0fb
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.0041a0fb
lea eax, [ebp - 0x44]
push eax
push str.ModuleUpdate.exe
mov byte [ebp - 4], 1
call fcn.0040eb95
mov esi, dword [ebp - 0x34]
sub esi, dword [ebp - 0x38]
sar esi, 2
test esi, esi
jle 0x40ed48
push ebx
lea ecx, [ebp - 0x44]
call fcn.0041ea31
push dword [eax]
push 0x46185c
call fcn.0040e1a2
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40ed43
xor eax, eax
push 0x206
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.0043a190
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x40ed43
mov ecx, dword [ebp - 0x14]
lea eax, [ebp]
push eax
call fcn.0040e4fd
test eax, eax
jne 0x40ed43
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00415440
inc ebx
cmp ebx, esi
jl 0x40ecd6
mov eax, dword [ebp - 0x1c]
mov ecx, eax
sub ecx, dword [ebp - 0x20]
and ecx, 0xfffffffc
cmp ecx, 4
jne 0x40ed6b
push 0
lea ecx, [ebp - 0x2c]
call fcn.0041ea31
mov eax, dword [eax]
mov dword [edi], eax
mov eax, dword [ebp - 0x1c]
jmp 0x40ed6e
and dword [edi], 0
sub eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x2c]
and eax, 0xfffffffc
sub eax, 4
neg eax
sbb eax, eax
inc eax
mov esi, eax
call fcn.0041c7cd
push dword [ebp - 0x2c]
call fcn.00439fec
pop ecx
lea ecx, [ebp - 0x44]
call fcn.0041c7cd
push dword [ebp - 0x44]
call fcn.00439fec
pop ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0043a7c3
add ebp, 0x20c
leave
ret 8
Function at 0x40f340
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov esi, ecx
call fcn.0043a190
add esp, 0xc
push 0x208
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...360webshield.crx
lea eax, [ebp - 0x20c]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, esi
test eax, eax
jne 0x40f3b5
call fcn.0040f16f
jmp 0x40f3ba
call fcn.0040e6c9
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043a7c3
leave
ret

Function at 0x40f755
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp + 0x94], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 6
jne 0x40f792
cmp dword [ebp - 0x78], 0
jne 0x40f792
xor eax, eax
inc eax
jmp 0x40f794
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0043a7c3
add ebp, 0x98
leave
ret

Function at 0x40f7a9
Capabilities:
Create process on windows
Initialize iwebbrowser2

Disassembly:
push 0x2c
push 0x471320
call fcn.0043a20c
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
je 0x40f89a
push 1
push esi
push esi
push edi
push 0x461b54
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x40f7e0
xor eax, eax
inc eax
jmp 0x40f89c
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x1c]
push eax
push 0x46491c
push 0x15
push esi
push 0x46492c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40f893
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x40f880
mov dword [ebp + 8], esi
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
call dword [ecx + 0x94]
cmp dword [ebp + 8], esi
je 0x40f835
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call fcn.0043a6d4
pop ecx
test eax, eax
jbe 0x40f877
xor eax, eax
mov word [ebp - 0x2c], ax
push 8
pop eax
mov word [ebp - 0x3c], ax
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push edx
push edx
push edx
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [ecx + 0xd0]
push dword [ebp - 0x34]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xfffffffe
jmp 0x40f7d8
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.0043a251
ret
Function at 0x40f8a2
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x1f94]
mov eax, 0x2014
call fcn.0043a7e0
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp + 0x1f90], eax
mov eax, dword [ebp + 0x1fa4]
push ebx
mov ebx, dword [ebp + 0x1fa0]
push esi
push edi
mov edi, dword [ebp + 0x1f9c]
mov esi, 0x1fff
push esi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x6f]
push 0
push eax
mov byte [ebp - 0x70], 0
call fcn.0043a190
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x40f943
cmp eax, esi
ja 0x40f943
lea ecx, [ebp - 0x70]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40f943
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x461b60
lea eax, [ebp - 0x70]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40f943
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 8]
mov dword [ebx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x74]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x40f945
xor eax, eax
mov ecx, dword [ebp + 0x1f90]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a7c3
add ebp, 0x1f94
leave
ret

Function at 0x40f95d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0043a7c3
leave
ret
Function at 0x40fec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0043a190
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.....deepscanBAPI.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x40ff85
call fcn.004016e3
test eax, eax
jne 0x40ff4a
lea eax, [ebp - 0x20c]
push eax
call fcn.00401aac
pop ecx
test eax, eax
je 0x40ff85
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40ff85
push str.FsForceKill
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40ff7e
push edi
call eax
test eax, eax
jne 0x40ff7e
push edi
call esi
test eax, eax
jne 0x40ff7e
inc eax
jmp 0x40ff87
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a7c3
leave
ret

Function at 0x40ff96
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0043a190
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.....deepscancloudsec2.dll
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 0x41003d
lea eax, [ebp - 0x20c]
push eax
call fcn.00401aac
pop ecx
test eax, eax
je 0x41003d
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, esi
je 0x410039
push str.DSAsyncEvaluateExec2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x410039
push 0x1388
push edi
push 0xf
call eax
mov esi, eax
mov eax, esi
jmp 0x41003f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043a7c3
leave
ret
Function at 0x4100a4
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
sub esp, 0x324
lea ebp, [esp - 4]
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp + 0x324], eax
push 0xc
mov eax, 0x45c767
call fcn.0043ac8b
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp]
push edi
push eax
call fcn.0043a190
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x410102
cmp dword [ebp + 4], 6
jne 0x410102
cmp dword [ebp + 8], 2
jb 0x410102
xor eax, eax
inc eax
jmp 0x41019b
push 0x208
lea eax, [ebp + 0x11c]
push edi
push eax
call fcn.0043a190
add esp, 0xc
push edi
push 0x25
lea eax, [ebp + 0x11c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x47bc90
lea ecx, [ebp - 0x14]
call fcn.00402172
lea eax, [ebp + 0x11c]
push eax
lea eax, [ebp - 0x14]
push 0x461eb4
push eax
mov dword [ebp - 4], edi
call fcn.00404c93
add esp, 0xc
push str.kernel32.dll
lea ecx, [ebp - 0x14]
call fcn.00404c49
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
call fcn.0040f8a2
add esp, 0xc
test eax, eax
je 0x410191
mov eax, dword [ebp - 0x10]
shr eax, 0x10
cmp ax, 6
jne 0x410191
cmp word [ebp - 0x10], 2
jb 0x410191
xor edi, edi
inc edi
lea ecx, [esi - 0x10]
call fcn.004014f1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x324]
xor ecx, ebp
call fcn.0043a7c3
add ebp, 0x328
leave
ret
Function at 0x4101be
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x58
mov eax, 0x45c797
call fcn.0043ac8b
mov edi, dword [ebp + 0x214]
xor eax, eax
push 0x206
mov word [ebp], ax
xor esi, esi
lea eax, [ebp + 2]
push esi
push eax
call fcn.0043a190
add esp, 0xc
push 0x47bc90
lea ecx, [ebp - 0x10]
call fcn.00402172
lea eax, [ebp]
push eax
push esi
push esi
push 0x25
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x4102e3
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.explorer.exe
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x40
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.0043a190
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 5
pop eax
mov word [ebp - 0x24], ax
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x28], 1
call fcn.00404c49
push 0x4618a4
lea ecx, [ebp - 0x10]
call fcn.00404c49
lea ecx, [ebp - 0x10]
cmp dword [ebp + 0x218], esi
je 0x41029b
push str.__select___
jmp 0x4102a0
push 0x461ebc
call fcn.00404c49
push edi
lea ecx, [ebp - 0x10]
call fcn.00404c49
push 0x4618a8
lea ecx, [ebp - 0x10]
call fcn.00404c49
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x10]
call fcn.0040349b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push esi
lea ecx, [ebp - 0x10]
call fcn.004018b8
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004014f1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0043a7c3
add ebp, 0x20c
leave
ret

Function at 0x410311
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [ebp + 0x19c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1a0]
mov dword [ebp - 0x74], eax
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push eax
mov dword [ebp - 0x80], 1
call fcn.0043a190
add esp, 0xc
mov ecx, edi
mov dword [ebp - 0x7c], 0x200
call fcn.004020b9
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x410398
lea eax, [ebp - 0x70]
push eax
mov ecx, edi
call fcn.00404c6e
xor eax, eax
inc eax
jmp 0x41039a
xor eax, eax
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.0043a7c3
add ebp, 0x194
leave
ret
Function at 0x41043b
Capabilities:
Check os version

Disassembly:
push ebp
sub esp, 0x114
lea ebp, [esp - 4]
mov eax, dword [0x479f14]
xor eax, ebp
mov dword [ebp + 0x114], eax
push 0xc
mov eax, 0x45c7d7
call fcn.0043ac8b
mov esi, dword [ebp + 0x120]
mov edi, dword [ebp + 0x124]
lea eax, [ebp]
push eax
mov dword [ebp], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp + 4], 5
jbe 0x410507
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociations_
lea ecx, [ebp - 0x10]
call fcn.004062be
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040ea04
push str.UserChoice_
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.0040ea04
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00404bfc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004014f1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.004014f1
push str.Progid
push dword [ebp - 0x10]
mov ebx, SysReAllocString
call fcn.00410311
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004014f1
mov eax, esi
jmp 0x410509
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x114]
xor ecx, ebp
call fcn.0043a7c3
add ebp, 0x118
leave
ret
Function at 0x4118bb
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x411a51
push ebx
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebx + 4]
push edi
push 0x32
cdq
pop edi
idiv edi
push ecx
mov dword [ebp + 0x1c], eax
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [eax + 4]
sub edi, dword [ebx + 4]
cmp dword [ebp - 4], 5
mov ecx, dword [eax]
mov ebx, dword [sym.imp.USER32.dll_PtInRect]
mov dword [ebp - 0xc], ecx
jne 0x411a0e
push edi
push ecx
lea eax, [esi + 0xa4]
push eax
call ebx
test eax, eax
je 0x411979
push dword [ebp + 0x1c]
lea edi, [esi + 0x10c]
mov ecx, edi
call fcn.00411296
cmp dword [eax + 4], 0
jne 0x411a4f
push dword [ebp + 0x1c]
mov ecx, edi
call fcn.00411296
cmp dword [eax + 0x24], 0
je 0x411a4f
push dword [ebp + 0x1c]
mov ecx, edi
call fcn.00411296
add eax, 0x1c
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411a4f
mov eax, dword [ebp + 0x20]
mov eax, dword [eax + 4]
push 0x32
pop ecx
cdq
idiv ecx
mov ecx, esi
push eax
call fcn.00414880
jmp 0x411a4f
push edi
push dword [ebp - 0xc]
lea eax, [esi + 0xb4]
push eax
call ebx
test eax, eax
je 0x4119d7
push dword [ebp + 0x1c]
lea edi, [esi + 0x10c]
mov ecx, edi
call fcn.00411296
cmp dword [eax + 0x24], 0
je 0x411a4f
push dword [ebp + 0x1c]
mov ecx, edi
call fcn.00411296
add eax, 0x1c
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411a4f
mov eax, dword [ebp + 0x20]
mov eax, dword [eax + 4]
push 0x32
pop ecx
cdq
idiv ecx
mov ecx, esi
push eax
call fcn.004144a7
jmp 0x411a4f
push edi
push dword [ebp - 0xc]
lea eax, [esi + 0xc4]
push eax
call ebx
test eax, eax
je 0x411a4f
mov eax, dword [esi + 0xc4]
mov ecx, dword [ebp + 0x20]
push dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xd0]
add eax, dword [ecx + 4]
mov ecx, esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004117d7
cmp dword [ebp - 4], 0
jne 0x411a4f
push edi
push dword [ebp - 0xc]
lea eax, [esi + 0x94]
push eax
call ebx
test eax, eax
je 0x411a4f
push dword [ebp + 0x1c]
lea edi, [esi + 0xf4]
mov ecx, edi
call fcn.0041ea31
push dword [ebp + 0x1c]
xor ebx, ebx
cmp dword [eax], ebx
mov ecx, edi
sete bl
call fcn.0041ea31
mov ecx, esi
mov dword [eax], ebx
call fcn.004142a5
pop edi
pop ebx
pop esi
leave
ret 0x1c