joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41de90
Capabilities:
Terminate process
Write file on windows

Disassembly:
push 0x44
mov eax, 0x461638
call fcn.0044a6d8
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push str..pipeMedia_Get_LLCMediaGet2
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], ebx
call fcn.004088e0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041aac2
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00407efb
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x40000000
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41df0e
push ebx
lea eax, [ebp - 0x10]
push eax
mov esi, str.__quit_application
push esi
call fcn.00449db0
pop ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
call fcn.0041dd78
mov dword [ebp - 0x10], eax
cmp eax, ebx
jne 0x41df2c
mov bl, 1
lea ecx, [ebp - 0x18]
call fcn.00406ffd
mov al, bl
call fcn.0044a7b0
ret
mov esi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov edi, 0x2710
push edi
push eax
call esi
test eax, eax
je 0x41df1a
push 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
je 0x41dfdc
push edi
push dword [ebp - 0x10]
call esi
cmp eax, ebx
je 0x41df1a
cmp eax, 0x102
je 0x41dfcb
cmp eax, 0xffffffff
je 0x41df6f
push str.WaitForSingleObject_unknown_error
jmp 0x41dfd0
lea eax, [ebp - 0x50]
push eax
call fcn.0041d98e
push eax
lea eax, [ebp - 0x34]
push str.WaitForSingleObject_failed:
push eax
mov byte [ebp - 4], 1
call fcn.00408aa3
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x47c7f0
mov byte [ebp - 4], 2
call fcn.00408577
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00407efb
push ebx
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00407efb
call fcn.0041dd78
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
jmp 0x41df1c
push str.WaitForSingleObject_timed_out
mov ecx, 0x47c7f0
call fcn.0040877d
jmp 0x41dfb9
lea eax, [ebp - 0x34]
push eax
call fcn.0041d98e
push eax
lea eax, [ebp - 0x50]
push str.TerminateProcess_failed:
push eax
mov byte [ebp - 4], 3
call fcn.00408aa3
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x47c7f0
mov byte [ebp - 4], 4
call fcn.00408577
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.00407efb
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00407efb
jmp 0x41df1c
Function at 0x41e381
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x47dad4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x228
xor ebx, ebx
lea eax, [ebp - 0x22c]
push ebx
push eax
call fcn.0044ab10
add esp, 0xc
push ebx
push 2
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x41e400
push esi
mov esi, dword [ebp + 8]
cmp dword [ebp - 0x228], esi
jne 0x41e3e6
cmp dword [ebp - 0x218], esi
jne 0x41e3f9
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x41e3d6
jmp 0x41e3ff
mov ebx, dword [ebp - 0x218]
pop esi
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0044a6c9
leave
ret

Function at 0x41e417
Capabilities:
Get process image filename

Disassembly:
push esi
push edi
push dword [esp + 0xc]
xor edi, edi
push edi
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x41e454
push dword [esp + 0x14]
push dword [esp + 0x14]
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
jne 0x41e44b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x41e45c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
mov eax, edi
pop edi
pop esi
ret
Function at 0x41eac8
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0x3c
mov eax, 0x46170c
call fcn.0044a741
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x38]
push eax
push 0x46deb0
push 1
push 0
push 0x46df20
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x41eb13
xor al, al
call fcn.0044a7c4
ret
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.0041aac2
mov eax, dword [ebp - 0x38]
pop ecx
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
test eax, eax
jge 0x41eb44
lea ecx, [ebp - 0x34]
call fcn.00406ffd
jmp 0x41eb0b
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.0041aac2
mov eax, dword [ebp - 0x38]
pop ecx
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x41eb3a
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x44]
call fcn.0041aac2
mov eax, dword [ebp - 0x38]
pop ecx
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x41eb3a
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x40]
call fcn.0041aac2
mov eax, dword [ebp - 0x38]
pop ecx
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jl 0x41eb3a
mov eax, dword [ebp - 0x38]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
test eax, eax
jl 0x41eb3a
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x14], 0
je 0x41ebd8
lea ecx, [ebp - 0x34]
push ecx
push eax
call fcn.0041aac2
mov eax, dword [ebp - 0x38]
pop ecx
pop ecx
push dword [ebp + 0x24]
mov ecx, dword [eax]
push dword [ebp - 0x34]
push eax
call dword [ecx + 0x44]
test eax, eax
jl 0x41eb3a
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
lea edx, [ebp - 0x3c]
push edx
push 0x46df10
push eax
call dword [ecx]
test eax, eax
jl 0x41eb3a
cmp dword [esi + 0x18], 0x10
jb 0x41ebfc
mov ecx, dword [esi + 4]
jmp 0x41ebff
lea ecx, [esi + 4]
mov eax, dword [esi + 0x14]
mov edi, 0x468000
lea eax, [ecx + eax - 4]
push edi
push eax
call fcn.0045c462
pop ecx
pop ecx
test eax, eax
jne 0x41ec26
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.0041aac2
pop ecx
pop ecx
jmp 0x41ec55
push edi
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00408aee
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.0041aac2
add esp, 0x14
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00407efb
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x34]
push eax
call dword [ecx + 0x18]
test eax, eax
jge 0x41ec78
xor bl, bl
lea ecx, [ebp - 0x34]
call fcn.00406ffd
mov al, bl
jmp 0x41eb0d
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov bl, 1
jmp 0x41ec69
Function at 0x41ec8e
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
sub esp, 0x3e8
lea ebp, [esp - 4]
mov eax, dword [0x47dad4]
xor eax, ebp
mov dword [ebp + 0x3e8], eax
push 0x4c
mov eax, 0x461759
call fcn.0044a6d8
mov esi, dword [ebp + 0x3f4]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
call fcn.0044b143
push eax
lea eax, [ebp]
push str.mediaget_tmp__d.tmp
push eax
call fcn.0044b096
add esp, 0xc
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004088e0
push eax
lea eax, [ebp - 0x58]
push esi
push eax
mov byte [ebp - 4], 1
call fcn.00408b35
lea ecx, [ebp - 0x18]
push ecx
push eax
mov byte [ebp - 4], 2
call fcn.0041aac2
add esp, 0x14
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00407efb
push ebx
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.00407efb
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41ed73
lea eax, [ebp - 0x3c]
push eax
call fcn.0041d98e
pop ecx
push edi
push ebx
push eax
mov ecx, 0x47c7f0
mov byte [ebp - 4], 3
call fcn.00408577
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00407efb
lea ecx, [ebp - 0x18]
call fcn.00406ffd
xor al, al
jmp 0x41edf3
mov esi, str.test_data
push esi
mov byte [ebp - 0xd], bl
call fcn.00449db0
pop ecx
push ebx
lea ecx, [ebp - 0x20]
push ecx
push eax
push esi
push edi
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x41ed9f
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x20], eax
je 0x41edca
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 0xd], 1
call fcn.0041d98e
pop ecx
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x47c7f0
mov byte [ebp - 4], 4
call fcn.00408577
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00407efb
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
call esi
test eax, eax
jne 0x41ede5
push dword [ebp - 0x18]
call esi
lea ecx, [ebp - 0x18]
call fcn.00406ffd
cmp byte [ebp - 0xd], bl
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x3e8]
xor ecx, ebp
call fcn.0044a6c9
add ebp, 0x3ec
leave
ret
Function at 0x41ee9e
Capabilities:
Get geographical location

Disassembly:
push ebp
sub esp, 0xe4
lea ebp, [esp - 4]
mov eax, dword [0x47dad4]
xor eax, ebp
mov dword [ebp + 0xe4], eax
push 0x5c
mov eax, 0x4617d4
call fcn.0044a6d8
mov eax, dword [ebp + 0xf0]
mov edi, dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
push 0x64
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x1c]
push eax
push 0x59
mov ebx, 0x400
xor esi, esi
push ebx
mov dword [ebp - 0x14], esi
call edi
test eax, eax
jne 0x41ef1d
lea eax, [ebp - 0x30]
push eax
call fcn.0041d98e
pop ecx
push 0xffffffffffffffff
push esi
push eax
mov ecx, 0x47c7f0
mov dword [ebp - 4], esi
call fcn.00408577
push esi
push 1
lea ecx, [ebp - 0x30]
call fcn.00407efb
mov ecx, dword [ebp - 0x10]
call fcn.004081f5
jmp 0x41efe1
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp]
push eax
call fcn.0041bc26
pop ecx
pop ecx
cmp dword [ebp + 0x14], 2
mov dword [ebp - 4], 1
jne 0x41efca
push 0x64
lea eax, [ebp + 0x1c]
push eax
push 0x5a
push ebx
call edi
test eax, eax
jne 0x41ef7d
lea eax, [ebp - 0x30]
push eax
call fcn.0041d98e
pop ecx
push 0xffffffffffffffff
push esi
push eax
mov ecx, 0x47c7f0
mov byte [ebp - 4], 2
call fcn.00408577
push esi
push 1
lea ecx, [ebp - 0x30]
call fcn.00407efb
mov ecx, dword [ebp - 0x10]
call fcn.004081f5
jmp 0x41efd6
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0041bc26
push eax
lea eax, [ebp - 0x68]
push 0x468028
push eax
mov byte [ebp - 4], 3
call fcn.00408aa3
add esp, 0x14
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 4
call fcn.004084d0
push esi
push 1
lea ecx, [ebp - 0x68]
call fcn.00407efb
push esi
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00407efb
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.004086e5
push esi
push 1
lea ecx, [ebp]
call fcn.00407efb
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xe4]
xor ecx, ebp
call fcn.0044a6c9
add ebp, 0xe8
leave
ret
Function at 0x420400
Capabilities:
Create pipe

Disassembly:
push 0x40
mov eax, 0x461b7b
call fcn.0044a6d8
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
push esi
lea eax, [ebp - 0x30]
push str..pipe_
push eax
mov dword [ebp - 4], ebx
call fcn.00408aa3
lea ecx, [ebp - 0x14]
push ecx
push eax
mov byte [ebp - 4], 1
call fcn.0041aac2
add esp, 0x14
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.00407efb
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
push 0x40080003
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_CreateNamedPipeW]
mov dword [esi + 0x20], eax
cmp eax, 0xffffffff
jne 0x4204b9
lea eax, [ebp - 0x4c]
push eax
call fcn.0041d98e
push eax
lea eax, [ebp - 0x30]
push str.CreateNamedPipe_failed:
push eax
mov byte [ebp - 4], 2
call fcn.00408aa3
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 3
call fcn.00408577
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00407efb
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.00407efb
lea ecx, [ebp - 0x14]
call fcn.00406ffd
mov al, bl
call fcn.0044a7b0
ret
mov bl, 1
jmp 0x4204a9

Function at 0x4204bd
Capabilities:
Read file on windows

Disassembly:
push 0x70
mov eax, 0x461bb6
call fcn.0044a6d8
mov esi, ecx
cmp dword [esi + 0x20], 0xffffffff
je 0x4205dc
lea edi, [esi + 0x24]
mov ecx, edi
call fcn.0041e737
xor ebx, ebx
cmp byte [esi + 0x40], bl
je 0x420555
push ebx
lea eax, [esi + 0x48]
push eax
lea eax, [esi + 0x68]
push eax
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.DLL_GetOverlappedResult]
test eax, eax
jne 0x42054e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e4
je 0x4205dc
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0041d10b
push eax
lea eax, [ebp - 0x28]
push str.GetOverlappedResult_failed:
push eax
mov dword [ebp - 4], ebx
call fcn.00408aa3
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00408577
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00407efb
lea ecx, [ebp - 0x44]
jmp 0x4205d4
mov al, 1
jmp 0x4205de
lea eax, [esi + 0x68]
push eax
mov dword [eax], ebx
lea eax, [esi + 0x48]
push eax
push 4
lea eax, [esi + 0x44]
push eax
push dword [esi + 0x20]
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x420583
mov al, 1
mov byte [esi + 0x40], 1
jmp 0x4205de
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
jne 0x420594
xor al, al
jmp 0x42057d
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0041d10b
push eax
lea eax, [ebp - 0x60]
push str.ReadFile_failed:
push eax
mov dword [ebp - 4], 2
call fcn.00408aa3
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00408577
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.00407efb
lea ecx, [ebp - 0x7c]
push ebx
push 1
call fcn.00407efb
xor al, al
call fcn.0044a7b0
ret
Function at 0x4205e4
Capabilities:
Read file on windows

Disassembly:
push 0x74
mov eax, 0x461bf1
call fcn.0044a6d8
mov esi, ecx
xor ebx, ebx
xor edi, edi
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x68], ebx
cmp dword [ebp + 0xc], ebx
jbe 0x420666
lea eax, [esi + 0x68]
push eax
mov eax, dword [ebp + 0xc]
push ebx
sub eax, edi
push eax
mov eax, dword [ebp + 8]
add eax, edi
push eax
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x42063a
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x68]
push eax
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.DLL_GetOverlappedResult]
jmp 0x42065e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
jne 0x4206b8
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x68]
push eax
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.DLL_GetOverlappedResult]
test eax, eax
je 0x420670
add edi, dword [ebp - 0x10]
cmp edi, dword [ebp + 0xc]
jb 0x420607
mov al, 1
call fcn.0044a7b0
ret 8
lea eax, [ebp - 0x48]
push eax
call fcn.0041d98e
push eax
lea eax, [ebp - 0x2c]
push str.GetOverlappedResult_failed:
push eax
mov dword [ebp - 4], ebx
call fcn.00408aa3
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.00408577
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407efb
lea ecx, [ebp - 0x48]
push ebx
push 1
call fcn.00407efb
xor al, al
jmp 0x420668
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0041d10b
push eax
lea eax, [ebp - 0x64]
push str.ReadFile_failed:
push eax
mov dword [ebp - 4], 2
call fcn.00408aa3
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 3
call fcn.00408577
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00407efb
lea ecx, [ebp - 0x80]
jmp 0x4206ac

Function at 0x42094e
Capabilities:
Write file on windows

Disassembly:
push 0x58
mov eax, 0x461cb6
call fcn.0044a6d8
mov esi, ecx
push 0x14
xor edi, edi
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.0044ab10
add esp, 0xc
lea eax, [ebp - 0x2c]
lea ebx, [esi + 0x4c]
push eax
mov ecx, ebx
call fcn.00420925
cmp dword [ebp + 0xc], edi
jbe 0x4209b8
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.00418817
mov ecx, eax
call fcn.0042034b
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0xc]
sub eax, edi
push eax
mov eax, dword [ebp + 8]
add eax, edi
push eax
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x4209c2
add edi, dword [ebp - 0x10]
cmp edi, dword [ebp + 0xc]
jb 0x420980
mov al, 1
call fcn.0044a7b0
ret 8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x3e5
je 0x4209b8
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0041d10b
push eax
lea eax, [ebp - 0x48]
push str.WriteFile_failed:
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00408aa3
add esp, 0x14
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.00408577
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.00407efb
push edi
push 1
lea ecx, [ebp - 0x64]
call fcn.00407efb
xor al, al
jmp 0x4209ba
Function at 0x420fee
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x8a4]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0xc5c], 1
xor eax, eax
pop esi
ret 0x10

Function at 0x421018
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x421038
push 5
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop esi
ret 0x10

Function at 0x421483
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0x10], 0x201
push esi
mov esi, ecx
jne 0x4214b7
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0x8a4]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov byte [esi + 0xc5c], 0
jmp 0x4214e9
mov eax, 0x205
cmp word [ebp + 0x10], ax
jne 0x4214e9
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
push dword [esi + 4]
lea ecx, [esi + 0x60]
push dword [ebp - 4]
push dword [ebp - 8]
push 4
call fcn.00421208
xor eax, eax
pop esi
leave
ret 0x10
Function at 0x42915f
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x4291b0
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x4291c1
push 0xd
pop eax
jmp 0x4291ee
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4291c4
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x4296ee
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x47dad4]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
or ecx, 0x2001f
push ecx
push eax
push dword [esi]
xor edi, edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call fcn.0042912a
mov ebx, eax
cmp ebx, edi
je 0x42975e
lea ecx, [ebp - 0x70]
call fcn.004290c1
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a6c9
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x429776
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.004296ee
cmp eax, edi
jne 0x4297a9
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x429766
lea ecx, [ebp - 0x70]
call fcn.004290c1
push dword [ebp - 0x78]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.004290c1
mov eax, esi
jmp 0x429744
Function at 0x42b11d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
call fcn.004276ae
mov esi, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.DLL_FindResourceW]
push 5
push dword [esp + 0x24]
xor ebp, ebp
push esi
mov dword [esp + 0x1c], ebp
call edi
mov dword [esp + 0x14], eax
cmp eax, ebp
je 0x42b1ed
push ebx
push 0xf0
push dword [esp + 0x28]
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, dword [sym.imp.KERNEL32.DLL_LockResource]
cmp eax, ebp
je 0x42b173
push eax
push esi
call edi
push eax
call ebx
mov ebp, eax
push dword [esp + 0x18]
and dword [esp + 0x14], 0
push esi
call edi
test eax, eax
je 0x42b1d1
push eax
call ebx
mov edi, eax
test edi, edi
je 0x42b1d1
push ebp
push edi
call fcn.00428b1c
pop ecx
pop ecx
push dword [esp + 0x30]
mov ebx, eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x42b1bd
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x42b1db
push ebx
call dword [sym.imp.KERNEL32.DLL_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
jmp 0x42b1db
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
pop ebx
je 0x42b1ed
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x42bb64
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x20], 0
je 0x42bba3
push edi
push 2
push dword [esi + 0x120]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
lea edi, [esi + 0xcc]
mov eax, dword [edi]
mov byte [esi + 0x20], 0
test eax, eax
je 0x42bb96
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
and dword [edi], 0
push dword [esi + 0x164]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
ret

Function at 0x42ca5e
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x110], ebx
je 0x42ca8a
push edi
lea edi, [esi + 0xfc]
push edi
call fcn.0041aec8
pop ecx
test al, al
je 0x42ca89
push 1
push edi
call fcn.0041bc92
pop ecx
pop ecx
pop edi
lea eax, [esp + 8]
push eax
push ebx
push esi
push 0x42c1d4
push ebx
push ebx
mov byte [esi + 0x20], 1
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 0x120], eax
cmp dword [esi + 0x15c], ebx
jne 0x42cab8
cmp dword [esi + 0x160], ebx
je 0x42cabf
mov ecx, esi
call fcn.0042ca1f
pop esi
pop ebx
pop ecx
ret