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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa14
mov eax, dword [0x61e810]
xor eax, esp
mov dword [esp + 0xa10], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 8
pop esi
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0x4000
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push dword [0x62ee5c]
xor ebx, ebx
push dword [0x62ee54]
xor eax, eax
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], ax
mov dword [esp + 0x4c], ebx
call fcn.00447fc0
lea ecx, [esp + 0x18]
call fcn.00401357
mov dword [0x6324d0], edi
call fcn.004236d3
lea ecx, [esp + 0x80]
call fcn.004036f7
push str.dyzm_install_20170309
lea eax, [esp + 0x4c]
call fcn.004017bc
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x5c], esi
jae 0x401219
lea eax, [esp + 0x48]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401288
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00401478
cmp byte [eax + 0xc], bl
jne 0x40124c
call fcn.00401059
push 1
xor edi, edi
lea esi, [esp + 0x4c]
call fcn.004019e2
lea eax, [esp + 0x80]
push eax
call fcn.004039ae
lea eax, [esp + 0x18]
call fcn.00447ee0
mov ecx, dword [esp + 0xa1c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x80]
push eax
call fcn.00401478
mov ecx, eax
call fcn.004029bd
lea eax, [esp + 0x64]
push 3
push eax
call fcn.00403528
pop ecx
pop ecx
cmp dword [eax + 0x14], esi
jb 0x4012b3
mov esi, dword [eax]
jmp 0x4012b5
mov esi, eax
push ebx
push ebx
xor ebx, ebx
xor edx, edx
lea eax, [esp + 0x220]
call fcn.004133eb
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x800a0000
push esi
push ebx
lea ecx, [esp + 0xa4]
call fcn.0041239f
push 1
xor edi, edi
lea esi, [esp + 0x68]
call fcn.004019e2
lea ecx, [esp + 0x80]
call fcn.00412581
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
call section..text
mov esi, eax
cmp byte [0x6324d8], bl
je 0x40132c
mov eax, dword [0x6324dc]
cmp eax, ebx
je 0x40132c
push eax
call fcn.00429ce4
pop ecx
mov dword [0x6324dc], ebx
call fcn.00401478
call fcn.00402cf2
call dword [sym.imp.ole32.dll_OleUninitialize]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
jmp 0x40124c
Function at 0x403473
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
mov ecx, 0x62fcec
call fcn.004aafeb
mov edi, eax
mov dword [ebp - 4], 1
cmp edi, esi
je 0x403519
push ebx
test esi, esi
jne 0x403518
mov eax, dword [ebp + 8]
shr eax, 4
inc eax
movzx eax, ax
push 6
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x403502
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4034c6
xor eax, eax
jmp 0x403500
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4034c2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
add eax, esi
and ecx, 0xf
jbe 0x4034f3
cmp esi, eax
jae 0x4034c2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4034e5
cmp esi, eax
jae 0x4034c2
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
mov esi, eax
push dword [ebp - 4]
mov ecx, 0x62fcec
call fcn.004aafeb
inc dword [ebp - 4]
mov edi, eax
test edi, edi
jne 0x403498
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x403b0d
Capabilities:
Read .ini file

Disassembly:
push esi
push edi
mov esi, ecx
push esi
call fcn.004126ac
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
push 3
push 0xf060
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push str.pro_InstallProgress
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x6d8], eax
push str.lb_download
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x6dc], eax
push str.lb_tip1
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x6e0], eax
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 0xcc]
push str.lb_tip2
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x6e4], eax
test eax, eax
je 0x403ba5
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 0xcc]
push str.btn_min
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x6e8], eax
push str.btn_close
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x6ec], eax
push str.vlt_bk
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x6f0], eax
push str.btn_install
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x704], eax
push str.btn_free
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x70c], eax
push str.btn_free1
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x710], eax
push str.edit_input
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x714], eax
push str.language_combo
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x718], eax
push str.btn_select
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x71c], eax
push str.change_ad
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x730], eax
push str.lb_tip
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x72c], eax
push str.btn_agreement
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x720], eax
push str.btn_agreement1
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x724], eax
push str.btn_agreement2
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x728], eax
push str.opt_auto
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x73c], eax
test eax, eax
je 0x403cff
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x138]
push str.opt_agree
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x734], eax
push str.opt_agree1
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x738], eax
push str.tb_main
lea eax, [esi + 0x198]
call fcn.004159b4
push 0x14
push 1
push dword [esi + 0x6d8]
mov dword [esi + 0x708], eax
lea eax, [esi + 0x198]
call fcn.00414f3b
push str.about_free
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x6f4], eax
push str.hlayout_install
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x700], eax
push str.about_protocol_default
lea eax, [esi + 0x198]
call fcn.004159b4
mov dword [esi + 0x6f8], eax
push str.about_protocol
lea eax, [esi + 0x198]
call fcn.004159b4
pop edi
mov dword [esi + 0x6fc], eax
mov ecx, esi
pop esi
jmp fcn.0040551c
Function at 0x405f83
Capabilities:
Delete file

Disassembly:
push 0x3c
mov eax, 0x5a1604
call fcn.00493819
xor esi, esi
mov ebx, ecx
cmp dword [ebp + 8], esi
je 0x405f9e
cmp dword [ebp + 8], 4
jne 0x406017
mov eax, dword [ebx - 0x6b0]
push 0xc
push eax
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [ebx + 0x25c], esi
je 0x406017
lea eax, [ebp - 0x48]
push 0x5fd8e0
lea edi, [ebx + 0x8c]
push eax
call fcn.004014b3
push str.dyinstaller.exe
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.0040b69d
add esp, 0x10
push 1
xor edi, edi
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004019e2
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x405ff9
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [ebx + 0x25c]
call fcn.00410130
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.004019e2
call fcn.00493863
ret 8

Function at 0x4061df
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59dfc7
mov eax, dword fs:[0]
push eax
mov eax, 0x1040
call fcn.0049d300
mov eax, dword [0x61e810]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, ebx
call fcn.0040638a
mov byte [ebp - 0x1049], al
test al, al
je 0x40636b
lea eax, [ebx + 0x75c]
push eax
lea ecx, [ebp - 0x1048]
mov byte [ebp - 0x104a], 0
call fcn.0044c4f0
and dword [ebp - 4], 0
mov dword [esp], str._bin_test_app.ini
push eax
lea eax, [ebp - 0x102c]
call fcn.0040b69d
pop ecx
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0x1048]
mov byte [ebp - 4], 2
call fcn.004019e2
cmp dword [ebp - 0x1018], 8
mov eax, dword [ebp - 0x102c]
jae 0x40627f
lea eax, [ebp - 0x102c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4062f3
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x1010], ax
lea eax, [ebp - 0x100e]
push eax
call fcn.0048b3f0
mov eax, dword [ebp - 0x102c]
add esp, 0xc
cmp dword [ebp - 0x1018], 8
jae 0x4062bd
lea eax, [ebp - 0x102c]
push eax
push 0x800
lea eax, [ebp - 0x1010]
push eax
push 0x5fd458
push str.TestClient
push 0x5fd214
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x1010]
push eax
call fcn.0048af51
test eax, eax
pop ecx
setne al
jmp 0x4062f9
mov al, byte [ebp - 0x104a]
cmp byte [ebx + 0x7b8], al
je 0x40635c
lea eax, [ebx + 0x75c]
and dword [eax + 0x10], edi
cmp dword [eax + 0x14], 8
mov byte [ebp - 0x1049], 0
jb 0x406319
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
call fcn.00402d76
movzx edx, byte [ebx + 0x7b8]
mov ecx, dword [eax]
push edx
mov esi, 0x5fde70
push esi
push str.MainDlg.cpp
push 0x436
push 2
push eax
call dword [ecx + 8]
call fcn.00402d3b
movzx edx, byte [ebx + 0x7b8]
mov ecx, dword [eax]
push edx
push esi
push 2
push eax
call dword [ecx + 4]
add esp, 0x28
push 1
xor edi, edi
lea esi, [ebp - 0x102c]
call fcn.004019e2
mov al, byte [ebp - 0x1049]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00489dc1
leave
ret
Function at 0x407096
Capabilities:
Get disk information

Disassembly:
push 0x320
mov eax, 0x59f0be
call fcn.00493819
mov eax, dword [ebp + 8]
and dword [ebp - 0x328], 0
mov esi, ecx
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x32c], esi
call fcn.00448c30
push eax
lea ecx, [ebp - 0x300]
call fcn.0044c4f0
pop ecx
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x4070db
mov esi, dword [esi]
cmp dword [ebp - 0x2ec], 8
mov eax, dword [ebp - 0x300]
jae 0x4070f0
lea eax, [ebp - 0x300]
push esi
push eax
lea eax, [ebp - 0x31c]
push str._s_s
push eax
call fcn.004466c0
add esp, 0x10
mov ebx, eax
lea eax, [ebp - 0x300]
mov byte [ebp - 4], 1
call fcn.00401560
push 1
xor edi, edi
lea esi, [ebp - 0x31c]
mov byte [ebp - 4], 0
call fcn.004019e2
lea eax, [ebp - 0x300]
push eax
call fcn.0044d1a0
pop ecx
test al, al
je 0x407161
lea eax, [ebp - 0x300]
push eax
call fcn.00406c0b
test al, al
je 0x407161
mov esi, dword [ebp - 0x324]
lea ebx, [ebp - 0x300]
call fcn.00401511
jmp 0x407288
push 0x64
lea eax, [ebp - 0xdc]
push 0
push eax
call fcn.0048b3f0
add esp, 0xc
lea eax, [ebp - 0xdc]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea eax, [ebp - 0xdc]
mov dword [ebp - 0x328], eax
cmp word [ebp - 0xdc], di
je 0x407278
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x2e4], ax
lea eax, [ebp - 0x2e2]
push eax
call fcn.0048b3f0
add esp, 0xc
push dword [ebp - 0x328]
lea eax, [ebp - 0x2e4]
push 0x104
push eax
call fcn.0048b387
add esp, 0xc
lea eax, [ebp - 0x2e4]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x407257
push 0x5fdfec
lea eax, [ebp - 0x2e4]
push eax
call ebx
mov eax, dword [ebp - 0x32c]
cmp dword [eax + 0x14], 8
jb 0x407208
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2e4]
push eax
call ebx
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x31c]
call fcn.004017bc
lea eax, [ebp - 0x31c]
push eax
mov byte [ebp - 4], 2
call fcn.0044d1a0
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0x31c]
mov byte [ebp - 0x31d], al
mov byte [ebp - 4], 0
call fcn.004019e2
cmp byte [ebp - 0x31d], 0
jne 0x4072a5
mov esi, dword [ebp - 0x328]
push esi
call fcn.0048aa3a
lea eax, [esi + eax*2 + 2]
cmp word [eax], 0
pop ecx
mov dword [ebp - 0x328], eax
jne 0x4071a2
push 0x5fc63c
mov eax, dword [ebp - 0x324]
call fcn.004017bc
push 1
xor edi, edi
lea esi, [ebp - 0x300]
call fcn.004019e2
mov eax, dword [ebp - 0x324]
call fcn.00493863
ret 4
lea eax, [ebp - 0x2e4]
push eax
jmp 0x40727d
Function at 0x4072ae
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
push 0x44
xor esi, esi
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.0048b3f0
push 0x10
lea eax, [ebp - 0x10]
push esi
push eax
mov dword [ebp - 0x58], 0x44
call fcn.0048b3f0
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4072ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40731c
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
xor edx, edx
pop esi
leave
ret 8
Function at 0x408072
Capabilities:
Write file on windows

Disassembly:
push 0x58
mov eax, 0x59cb08
call fcn.00493819
mov esi, ecx
push esi
mov edi, edx
call fcn.0044b5f0
cmp dword [esi + 0x14], 8
pop ecx
jb 0x408091
mov esi, dword [esi]
push 0x5fe0b8
push esi
lea eax, [ebp - 0x64]
push str._s_s
push eax
call fcn.004466c0
add esp, 0x10
and dword [ebp - 4], 0
push 0x5fe244
lea eax, [ebp - 0x2c]
call fcn.004017bc
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x4080cb
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x4080d7
lea eax, [ebp - 0x64]
push ecx
push eax
call fcn.0048b833
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x40811b
mov ecx, edi
lea eax, [ebp - 0x48]
call fcn.00446680
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x4080fc
lea eax, [ebp - 0x48]
push esi
push ebx
push dword [ebp - 0x38]
push eax
call fcn.0048b9a1
push esi
call fcn.0048ba88
add esp, 0x14
push 0
push ebx
lea ecx, [ebp - 0x48]
call fcn.00403347
push ebx
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.004019e2
push ebx
lea esi, [ebp - 0x64]
call fcn.004019e2
call fcn.00493863
ret
Function at 0x408135
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a04d6
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x61e810]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x61e810]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], esi
mov dword [esi + 0x798], ebx
call fcn.00402d76
mov ecx, dword [eax]
mov edi, str.CalcMd5
push edi
push str.MainDlg.cpp
push 0x6e1
push ebx
push eax
call dword [ecx + 8]
add esp, 0x14
call fcn.00402d3b
mov ecx, dword [eax]
push edi
push ebx
push eax
call dword [ecx + 4]
lea eax, [esi + 0x778]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4081b7
mov eax, dword [eax]
push str.dyinstaller.exe
push eax
lea eax, [esp + 0x24]
push str._s_s
push eax
call fcn.004466c0
add esp, 0x10
mov dword [esp + 0x48], ebx
add esi, 0x79c
mov ebx, eax
mov eax, esi
mov dword [esp + 0x14], esi
call fcn.00401560
or dword [esp + 0x48], 0xffffffff
push 1
xor edi, edi
lea esi, [esp + 0x20]
call fcn.004019e2
mov edi, dword [esp + 0x14]
mov ecx, edi
call fcn.0044bcc0
mov esi, dword [esp + 0x10]
and dword [0x632490], 0
and dword [esi + 0x7d8], 0
or dword [esi + 0x7dc], 0xffffffff
mov dword [0x632488], eax
mov dword [0x63248c], edx
mov byte [esi + 0x970], 1
call fcn.00402d76
cmp dword [edi + 0x14], 8
jb 0x40823d
mov ecx, dword [edi]
jmp 0x40823f
mov ecx, edi
push dword [0x63248c]
mov edx, dword [eax]
push dword [0x632488]
mov ebx, str.file:_s__size:_I64d
push ecx
push ebx
push str.MainDlg.cpp
push 0x6ea
push 0
push eax
call dword [edx + 8]
add esp, 0x20
call fcn.00402d3b
cmp dword [edi + 0x14], 8
jb 0x408274
mov edi, dword [edi]
push dword [0x63248c]
mov ecx, dword [eax]
push dword [0x632488]
push edi
push ebx
xor ebx, ebx
push ebx
push eax
call dword [ecx + 4]
mov ecx, dword [esi + 0x6e0]
add esp, 0x18
cmp ecx, ebx
je 0x4082ba
mov eax, dword [ecx]
mov dword [ecx + 0xa24], 4
call dword [eax + pe_nt_image_headers32]
mov ecx, dword [esi + 0x6e0]
mov eax, dword [ecx]
push 0x5fe298
call dword [eax + 0x2c]
lea eax, [esp + 0x18]
push eax
push ebx
push esi
push 0x4084a5
push ebx
push ebx
call fcn.0048b52f
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 0x64
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00489dc1
mov esp, ebp
pop ebp
ret
Function at 0x4129c4
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 0x4129da
push 8
pop edi
push 2
call esi
test ax, ax
jns 0x4129e6
or edi, 1
push 1
call esi
test ax, ax
jns 0x4129f2
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x4129fe
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x412a0a
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x4134c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
mov esi, eax
xor edi, edi
cmp dword [esi + 0x108], edi
jle 0x4134ff
mov eax, dword [esi + 0x104]
lea edx, [ebp - 1]
push edx
push dword [ebp + 0xc]
mov byte [ebp - 1], 0
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
push ebx
push dword [ebp + 8]
call dword [eax]
cmp byte [ebp - 1], 0
jne 0x41355e
inc edi
cmp edi, dword [esi + 0x108]
jl 0x4134d4
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x4135b2
sub eax, 4
je 0x413562
dec eax
dec eax
jne 0x4135aa
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
push ebx
stosw word es:[edi], ax
call fcn.0048ec7c
pop ecx
mov ecx, dword [esi + 0x58]
push reloc.WS2_32.dll_ioctlsocket
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x415a96
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x4135aa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x4135ac
cmp dword [esi + 0x5c], 0
je 0x4135aa
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x24], 6
mov word [ebp - 0x10], bx
mov dword [ebp - 0x14], eax
call fcn.004129c4
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x5c]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x10c]
xor al, al
pop edi
pop esi
leave
ret 8
cmp ebx, 9
jne 0x4135aa
cmp dword [esi + 0x5c], 0
je 0x413600
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x413600
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x413600
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.0048d5dd
pop ecx
pop ecx
test eax, eax
je 0x413600
mov eax, dword [esi + 0x5c]
cmp byte [eax + 0xa61], 0
jne 0x4135aa
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setns al
movzx eax, al
push eax
mov eax, esi
call fcn.00415080
jmp 0x41355e
Function at 0x414d9f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push edi
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
cmp eax, ecx
je 0x414dc1
cmp ebx, dword [esi + 0x5c]
je 0x414dc1
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x5c]
cmp ebx, eax
je 0x414e89
test eax, eax
je 0x414e17
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov dword [esp + 8], 0x14
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x5c]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x10c]
xor edi, edi
push edi
push edi
push dword [esi + 0x5c]
mov ecx, str.killfocus
mov edx, esi
call fcn.004151df
mov dword [esi + 0x5c], edi
test ebx, ebx
je 0x414e89
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x414e89
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x414e89
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x414e89
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov dword [esi + 0x5c], ebx
mov dword [esp + 8], 0x15
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x5c]
lea edx, [esp + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x10c]
push 0
push 0
push dword [esi + 0x5c]
mov ecx, str.setfocus
mov edx, esi
call fcn.004151df
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x42492b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and byte [esi + 0x1d], 9
mov al, byte [esi + 0x1d]
test al, 1
je 0x424963
test al, 8
jne 0x424963
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x424963
or byte [esi + 0x1d], 4
mov cl, byte [esi + 0x1d]
test eax, 0x21000000
jne 0x424963
or cl, 2
mov byte [esi + 0x1d], cl
test byte [esi + 0x1d], 2
je 0x42497c
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
pop ebp
jmp fcn.00423b4b
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4