joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4523bd
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
inc dword [0x4c8970]
push ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], ebx
call fcn.00429592
lea ecx, [ebx + 0x164]
call fcn.00411d4b
test eax, eax
je 0x4523f2
call fcn.004295a3
xor al, al
jmp 0x452597
test dword [ebp + 8], 0x200
push esi
push edi
jne 0x452525
test byte [ebx + 0x43], 0x80
jne 0x452525
call fcn.00411ae8
mov ecx, eax
call fcn.00411a6e
mov edi, eax
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x45241c
sub eax, edx
sar eax, 1
test dword [ebp + 8], 0x100
mov esi, eax
jne 0x45245c
push esi
push edi
push dword [ebp - 4]
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x45245c
mov ecx, dword [ebp - 4]
call fcn.004436c8
sub eax, dword [ebp - 4]
sar eax, 1
inc esi
cmp eax, esi
jbe 0x452525
push edi
mov ecx, ebx
call fcn.0040524e
mov edi, dword [sym.imp.KERNEL32.DLL_CopyFileW]
push 0
mov esi, eax
push esi
push dword [ebp - 4]
call edi
test eax, eax
jne 0x45250a
mov ecx, esi
call fcn.0044631c
test al, al
je 0x452493
push 0
push esi
push dword [ebp - 4]
call edi
test eax, eax
jne 0x45250a
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
call fcn.004295a3
mov edi, dword [0x4ce9a8]
mov ecx, ebx
call fcn.004295d5
push eax
push ebx
push esi
push dword [ebp - 4]
push edi
call fcn.00488f98
add esp, 0x14
test byte [ebp + 8], 4
jne 0x4524e7
push esi
push dword [0x4ce9a4]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0x35
call fcn.00450a20
add esp, 0xc
mov edi, eax
jmp 0x4524ea
push 2
pop edi
mov ecx, esi
call fcn.00444521
cmp edi, 2
je 0x452503
call fcn.00429592
mov ebx, dword [ebp - 8]
jmp 0x452401
xor al, al
jmp 0x452595
push 0x80
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push esi
mov ecx, ebx
call fcn.00405201
mov ecx, esi
call fcn.00444521
inc dword [0x4c8950]
mov eax, dword [ebx + 0x1cc]
test eax, eax
je 0x45254c
mov ecx, dword [0x4c2a18]
push eax
call fcn.00402f35
push eax
push 7
mov edx, ebx
pop ecx
call fcn.0043a48b
mov edx, dword [ebp + 8]
shr edx, 1
and dl, 1
mov ecx, ebx
call fcn.00413490
test byte [ebp + 8], 0x40
je 0x45256a
mov ecx, ebx
call fcn.0040f929
jmp 0x452579
test byte [ebx + 0x43], 0x80
jne 0x452579
push 0
mov ecx, ebx
call fcn.0040d79a
test byte [ebp + 8], 0x10
je 0x452583
or dword [ebx + 0x50], 0xffffffff
push 0
xor edx, edx
xor ecx, ecx
call fcn.00413075
call fcn.004295a3
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4530f6
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x5c]
call fcn.00453359
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.BtAppInstallTail
lea ecx, [ebp - 0x5c]
call fcn.0044f525
lea ecx, [ebp - 0x5c]
call fcn.00453310
lea edi, [esi + 0x24]
push edi
call dword [0x4c62f0]
cmp eax, 5
je 0x45313c
cmp eax, 3
jne 0x453159
push ebx
push dword [esi + 0x74]
call dword [0x4c62dc]
push 2
push ebx
push edi
call dword [0x4c62d0]
push ebx
push 2
call dword [0x4c62dc]
push 0x14
pop edx
lea ecx, [ebp - 0x28]
call fcn.004434d8
lea eax, [ebp - 0x28]
push eax
push 0x48f0b8
lea eax, [ebp - 0x88]
push 0x29
push eax
call fcn.0043c4c6
add esp, 0x10
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.00401980
mov ecx, dword [ebp - 8]
cmp ecx, ebx
je 0x45319d
xor eax, eax
cmp word [ecx], bx
sete al
cmp al, bl
je 0x4531cf
mov eax, dword [esi]
cmp eax, ebx
jne 0x4531a8
mov eax, 0x48e94c
push 0x5c
push eax
call sub.MSVCRT.dll_wcsrchr
pop ecx
pop ecx
cmp eax, ebx
je 0x4531bb
add eax, 2
jmp 0x4531c6
mov eax, dword [esi]
cmp eax, ebx
jne 0x4531c6
mov eax, 0x48e94c
push eax
lea ecx, [ebp - 8]
call fcn.004019c6
mov edx, dword [ebp - 8]
cmp edx, ebx
jne 0x4531db
mov edx, 0x48e94c
push edi
or edi, 0xffffffff
push edi
push edi
lea ecx, [ebp - 0x28]
call fcn.00423696
push str._MSIExecute
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x4532a9
cmp eax, edi
je 0x4532a9
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, dword [esi + 8]
mov edi, 0x48e94c
cmp eax, ebx
jne 0x45321f
mov eax, edi
lea ecx, [ebp - 0x88]
push ecx
push eax
push str.BTAPPS__s__PAIRINGKEY__S_
call fcn.0043c79a
add esp, 0xc
lea ecx, [esi + 0x24]
mov dword [ebp - 0x14], eax
call fcn.004530ab
push ebx
push dword [esi + 0x74]
call dword [0x4c62dc]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x453252
mov eax, edi
mov esi, dword [esi]
cmp esi, ebx
jne 0x45325a
mov esi, edi
push eax
push esi
call dword [0x4c62d4]
push ebx
push 2
mov esi, eax
call dword [0x4c62dc]
call dword [0x4c6320]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp esi, ebx
jne 0x45329a
lea ecx, [ebp - 0x5c]
call fcn.004533b4
push dword [ebp - 0x58]
call dword [sym.imp.USER32.dll_DestroyWindow]
call fcn.00452b7b
mov ecx, dword [ebp - 0x14]
call fcn.00444521
jmp 0x4532b1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
cmp byte [ebp - 4], bl
je 0x4532be
mov ecx, dword [ebp - 8]
call fcn.00444521
lea ecx, [ebp - 0x5c]
call fcn.0045337c
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x45390b
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x530
push ebx
mov edx, 0x49a5b0
lea ecx, [ebp - 0x30]
xor ebx, ebx
call fcn.00445bc3
test al, al
jne 0x453932
mov eax, str.cant_load_wininet.dll
jmp 0x453b13
push esi
push ebx
push ebx
push ebx
push ebx
push 0x48f6a4
call dword [ebp - 0x30]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x453950
mov esi, str.InternetOpen_failed
jmp 0x453b10
push ebx
push ebx
push 3
mov eax, 0x48f13b
push eax
push eax
push 0x50
push str.update.utorrent.com
push dword [ebp - 8]
call dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x453979
mov esi, str.InternetConnect_failed
jmp 0x453b0a
push edi
call sub.MSVCRT.dll__getpid
mov esi, eax
call fcn.004549fb
push dword [ebp + 0xc]
movzx ecx, byte [ebp + 0x14]
push ecx
push esi
push eax
push 0x63be
push str._crash.php_ver_dUh_sp_dUpr_dUs_dU
mov dword [ebp - 0x14], eax
mov edi, 0x500
lea eax, [ebp - 0x530]
push edi
push eax
call fcn.0043c4c6
add esp, 0x20
mov esi, eax
cmp byte [0x4c76b8], bl
je 0x4539dd
push 0x4c76b8
mov eax, edi
sub eax, esi
push 0x49a760
push eax
lea eax, [ebp + esi - 0x530]
push eax
call fcn.0043c4c6
add esp, 0x10
add esi, eax
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x453a05
cmp byte [eax], bl
je 0x453a05
push eax
mov eax, edi
sub eax, esi
push str.dl_s
push eax
lea eax, [ebp + esi - 0x530]
push eax
call fcn.0043c4c6
add esp, 0x10
add esi, eax
mov eax, edi
sub eax, esi
push str.wm
push eax
lea eax, [ebp + esi - 0x530]
push eax
call fcn.0043c4c6
add esi, eax
mov edx, edi
add esp, 0xc
sub edx, esi
lea ecx, [ebp + esi - 0x530]
call fcn.0041e032
mov ecx, dword [ebp - 0x14]
call fcn.00444521
mov esi, dword [ebp + 8]
mov eax, str.POST
cmp esi, ebx
jne 0x453a4a
mov eax, 0x4923b0
push ebx
push 0x4000000
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x530]
push ecx
push eax
push dword [ebp - 0xc]
call dword [ebp - 0x28]
mov edi, eax
cmp edi, ebx
jne 0x453a71
mov esi, str.HttpOpenRequest_failed
jmp 0x453b03
mov eax, str.Content_type:_application_binary
cmp esi, ebx
jne 0x453a7f
mov eax, 0x48f13b
mov ecx, esi
neg ecx
sbb ecx, ecx
and ecx, dword [ebp + 0xc]
push ecx
push esi
push 0xffffffffffffffff
push eax
push edi
call dword [ebp - 0x24]
test eax, eax
jne 0x453a9c
mov esi, str.HttpSendRequest_failed
jmp 0x453aff
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x20000013
push edi
mov dword [ebp - 4], 4
call dword [ebp - 0x1c]
test eax, eax
jne 0x453ac0
mov esi, str.HttpQueryInfo_failed
jmp 0x453aff
cmp dword [ebp - 0x10], 0xc8
je 0x453afd
push dword [ebp - 0x10]
mov esi, 0x4c7ab8
push str.Error__d_:
push 0x64
push esi
call fcn.0043c4c6
add esp, 0x10
push 0x64
pop ecx
sub ecx, eax
push ebx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
lea eax, [eax + 0x4c7ab8]
push eax
push 0x14
push edi
call dword [ebp - 0x1c]
jmp 0x453aff
mov esi, ebx
push edi
call dword [ebp - 0x20]
push dword [ebp - 0xc]
call dword [ebp - 0x20]
pop edi
push dword [ebp - 8]
call dword [ebp - 0x20]
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
Function at 0x453bba
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push 0x44
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x5c]
push edi
push eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
call sub.MSVCRT.dll_memset
mov ebx, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x5c], esi
cmp ebx, edi
je 0x453c20
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push 2
push 1
push edi
lea eax, [ebp + 0xc]
push eax
call esi
push eax
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
test eax, eax
je 0x453c09
mov eax, dword [ebp + 0xc]
or dword [ebp - 0x30], 0x100
or dword [ebp - 0x30], 1
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp + 8]
xor eax, eax
push edi
cmp ebx, edi
setne al
push edi
push eax
push edi
push edi
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp + 0xc], eax
cmp eax, edi
je 0x453c68
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x453c5e
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x453c63
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x14]
call esi
cmp ebx, edi
je 0x453c71
push dword [ebp - 0x1c]
call esi
xor eax, eax
cmp dword [ebp + 0xc], edi
pop edi
pop esi
setne al
pop ebx
leave
ret 0xc

Function at 0x453ed9
Capabilities:
Create process on windows

Disassembly:
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.00411ae8
cmp byte [eax + 0x11d], 0
push esi
je 0x453ef5
push str._AUTOUPDATE___s___1
jmp 0x453efa
push str._AUTOUPDATE___s_
call fcn.0043c727
pop ecx
pop ecx
push 1
push 0
push eax
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
pop edi
mov al, cl
pop esi
ret

Function at 0x453f52
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x410]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0
push 0x20
lea edx, [ebp - 0x208]
xor ecx, ecx
call fcn.00468d73
test eax, eax
je 0x453fbb
lea eax, [ebp - 0x208]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x453f8f
sub eax, edx
sar eax, 1
cmp eax, 0xa
jbe 0x453fbb
lea edx, [ebp - 0x208]
lea ecx, [ebp - 0x410]
call fcn.0043a971
test al, al
je 0x453fbb
mov al, 1
jmp 0x45400e
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x45400c
lea edx, [ebp - 0x208]
push esi
mov ecx, edx
call fcn.0046902b
lea eax, [ebp - 0x208]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x453fe4
sub eax, edx
sar eax, 1
cmp eax, 0xa
jbe 0x45400c
lea edx, [ebp - 0x208]
lea ecx, [ebp - 0x410]
call fcn.0043a971
test al, al
jne 0x453fb7
xor al, al
pop esi
leave
ret
Function at 0x454011
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
push esi
push 0x104
lea eax, [ebp - 0x618]
push eax
push str.COMSPEC
mov esi, ecx
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
test eax, eax
je 0x454183
push ebx
push edi
push 2
xor eax, eax
pop ebx
movzx ecx, word [eax + str.ping__n_2_127.0.0.1_r_n]
mov word [ebp + eax - 0x410], cx
add eax, ebx
test cx, cx
jne 0x454043
mov eax, esi
mov edx, esi
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x45405d
sub eax, edx
lea edi, [ebp - 0x410]
dec edi
dec edi
mov cx, word [edi + 2]
add edi, ebx
test cx, cx
jne 0x454071
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
call fcn.004123ce
lea edx, [ebp - 0x208]
mov esi, eax
sub edx, eax
movzx edi, word [esi]
mov word [edx + esi], di
add esi, ebx
test di, di
jne 0x45409b
mov ecx, eax
call fcn.00444521
lea edi, [ebp - 0x208]
dec edi
dec edi
mov ax, word [edi + 2]
add edi, ebx
test ax, ax
jne 0x4540b8
mov esi, str..bat
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 7
pop edx
lea ecx, [ebp - 0x208]
movsw word es:[edi], word [esi]
call fcn.004454db
mov esi, eax
lea eax, [ebp - 0x410]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x4540e5
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x410]
call fcn.0043b2d0
mov edx, eax
mov ecx, esi
call fcn.00445545
mov ecx, esi
call fcn.00445509
lea edi, [ebp - 0x618]
dec edi
dec edi
mov ax, word [edi + 2]
add edi, ebx
test ax, ax
jne 0x454117
mov esi, str.__C
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x208]
movsw word es:[edi], word [esi]
mov edx, eax
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x454133
sub eax, edx
lea edi, [ebp - 0x618]
dec edi
dec edi
mov cx, word [edi + 2]
add edi, ebx
test cx, cx
jne 0x454147
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [ebp - 0x618]
call fcn.0043b2d0
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
push 0x1f
pop ecx
cmp ecx, eax
sbb eax, eax
pop edi
neg eax
pop ebx
jmp 0x454185
xor al, al
pop esi
leave
ret
Function at 0x4541ed
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push ebx
push esi
mov dword [ebp - 4], ecx
push edi
xor ecx, ecx
mov ebx, edx
call fcn.004123ce
lea edx, [ebp - 0x210]
mov dword [ebp - 8], eax
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
test cx, cx
jne 0x454210
lea edi, [ebp - 0x210]
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
test ax, ax
jne 0x454226
mov edx, dword [ebp - 4]
mov esi, 0x49acfc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
lea ecx, [ebp - 0x210]
movsw word es:[edi], word [esi]
call fcn.0044624e
test al, al
je 0x4542aa
push 0x104
lea eax, [ebp - 0x418]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea edx, [ebp - 0x418]
lea ecx, [ebp - 0x210]
call fcn.00453ed9
test al, al
je 0x4542aa
mov esi, dword [sym.imp.KERNEL32.DLL_OpenMutexA]
mov dword [ebp - 4], 0x12c
mov ebx, 0x49ace8
mov edi, 0x1f0001
jmp 0x45429c
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
dec dword [ebp - 4]
je 0x4542aa
push ebx
push 0
push edi
call esi
test eax, eax
je 0x45428f
mov al, 1
jmp 0x4542c1
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov ecx, dword [ebp - 8]
call fcn.00444521
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4542e7
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov byte [ebp - 8], dl
mov dword [ebp - 0xc], ecx
mov byte [ebp - 1], 0
test dl, dl
je 0x45430d
push 0x49ace8
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x23c]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
mov eax, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
mov ebx, 0x1f4
push ebx
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x14], eax
call edi
mov esi, dword [sym.imp.KERNEL32.DLL_CopyFileW]
jmp 0x45443e
mov ecx, dword [ebp - 0xc]
call fcn.0044631c
test al, al
je 0x45436c
push 0
push dword [ebp - 0xc]
lea eax, [ebp - 0x23c]
push eax
call esi
test eax, eax
jne 0x454454
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 0x23c]
call fcn.0044528f
test al, al
jne 0x454454
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x4543d0
cmp byte [ebp - 8], 0
je 0x4543d0
call fcn.004615e0
test al, al
je 0x4543d0
cmp dword [0x4c81d4], 0
jne 0x4543d0
push dword [ebp + 8]
push dword [ebp - 0xc]
push str._AUTOUPDATE___s___NORUN__d
call fcn.0043c727
add esp, 0xc
push 0
push 1
push 1
mov edx, eax
lea ecx, [ebp - 0x23c]
call fcn.0046350a
test al, al
jne 0x4544a1
dec dword [ebp - 0x14]
jne 0x45443b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push 0x4b98f0
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x45441e
cmp dword [0x4c81d4], 2
je 0x45442b
push dword [0x4cf310]
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 0x35
call fcn.00450a20
pop ecx
pop ecx
cmp eax, 2
je 0x454492
jmp 0x454434
cmp dword [0x4c81d4], 2
jne 0x4544af
cmp dword [ebp - 0x10], 0
je 0x454492
dec dword [ebp - 0x10]
mov dword [ebp - 0x14], 0xa
push ebx
call edi
push 0
push dword [ebp - 0xc]
lea eax, [ebp - 0x23c]
push eax
call esi
test eax, eax
je 0x45434a
cmp byte [ebp - 8], 0
je 0x45448e
mov ecx, dword [ebp - 0xc]
call fcn.004542c6
test al, al
jne 0x454492
cmp dword [0x4c81d4], 2
je 0x45448e
push dword [0x4cf30c]
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 0x10
call fcn.00450a20
pop ecx
pop ecx
mov byte [ebp - 1], 1
call fcn.00454188
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 4
mov ecx, dword [ebp - 0xc]
call fcn.004542c6
test al, al
jne 0x45448e
jmp 0x454466
mov ecx, dword [ebp - 0x14]
push 0x104
lea edx, [ebp - 0x444]
call fcn.00468c87
lea eax, [ebp - 0x444]
push eax
push dword [0x4cf308]
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 0x30
call fcn.0043c727
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00450a20
add esp, 0x10
jmp 0x454492
Function at 0x4574c1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4574f5
inc eax
cmp dword [ebp + 0x10], eax
je 0x4574f7
cmp dword [ebp + 0x10], 2
je 0x4574f7
xor eax, eax
leave
ret 0xc

Function at 0x4574fb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
lea edx, [eax + 2]
push esi
mov si, word [eax]
inc eax
inc eax
test si, si
jne 0x457505
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0xc]
push 1
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
test eax, eax
je 0x457543
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.RegKey:_Could_not_write_string_valuename__s_value__s__Error__d_n
call fcn.0043fb2d
add esp, 0x10
pop ebp
ret 8

Function at 0x45757d
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]
test eax, eax
je 0x4575ae
push eax
push dword [esp + 0xc]
push dword [esp + 0xc]
push str.RegKey:_Could_not_write_DWORD_valuename__s_value__d__Error__d_n
call fcn.0043fb2d
add esp, 0x10
ret 8

Function at 0x4575b1
Capabilities:
Delete registry value

Disassembly:
push dword [esp + 4]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x4575d3
push dword [esp + 4]
push eax
push str.RegKey:_Could_not_delete_value__d:__s_n
call fcn.0043fb2d
add esp, 0xc
ret 4

Function at 0x457607
Capabilities:
Delete registry key

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x45762b
push dword [esp + 8]
push eax
push str.RegKey:_Could_not_delete_subkey__d:__s_n
call fcn.0043fb2d
add esp, 0xc
ret 8
Function at 0x45762e
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ecx, dword [0x4c8344]
mov esi, eax
call fcn.00444d11
mov edi, dword [sym.imp.USER32.dll_AppendMenuW]
mov ecx, eax
mov dword [esp + 0x18], ecx
xor ebx, ebx
jmp 0x45765e
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
call fcn.0043abf3
mov ecx, dword [esp + 0x10]
push 0x7c
pop edx
mov dword [esp + 0x14], eax
call fcn.0043ab86
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp word [eax], cx
je 0x457688
push eax
inc ebx
push ebx
push ecx
jmp 0x45768f
push ecx
push ecx
push 0x800
push esi
call edi
cmp dword [esp + 0x14], 0
jne 0x45765a
push 0
push 0
push 0x800
push esi
call edi
push dword [0x4ce674]
inc ebx
inc ebx
push ebx
push 0
push esi
call edi
mov eax, dword [0x4c8348]
xor edi, edi
push edi
inc eax
push eax
push ebx
push 1
push esi
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov ecx, dword [esp + 0x18]
call fcn.00444521
push edi
push dword [0x4c620c]
push edi
push dword [ebp + 4]
push dword [ebp]
push 0x18a
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push esi
mov ebp, eax
call dword [sym.imp.USER32.dll_DestroyMenu]
cmp ebp, ebx
jne 0x457716
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x45770c
push 0xc
pop ecx
call fcn.004844c6
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp ebp, edi
je 0x45770c
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x45770c
mov eax, ebp
jmp 0x45770e

Function at 0x457a1a
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
and dword [esi], 0
push edi
mov edx, 0x49b614
mov ecx, 0x49b60c
mov byte [esi + 4], 1
mov byte [esi + 8], 0
mov byte [esi + 9], 0
call fcn.00444103
mov edi, eax
mov ecx, edi
call fcn.004440ef
push eax
mov ecx, esi
call fcn.004019c6
mov ecx, edi
call fcn.00444521
mov eax, dword [esi]
test eax, eax
jne 0x457a5f
mov eax, 0x48e94c
push 0x49b608
mov ecx, eax
call fcn.0043b2d0
push eax
call sub.MSVCRT.dll_fopen
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x457aa1
push edi
push dword [esp + 0x14]
mov byte [esi + 8], 1
push 1
push dword [esp + 0x18]
call sub.MSVCRT.dll_fwrite
add esp, 0x10
cmp dword [esp + 0x10], eax
jne 0x457a9a
mov byte [esi + 9], 1
push edi
call sub.MSVCRT.dll_fclose
pop ecx
pop edi
mov eax, esi
pop esi
ret 8
Function at 0x458296
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0048d800
push esi
mov eax, edx
push edi
mov edi, ecx
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4582ac
sub eax, esi
sar eax, 1
mov esi, eax
mov eax, 0x7d0
cmp esi, eax
jl 0x4582c7
mov esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x2000]
call fcn.00411c90
lea edx, [esi + esi]
mov eax, 0x49b648
lea ecx, [ebp + edx - 0x2000]
sub ecx, eax
movzx esi, word [eax]
mov word [ecx + eax], si
inc eax
inc eax
test si, si
jne 0x4582e7
push 0x82d
lea eax, [ebp + edx - 0x1ffa]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x2000]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop edi
pop esi
leave
ret
Function at 0x45876c
Capabilities:
Create directory

Disassembly:
cmp dword [0x4c7b2c], 0
jne 0x4587c7
push 0x2c
call fcn.00444d68
pop ecx
test eax, eax
je 0x45878f
mov ecx, eax
call fcn.00458749
mov dword [0x4c7b2c], eax
jmp 0x458796
and dword [0x4c7b2c], 0
mov ecx, str.dlimagecache_
call fcn.004440ef
mov ecx, dword [0x4c7b2c]
push eax
add ecx, 0x24
call fcn.004019c6
mov eax, dword [0x4c7b2c]
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x4587c0
mov eax, 0x48e94c
mov ecx, eax
jmp fcn.0044631c
mov al, 1
ret

Function at 0x45f30a
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, esi
call fcn.0045f201
call fcn.0043fb2d
mov eax, dword [esi + 0x10]
test eax, eax
je 0x45f33a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x45f347
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esi + 8]
test esi, esi
je 0x45f354
mov eax, dword [esi]
push esi
call dword [eax + 8]
pop esi
ret