joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403ab8
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.004035b4
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
mov ebx, str.4E856679_FF0C_45f8_80EB_91132DDBDEC7
push ebx
call edi
pop ecx
lea eax, [eax*2 + str.4E856679_FF0C_45f8_80EB_91132DDBDEC7]
push eax
push ebx
lea ecx, [ebp - 0x10]
call fcn.00403495
push str._certreg_single_instance_msgid
call edi
pop ecx
lea eax, [eax*2 + str._certreg_single_instance_msgid]
lea ecx, [ebp - 1]
push ecx
push eax
push str._certreg_single_instance_msgid
lea ecx, [ebp - 0x10]
call fcn.00403d63
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
test eax, eax
mov dword [esi + 0xc8], eax
jne 0x403b34
push eax
push 0x40010
push str.Can_not_initialize.
call sub.MFC42u.DLL_AfxMessageBox
jmp 0x403bf6
lea ecx, [ebp - 0x3c]
call fcn.0041365e
lea ecx, [ebp - 0x3c]
call fcn.004137df
test al, al
je 0x403b55
push dword [esi + 0xc8]
mov ecx, esi
call fcn.00403cc4
push ebx
call edi
pop ecx
lea eax, [eax*2 + str.4E856679_FF0C_45f8_80EB_91132DDBDEC7]
push eax
push ebx
lea ecx, [ebp - 0x10]
call fcn.00403495
mov ebx, str._certreg_single_instance
push ebx
call edi
pop ecx
lea eax, [eax*2 + str._certreg_single_instance]
lea ecx, [ebp - 1]
push ecx
push eax
push ebx
lea ecx, [ebp - 0x10]
call fcn.00403d63
push dword [ebp - 0x10]
xor ebx, ebx
mov ecx, 0x421e60
push ebx
call fcn.004152b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0xd0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x403bd1
cmp byte [esi + 0xcc], bl
jne 0x403bda
push dword [esi + 0xd0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
mov dword [esi + 0xd0], ebx
push 2
jmp 0x403bdd
cmp byte [esi + 0xcc], 0
je 0x403c03
push ebx
push 1
push dword [esi + 0xc8]
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x3c]
call fcn.004136ef
lea ecx, [ebp - 0x10]
call fcn.00403592
jmp 0x403c95
push ebx
call sub.MFC42u.DLL_AfxEnableControlContainer
pop ecx
mov ecx, esi
call sub.MFC42u.DLL_CWinApp::Enable3dControls
push 0x56c
call sub.MFC42u.DLL_operatornew
cmp eax, ebx
pop ecx
je 0x403c32
push ebx
mov ecx, eax
push dword [esi + 0xc8]
call fcn.00403d96
mov edi, eax
jmp 0x403c34
xor edi, edi
cmp edi, ebx
je 0x403c79
push ebx
push 0x66
mov ecx, edi
mov dword [esi + 0x20], edi
call sub.MFC42u.DLL_CDialog::Create
test eax, eax
je 0x403c79
cmp byte [esi + 0xc4], 0
je 0x403c66
push ebx
push 3
push dword [esi + 0xc8]
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
mov dword [esi + 0x20], ebx
lea ecx, [ebp - 0x3c]
call fcn.004136ef
mov eax, dword [ebp - 8]
lea ecx, [ebp - 8]
sub eax, dword [ebp - 0x10]
sar eax, 1
push eax
push dword [ebp - 0x10]
call fcn.004035a0
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x404679
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20e]
mov word [ebp - 0x210], si
mov dword [ebp - 4], esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x104
push eax
push 1
push esi
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404700
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push esi
push str.Path
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404700
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
pop ecx
push 1
pop eax
jmp 0x404702
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x40497d
Capabilities:
Check if file exists
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
and word [ebp - 0x20c], 0
push ebx
mov ebx, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
push eax
push str.SoftwareEnterSafeePass2000Auto_hxb
call fcn.00404679
pop ecx
test eax, eax
pop ecx
je 0x404a13
lea eax, [ebp - 0x20c]
lea ecx, [ebp - 4]
push eax
call fcn.004168dc
push str.certd2ka_hxb.exe
lea ecx, [ebp - 4]
call fcn.004168d6
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404a0b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
push dword [ebp - 4]
call esi
push str.1__1__11__1019
mov ecx, ebx
push dword [ebp - 4]
call fcn.00404706
push 2
push dword [ebp - 4]
call esi
pop esi
lea ecx, [ebp - 4]
call sub.MFC42u.DLL_CString::CString
pop edi
pop ebx
leave
ret

Function at 0x404a17
Capabilities:
Check if file exists
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
and word [ebp - 0x20c], 0
push ebx
mov ebx, ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
push eax
push str.SoftwareEnterSafeePass3003_hxb
call fcn.00404679
pop ecx
test eax, eax
pop ecx
je 0x404aad
lea eax, [ebp - 0x20c]
lea ecx, [ebp - 4]
push eax
call fcn.004168dc
push str._shuttle_certd3003_hxb.exe
lea ecx, [ebp - 4]
call fcn.004168d6
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404aa5
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
push dword [ebp - 4]
call esi
push str.1__1__11__1028
mov ecx, ebx
push dword [ebp - 4]
call fcn.00404706
push 2
push dword [ebp - 4]
call esi
pop esi
lea ecx, [ebp - 4]
call sub.MFC42u.DLL_CString::CString
pop edi
pop ebx
leave
ret
Function at 0x407e07
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push ebx
lea eax, [ebp - 0x18]
push esi
push eax
push dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jne 0x407e3b
mov ecx, dword [ebp + 8]
push 0x41f6d8
call fcn.004168dc
jmp 0x407f1c
lea eax, [ebp - 2]
lea ecx, [ebp - 0x10]
push eax
push esi
mov byte [ebp - 1], bl
call fcn.0040836f
lea eax, [ebp - 1]
push eax
push esi
push dword [ebp - 0x10]
call fcn.0040fced
add esp, 0xc
mov dword [ebp - 0xc], eax
push dword [ebp - 0x10]
push esi
push ebx
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x407e89
mov ecx, dword [ebp + 8]
push 0x41f6d8
call fcn.004168dc
lea ecx, [ebp - 0x10]
call fcn.00403592
jmp 0x407f1c
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41b9f0
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x407f01
push edi
mov ecx, 0x200
xor eax, eax
lea edi, [ebp - 0x81e]
mov word [ebp - 0x820], bx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 0xc]
push ecx
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
push ecx
movzx ecx, word [eax + 8]
mov eax, dword [eax + 8]
push ecx
shr eax, 0x10
push eax
lea eax, [ebp - 0x820]
push str._d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp + 8]
add esp, 0x18
lea eax, [ebp - 0x820]
push eax
call fcn.004168dc
pop edi
jmp 0x407f0e
mov ecx, dword [ebp + 8]
push 0x41f6d8
call fcn.004168dc
cmp dword [ebp - 0x10], ebx
je 0x407f1c
push dword [ebp - 0x10]
call sub.MFC42u.DLL_operatordelete
pop ecx
mov eax, dword [ebp + 8]
pop esi
pop ebx
leave
ret

Function at 0x40a75c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push esi
push eax
xor esi, esi
push str.Control_PanelDesktopWindowMetrics
push 0x80000001
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp dword [ebp - 4], esi
jne 0x40a789
fld dword [0x418974]
jmp 0x40a7eb
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 8]
push esi
push eax
mov edi, str.AppliedDPI
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
push dword [ebp - 4]
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], 0x60
call esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push edi
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
pop edi
test eax, eax
ja 0x40a7db
push 0x60
pop eax
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x14]
fmul dword [0x418970]
pop esi
leave
ret
Function at 0x40c1f3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
and byte [ebp - 0x110], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and dword [ebp - 4], 0
stosb byte es:[edi], al
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREFeiTianInterPass3000_HXB
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
pop edi
jne 0x40c26b
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 1
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x41cdd8
mov dword [ebp - 8], 0x104
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
lea eax, [ebp - 0x110]
push 0x41cdd4
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0xc
neg eax
sbb eax, eax
inc eax
leave
ret

Function at 0x40c288
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
and byte [ebp - 0x110], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and dword [ebp - 4], 0
stosb byte es:[edi], al
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREFeiTianInterPass3000_HXB
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
pop edi
jne 0x40c300
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 1
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.VdeskFlag
mov dword [ebp - 8], 0x104
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
lea eax, [ebp - 0x110]
push 0x41cdd4
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0xc
neg eax
sbb eax, eax
inc eax
leave
ret

Function at 0x40c31d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 2
push 0
push str.SOFTWAREFeiTianInterPass3000_HXB
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40c390
and byte [ebp - 2], al
push edi
push dword [ebp + 8]
lea edi, [ebp - 1]
stosb byte es:[edi], al
lea eax, [ebp - 2]
push 0x41cdfc
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 2]
push 1
push eax
push 1
push 0
push str.VdeskFlag
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
push dword [ebp - 8]
test eax, eax
jne 0x40c38a
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
jmp 0x40c392
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
leave
ret 4
Function at 0x41058c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push esi
push edi
lea ecx, [ebp - 0x14]
call fcn.004035b4
lea eax, [ebp - 8]
and dword [ebp - 8], 0
push eax
push 1
pop esi
push esi
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4105e4
mov esi, str.unknow
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
lea eax, [eax*2 + str.unknow]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00403495
lea eax, [ebp - 1]
jmp 0x410654
and word [ebp - 0x224], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x222]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x104
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push str.Version
mov dword [ebp - 0x1c], esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x410675
mov esi, str.unknow
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
lea eax, [eax*2 + str.unknow]
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00403495
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 1]
mov ecx, dword [ebp + 8]
push eax
call fcn.004035dd
push dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
push dword [ebp - 0x14]
call fcn.0040fd06
lea ecx, [ebp - 0x14]
call fcn.00403592
jmp 0x4106e5
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, 0x41d26c
push edi
call esi
pop ecx
lea eax, [eax*2 + 0x41d26c]
push eax
push edi
lea ecx, [ebp - 0x14]
call fcn.00403495
lea eax, [ebp - 0x224]
push eax
call esi
pop ecx
lea eax, [ebp + eax*2 - 0x224]
lea ecx, [ebp - 1]
push ecx
push eax
lea eax, [ebp - 0x224]
lea ecx, [ebp - 0x14]
push eax
call fcn.00403d63
mov ecx, dword [ebp + 8]
lea eax, [ebp - 1]
push eax
call fcn.004035dd
push dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
push dword [ebp - 0x14]
call fcn.0040fd06
lea ecx, [ebp - 0x14]
call fcn.00403592
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret 4
Function at 0x4106ee
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
and word [ebp - 0x218], 0
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
and dword [ebp - 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SOFTWAREFeiTianInterPass3000_HXB
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
pop edi
jne 0x41076c
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Version
mov dword [ebp - 0x10], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
test eax, eax
je 0x410772
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
leave
ret 4
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
lea ecx, [ebp - 8]
push eax
call fcn.004168dc
mov eax, dword [ebp - 8]
mov eax, dword [eax - 8]
lea ecx, [eax + eax]
push ecx
push eax
lea ecx, [ebp - 8]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push dword [ebp + 8]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 8]
call sub.MFC42u.DLL_CString::CString
push 1
pop eax
jmp 0x41076e

Function at 0x411075
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ecx]
push edi
mov edi, dword [ecx + 4]
test ebx, ebx
jle 0x4110cd
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
sub eax, edx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 8], eax
inc esi
mov ebx, 0xff
and esi, ebx
movzx eax, byte [ecx + esi + 8]
add edi, eax
and edi, ebx
movzx ebx, byte [ecx + edi + 8]
mov byte [ecx + esi + 8], bl
mov byte [ecx + edi + 8], al
add al, bl
mov ebx, dword [ebp + 8]
movzx eax, al
mov al, byte [eax + ecx + 8]
xor al, byte [ebx + edx]
mov byte [edx], al
inc edx
dec dword [ebp + 0x14]
jne 0x411098
mov dword [ecx + 4], edi
mov dword [ecx], esi
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x4112d6
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 4], ecx
mov eax, dword [eax]
push esi
push esi
push 3
push esi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x411359
push ebx
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea edi, [esi + 2]
push edi
call sub.MFC42u.DLL_operatornew
mov ebx, eax
push edi
push 0
push ebx
call sub.MSVCRT.dll_memset
add esp, 0x10
lea eax, [ebp - 8]
push 0
push eax
push esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
push esi
push ebx
call fcn.004113d4
push ebx
mov byte [ebp + 0xb], al
call sub.MFC42u.DLL_operatordelete
mov al, byte [ebp + 0xb]
pop ecx
pop edi
pop ebx
jmp 0x41135b
xor al, al
pop esi
leave
ret 4
Function at 0x412426
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
cmp dword [ebp + 8], 0
je 0x4125e4
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4125e4
call fcn.00412331
cmp byte [eax + 0x16], 0
jne 0x412462
cmp byte [eax + 0x15], 0
jne 0x412462
mov ecx, eax
call fcn.00412b57
and word [ebp - 0x230], 0
push ebx
push esi
mov esi, 0x81
push edi
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x22e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, 0x104
lea eax, [ebp - 0x230]
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0xc]
push dword [ebp + 0xc]
push eax
call fcn.004123b9
add esp, 0xc
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0xc]
call fcn.00403592
and word [ebp - 0x438], 0
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x436]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp + 0xf]
mov esi, 0x41f6d8
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00401abd
lea eax, [ebp + 0xf]
lea ecx, [ebp - 0x1c]
push eax
push esi
call fcn.00401abd
mov esi, dword [sym.imp.USER32.dll_GetWindow]
push 5
push dword [ebp + 8]
call esi
mov edi, eax
test edi, edi
je 0x4125d1
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x4125c9
push 0x208
lea eax, [ebp - 0x438]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x438]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov dword [ebp + 0xc], 0x41da54
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41256e
add dword [ebp + 0xc], 4
cmp dword [ebp + 0xc], 0x41da5c
jb 0x412549
jmp 0x4125c9
lea eax, [ebp - 0x230]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0xc]
push dword [ebp - 0x10]
push eax
call fcn.004123b9
lea ecx, [ebp - 0x1c]
add esp, 0xc
cmp eax, ecx
je 0x4125ab
lea ecx, [ebp + 0xb]
push ecx
lea ecx, [ebp - 0x1c]
push dword [eax + 4]
push dword [eax]
call fcn.004035ec
mov eax, dword [ebp - 4]
lea ecx, [ebp - 4]
sub eax, dword [ebp - 0xc]
sar eax, 1
push eax
push dword [ebp - 0xc]
call fcn.004035a0
push dword [ebp - 0x1c]
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 2
push edi
jmp 0x4124ff
lea ecx, [ebp - 0x1c]
call fcn.00403592
lea ecx, [ebp - 0x28]
call fcn.00403592
pop edi
pop esi
pop ebx
leave
ret
Function at 0x412b57
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
mov esi, ecx
xor edx, edx
push edi
lea ebx, [esi + 0x18]
mov dword [esi + 0x10], edx
mov byte [esi + 0x14], 1
mov byte [esi + 0x15], 1
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
je 0x412b8b
mov eax, dword [esi + 0x24]
lea edi, [esi + 0x24]
cmp eax, dword [edi + 4]
jne 0x412c56
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21a]
mov word [ebp - 0x21c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x21c]
push 0x104
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 1]
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00401abd
push 0xffffffffffffffff
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.00411dac
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x412bec
lea ecx, [ebp - 0x10]
call fcn.00403592
xor al, al
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [ebx]
cmp ecx, dword [ebx + 4]
jne 0x412c01
push eax
lea eax, [ebp - 0x10]
push 0
push eax
mov ecx, ebx
call fcn.0040fabc
mov eax, dword [esi + 0x24]
lea edi, [esi + 0x24]
cmp eax, dword [edi + 4]
jne 0x412c42
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x10]
sar ecx, 1
sub ecx, eax
dec ecx
inc eax
push ecx
push eax
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0040fabc
push 0xffffffffffffffff
push 0x2e
mov ecx, edi
call fcn.00411dac
cmp eax, 0xffffffff
je 0x412c42
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.0040fb07
mov eax, dword [ebp - 8]
lea ecx, [ebp - 8]
sub eax, dword [ebp - 0x10]
sar eax, 1
push eax
push dword [ebp - 0x10]
call fcn.004035a0
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
je 0x412be5
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x412be5
cmp dword [esi + 0x30], 0x1fffffff
jne 0x412c7e
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
mov ecx, esi
call fcn.00412cca
push dword [esi + 0x30]
mov ecx, esi
push edi
call fcn.00412d1d
jmp 0x412be7
Function at 0x414632
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp word [ebp + 8], 0x20
push ebx
push esi
push edi
mov edi, ecx
jb 0x414731
cmp word [ebp + 8], 0x7e
ja 0x414731
xor esi, esi
push esi
push esi
push 0xd5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.00414b34
mov ebx, eax
lea eax, [edi + 0x40]
push eax
lea ecx, [edi + 0x4c]
mov dword [ebp - 4], ebx
call fcn.00414f0a
push esi
mov ecx, edi
call fcn.004149e1
mov eax, dword [edi + 0x10]
lea esi, [edi + 0xc]
mov ecx, dword [edi + 0x24]
sub eax, dword [esi]
sar eax, 1
cmp ecx, eax
jbe 0x4146a8
push str.Unknown_situation_occured____n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x414731
cmp dword [edi + 0x28], eax
jbe 0x4146b0
mov dword [edi + 0x28], eax
mov edx, dword [ebp + 0xc]
sub edx, 0
je 0x414758
dec edx
je 0x414738
dec edx
jne 0x4146fd
mov eax, dword [edi + 0x28]
sub eax, ecx
push eax
push ecx
mov ecx, esi
call fcn.0040fb07
mov ecx, dword [esi + 4]
mov eax, dword [edi + 0x24]
sub ecx, dword [esi]
sar ecx, 1
cmp ebx, ecx
jae 0x4146fd
test eax, eax
jbe 0x4146fd
lea ebx, [eax - 1]
push 1
push ebx
mov ecx, esi
call fcn.0040fb07
mov ecx, dword [esi + 4]
mov eax, ebx
sub ecx, dword [esi]
sar ecx, 1
cmp dword [ebp - 4], ecx
jb 0x4146de
push 1
mov ecx, edi
call fcn.004149e1
push 0xfffffffffffffff4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, dword [edi + 4]
movzx eax, ax
or eax, 0xf470000
push edi
push eax
push 0x111
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, dword [edi + 0x28]
sub eax, ecx
push eax
push ecx
mov ecx, esi
call fcn.0040fb07
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 1
cmp ebx, eax
jae 0x4146fd
push 1
push dword [edi + 0x24]
jmp 0x41473f
cmp dword [ebp - 8], eax
jne 0x414762
cmp ecx, dword [edi + 0x28]
je 0x414731
mov eax, dword [edi + 0x28]
sub eax, ecx
push eax
push ecx
mov ecx, esi
call fcn.0040fb07
mov ebx, dword [edi + 0x24]
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 1
cmp dword [ebp - 4], eax
jbe 0x4146fd
push dword [ebp + 8]
mov eax, ebx
mov ecx, esi
inc ebx
push 1
push eax
call fcn.00414cc0
jmp 0x414773

Function at 0x41499b
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
je 0x4149db
cmp eax, 3
ja 0x4149db
cmp dword [ecx + eax*4 + 0x54], 0
lea esi, [ecx + eax*4 + 0x54]
je 0x4149b9
push 1
pop eax
jmp 0x4149dd
push 0
call fcn.00414caa
push eax
push 0x41483e
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
xor ecx, ecx
mov dword [esi], eax
test eax, eax
setne cl
mov eax, ecx
jmp 0x4149dd
xor eax, eax
pop esi
ret 4