joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bb70
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0x1054
call fcn.004d4ce0
mov eax, dword [0x722acc]
push ebx
test eax, eax
push esi
je 0x43bcc1
mov eax, dword [0x722ad8]
test eax, eax
je 0x43bcc1
mov eax, dword [0x73ff30]
test eax, eax
jne 0x43bcc1
mov ebx, dword [esp + 0x1060]
test ebx, ebx
je 0x43bbe4
push 0x5c
push ebx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x43bbe4
mov ecx, eax
sub ecx, ebx
and ecx, 0xfffffffe
cmp ecx, 0x10
jle 0x43bbe4
add eax, 0xfffffff0
push 0x4f12f0
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x43bcc1
mov eax, dword [0x6f2064]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov eax, dword [0x73c1c0]
test eax, eax
jne 0x43bc20
test esi, esi
je 0x43bcc1
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x43bcc1
mov ecx, esi
call fcn.004a21c0
test eax, eax
je 0x43bcc1
mov dx, word [0x500df0]
push edi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x73c1c0]
pop edi
test eax, eax
jne 0x43bcc1
mov eax, dword [esi + 0x88]
test eax, eax
jne 0x43bcc1
lea eax, [esp + 0x14]
push 0
push eax
mov ecx, esi
call fcn.004a0e30
push 6
lea ecx, [esp + 0x18]
push str.res:__
push ecx
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x43bcc1
mov edx, dword [esp + 0x1064]
mov esi, dword [esi + 4]
lea ecx, [esp + 8]
lea eax, [esp + 0x14]
push ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
call fcn.00484fb0
add esp, 4
test eax, eax
jne 0x43bcc1
lea edx, [esp + 8]
push eax
push edx
push esi
call fcn.00485610
add esp, 0xc
cmp eax, 1
je 0x43bcc1
pop esi
xor eax, eax
pop ebx
add esp, 0x1054
ret
pop esi
mov eax, 1
pop ebx
add esp, 0x1054
ret
Function at 0x448de0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
mov esi, dword [esp + 0x220]
push edi
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x14], ebx
test esi, esi
mov dword [esp + 0x10], edi
je 0x448f81
mov ebp, dword [esp + 0x228]
test ebp, ebp
je 0x448f81
push edi
push esi
call fcn.004a8e00
add esp, 8
test eax, eax
je 0x448f81
mov ax, word [0x500df0]
mov ecx, 0x81
mov word [esp + 0x18], ax
xor eax, eax
lea edi, [esp + 0x1a]
push ebp
rep stosd dword es:[edi], eax
push 0x4ed128
lea ecx, [esp + 0x20]
push 0x103
push ecx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [esp + 0x28]
push 1
push edx
call fcn.004a8ef0
push 0x4ede94
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 0x20
mov dword [ebx + 0xc], eax
test eax, eax
je 0x448f70
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push eax
call edi
mov eax, dword [ebx + 0xc]
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
mov ecx, dword [ebx + 0xc]
push 0
push 0
push ecx
mov esi, eax
call edi
lea edi, [esi + 1]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
add esp, 0x20
test ebp, ebp
je 0x448f63
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0xc]
push eax
push 1
push esi
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
lea ecx, [esi + esi*2]
lea edx, [ecx + ecx + 2]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x448f56
push str._META_HTTP_EQUIV_Content_Type__CONTENT_text_html__charsetUTF_8__
push ebp
mov dword [esp + 0x18], 0
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x448f10
mov dword [esp + 0x10], 0xfde9
lea edx, [esi + esi*2]
xor eax, eax
mov edi, ebx
push edx
lea ecx, [edx + 1]
push ebx
mov esi, ecx
push 0xffffffffffffffff
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
push ebp
and ecx, 3
push 0
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push ebx
call fcn.00448f90
push ebx
mov dword [esp + 0x14], eax
call fcn.004d4cc1
add esp, 4
push ebp
call fcn.004d4cc1
mov ebx, dword [esp + 0x18]
add esp, 4
mov edx, dword [ebx + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 8
Function at 0x449880
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x38]
push esi
xor esi, esi
push esi
push 0x2000000
push 3
push esi
push 1
push 0x1f01ff
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
je 0x449a7e
mov eax, dword [esp + 0x40]
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__wtoi]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
cmp eax, esi
push edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], esi
je 0x44994b
push eax
call ebx
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], eax
push esi
call fcn.0044a990
cmp eax, esi
je 0x44994b
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [esp + 0x34], cx
mov dx, word [eax + 0x10]
inc dx
mov word [esp + 0x36], dx
mov cx, word [eax + 0x18]
mov word [esp + 0x38], cx
mov dx, word [eax + 0xc]
mov word [esp + 0x3a], dx
mov cx, word [eax + 8]
mov word [esp + 0x3c], cx
mov dx, word [eax + 4]
mov word [esp + 0x3e], dx
mov ax, word [eax]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x34]
push ecx
push edx
mov word [esp + 0x48], ax
mov word [esp + 0x4a], si
call ebp
cmp eax, esi
je 0x44994b
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
mov edi, dword [sym.imp.MSVCRT.dll_localtime]
cmp eax, esi
je 0x4499d0
push eax
call ebx
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], eax
push ecx
call edi
add esp, 8
cmp eax, esi
je 0x4499d0
mov dx, word [eax + 0x14]
add dx, 0x76c
mov word [esp + 0x34], dx
mov cx, word [eax + 0x10]
inc cx
mov word [esp + 0x36], cx
mov dx, word [eax + 0x18]
mov word [esp + 0x38], dx
mov cx, word [eax + 0xc]
mov word [esp + 0x3a], cx
mov dx, word [eax + 8]
mov word [esp + 0x3c], dx
mov cx, word [eax + 4]
mov word [esp + 0x3e], cx
mov dx, word [eax]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x34]
push eax
push ecx
mov word [esp + 0x48], dx
mov word [esp + 0x4a], si
call ebp
cmp eax, esi
je 0x4499d0
lea edx, [esp + 0x24]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x54]
cmp eax, esi
je 0x449a4f
push eax
call ebx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
push eax
call edi
add esp, 8
cmp eax, esi
je 0x449a4f
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [esp + 0x34], cx
mov dx, word [eax + 0x10]
inc dx
mov word [esp + 0x36], dx
mov cx, word [eax + 0x18]
mov word [esp + 0x38], cx
mov dx, word [eax + 0xc]
mov word [esp + 0x3a], dx
mov cx, word [eax + 8]
mov word [esp + 0x3c], cx
mov dx, word [eax + 4]
mov word [esp + 0x3e], dx
mov ax, word [eax]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x34]
push ecx
push edx
mov word [esp + 0x48], ax
mov word [esp + 0x4a], si
call ebp
cmp eax, esi
je 0x449a4f
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
push ecx
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
mov eax, esi
pop ebx
pop esi
add esp, 0x34
ret 0x10
mov eax, esi
pop esi
add esp, 0x34
ret 0x10
Function at 0x449b80
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
push str..url
lea ebp, [esi + 0x14]
xor edi, edi
mov ecx, ebp
call fcn.004b0ae0
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
push eax
mov ecx, ebp
call fcn.004afec0
mov ebx, eax
test ebx, ebx
je 0x449c10
mov ecx, dword [esp + 0x14]
push 0x4ef214
push ecx
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 8
mov dword [esi + 0xc], eax
test eax, eax
je 0x449c08
push eax
mov edi, str.__DOCTYPE_NETSCAPE_Bookmark_file_1__r_n_____This_is_an_automatically_generated_file._r_nIt_will_be_read_and_overwritten._r_nDo_Not_Edit______r_n_META_HTTP_EQUIV_Content_Type__CONTENT_text_html__charsetUTF_8___r_n_TITLE_Bookmarks__TITLE__r_n_H1_Bookmarks__H1__r_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
push ecx
push str.__DOCTYPE_NETSCAPE_Bookmark_file_1__r_n_____This_is_an_automatically_generated_file._r_nIt_will_be_read_and_overwritten._r_nDo_Not_Edit______r_n_META_HTTP_EQUIV_Content_Type__CONTENT_text_html__charsetUTF_8___r_n_TITLE_Bookmarks__TITLE__r_n_H1_Bookmarks__H1__r_n
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
mov ecx, esi
push ebx
call fcn.00449cc0
mov edx, dword [esi + 0xc]
xor edi, edi
push edx
mov dword [esi + 0x10], edi
call dword [sym.imp.MSVCRT.dll_fclose]
mov dword [esi + 0xc], edi
add esp, 4
mov edi, 1
push ebx
mov ecx, ebp
call fcn.004b0140
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x44b7a0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x34
push ebx
push esi
push 0x500df0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
mov ebx, 2
test esi, esi
mov dword [esp + 0x18], 0x24
mov dword [esp + 0x1c], esi
je 0x44b7db
lea eax, [esp + 0x18]
push eax
push 4
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
mov ebx, eax
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
pop esi
test bl, 2
pop ebx
je 0x44b802
mov eax, dword [esp + 0x38]
lea edx, [esp]
push edx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
add esp, 0x34
ret
mov edx, dword [esp + 0x38]
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
add esp, 0x34
ret
Function at 0x44df30
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 7
lea edi, [esi + 0x5454]
mov ecx, edi
call fcn.004d1ef0
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x44dfc4
lea eax, [esp + 0x20]
mov ecx, edi
push eax
push 7
call fcn.004d0b60
mov edx, dword [esi + 0x7590]
lea ecx, [esp + 0x10]
push ecx
push edx
call ebp
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
sub eax, ebx
mov ecx, edx
sub eax, edx
sub ecx, edi
add eax, edi
mov edi, dword [esp + 0x20]
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, ebx
mov dword [esp + 0x18], edx
add ecx, eax
push 0x40
mov dword [esp + 0x20], ecx
sub ecx, eax
sub edx, edi
push ecx
push edx
mov dword [esp + 0x20], eax
push eax
mov eax, dword [esi + 0x7590]
push edi
push 0
push eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x44dfd3
mov ecx, dword [esi + 0x7590]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esi + 0x5aec]
push 0x10
mov ecx, edi
call fcn.004d1ef0
test eax, eax
je 0x44e05e
lea edx, [esp + 0x20]
mov ecx, edi
push edx
push 0x10
call fcn.004d0b60
mov ecx, dword [esi + 0xb48c]
lea eax, [esp + 0x10]
push eax
push ecx
call ebp
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
sub eax, ebx
mov ecx, edx
sub eax, edx
sub ecx, edi
add eax, edi
mov edi, dword [esp + 0x20]
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, ebx
mov dword [esp + 0x18], edx
add ecx, eax
push 0x40
mov dword [esp + 0x20], ecx
sub ecx, eax
sub edx, edi
push ecx
push edx
mov edx, dword [esi + 0xb48c]
push eax
push edi
push 0
push edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov eax, dword [esi + 0xb48c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x44ee10
Capabilities:
Move file

Disassembly:
sub esp, 0x430
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ebp, dword [esp + 0x448]
mov esi, dword [esp + 0x444]
stosw word es:[edi], ax
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
mov word [esp + 0x24], 0x44
mov dword [esp + 0x2a], 0
mov dword [esp + 0x2e], 0x500df0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x44ef5e
mov eax, dword [esp + 0x22]
test eax, eax
jne 0x44ef5e
mov dx, word [0x500df0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x32]
mov word [esp + 0x30], dx
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
call edi
add esp, 4
cmp eax, 0x103
jbe 0x44eebb
mov eax, 0x103
jmp 0x44eec1
push esi
call edi
add esp, 4
push eax
lea eax, [esp + 0x34]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
lea ecx, [esp + 0x3c]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
mov esi, eax
add esp, 0x14
test esi, esi
je 0x44ef5e
lea edx, [esp + 0x30]
push ebp
push edx
mov word [esi], 0
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x44ef5e
mov ax, word [0x500df0]
mov ecx, 0x81
mov word [esp + 0x238], ax
xor eax, eax
lea edi, [esp + 0x23a]
add esi, 2
rep stosd dword es:[edi], eax
push esi
push ebp
push 0x4ed130
lea ecx, [esp + 0x244]
push 0x103
push ecx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea edx, [esp + 0x238]
lea ecx, [ebx + 0x2d8c0]
push 0xffffffffffffffff
push edx
call fcn.004afec0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x430
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x430
ret 8
Function at 0x4504f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push esi
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.DSOUND.dll_DirectSoundCreate
xor esi, esi
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x450539
lea ecx, [esp + 4]
push ecx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x450539
xor eax, eax
pop esi
add esp, 0xc
ret 4
mov ecx, dword [esp + 4]
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
push 0
push 0
push str.GlobalUserOffline
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x450576
mov eax, dword [esp + 8]
xor edx, edx
cmp eax, 1
sete dl
xor ecx, ecx
mov esi, edx
test eax, eax
sete cl
mov dword [esp + 8], ecx
jmp 0x45057e
mov dword [esp + 8], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45059a
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret 4
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
push 4
push 0
push str.GlobalUserOffline
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004a9c40
mov eax, esi
pop esi
add esp, 0xc
ret 4
Function at 0x454c60
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4d96db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x29a1c]
test ecx, ecx
je 0x454ca1
mov eax, dword [ecx + 0x8f0]
test eax, eax
je 0x454cd1
test ecx, ecx
je 0x454c97
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x29a1c], 0
mov eax, dword [esi + 0x29a1c]
test eax, eax
jne 0x454cfd
push 0x19d28
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 0
je 0x454ced
mov ecx, eax
call fcn.00469ff0
jmp 0x454cef
mov ecx, dword [ecx + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
xor eax, eax
mov dword [esp + 0x10], 0xffffffff
mov dword [esi + 0x29a1c], eax
mov ecx, dword [esi + 0x29a1c]
test ecx, ecx
je 0x454d10
mov edx, dword [esi + 4]
push edx
call fcn.0046a440
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x455e40
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x2dad8]
test eax, eax
jne 0x455e62
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2dad8], eax
mov eax, dword [esi + 0x2dad8]
test eax, eax
je 0x455ea8
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x2dad8]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push 0
push esi
push 0x455f00
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x2dadc], eax
pop esi
pop ecx
ret

Function at 0x455fe0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x2df30]
test eax, eax
jne 0x456002
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2df30], eax
mov eax, dword [esi + 0x2df30]
test eax, eax
je 0x456048
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x2df30]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push 0
push esi
push 0x4560a0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x2df34], eax
pop esi
pop ecx
ret
Function at 0x4590d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
mov ebx, ecx
push esi
mov esi, dword [esp + 0x10]
push edi
mov eax, dword [ebx + 0x4db8]
xor edi, edi
cmp eax, edi
je 0x4590f3
cmp dword [esi + 4], 0x312
jne 0x4591e0
mov eax, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
cmp eax, 0x207
jne 0x459139
cmp dword [0x727934], edi
je 0x459139
cmp dword [0x727928], edi
je 0x459139
push 2
call ebp
shr eax, 8
test al, al
jne 0x459139
cmp dword [0x68c30c], edi
jne 0x459139
mov ecx, ebx
call fcn.00459970
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
mov eax, dword [esi + 4]
cmp eax, 0x100
je 0x459262
cmp eax, 0x104
jne 0x459158
cmp dword [esi + 8], 0x79
jae 0x459262
cmp eax, 0x101
jne 0x459214
push 0x10
call ebp
mov esi, dword [esi + 8]
shr eax, 8
and eax, 0xff
cmp esi, 9
je 0x4591c1
cmp esi, 0x11
jne 0x4591e0
cmp dword [ebx + 0x2e180], edi
je 0x45919b
cmp eax, edi
mov dword [ebx + 0x2e180], edi
je 0x4591ae
push 2
lea ecx, [ebx + 0xf814]
call fcn.00465e50
pop edi
pop esi
mov dword [ebx + 0x2e178], 1
pop ebp
xor eax, eax
pop ebx
ret 4
mov edx, dword [ebx + 0x2e178]
xor eax, eax
cmp edx, edi
setne al
push eax
jmp 0x45924b
cmp dword [ebx + 0x2e180], edi
je 0x4591e0
cmp eax, edi
mov dword [ebx + 0x2e180], edi
je 0x4591e9
push 2
lea ecx, [ebx + 0xf814]
call fcn.00465e50
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
mov edx, dword [ebx + 0x2e178]
xor ecx, ecx
cmp edx, edi
setne cl
push ecx
lea ecx, [ebx + 0xf814]
call fcn.00465e50
mov dword [ebx + 0x2e178], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
cmp eax, 0x104
jne 0x4591e0
mov eax, dword [esi + 8]
sub eax, 0x26
je 0x459228
sub eax, 2
jne 0x4591e0
push 0x12
call ebp
shr eax, 8
test al, al
je 0x4591e0
cmp dword [0x7276fc], edi
je 0x4591e0
mov edi, dword [esi + 8]
xor edx, edx
cmp edi, 0x26
setne dl
dec edx
and edx, 2
push edx
lea ecx, [ebx + 0xf814]
call fcn.00465e50
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
cmp dword [esi + 8], 9
jne 0x45928c
push 0x11
call ebp
shr eax, 8
test al, al
je 0x45927f
mov dword [ebx + 0x2e180], 1
jmp 0x45928c
mov ecx, ebx
mov dword [ebx + 0x2e180], edi
call fcn.0045aa30
mov esi, dword [esi + 8]
cmp esi, 0x70
jb 0x4591e0
cmp esi, 0x7b
ja 0x4591e0
push 0x10
call ebp
mov si, ax
push 0x12
shr esi, 8
and esi, 0xff
call ebp
mov di, ax
push 0x11
shr edi, 8
and edi, 0xff
call ebp
shr eax, 8
and eax, 0xff
test esi, esi
jne 0x4591e0
test edi, edi
jne 0x4591e0
test eax, eax
jne 0x4591e0
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
sub eax, 0x70
mov ecx, eax
shl ecx, 6
add ecx, eax
lea eax, [eax + ecx*8]
lea esi, [eax*8 + 0x72f9f0]
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
test eax, eax
jbe 0x4591e0
push 1
push esi
lea ecx, [ebx + 0xf814]
call fcn.00466680
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x4598d0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, dword [ecx + 4]
push edi
push 0x68c318
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 8]
test eax, eax
je 0x45992d
mov ecx, dword [0x68c31c]
test ecx, ecx
je 0x459964
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push esi
xor esi, esi
mov eax, dword [esi + ecx]
test eax, eax
je 0x45990d
push 5
push eax
call edi
mov ecx, dword [0x68c31c]
add esi, 4
cmp esi, 0x50
jl 0x4598fb
push ecx
call fcn.004d4cc1
add esp, 4
mov dword [0x68c31c], 0
pop esi
pop edi
ret 4
mov edi, dword [0x68c31c]
test edi, edi
jne 0x459949
push 0x50
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [0x68c31c], edi
mov ecx, 0x14
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [0x68c31c]
push ecx
push 0x459860
call dword [sym.imp.USER32.dll_EnumWindows]
pop edi
ret 4

Function at 0x459970
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
xor eax, eax
mov edx, dword [esi + 0x4db8]
test edx, edx
sete al
test eax, eax
mov dword [esi + 0x4db8], eax
je 0x459a3a
mov eax, dword [esi + 0x2df60]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x4599df
lea eax, [esi + 0x43d8]
test eax, eax
je 0x4599b1
lea eax, [esi + 0x43dc]
jmp 0x4599b3
xor eax, eax
mov ecx, dword [eax + 4]
push 0
push 0
push 0x1f
push ecx
call edi
lea edx, [esi + 0x6184]
test edx, edx
je 0x4599d1
lea eax, [esi + 0x6188]
jmp 0x4599d3
xor eax, eax
mov eax, dword [eax + 4]
push 0
push 0
push 0x1f
push eax
call edi
mov eax, dword [esi + 0x24acc]
test eax, eax
je 0x4599f5
mov ecx, dword [eax + 0x40]
push 0
push 0
push 0x1f
push ecx
call edi
push 0
mov ecx, 0x68e440
call fcn.00468340
push 0
mov ecx, esi
call fcn.004598d0
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x727930]
pop edi
test eax, eax
mov ecx, esi
je 0x459a2e
call fcn.004bbc70
call fcn.004b1990
pop esi
ret
call fcn.004bbca0
call fcn.004b1990
pop esi
ret
mov ecx, esi
call fcn.004bbfa0
push 1
mov ecx, 0x68e440
call fcn.00468340
push 1
mov ecx, esi
call fcn.004598d0
test byte [0x725e18], 1
je 0x459a66
mov ecx, esi
call fcn.004bbc70
mov ecx, esi
call fcn.0045cc90
pop esi
ret

Function at 0x45aa30
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call fcn.004330f0
add esp, 4
test eax, eax
jne 0x45aa9c
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x45aa9c
lea ecx, [esi + 0x758c]
call fcn.004b8780
test eax, eax
je 0x45aa84
mov eax, dword [esi + 0xb48c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45aa9c
mov ecx, esi
call fcn.004528f0
pop esi
ret
lea ecx, [esi + 0xb488]
call fcn.004b64e0
test eax, eax
je 0x45aa9c
push 0
mov ecx, esi
call fcn.004528a0
pop esi
ret
Function at 0x45d9f0
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
lea esi, [ecx + 0x5c]
push 0x40
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.0045e570
mov byte [esi], 0x80
pop esi
ret