joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d090
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x14c
push esi
mov esi, dword [esp + 0x154]
test esi, esi
push edi
jne 0x40d0ae
pop edi
xor eax, eax
pop esi
add esp, 0x14c
ret
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
ja 0x40d0c8
pop edi
pop esi
add esp, 0x14c
ret
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x40d0f0
push eax
push esi
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x40d0f0
pop edi
mov eax, 1
pop esi
add esp, 0x14c
ret
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebp
mov ebp, ecx
mov ecx, 0x50
lea edi, [esp + 0x1c]
mov dword [esp + 0x18], ebp
lea ebx, [ebp + 5]
rep stosd dword es:[edi], eax
push ebx
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x10], edi
je 0x40d26b
test ebx, ebx
jle 0x40d144
lea eax, [ebp + 4]
push eax
push esi
push edi
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov byte [edi + ebp + 4], 0
test ebx, ebx
mov ebx, dword [sym.imp.MSVCRT.dll_strncat]
jle 0x40d160
lea ecx, [ebp + 4]
push ecx
push 0x467ba0
push edi
call ebx
add esp, 0xc
mov byte [edi + ebp + 4], 0
lea edx, [esp + 0x1c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x14], esi
je 0x40d25a
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40d253
cmp byte [esp + 0x48], 0x2e
je 0x40d23f
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ecx + ebp + 2]
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x40d237
test edi, edi
mov byte [esi], 0
jle 0x40d1fa
mov ecx, dword [esp + 0x160]
lea ebp, [edi - 1]
push ebp
push ecx
push esi
call ebx
push ebp
push 0x467ba8
push esi
mov byte [esi + edi - 1], 0
call ebx
lea edx, [esp + 0x60]
push ebp
push edx
push esi
mov byte [esi + edi - 1], 0
call ebx
mov ebp, dword [esp + 0x3c]
add esp, 0x24
mov byte [esi + edi - 1], 0
test byte [esp + 0x1c], 0x10
je 0x40d21c
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
push eax
push ecx
push esi
call fcn.0040d090
add esp, 0xc
jmp 0x40d22d
mov edx, dword [esp + 0x168]
push edx
push esi
call fcn.0040ca90
add esp, 8
push esi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40d18f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.MSVCRT.dll_free]
mov esi, dword [esp + 0x164]
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x14c
ret
Function at 0x410340
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, dword [esi + 0x26c]
push 1
mov dword [esi + 0x290], edi
mov dword [esi + 0x294], edi
call fcn.0043ea60
mov ecx, dword [esi + 0x284]
push 1
mov eax, dword [ecx]
call dword [eax + 0xc4]
lea ecx, [esp + 8]
mov dword [esi + 0x288], edi
push ecx
push edi
push esi
push 0x40dd80
push 0x200
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ecx
ret

Function at 0x4103a7
Capabilities:
Create thread

Disassembly:
sub esp, 0x158
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x12
xor eax, eax
lea edi, [esp + 0x18]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x61]
mov byte [esp + 0x60], bl
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 4]
lea ecx, [esp + 0x60]
push edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0x4c
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 0x46849c
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0x104
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], 0x806
mov dword [esp + 0x48], str.Save
mov dword [esp + 0x54], 0x4684b4
call dword [sym.imp.comdlg32.dll_GetSaveFileNameA]
test eax, eax
je 0x41050a
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
cmp ebp, 0xfffffffd
jbe 0x41044a
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov edi, dword [0x46b434]
cmp edi, ebx
je 0x41047c
mov al, byte [edi - 1]
cmp al, bl
je 0x41047c
cmp al, 0xff
je 0x41047c
cmp ebp, ebx
jne 0x4104aa
dec al
mov byte [edi - 1], al
mov dword [0x46b434], ebx
mov dword [0x46b438], ebx
mov dword [0x46b43c], ebx
jmp 0x4104e3
cmp ebp, ebx
jne 0x41048f
push 1
mov ecx, 0x46b430
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x4104e3
mov eax, dword [0x46b43c]
cmp eax, 0x1f
ja 0x41049d
cmp eax, ebp
jae 0x4104bc
push 1
mov ecx, 0x46b430
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebp
mov ecx, 0x46b430
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Copy_unsigned_int_]
mov edi, dword [0x46b434]
mov ecx, ebp
lea esi, [esp + 0x64]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x46b434]
mov esi, dword [esp + 0x14]
mov dword [0x46b438], ebp
mov byte [ecx + ebp], bl
lea edx, [esp + 0x10]
mov dword [esi + 0x288], 2
push edx
push ebx
push esi
push 0x40dd80
push 0x200
push ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x158
ret
Function at 0x410740
Capabilities:
Copy file
Delete file
Persist via application shimming
Print debug messages
Write file on windows

Disassembly:
mov eax, 0x1114
call fcn.00459460
mov eax, dword [0x468780]
push ebp
push esi
mov esi, dword [esp + 0x1120]
cmp esi, eax
push edi
jb 0x410942
mov eax, dword [esp + 0x1128]
test eax, eax
je 0x410942
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x20]
cmp esi, 8
rep stosd dword es:[edi], eax
mov ecx, 0x240
lea edi, [esp + 0x820]
rep stosd dword es:[edi], eax
jbe 0x410792
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1a]
mov eax, dword [esp + 0x18]
push str.GWCLI
shl esi, 4
add esi, 0x468788
and ecx, 0xffff
push esi
push edi
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x26]
push edx
mov edx, dword [esp + 0x26]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
push str.__02d__02d__02d:_02d:_02d___08d___s___s_
lea eax, [esp + 0x44]
push 0x800
push eax
call fcn.00410950
mov edx, dword [esp + 0x1154]
lea ecx, [esp + 0x1158]
push ecx
push edx
lea eax, [esp + 0x854]
push 0x800
push eax
call dword [sym.imp.MSVCRT.dll__vsnprintf]
mov esi, dword [sym.imp.MSVCRT.dll_strncat]
lea ecx, [esp + 0x85c]
push 0x7ff
lea edx, [esp + 0x60]
push ecx
push edx
call esi
add esp, 0x48
lea eax, [esp + 0x20]
mov byte [esp + 0x81f], 0
push 0x468890
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
push 0x7ff
lea ecx, [esp + 0x24]
push 0x468894
push ecx
call esi
mov al, byte [0x468784]
add esp, 0xc
test al, 1
mov byte [esp + 0x81f], 0
je 0x410887
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test byte [0x468784], 2
je 0x410942
xor ebp, ebp
push ebp
push 0x80
push 4
push ebp
push ebp
push 0x40000000
push str.c:gwlog.txt
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x410942
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push ebp
push ebp
push esi
call edi
cmp eax, 0x400000
jbe 0x4108d8
mov ebp, 1
push 2
push 0
push 0
push esi
call edi
cmp eax, 0x500000
jbe 0x4108f8
push 0
push 0
push 0
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea eax, [esp + 0xc]
push 0
push eax
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x410942
push 0
push str.c:gwlogbk.txt
push str.c:gwlog.txt
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push str.c:gwlog.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebp
add esp, 0x1114
ret
Function at 0x411080
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebp
xor ebp, ebp
push esi
push ebp
push 0xa
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x411102
push ebx
lea eax, [esp + 0xc]
push edi
push eax
push esi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4110ee
mov edi, dword [esp + 0x13c]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea ecx, [esp + 0x34]
push ecx
push edi
call ebx
test eax, eax
je 0x4110dc
lea edx, [esp + 0x10]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x4110ee
jmp 0x4110bf
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x18]
mov ebp, 1
mov dword [eax], ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov eax, ebp
pop esi
pop ebp
add esp, 0x128
ret
mov eax, ebp
pop esi
pop ebp
add esp, 0x128
ret

Function at 0x412bf0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x104
push ebx
mov ebx, dword [esp + 0x110]
mov ecx, ebx
push ebp
mov ebp, dword [esp + 0x110]
push esi
mov edx, ecx
push edi
xor eax, eax
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov byte [esp + 0x10], 0
and ecx, 3
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
rep stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
push eax
push str.ProgramFiles
call esi
call fcn.00410ce0
test eax, eax
je 0x412c7a
mov al, byte [esp + 0x120]
test al, al
je 0x412c7a
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
push str.ProgramFiles_x86_
call esi
lea edx, [esp + 0x10]
push edx
push str._sGatewaySSLVPN
push ebx
push ebp
call fcn.00410950
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret
Function at 0x427c60
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor edi, edi
lea esi, [ebp + 0x144]
mov ecx, esi
call fcn.00439e90
mov ebx, dword [esp + 0x38]
test eax, eax
jle 0x427cb7
push edi
mov ecx, esi
mov byte [esp + 0x3c], 0
call fcn.00426450
mov edx, dword [eax]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x3c]
push ebx
push ecx
mov ecx, eax
call dword [edx]
mov al, byte [esp + 0x38]
test al, al
jne 0x427d1f
mov ecx, esi
inc edi
call fcn.00439e90
cmp edi, eax
jl 0x427c80
mov eax, dword [esp + 0x34]
sub eax, 0x100
je 0x427d95
sub eax, 4
je 0x427d2b
sub eax, 2
jne 0x427d89
push ebx
mov byte [esp + 0x38], 0
mov byte [esp + 0x39], 0
call sub.MSVCRT.dll_toupper
mov ecx, dword [ebp + 0xc4]
add esp, 4
mov byte [esp + 0x34], al
lea eax, [esp + 0x34]
mov edx, dword [ecx]
push reloc.WS2_32.dll_ioctlsocket
push eax
push 0x42add0
call dword [edx + 0xf4]
mov esi, eax
test esi, esi
je 0x427d89
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xe8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20
ret 0x10
mov eax, dword [ebp + 0xc8]
test eax, eax
je 0x427d89
mov edx, dword [ebp + 0xdc]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xd8]
mov dword [esp + 0x10], 6
mov byte [esp + 0x24], bl
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.00427e10
mov word [esp + 0x26], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0xc8]
mov dword [esp + 0x18], eax
lea edx, [esp + 0x10]
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x20
ret 0x10
cmp ebx, 9
jne 0x427d89
mov ecx, dword [ebp + 0xc8]
test ecx, ecx
je 0x427dee
mov eax, dword [ecx]
call dword [eax + 0xc0]
test al, al
je 0x427dee
mov ecx, dword [ebp + 0xc8]
mov edx, dword [ecx]
call dword [edx + 0xcc]
test al, al
je 0x427dee
mov ecx, dword [ebp + 0xc8]
mov eax, dword [ecx]
call dword [eax + 0xc]
push str.RichEditUI
push eax
call sub.MSVCRT.dll__mbsstr
add esp, 8
test eax, eax
je 0x427dee
mov ecx, dword [ebp + 0xc8]
call fcn.00446a40
test al, al
jne 0x427d89
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge cl
push ecx
mov ecx, ebp
call fcn.00429eb0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x20
ret 0x10

Function at 0x427e10
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
xor esi, esi
call edi
test ax, ax
jge 0x427e28
mov esi, 8
push 2
call edi
test ax, ax
jge 0x427e34
or esi, 1
push 1
call edi
test ax, ax
jge 0x427e40
or esi, 2
push 0x10
call edi
test ax, ax
jge 0x427e4c
or esi, 4
push 0x12
call edi
test ax, ax
jge 0x427e58
or esi, 0x20
mov eax, esi
pop edi
pop esi
ret
Function at 0x4299c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459c60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x429a04
cmp ebx, dword [esi + 0xc8]
je 0x429a04
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xc8]
cmp ebx, eax
je 0x429aff
test eax, eax
je 0x429a7d
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x34], 0x14
mov dword [ebp - 0x30], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xc8]
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x34]
xor edi, edi
mov eax, dword [ecx]
push edx
mov dword [ebp - 4], edi
call dword [eax + pe_nt_image_headers32]
mov eax, dword [esi + 0xc8]
push edi
push edi
push edi
push str.killfocus
push eax
mov ecx, esi
call fcn.0042a0c0
mov dword [esi + 0xc8], edi
jmp 0x429a76
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x429aff
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x1c]
cmp eax, esi
jne 0x429aff
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc0]
test al, al
je 0x429aff
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xcc]
test al, al
je 0x429aff
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x50]
mov dword [esi + 0xc8], ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x54], 0x15
mov dword [ebp - 0x50], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xc8]
mov dword [ebp - 0x4c], eax
lea edx, [ebp - 0x54]
mov dword [ebp - 4], 2
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
mov eax, dword [esi + 0xc8]
push 0
push 0
push 0
push str.setfocus
push eax
mov ecx, esi
call fcn.0042a0c0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42dce0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x459f98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [esp + 0x74]
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.0042dea0
mov ebx, dword [eax]
mov ecx, dword [esi + 0x10]
mov edi, 0x40000080
mov ebp, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [esp + 0x18], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], eax
call fcn.0042e830
test al, al
je 0x42dd3a
mov edi, 0x400000a0
push 0
mov eax, dword [esp + 0x1c]
sub esp, 0x10
mov ecx, dword [esi + 0x10]
mov edx, esp
push 0
push edi
mov dword [edx], ebx
push 0
mov dword [edx + 4], ebp
mov dword [edx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + 0xc], eax
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov ecx, eax
call fcn.00426420
push eax
mov ecx, esi
call fcn.00426ca0
mov edi, dword [esi + 0x10]
push 1
mov ecx, edi
call fcn.0042f380
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0042a860
mov ecx, dword [eax]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ecx
push 0x30
push edx
call edi
mov ecx, dword [esi + 0x10]
push 0
call fcn.0043b6d0
push eax
mov eax, dword [esi + 4]
push 0xc5
push eax
call edi
mov ecx, dword [esi + 0x10]
call fcn.0042e830
test al, al
je 0x42ddd7
mov ecx, dword [esi + 0x10]
push 0
call fcn.0042e840
mov edx, dword [esi + 4]
movsx ecx, al
push ecx
push 0xcc
push edx
call edi
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x30]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [esp + 0x7c], 0
call fcn.00426420
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [esp + 0x30]
mov dword [esp + 0x7c], 0xffffffff
call fcn.004264d0
mov ecx, dword [esi + 4]
push 0
push 0
push 0xb9
push ecx
call edi
push 0
push 3
push 0xd3
mov ecx, esi
call fcn.00427210
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
call dword [edx + 0xcc]
dec al
neg al
sbb eax, eax
inc eax
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 0x10]
push 0
call fcn.0042e800
dec al
mov ecx, dword [esi + 4]
neg al
sbb eax, eax
inc eax
push eax
push 0xcf
push ecx
call edi
mov edx, dword [esi + 4]
push 4
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x74]
mov byte [esi + 0x18], 1
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret 4
Function at 0x42dcfe
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x459f98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [esp + 0x74]
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.0042dea0
mov ebx, dword [eax]
mov ecx, dword [esi + 0x10]
mov edi, 0x40000080
mov ebp, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [esp + 0x18], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], eax
call fcn.0042e830
test al, al
je 0x42dd3a
mov edi, 0x400000a0
push 0
mov eax, dword [esp + 0x1c]
sub esp, 0x10
mov ecx, dword [esi + 0x10]
mov edx, esp
push 0
push edi
mov dword [edx], ebx
push 0
mov dword [edx + 4], ebp
mov dword [edx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + 0xc], eax
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov ecx, eax
call fcn.00426420
push eax
mov ecx, esi
call fcn.00426ca0
mov edi, dword [esi + 0x10]
push 1
mov ecx, edi
call fcn.0042f380
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0042a860
mov ecx, dword [eax]
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ecx
push 0x30
push edx
call edi
mov ecx, dword [esi + 0x10]
push 0
call fcn.0043b6d0
push eax
mov eax, dword [esi + 4]
push 0xc5
push eax
call edi
mov ecx, dword [esi + 0x10]
call fcn.0042e830
test al, al
je 0x42ddd7
mov ecx, dword [esi + 0x10]
push 0
call fcn.0042e840
mov edx, dword [esi + 4]
movsx ecx, al
push ecx
push 0xcc
push edx
call edi
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x30]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [esp + 0x7c], 0
call fcn.00426420
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea ecx, [esp + 0x30]
mov dword [esp + 0x7c], 0xffffffff
call fcn.004264d0
mov ecx, dword [esi + 4]
push 0
push 0
push 0xb9
push ecx
call edi
push 0
push 3
push 0xd3
mov ecx, esi
call fcn.00427210
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
call dword [edx + 0xcc]
dec al
neg al
sbb eax, eax
inc eax
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 0x10]
push 0
call fcn.0042e800
dec al
mov ecx, dword [esi + 4]
neg al
sbb eax, eax
inc eax
push eax
push 0xcf
push ecx
call edi
mov edx, dword [esi + 4]
push 4
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x74]
mov byte [esi + 0x18], 1
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret 4
Function at 0x42e190
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0x18]
test al, al
je 0x42e1fb
mov eax, dword [esi + 0x10]
test eax, eax
je 0x42e1fb
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
inc edi
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00459460
mov ebx, esp
test ebx, ebx
je 0x42e1fb
mov ecx, dword [esi + 4]
push edi
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0xf4
call fcn.00426710
mov ecx, dword [esi + 0x10]
push 0
push 0
push 0
mov edx, dword [ecx]
push str.textchanged
push ecx
call dword [edx + 0x1c]
mov ecx, eax
call fcn.0042a0c0
lea esp, [ebp - 0xc]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x42e210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x459ff0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.0042ae60
xor eax, eax
lea ecx, [esi + 0x274]
mov dword [esp + 0x20], eax
mov dword [esi + 0x264], eax
mov dword [esi + 0x268], 0xff
mov byte [esi + 0x26c], al
mov byte [esi + 0x26d], al
mov byte [esi + 0x26e], 0x2a
mov dword [esi + 0x270], eax
call fcn.00426460
lea ecx, [esi + 0x2b8]
mov byte [esp + 0x20], 1
call fcn.00426460
lea ecx, [esi + 0x2fc]
mov byte [esp + 0x20], 2
call fcn.00426460
lea ecx, [esi + 0x340]
mov byte [esp + 0x20], 3
call fcn.00426460
push 3
push 4
push 3
push 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 4
mov dword [esi + 0x384], 0xffffffff
mov dword [esi], 0x45c070
call fcn.00426140
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call fcn.0042af50
push 0xffffffffffffffff
mov ecx, esi
call fcn.00431330
mov ecx, dword [esp + 0x18]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
Function at 0x437270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45a698
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.0043c7a0
mov eax, dword [esp + 0x28]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0
mov dword [esi + 0x294], eax
mov dword [esi], 0x45c634
mov dword [esi + 0x240], 0x45c610
call fcn.00426140
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call fcn.0043ab10
mov ecx, dword [esp + 0x18]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 4