joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c1f0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488906
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x314
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x31e]
push ecx
mov word [ebp - 0x320], ax
call fcn.00420c90
add esp, 0xc
xor eax, eax
mov edi, edi
movzx ecx, word [eax + str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_]
mov word [ebp + eax - 0x320], cx
add eax, 2
test cx, cx
jne 0x40c230
push 0x4a15ec
lea edx, [ebp - 0x118]
push edx
mov ecx, 0x4b36b8
call fcn.00431679
push 0x4b2db0
lea ecx, [ebp - 0x94]
push ecx
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00431650
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0043133d
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c284
push esi
push edi
lea edi, [ebp - 0x320]
sub eax, edx
add edi, 0xfffffffe
lea esp, [esp]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40c2a0
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]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0
call fcn.004311e9
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0xffffffff
call fcn.004311e9
call fcn.0040b640
lea edx, [ebp - 0x10]
push edx
push 0xf023f
mov esi, eax
push 0
lea eax, [ebp - 0x320]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c389
test esi, esi
je 0x40c321
lea ecx, [ebp - 0x320]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
jmp 0x40c369
mov edx, dword [ebp - 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x4a15f0
push edx
call esi
mov eax, dword [ebp - 0x10]
push str.DisplayName
push eax
call esi
mov ecx, dword [ebp - 0x10]
push str.DisplayVersion
push ecx
call esi
mov edx, dword [ebp - 0x10]
push str.Publisher
push edx
call esi
mov eax, dword [ebp - 0x10]
push str.UninstallString
push eax
call esi
mov ecx, dword [ebp - 0x10]
push str.URLInfoAbout
push ecx
call esi
test eax, eax
je 0x40c37f
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40c3a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x41a]
push ecx
mov word [ebp - 0x41c], ax
call fcn.00420c90
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x212]
push eax
mov word [ebp - 0x214], dx
call fcn.00420c90
add esp, 0x18
push str.Softwarei4Tool
mov edx, SysReAllocString
mov eax, 0x82
lea ecx, [ebp - 0x41c]
call fcn.0040bc60
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
lea edx, [ebp - 0x41c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0xc]
mov edi, eax
je 0x40c4a1
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push str.GUID
push edi
mov dword [ebp - 4], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c57b
mov eax, 1
cmp dword [ebp - 8], eax
jne 0x40c57b
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c480
sub eax, edx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x214]
sar eax, 1
push ecx
push edx
mov ebx, eax
call fcn.0040a880
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x40c56f
push 0x208
lea ecx, [ebp - 0x41c]
push 0
push ecx
call fcn.00420c90
push 0x208
lea edx, [ebp - 0x214]
push 0
push edx
call fcn.00420c90
add esp, 0x18
push str.Softwarei4Tool
mov edx, SysReAllocString
mov eax, 0x82
lea ecx, [ebp - 0x41c]
call fcn.0040bc60
push 0
lea eax, [ebp + 8]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
lea ecx, [ebp - 0x41c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
neg eax
sbb eax, eax
not eax
and eax, dword [ebp + 8]
mov ebx, eax
je 0x40c568
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.GUID
push ebx
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c587
mov eax, 1
cmp dword [ebp - 0xc], eax
jne 0x40c587
lea edx, [ebp - 0x214]
mov dword [ebp - 4], eax
call fcn.0040a730
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0
jmp 0x40c4a1
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40c5b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x212]
push ecx
mov word [ebp - 0x214], ax
call fcn.00420c90
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x41a]
push eax
mov word [ebp - 0x41c], dx
call fcn.00420c90
add esp, 0x18
push 0x4a1564
mov edx, SysReAllocString
mov eax, 0x82
lea ecx, [ebp - 0x214]
call fcn.0040bc60
mov ecx, 0x4b38d8
call fcn.0043133d
mov edx, 0x82
lea ecx, [ebp - 0x214]
mov esi, 1
cmp word [ecx], 0
je 0x40c637
add ecx, 2
sub edx, esi
jne 0x40c628
jmp 0x40c65b
test edx, edx
je 0x40c65b
push eax
mov ecx, 0x82
sub ecx, edx
mov eax, 0x82
sub eax, ecx
lea ecx, [ebp + ecx*2 - 0x214]
mov edx, SysReAllocString
call fcn.0040bc60
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
lea edx, [ebp - 0x214]
push edx
push reloc.gdiplus.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 8]
mov edi, eax
je 0x40c707
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push str.Version
push edi
mov dword [ebp - 0xc], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c6ba
cmp dword [ebp - 4], esi
je 0x40c6cb
push edi
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x41c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40c6d4
push ebx
sub eax, edx
lea ecx, [ebp - 0x41c]
sar eax, 1
push ecx
push 0x4b3eac
mov ebx, eax
call fcn.0040a880
pop ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 4]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40ceb0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov dword [ebp - 4], 0
mov word [ebp - 0x414], ax
call fcn.00420c90
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x61a]
push eax
mov word [ebp - 0x61c], dx
call fcn.00420c90
push str.PlistEditor.plist
push str._sDefaultIcon
lea edx, [ebp - 0x20c]
call fcn.00408780
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
add esp, 0x20
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x20c]
push edx
push SysReAllocString
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueW]
test eax, eax
jne 0x40cf65
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cf40
mov ecx, dword [ebp - 4]
sub eax, edx
sar eax, 1
inc eax
push eax
lea eax, [ebp - 0x414]
push eax
push 1
push 0x4a05a8
push ecx
call ebx
mov edx, dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
push str.PlistEditor.plist
push str._s_shell
lea edx, [ebp - 0x20c]
call fcn.00408780
add esp, 8
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x40cfd5
lea eax, [ebp - 0x61c]
lea edx, [eax + 2]
jmp 0x40cfb0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40cfb0
sub eax, edx
sar eax, 1
inc eax
push eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x61c]
push edx
push 1
push 0x4a05a8
push eax
call ebx
mov ecx, dword [ebp - 4]
push ecx
call esi
push str.3uTools
push str.PlistEditor.plist
push str._s_shell_s
lea edx, [ebp - 0x20c]
call fcn.00408780
add esp, 0xc
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x40d01f
mov ecx, dword [ebp - 4]
push str.command
push ecx
call ebx
mov edx, dword [ebp - 4]
push edx
call esi
push str.PlistEditor.plist
push str._s_shell_
lea edx, [ebp - 0x20c]
call fcn.00408780
add esp, 8
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x40d05e
mov edx, dword [ebp - 4]
push str.3uTools
push edx
call ebx
mov eax, dword [ebp - 4]
push eax
call esi
push 0
push 0
push 0x3000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40d090
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, eax
lea eax, [ebp - 4]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x40d0eb
mov ecx, dword [ebp - 4]
push ebx
push esi
push edi
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov ebx, eax
add edi, 0xfffffffe
jmp 0x40d0c0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40d0c0
mov edx, dword [ebp - 4]
mov ecx, 0x15
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
push edx
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
pop esi
mov eax, ebx
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40d260
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4888db
push eax
mov dword fs:[0], esp
sub esp, 0x6f4
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x40d4d3
xor eax, eax
cmp ax, word [esi]
je 0x40d4d3
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40d4d3
push 0x24c
lea ecx, [ebp - 0x6f8]
push 0
push ecx
mov dword [ebp - 0x6fc], 0
call fcn.00420c90
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x2a2]
push eax
mov word [ebp - 0x2a4], dx
call fcn.00420c90
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x4aa]
push edx
mov word [ebp - 0x4ac], cx
call fcn.00420c90
add esp, 0xc
push esi
lea eax, [ebp - 0x4ac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esi + eax*2 - 2], 0x5c
je 0x40d33b
push esi
push 0x4a18a4
lea ecx, [ebp - 0x4ac]
push 0x103
push ecx
call fcn.0041b92a
add esp, 0x10
jmp 0x40d350
push 0x103
lea edx, [ebp - 0x4ac]
push esi
push edx
call fcn.0041b9fa
add esp, 0xc
lea eax, [ebp - 0x4ac]
push eax
push str._s.
lea ecx, [ebp - 0x2a4]
push 0x103
push ecx
call fcn.0041b92a
add esp, 0x10
lea edx, [ebp - 0x6fc]
push edx
lea eax, [ebp - 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40d4d3
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40d3a0
push 0x4a18b8
lea ecx, [ebp - 0x6d0]
push ecx
call esi
test eax, eax
je 0x40d493
push 0x4a18bc
lea edx, [ebp - 0x6d0]
push edx
call esi
test eax, eax
je 0x40d493
lea eax, [ebp - 0x6d0]
push eax
lea ecx, [ebp - 0x4ac]
push ecx
push str._s_s
lea edx, [ebp - 0x2a4]
push 0x103
push edx
call fcn.0041b92a
add esp, 0x14
test byte [ebp - 0x6fc], 0x10
je 0x40d410
lea eax, [ebp - 0x2a4]
push eax
call fcn.0040d260
add esp, 4
jmp 0x40d493
push 0xffffffffffffffff
lea ecx, [ebp - 0x2a4]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00431607
lea ecx, [ebp - 0x9c]
mov dword [ebp - 4], 0
call fcn.0043133d
push eax
call fcn.0040d190
add esp, 4
lea edx, [ebp - 0x2a4]
push edx
call edi
test eax, eax
jne 0x40d455
lea eax, [ebp - 0x2a4]
push eax
call edi
fld dword [0x4a2100]
fld dword [0x4b12f0]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x40d474
fstp st(1)
fadd qword [0x4a20f8]
jmp 0x40d476
fstp st(0)
fstp dword [0x4b12f0]
call fcn.0040d210
lea ecx, [ebp - 0x9c]
mov dword [ebp - 4], 0xffffffff
call fcn.004311e9
lea ecx, [ebp - 0x6fc]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40d3a0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [ebp - 0x4ac]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415230
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4888ab
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ad3bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00482b55
push 4
mov dword [ebp - 4], 0
call fcn.0041ad51
mov edi, eax
add esp, 4
test edi, edi
je 0x4152ac
call fcn.00419287
mov dword [edi], eax
call fcn.00419046
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0041944d
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4152a2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00419475
jmp 0x4152ae
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41c9f1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ad3bc]
jne 0x41c9fb
repz ret
jmp fcn.00426b9c
Function at 0x42a8be
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ad3bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00421d8e
and dword [ebp - 0x14], 0
cmp dword [0x4b09fc], 0
mov dword [ebp - 0x18], eax
jne 0x42a971
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42aa19
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x48efe8
push ebx
call edi
test eax, eax
je 0x42aa19
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x48efd8
push ebx
mov dword [0x4b09fc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4b0a00], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4b0a04], eax
call edi
push eax
call esi
mov dword [0x4b0a0c], eax
test eax, eax
je 0x42a971
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4b0a08], eax
mov eax, dword [0x4b0a08]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42a9ca
cmp dword [0x4b0a0c], ecx
je 0x42a9ca
push eax
call esi
push dword [0x4b0a0c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42a9ca
test ebx, ebx
je 0x42a9ca
call edi
test eax, eax
je 0x42a9c1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42a9c1
test byte [ebp - 8], 1
jne 0x42a9ca
or dword [ebp + 0x10], 0x200000
jmp 0x42a9fd
mov eax, dword [0x4b0a00]
cmp eax, dword [ebp - 0x18]
je 0x42a9fd
push eax
call esi
test eax, eax
je 0x42a9fd
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42a9fd
mov eax, dword [0x4b0a04]
cmp eax, dword [ebp - 0x18]
je 0x42a9fd
push eax
call esi
test eax, eax
je 0x42a9fd
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b09fc]
call esi
test eax, eax
je 0x42aa19
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42aa1b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041c9f1
leave
ret

Function at 0x43444a
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jns 0x434460
push 8
pop edi
push 1
call esi
test ax, ax
jns 0x43446c
or edi, 1
push 2
call esi
test ax, ax
jns 0x434478
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x434484
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x434490
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret
Function at 0x434536
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ad3bc]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00420c90
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call fcn.00431607
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041c9f1
leave
ret
Function at 0x43833c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi + 0xac]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x438368
cmp ebx, dword [esi + 0x10c]
je 0x438368
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x10c]
cmp ebx, eax
je 0x43843f
push edi
test eax, eax
je 0x4383c7
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x17
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x10c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
xor edi, edi
push edi
push edi
push edi
push 0x4903e4
push dword [esi + 0x10c]
mov ecx, esi
call fcn.0043829c
mov dword [esi + 0x10c], edi
test ebx, ebx
je 0x43843e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x43843e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x100]
test al, al
je 0x43843e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10c]
test al, al
je 0x43843e
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x10c], ebx
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x10c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x10c]
mov ecx, esi
call fcn.0043829c
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4385e9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x4ac]
xor ebx, ebx
call fcn.00430771
test eax, eax
jle 0x43863e
push ebx
lea ecx, [esi + 0x4ac]
mov byte [ebp - 1], 0
call fcn.004311cd
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x4386a2
lea ecx, [esi + 0x4ac]
inc ebx
call fcn.00430771
cmp ebx, eax
jl 0x438605
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x438707
sub eax, 4
je 0x4386a6
dec eax
dec eax
jne 0x4386fe
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.00483215
pop ecx
mov ecx, dword [esi + 0x108]
push 0x80000012
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x435d44
call dword [eax + 0x134]
mov esi, eax
test esi, esi
je 0x4386fe
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x128]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x438700
cmp dword [esi + 0x10c], 0
je 0x4386fe
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x124]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.0043444a
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x10c]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x140]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x4386fe
cmp dword [esi + 0x10c], 0
je 0x4387b6
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x438769
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
call dword [eax + 0x10c]
test al, al
je 0x438769
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.0041a685
pop ecx
pop ecx
test eax, eax
je 0x438769
mov ecx, dword [esi + 0x10c]
call fcn.0045c2d9
test al, al
jne 0x4386fe
cmp dword [esi + 0x10c], 0
je 0x4387b6
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x4387b6
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
call dword [eax + 0x10c]
test al, al
je 0x4387b6
mov ecx, dword [esi + 0x10c]
mov eax, dword [ecx]
push str.WkeWebkitUI
call dword [eax + 0xc]
push eax
call fcn.0041a685
pop ecx
pop ecx
test eax, eax
jne 0x4386fe
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov ecx, esi
call fcn.00438509
jmp 0x4386a2
Function at 0x445888
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 8]
mov esi, eax
and esi, 7
je 0x4458ad
cmp eax, esi
jge 0x4458a5
mov eax, edi
call fcn.004452dc
mov ecx, esi
shr dword [edi + 0xc], cl
sub dword [edi + 8], esi
mov esi, dword [edi + 8]
xor ecx, ecx
test esi, esi
jle 0x4458da
mov eax, dword [edi + 0xc]
push ebx
mov dl, byte [edi + 0xc]
sub esi, 8
mov byte [ebp + ecx - 4], dl
shr eax, 8
mov ebx, esi
inc ecx
mov dword [edi + 0xc], eax
test ebx, ebx
jg 0x4458ba
mov dword [edi + 8], ebx
pop ebx
cmp ecx, 4
jge 0x4458f6
mov esi, dword [edi + 4]
mov eax, dword [edi]
cmp eax, esi
jb 0x4458e7
xor dl, dl
jmp 0x4458ec
mov dl, byte [eax]
inc eax
mov dword [edi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x4458dd
movzx esi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl esi, 8
add esi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, esi
xor ecx, 0xffff
cmp eax, ecx
je 0x445929
push str.zlib_corrupt
call fcn.00440443
pop ecx
jmp 0x445965
mov eax, dword [edi]
add eax, esi
cmp eax, dword [edi + 4]
jbe 0x445939
push str.read_past_buffer
jmp 0x445921
mov eax, dword [edi + 0x10]
lea ecx, [eax + esi]
cmp ecx, dword [edi + 0x18]
jbe 0x44594f
push esi
call fcn.004453b9
pop ecx
test eax, eax
je 0x445965
push esi
push dword [edi]
push dword [edi + 0x10]
call fcn.0041c260
add dword [edi], esi
add dword [edi + 0x10], esi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret