joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418760
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x42e50c]
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
push dword [edi + 0x20]
mov dword [ebp - 8], eax
mov esi, 0x42f9cc
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.0040959f
add esp, 0x10
lea eax, [ebp - 4]
push dword [ebp + 8]
push dword [edi + 0x1c]
push esi
push eax
call fcn.0040959f
add esp, 0x10
lea eax, [ebp - 8]
push dword [ebp + 8]
push dword [edi + 0x1c]
push str._s_s.bak
push eax
call fcn.0040959f
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x10
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x4188ef
mov eax, dword [0x42e50c]
push dword [edi + 0x1c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push 0x42eb18
push eax
call fcn.0040959f
add esp, 0xc
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x4187fc
push dword [ebp - 0x10]
call fcn.0041d105
pop ecx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4188af
push dword [ebp - 8]
call esi
test eax, eax
je 0x41881b
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.0041d509
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
pop ecx
pop ecx
call ebx
push dword [ebp - 4]
mov dword [ebp - 0x14], eax
call esi
test eax, eax
je 0x41885c
push dword [ebp + 0xc]
lea eax, [ebp + 8]
mov dword [edi + 0x54], 3
push dword [ebp - 0x14]
push ecx
mov ecx, esp
push eax
call fcn.004046e3
mov ecx, edi
call fcn.004183bf
push 0
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call ebx
push dword [ebp - 4]
mov ebx, eax
call esi
test eax, eax
jne 0x41889b
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ebx
push ecx
mov ecx, esp
push eax
call fcn.004046e3
mov ecx, edi
call fcn.004183bf
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0041d509
pop ecx
pop ecx
push dword [ebp - 8]
call esi
test eax, eax
je 0x4188e5
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4188e5
push 0
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 4]
mov ebx, eax
call esi
test eax, eax
jne 0x4188e5
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ebx
push ecx
mov ecx, esp
push eax
call fcn.004046e3
mov ecx, edi
call fcn.004183bf
lea ecx, [ebp - 0x10]
call fcn.00404c0d
jmp 0x41890c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp + 0xc]
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004046e3
mov ecx, edi
call fcn.004183bf
lea ecx, [ebp - 8]
call fcn.00404c0d
lea ecx, [ebp - 4]
call fcn.00404c0d
lea ecx, [ebp - 0xc]
call fcn.00404c0d
lea ecx, [ebp + 8]
call fcn.00404c0d
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x418b71
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
mov ebx, ecx
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
push dword [ebx + 0x10]
mov word [ebp - 0x20c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x434ee4
push 0x433c58
push str.Main
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x20c], si
je 0x418c39
push 3
lea eax, [ebp - 0x20c]
push 0x42ef24
push eax
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x418bf0
push 1
mov dword [ebx + 0x60], 6
pop eax
jmp 0x418c3c
cmp dword [str.qvod], esi
je 0x418c39
mov eax, 0x43078c
mov esi, eax
mov eax, dword [eax]
test eax, eax
je 0x418c1f
cmp word [eax], 0
je 0x418c1f
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
je 0x418c2b
add esi, 4
mov eax, esi
cmp dword [esi], 0
jne 0x418bff
jmp 0x418c39
mov dword [ebx + 0x60], 6
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4191b5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc34
push ebx
push esi
mov dword [ebp - 4], ecx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x822]
mov word [ebp - 0x824], bx
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x824]
push 0x17
push eax
push ebx
call esi
test eax, eax
je 0x419215
lea eax, [ebp - 0x824]
push 0x431b28
push eax
mov eax, dword [ebp - 4]
add eax, 0x1c
push 0x42f9cc
push eax
call fcn.0040959f
add esp, 0x10
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x61a]
mov word [ebp - 0x61c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x61c]
push 0x16
push eax
push ebx
call esi
test eax, eax
je 0x41926a
mov eax, dword [ebp - 4]
lea edi, [eax + 0x20]
lea eax, [ebp - 0x61c]
test eax, eax
je 0x41925b
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x61c]
push ecx
push eax
mov ecx, edi
call fcn.00404ce9
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x412]
mov word [ebp - 0x414], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x414]
push 0x19
push eax
push ebx
call esi
test eax, eax
je 0x4192bf
mov eax, dword [ebp - 4]
lea edi, [eax + 0x24]
lea eax, [ebp - 0x414]
test eax, eax
je 0x4192b0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x414]
push ecx
push eax
mov ecx, edi
call fcn.00404ce9
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xa2a]
mov word [ebp - 0xa2c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0xa2c]
push 0x1a
push eax
push ebx
call esi
test eax, eax
je 0x419308
lea eax, [ebp - 0xa2c]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
mov eax, dword [ebp - 4]
add eax, 0x28
push 0x42f9cc
push eax
call fcn.0040959f
add esp, 0x10
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
mov word [ebp - 0x20c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x20c]
push 6
push eax
push ebx
call esi
test eax, eax
je 0x41935d
mov eax, dword [ebp - 4]
lea edi, [eax + 0x2c]
lea eax, [ebp - 0x20c]
test eax, eax
je 0x41934e
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x20c]
push ecx
push eax
mov ecx, edi
call fcn.00404ce9
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xc32]
mov word [ebp - 0xc34], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0xc34]
push 0x1a
push eax
push ebx
call esi
test eax, eax
je 0x4193a3
mov esi, dword [ebp - 4]
lea eax, [ebp - 0xc34]
push eax
push 0x42eb18
lea eax, [esi + 0x18]
push eax
call fcn.0040959f
add esp, 0xc
jmp 0x4193a6
mov esi, dword [ebp - 4]
push 0x8c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, ebx
pop ecx
je 0x4193bf
push esi
mov ecx, eax
call fcn.00411e72
jmp 0x4193c1
xor eax, eax
mov ecx, eax
mov dword [esi + 0x30], eax
call fcn.004120d7
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4193d0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and word [ebp - 0x41c], 0
mov dword [ebp - 4], eax
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x41a]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x41c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x41951a
push dword [ebp - 4]
lea eax, [ebp - 0x41c]
lea esi, [ebx + 0xc]
push eax
push str._s_d
push esi
call fcn.0040959f
mov eax, dword [esi]
add esp, 0x10
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41951a
push dword [esi]
and word [ebp - 0x210], 0
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x20e]
push str._smini.exe
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0xe4
lea eax, [ebp - 0x210]
push 0x4343fc
push eax
call fcn.0041d80a
add esp, 0x1c
test al, al
je 0x41951a
push dword [esi]
add ebx, 0x10
push str._smini
push ebx
call fcn.0040959f
mov eax, dword [ebx]
add esp, 0xc
xor esi, esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41951a
push dword [ebx]
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x626]
mov word [ebp - 0x628], si
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x210]
push eax
push str.__s___P_s
lea eax, [ebp - 0x628]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41951a
push esi
push 0xea60
lea eax, [ebp - 0x628]
push esi
push eax
call fcn.0041cacf
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret

Function at 0x419554
Capabilities:
Delete file
Move file

Disassembly:
push 4
push 0
push dword [ecx + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
ret
Function at 0x419cb4
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, 0x427b9c
call fcn.004273d0
sub esp, 0x210
push ebx
xor ebx, ebx
push esi
xor esi, esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
push 0x42961c
push 1
push ebx
push 0x4298fc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x419d91
mov eax, dword [ebp - 0x10]
push edi
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
push dword [ebp + 8]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21a]
mov word [ebp - 0x21c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_wcslen]
push eax
lea eax, [ebp - 0x21c]
push dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x21c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp dword [ebp + 0x10], ebx
pop edi
je 0x419d67
mov eax, dword [ebp - 0x10]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 0x429d2c
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x419d91
mov eax, dword [ebp - 0x14]
push 2
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x419d91
push 1
pop esi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x419da1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x419db2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41a2a1
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
lea eax, [ebp - 0x114]
push esi
push eax
mov dword [ebp - 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [ebp - 0x104], 2
push 1
mov dword [0x437138], eax
mov dword [0x437144], eax
mov dword [0x43713c], eax
mov dword [0x437140], eax
pop esi
jne 0x41a342
cmp dword [ebp - 0x110], 5
jne 0x41a30d
cmp dword [ebp - 0x10c], eax
jne 0x41a2fd
mov dword [0x437144], esi
jmp 0x41a350
cmp dword [ebp - 0x10c], esi
jne 0x41a350
mov dword [0x43713c], esi
jmp 0x41a350
cmp dword [ebp - 0x110], 6
jne 0x41a350
cmp dword [ebp - 0x10c], eax
je 0x41a326
cmp dword [ebp - 0x10c], esi
jne 0x41a350
cmp dword [ebp - 0x10c], esi
mov dword [0x43713c], esi
mov dword [0x437140], esi
jne 0x41a350
mov dword [0x437148], esi
jmp 0x41a350
cmp dword [ebp - 0x104], esi
jne 0x41a350
mov dword [0x437138], esi
mov ax, word [0x434ee4]
push edi
mov word [ebp - 0x31c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x31a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x31c]
push 0x103
push eax
call fcn.0041b421
cmp word [ebp - 0x31c], 0x37
pop ecx
pop ecx
pop edi
jne 0x41a395
mov dword [0x43714c], esi
jmp 0x41a3b7
cmp word [ebp - 0x31c], 0x36
jne 0x41a3a7
mov dword [0x437150], esi
jmp 0x41a3b7
cmp word [ebp - 0x31c], 0x38
jne 0x41a3b7
mov dword [0x437154], esi
pop esi
leave
ret

Function at 0x41a429
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x104], 2
jne 0x41a49d
cmp dword [ebp - 0x110], 5
jne 0x41a49d
cmp dword [ebp - 0x10c], 1
jne 0x41a49d
push esi
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [ebp - 0x100]
push str.Service_Pack_2
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x41a497
lea eax, [ebp - 0x100]
push str.Service_Pack_3
push eax
call esi
pop ecx
test eax, eax
pop ecx
je 0x41a497
xor eax, eax
jmp 0x41a49a
push 1
pop eax
pop esi
leave
ret
xor eax, eax
leave
ret

Function at 0x41ac68
Capabilities:
Delete file
Move file

Disassembly:
cmp dword [esp + 8], 0
jne 0x41ac89
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x41ac81
xor eax, eax
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41ac8c
push 5
pop eax
cmp eax, 5
je 0x41ac9a
cmp eax, 0x20
je 0x41ac9a
push 1
pop eax
ret
cmp dword [0x437138], 0
je 0x41acbb
push 0
push dword [esp + 8]
call fcn.0041accd
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
setne cl
inc ecx
mov eax, ecx
ret
push 4
push 0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 2
pop eax
ret
Function at 0x41aeac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, 0x207
lea eax, [ebp - 0x208]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x41af2d
cmp eax, esi
ja 0x41af2d
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
cmp word [ebp + eax*2 - 0x20a], 0x5c
pop ecx
je 0x41aefe
lea eax, [ebp - 0x208]
push 0x42ef20
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
pop ecx
pop ecx
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x208]
push str.wininit.ini
push eax
push 0x432d50
push esi
push edi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
and word [edi + esi*2 - 2], 0
push 1
pop eax
pop edi
jmp 0x41af2f
xor eax, eax
pop esi
leave
ret

Function at 0x41af32
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x167c
call fcn.00427310
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
je 0x41b02b
push ebx
push edi
mov ecx, 0x513
xor eax, eax
lea edi, [ebp - 0x167a]
mov word [ebp - 0x167c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x4344dc]
mov ebx, dword [sym.imp.MSVCRT.dll_wcstok]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call ebx
pop ecx
pop ecx
mov edx, eax
test edx, edx
je 0x41afed
and word [ebp - 0x22c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x22a]
rep stosd dword es:[edi], eax
push edx
push dword [ebp + 8]
stosw word es:[edi], ax
push str._s_s
lea eax, [ebp - 0x22c]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp + esi*2 - 0x167c]
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [ebp - 4]
lea esi, [esi + edi + 1]
push eax
push 0
call ebx
add esp, 0x28
jmp 0x41af7e
xor esi, esi
push 0x1e
lea eax, [ebp - 0x24]
push esi
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x167c]
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xe], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0xa], esi
mov dword [ebp - 0x20], 3
mov word [ebp - 0x14], 0x454
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop edi
pop ebx
jmp 0x41b02d
xor eax, eax
pop esi
leave
ret

Function at 0x41b3d3
Capabilities:
Get common file path
Get program files directory

Disassembly:
xor eax, eax
push esi
cmp word [0x437164], ax
mov esi, 0x437164
jne 0x41b3fd
push eax
push 0x26
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.internet_exploreriexplore.exe
push esi
call dword [sym.imp.MSVCRT.dll_wcscat]
pop ecx
pop ecx
mov eax, esi
pop esi
ret
Function at 0x41b421
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push esi
call fcn.0041b3d3
push eax
call fcn.00422e98
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x41b472
lea eax, [ebp + 0xc]
mov dword [ebp + 8], 4
push eax
lea eax, [ebp + 8]
push esi
push eax
push str.Version
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41b472
cmp word [esi], ax
je 0x41b472
push 1
pop edi
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x41ba08
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
xor edi, edi
xor ebx, ebx
cmp dword [ebp + 0xc], edi
mov dword [ebp - 4], edi
je 0x41bb08
lea eax, [ebp - 4]
push esi
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x40000
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x41baf9
push dword [ebp + 0x10]
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
jne 0x41baf9
cmp dword [ebp + 0x14], edi
je 0x41baf6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0x20019
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x41baf9
push edi
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x41baf9
push 0x20a
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
cmp dword [ebp - 8], edi
pop ecx
mov esi, eax
jbe 0x41baef
push 0x105
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, edi
jne 0x41bae2
push 1
push dword [ebp + 0x10]
push esi
push dword [ebp - 4]
call fcn.0041ba08
add esp, 0x10
jmp 0x41bae9
cmp eax, 0x103
je 0x41baef
inc ebx
cmp ebx, dword [ebp - 8]
jb 0x41babb
push esi
call fcn.00427272
pop ecx
push 1
pop ebx
cmp dword [ebp - 4], edi
pop esi
je 0x41bb08
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop ebx
leave
ret
Function at 0x41c3c1
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x434578]
push esi
cmp eax, 0xffffffff
jne 0x41c521
push edi
push 0x44
pop ecx
xor eax, eax
lea edi, [ebp - 0x110]
mov dword [ebp - 0x114], 0x114
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x114]
mov dword [0x434578], 0xfffffc18
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
pop edi
je 0x41c51c
cmp dword [ebp - 0x104], 2
jne 0x41c51c
cmp dword [ebp - 0x110], 5
jne 0x41c4b1
cmp dword [ebp - 0x10c], 0
jne 0x41c43b
push 1
jmp 0x41c514
cmp dword [ebp - 0x10c], 1
jne 0x41c4a4
mov esi, dword [sym.imp.MSVCRT.dll__wcsnicmp]
lea eax, [ebp - 0x100]
push 0x7f
push eax
push 0x434580
call esi
add esp, 0xc
test eax, eax
jne 0x41c468
push 3
jmp 0x41c514
lea eax, [ebp - 0x100]
push 0x7f
push eax
push str.Service_Pack_2
call esi
add esp, 0xc
test eax, eax
jne 0x41c486
push 4
jmp 0x41c514
lea eax, [ebp - 0x100]
push 0x7f
push eax
push str.Service_Pack_3
call esi
add esp, 0xc
neg eax
sbb eax, eax
and al, 0xfd
add eax, 5
jmp 0x41c515
cmp dword [ebp - 0x10c], 2
jne 0x41c51c
push 6
jmp 0x41c514
cmp dword [ebp - 0x110], 6
jne 0x41c509
cmp dword [ebp - 0x10c], 0
jne 0x41c500
mov esi, dword [sym.imp.MSVCRT.dll__wcsnicmp]
lea eax, [ebp - 0x100]
push 0x7f
push eax
push 0x434580
call esi
add esp, 0xc
test eax, eax
jne 0x41c4e4
push 8
jmp 0x41c514
lea eax, [ebp - 0x100]
push 0x7f
push eax
push str.Service_Pack_2
call esi
add esp, 0xc
neg eax
sbb eax, eax
add eax, 8
jmp 0x41c515
cmp dword [ebp - 0x10c], 1
jmp 0x41c510
cmp dword [ebp - 0x110], 7
jne 0x41c51c
push 9
pop eax
mov dword [0x434578], eax
jmp 0x41c521
mov eax, dword [0x434578]
pop esi
leave
ret
Function at 0x41c64c
Capabilities:
Check if file exists
Enumerate process modules
Terminate process

Disassembly:
mov eax, 0x427be0
call fcn.004273d0
mov eax, 0x122c
call fcn.00427310
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x41c7d0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c7d0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1238]
push 0x1000
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x41c69e
or eax, 0xffffffff
jmp 0x41c7d2
mov edx, dword [ebp - 0x28]
mov al, byte [ebp + 0xb]
push esi
push edi
shr edx, 2
mov byte [ebp - 0x24], al
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push 0
mov ecx, 0x82
pop eax
lea edi, [ebp - 0x236]
mov word [ebp - 0x238], bx
mov dword [ebp - 4], ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], ebx
je 0x41c7be
lea esi, [ebp - 0x1238]
mov edi, edx
push dword [esi]
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x41c757
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x14]
push 4
push ecx
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x41c74e
lea eax, [ebp - 0x238]
push 0x104
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call sub.PSAPI.DLL_GetModuleFileNameExW
push dword [ebp + 8]
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
pop ecx
test eax, eax
pop ecx
jne 0x41c74e
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x24]
push eax
call fcn.0041ccee
jmp 0x41c757
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
dec edi
jne 0x41c6e0
cmp dword [ebp - 0x20], ebx
je 0x41c7be
mov esi, dword [ebp - 0x1c]
sub esi, dword [ebp - 0x20]
sar esi, 2
je 0x41c7be
mov eax, esi
shl eax, 2
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
pop ecx
cmp edi, ebx
je 0x41c7a7
xor eax, eax
cmp esi, ebx
jbe 0x41c793
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
mov dword [edi + eax*4], ecx
inc eax
cmp eax, esi
jb 0x41c785
push dword [ebp + 0xc]
push 1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push edi
call fcn.00427272
pop ecx
xor edi, edi
cmp esi, ebx
jbe 0x41c7be
mov eax, dword [ebp - 0x20]
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, esi
jb 0x41c7ad
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0041ccce
pop edi
xor eax, eax
pop esi
jmp 0x41c7d2
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret