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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
cmp dword [edi + 0x98], 3
je 0x41f378
xor al, al
leave
ret
push ebx
xor ebx, ebx
cmp dword [edi + 0xa8], ebx
jne 0x41f409
push esi
push 0x38
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.0040f7e0
add esp, 0xc
lea esi, [edi + 0xa0]
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
call fcn.00401d51
mov dword [ebp - 0x30], eax
lea esi, [edi + 0xa4]
mov eax, dword [esi]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x34], 0x43c254
cmp dword [eax - 0xc], ebx
je 0x41f3d2
call fcn.00401d51
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
test eax, eax
je 0x41f409
cmp dword [ebp - 8], ebx
je 0x41f409
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 4], ebx
setne al
jmp 0x41f40b
xor al, al
pop ebx
leave
ret

Function at 0x41f40e
Capabilities:
Get file size

Disassembly:
push ebx
push esi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x80000000
lea esi, [edi + 0xa0]
call fcn.00401d51
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41f43d
push eax
jmp 0x41f469
cmp dword [edi + 0xc4], ebx
je 0x41f464
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, dword [edi + 0xc4]
jne 0x41f464
cmp esi, ebx
je 0x41f460
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x41f471
cmp esi, ebx
je 0x41f46f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
pop ebx
ret

Function at 0x41fb09
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov esi, eax
call fcn.0041f30c
test al, al
je 0x41fba5
add esi, 0xf8
mov eax, dword [esi]
sub eax, 0x10
call fcn.00401a81
add eax, 0x10
mov dword [esp + 0xc], eax
push str..part
lea eax, [esp + 0x10]
push eax
call fcn.00401c6f
lea ecx, [esp + 0xc]
call fcn.0043395c
mov ebx, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test al, al
je 0x41fb62
push ebx
call edi
mov ecx, esi
call fcn.0043395c
test al, al
je 0x41fb71
push dword [esi]
call edi
push 0x5c
call fcn.0040192b
cmp eax, 0xffffffff
je 0x41fb9d
mov ecx, eax
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00401992
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [esi - 0x10]
call fcn.0040169e
lea eax, [ebx - 0x10]
call fcn.0040169e
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42001d
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
push 0x3c
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.0040f7e0
add esp, 0xc
cmp dword [ebx + 0x78], edi
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x48], esi
jg 0x420056
push edi
push edi
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [ebx + 0x74]
mov eax, dword [eax]
lea ecx, [ebp - 0x48]
push ecx
push edi
push edi
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x420077
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4201b1
cmp dword [ebp - 0x3c], 5
jne 0x4200a8
push dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov ecx, 0x443838
lea esi, [ebp - 8]
call fcn.004011de
lea edi, [ebx + 0xf8]
mov eax, esi
call fcn.004018c0
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
jmp 0x4201aa
mov eax, dword [0x443838]
mov esi, 0x443838
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebx + 0xc]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], edi
jne 0x42012a
push dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov ecx, esi
lea esi, [ebp - 4]
call fcn.004011de
push 0x2f
call fcn.0040192b
mov esi, dword [ebp - 4]
test eax, eax
jl 0x42010a
mov ecx, dword [esi - 0xc]
sub ecx, eax
lea eax, [ebp - 0xc]
push eax
dec ecx
lea eax, [ebp - 4]
call fcn.00401949
lea edi, [ebp - 8]
call fcn.004018c0
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040169e
lea eax, [ebp - 8]
call fcn.0041f757
test al, al
jne 0x420120
mov eax, ebx
lea edi, [ebp - 8]
call fcn.004018c0
lea eax, [esi - 0x10]
call fcn.0040169e
jmp 0x420132
lea edi, [ebp - 8]
call fcn.004018c0
mov eax, dword [ebx + 0x100]
mov eax, dword [eax + 0x10]
sub eax, 0x10
call fcn.00401a81
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [eax - 0xc]
lea ecx, [eax - 1]
lea eax, [ebp - 4]
call fcn.00401d87
cmp ax, 0x5c
je 0x420167
push 0x5c
lea eax, [ebp - 4]
call fcn.00401d26
mov eax, dword [ebx]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.004019ec
push 0x5c
lea eax, [ebp - 4]
call fcn.00401d26
mov esi, dword [ebp - 8]
push dword [esi - 0xc]
lea eax, [ebp - 4]
push esi
call fcn.004019ec
lea edi, [ebx + 0xf8]
lea eax, [ebp - 4]
call fcn.004018c0
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040169e
lea eax, [esi - 0x10]
call fcn.0040169e
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x4216b2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, ebx
call fcn.0041fe0a
cmp eax, 2
je 0x4216cf
mov eax, 0xe000000c
jmp 0x4218af
test dword [ebx + 0x6c], 0x400
push edi
je 0x4216fd
lea edi, [ebx + 0xf0]
mov eax, 0xe0000024
cmp dword [edi], eax
jne 0x4216fd
mov esi, dword [ebp + 0xc]
push 1
push eax
call fcn.004303ca
cmp eax, 0x4d5
jne 0x4216fd
and dword [edi], 0
mov eax, dword [ebx + 0xf0]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x4218ab
mov ecx, dword [ebx + 0xd8]
test ecx, ecx
je 0x42172c
call fcn.00420415
cmp eax, 1
jne 0x42172c
mov eax, 0xe000000d
jmp 0x421842
lea esi, [ebx + 0x80]
call fcn.004342bd
mov esi, dword [ebp + 8]
push esi
push ebx
call fcn.00420588
test al, al
je 0x42177e
push str.install
lea eax, [ebp + 8]
call fcn.00401895
mov eax, dword [ebx + 0x100]
lea ecx, [eax + 4]
push ecx
add eax, 0x10
push eax
push ebx
lea ecx, [ebp + 8]
call fcn.0042398d
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040169e
xor edi, edi
jmp 0x421824
push 0x38
xor edi, edi
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.0040f7e0
add esp, 0xc
lea esi, [ebx + 0xf8]
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
call fcn.00401d51
test byte [ebx + 0x6c], 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], 1
je 0x4217bb
mov dword [ebp - 0x24], edi
lea esi, [ebx + 0x90]
mov eax, dword [esi]
mov dword [ebp - 0x34], 0x43c254
cmp dword [eax - 0xc], edi
je 0x4217d7
call fcn.00401d51
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4217ea
mov dword [ebp + 0xc], edi
jmp 0x4217f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0xc], eax
cmp eax, edi
jne 0x421824
cmp dword [ebp - 8], edi
je 0x421824
push 0xffffffffffffffff
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 8]
push eax
push dword [ebp - 8]
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, 0x642
cmp dword [ebp + 8], eax
jne 0x421824
mov dword [ebp + 0xc], eax
mov esi, dword [ebp + 0xc]
mov dword [ebx + 0xf0], esi
cmp esi, edi
jne 0x42184a
mov ecx, ebx
call fcn.004207de
cmp eax, 1
jne 0x42184a
mov eax, 0xe000000c
mov dword [ebx + 0xf0], eax
jmp 0x4218ae
test byte [ebx + 0x6c], 0x10
je 0x421856
push ebx
call fcn.0041fc9f
cmp esi, edi
jne 0x4218ab
cmp dword [ebx + 0xa8], edi
je 0x4218ab
mov eax, dword [ebx + 0x100]
mov dword [ebp - 4], eax
lea edi, [ebx + 0xa0]
mov eax, dword [edi]
sub eax, 0x10
call fcn.00401a81
mov esi, eax
push edi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
add esi, 0x10
push eax
mov dword [ebp + 8], esi
call fcn.00422789
mov dword [ebx + 0xa8], eax
test eax, eax
je 0x4218a3
lea eax, [ebp + 8]
call fcn.004018c0
lea eax, [esi - 0x10]
call fcn.0040169e
mov eax, dword [ebp + 0xc]
pop edi
pop esi
leave
ret 8
Function at 0x421917
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x443838]
push esi
push edi
mov ecx, 0x443838
call dword [eax + 0xc]
add eax, 0x10
cmp byte [ebp + 8], 0
mov dword [ebp - 8], eax
je 0x42196e
lea edi, [ebx + 4]
push 0x5c
mov esi, edi
call fcn.0040192b
xor esi, esi
cmp eax, esi
jle 0x421970
mov ecx, eax
lea edx, [ebp + 8]
mov eax, edi
call fcn.00401992
lea edi, [ebp - 8]
call fcn.004018c0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040169e
jmp 0x421970
xor esi, esi
push 0x40
lea eax, [ebp - 0x98]
push esi
push eax
call fcn.0040f7e0
xor eax, eax
mov dword [ebp - 0x18], esi
mov ecx, dword [ebx + 0xc]
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
mov edi, dword [ebp - 8]
mov dword [ebp - 0x9c], 0x44
mov eax, dword [edi - 0xc]
neg eax
lea edx, [ebp - 0x18]
push edx
sbb eax, eax
lea edx, [ebp - 0x9c]
push edx
and eax, edi
push eax
push esi
push esi
push esi
push esi
push esi
push ecx
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x421a04
push 0x38
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.0040f7e0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x44], eax
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x400
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x48], 0x43c254
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [edi - 0x10]
call fcn.0040169e
pop edi
mov eax, esi
pop esi
leave
ret 4
Function at 0x421b30
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x441044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x210]
push eax
push 0x104
mov edi, ecx
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x421b6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x421d47
lea eax, [ebp - 0x210]
push eax
lea esi, [edi + 8]
push esi
call fcn.0040186f
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
lea ecx, [eax - 1]
mov eax, esi
call fcn.00401d87
cmp ax, 0x5c
je 0x421b99
push 0x5c
mov eax, esi
call fcn.00401d26
push esi
mov eax, ebx
call fcn.00401a6b
push 0x43d7a4
push esi
call fcn.00401c6f
push esi
push str.UninstallFilePath
mov eax, edi
call fcn.00421ab8
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
call fcn.00401d51
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x228], eax
cmp eax, 0xffffffff
jne 0x421bf8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xffffffffffffffff
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x421d47
push str._echo_off__r_n
lea eax, [ebp - 0x21c]
call fcn.00401895
cmp dword [edi + 0x1c], 0
mov dword [ebp - 0x220], ebx
mov ebx, 0x443838
jle 0x421c82
mov eax, dword [0x443838]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x220]
lea ecx, [edi + 0x18]
call fcn.004020a7
push dword [eax]
lea eax, [ebp - 0x214]
push str.del___s___r_n
call fcn.004022b1
mov eax, dword [ebp - 0x214]
pop ecx
pop ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x21c]
call fcn.004019ec
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
call fcn.0040169e
inc dword [ebp - 0x220]
mov eax, dword [ebp - 0x220]
cmp eax, dword [edi + 0x1c]
jl 0x421c19
mov eax, dword [0x443838]
mov ecx, ebx
call dword [eax + 0xc]
push dword [esi]
add eax, 0x10
push dword [edi]
mov dword [ebp - 0x214], eax
push dword [edi + 4]
lea eax, [ebp - 0x214]
push dword [edi + 4]
push dword [edi + 4]
push str.:again__r_nif_not_exist___s__goto_end__r_nif_exist___s__del___s___r_ngoto_again__r_n:end__r_nrmDir___s___r_ndel___s___cls
call fcn.004022b1
mov edi, dword [ebp - 0x214]
add esp, 0x18
push dword [edi - 0xc]
lea eax, [ebp - 0x21c]
push edi
call fcn.004019ec
and dword [ebp - 0x218], 0
and dword [ebp - 0x214], 0
call dword [sym.imp.KERNEL32.dll_GetACP]
mov ebx, dword [ebp - 0x21c]
push eax
push ebx
lea esi, [ebp - 0x218]
call fcn.0042a6ac
pop ecx
pop ecx
test eax, eax
jle 0x421d14
push 0
lea ecx, [ebp - 0x21c]
push ecx
dec eax
push eax
push dword [ebp - 0x214]
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x214]
call fcn.0040f85a
pop ecx
lea eax, [edi - 0x10]
call fcn.0040169e
lea eax, [ebx - 0x10]
call fcn.0040169e
cmp dword [ebp - 0x228], 0
je 0x421d45
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f7ca
leave
ret
Function at 0x421d56
Capabilities:
Copy file
Delete file
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x441044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [0x4437f8]
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push eax
lea esi, [ebx + 0x14]
push esi
call fcn.00401c6f
push ebx
mov ecx, esi
call fcn.0041e5a5
pop ecx
test al, al
jne 0x421dae
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x421f43
push 0x5c
call fcn.0040192b
test eax, eax
jl 0x421de4
mov ecx, dword [esi]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
lea eax, [ebp - 0x214]
push eax
dec ecx
mov eax, esi
call fcn.00401949
mov edi, esi
call fcn.004018c0
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
call fcn.0040169e
push 0x2e
call fcn.0040192b
test eax, eax
jl 0x421e13
mov ecx, eax
lea edx, [ebp - 0x214]
mov eax, esi
call fcn.00401992
mov edi, esi
call fcn.004018c0
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
call fcn.0040169e
push 0x43d768
lea ecx, [ebp - 0x214]
mov eax, ebx
lea esi, [ebx + 4]
call fcn.00421b1a
mov edi, esi
call fcn.004018c0
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
call fcn.0040169e
push 0
push dword [esi]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0x80
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push str..ini
lea ecx, [ebp - 0x214]
mov eax, ebx
lea edi, [ebx + 0x10]
call fcn.00421b1a
call fcn.004018c0
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
call fcn.0040169e
mov eax, dword [edi]
xor ecx, ecx
push ecx
push 0x80
push 2
push ecx
push ecx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
lea ecx, [ebp - 0x220]
push ecx
push 2
lea ecx, [ebp - 0x214]
push ecx
push eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x214], 0xfeff
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x421eed
cmp dword [ebp - 0x21c], eax
je 0x421ee5
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 0x21c], 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x21c], 0
je 0x421f02
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
call fcn.00401895
push eax
push str.RealUpdaterPath
mov eax, ebx
call fcn.00421ab8
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
call fcn.0040169e
push esi
mov eax, ebx
call fcn.00421a3b
lea esi, [ebx + 0x18]
mov ebx, edi
call fcn.0040444c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f7ca
leave
ret
Function at 0x42270a
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebp, dword [esp + 0x14]
xor ecx, ecx
push 2
mov esi, 0x104
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040f865
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x422758
push edi
cmp eax, esi
jb 0x42277c
add esi, esi
call fcn.0040f7bf
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040f865
pop ecx
pop ecx
push esi
mov edi, eax
mov eax, dword [ebp]
push edi
push eax
call ebx
test eax, eax
jne 0x422735
mov esi, 0xcb
push edi
call fcn.0040f7bf
pop ecx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 8
push dword [esp + 0x1c]
call fcn.0040186f
xor esi, esi
jmp 0x42276c

Function at 0x423056
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea eax, [ebp - 4]
push eax
mov eax, esi
call fcn.00423038
mov ebx, dword [ebp - 4]
push ebx
xor edi, edi
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [esi + 0x18], eax
cmp eax, edi
jne 0x423093
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [ebx - 0x10]
call fcn.0040169e
mov eax, edi
pop edi
pop ebx
leave
ret
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 0x1c], eax
cmp eax, edi
je 0x42307d
jmp 0x423085
Function at 0x423e28
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [ebp - 0x14], eax
call edi
push dword [esi + 8]
call edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xa
push dword [esi + 8]
call edi
mov ebx, 0x102
jmp 0x423e8d
cmp byte [esi + 2], 0
jne 0x423e72
mov eax, esi
call fcn.00423951
test al, al
je 0x423e72
mov byte [esi + 2], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0xea60
ja 0x423f43
push 0xa
push dword [esi + 8]
call edi
cmp eax, ebx
je 0x423e5d
test eax, eax
jne 0x423f34
push dword [esi + 4]
lea eax, [ebp - 0x10]
call fcn.00401895
mov eax, dword [esi + 4]
add eax, 0x820
push eax
lea eax, [ebp - 0xc]
call fcn.00401895
mov eax, dword [esi + 4]
add eax, 0x1040
push eax
lea eax, [ebp - 8]
call fcn.00401895
mov eax, dword [esi + 4]
add eax, 0x1860
push eax
lea eax, [ebp - 4]
call fcn.00401895
mov ecx, dword [esi + 0x24]
xor eax, eax
test ecx, ecx
je 0x423ef4
mov eax, dword [ecx]
lea edx, [ebp - 4]
push edx
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x10]
push edx
call dword [eax]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x2080], eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040169e
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040169e
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040169e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040169e
jmp 0x423f4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x2080], eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop ebx
leave
ret

Function at 0x424088
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
xor ebp, ebp
mov ebx, 0x424078
jmp 0x4240a3
mov esi, dword [esi]
cmp esi, ebp
je 0x4240c2
mov eax, dword [esi + 0x10]
add eax, 4
push eax
push ebp
push esi
push ebx
push ebp
push ebp
call edi
mov dword [esi + 0x1c], eax
cmp eax, ebp
jne 0x42409d
pop edi
pop esi
pop ebp
pop ebx
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x42455d
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov byte [eax + 0x68], cl
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x4253ba
Capabilities:
Create process on windows
Delete file
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x790]
sub esp, 0x810
mov eax, dword [0x441044]
xor eax, ebp
mov dword [ebp + 0x78c], eax
push ebx
push esi
lea eax, [ebp - 0x6c]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor ebx, ebx
mov dword [ebp - 0x80], eax
cmp eax, ebx
jne 0x4253f9
or eax, 0xffffffff
jmp 0x42554c
lea eax, [ebp + 0x584]
push eax
push ebx
push 0x43c8fc
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4253f1
lea eax, [ebp + 0x584]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
cmp word [ebp + 0x584], bx
je 0x425437
inc eax
cmp word [ebp + eax*2 + 0x584], bx
jne 0x42542c
push 0x6c
pop ecx
push 0x72
mov word [ebp + eax*2 + 0x582], cx
pop ecx
push 0x75
mov word [ebp + eax*2 + 0x580], cx
pop ecx
push 0x2e
mov word [ebp + eax*2 + 0x57e], cx
pop ecx
push ebx
push 0x80
push 2
push ebx
push ebx
mov word [ebp + eax*2 + 0x57c], cx
push 0x40000000
lea eax, [ebp + 0x584]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x70], eax
cmp eax, 0xffffffff
je 0x4253f1
push edi
push 0xfde9
push esi
lea esi, [ebp - 0x78]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
call fcn.0042a6ac
mov esi, dword [ebp - 0x74]
pop ecx
pop ecx
lea ecx, [ebp + 0x19c]
mov edx, str._InternetShortcut__r_nURL
mov edi, ecx
mov al, 0x5b
sub edx, edi
mov byte [ecx], al
inc ecx
mov al, byte [edx + ecx]
cmp al, bl
jne 0x4254b6
mov byte [ecx], bl
jmp 0x4254cc
inc esi
call fcn.0042534c
add ecx, eax
mov dl, byte [esi]
cmp dl, bl
jne 0x4254c4
mov byte [ecx], 0xd
inc ecx
push ebx
mov byte [ecx], 0xa
lea eax, [ebp - 0x80]
push eax
inc ecx
lea eax, [ebp + 0x19c]
mov byte [ecx], bl
sub ecx, eax
push ecx
push eax
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x70]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or edi, 0xffffffff
cmp esi, ebx
je 0x425537
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 5
push ebx
push ebx
lea eax, [ebp + 0x584]
push eax
push 0x43c254
push ebx
call esi
mov edi, eax
cmp edi, 0x20
ja 0x425537
push 5
push ebx
push ebx
lea eax, [ebp + 0x584]
push eax
push ebx
push ebx
call esi
mov edi, eax
push dword [ebp - 0x74]
call fcn.0040f85a
pop ecx
push 0x20
pop eax
cmp eax, edi
sbb eax, eax
not eax
and eax, edi
pop edi
mov ecx, dword [ebp + 0x78c]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f7ca
add ebp, 0x790
leave
ret
Function at 0x426de8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
lea ebx, [edi + 4]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, eax
mov eax, dword [edi + 0x14c]
mov edx, dword [eax + 8]
mov eax, dword [edx]
mov dword [edx + 4], ecx
test eax, eax
je 0x426e0e
call fcn.00423ff1
mov esi, edi
call fcn.00426ac8
lea esi, [edi + 0x78]
call fcn.0041e74c
mov eax, dword [edi + 0x14c]
test byte [eax + 0xc], 1
je 0x426e33
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x3e8
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x40e
push dword [ebx]
call esi
push 0x3f0
push dword [ebx]
mov dword [edi + 0xb0], eax
call esi
push ebx
mov dword [edi + 0xb4], eax
call fcn.004040d4
mov eax, dword [edi + 0x14c]
mov eax, dword [eax]
mov esi, edi
mov dword [edi + 0x150], eax
call fcn.00426095
and dword [edi + 0x9c], 0
pop esi
xor eax, eax
pop ebx
ret