joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c860
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
push ebx
push esi
push edi
push 1
push 0
mov esi, ecx
mov ecx, dword [0x4e8218]
push 0xffffffffffffffff
push 0
mov dword [esp + 0x2c], esi
call fcn.004a19e0
mov edi, dword [ebp + 8]
test edi, edi
je 0x45c998
cmp word [edi], 0
je 0x45c998
push 0
push 0
push 3
push 0
push 7
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45c8d7
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x45c922
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x45c909
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4e40f4]
push 1
mov dword [ecx + 0x30], eax
mov ecx, esi
call fcn.004483c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x3c]
xor eax, eax
or eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 0xc]
mov cx, word [eax]
call fcn.004133b0
movzx eax, ax
sub eax, 0x4b
je 0x45c942
sub eax, 2
jne 0x45c95e
push eax
push 0x100000
jmp 0x45c949
push 0
push 0x400
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.004b8310
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [0x4e40f4]
mov ecx, dword [esp + 0x1c]
push 0
mov dword [eax + 0x30], 0
call fcn.004483c0
mov ecx, dword [0x4e8218]
push 0x18
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.004014e0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4e40f4]
mov ecx, esi
push 1
mov dword [eax + 0x30], 0x57
call fcn.004483c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45e370
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
push esi
mov esi, dword [esp + 0x218]
push edi
movzx edi, word [esi + 4]
test edi, 0xffffff80
je 0x45e38f
xor eax, eax
jmp 0x45e39b
push 2
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
add esp, 8
mov ecx, edi
and ecx, 0xffffffdf
test eax, eax
cmove ecx, edi
add ecx, 0xffffffbf
cmp ecx, 0x12
ja case.0x45e3b8.66
movzx eax, byte [ecx + 0x45e4c4]
jmp dword [eax*4 + 0x45e4b0]
mov cx, word [esi + 0x12]
call fcn.004133b0
cmp ax, 0x53
jne 0x45e3e2
cmp word [esi + 0x14], 0
mov eax, 2
mov ecx, 0x17
cmovne eax, ecx
jmp 0x45e44c
mov eax, 0x26
jmp 0x45e44c
cmp word [esi + 0x12], 0
mov eax, 0x1a
mov ecx, 0x23
cmovne eax, ecx
jmp 0x45e44c
cmp word [esi + 0x12], 0
mov eax, 0x10
mov ecx, 0x19
cmovne eax, ecx
jmp 0x45e44c
mov cx, word [esi + 0xe]
call fcn.004133b0
cmp ax, 0x4d
jne 0x45e434
cmp word [esi + 0x16], 0
mov eax, 0xb
mov ecx, 0x16
cmovne eax, ecx
jmp 0x45e44c
cmp word [esi + 0x12], 0
mov eax, 7
mov ecx, 0x18
cmovne eax, ecx
jmp 0x45e44c
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
pop edi
pop esi
test eax, eax
je 0x45e46b
xor eax, eax
mov word [esp + 4], ax
mov edx, dword [esp + 0x210]
test edx, edx
je 0x45e490
lea ecx, [esp + 4]
mov eax, ecx
sub edx, eax
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x45e480
lea eax, [esp + 4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45e497
sub eax, edx
sar eax, 1
add esp, 0x20c
ret

Function at 0x45e4e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
lea eax, [esp]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x45e502
xor eax, eax
mov word [esp], ax
lea edx, [esp]
lea ecx, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x45e510
sub edx, ecx
sar edx, 1
jne 0x45e525
xor edx, edx
jmp 0x45e535
cmp word [esp + edx*2 - 2], 0x5c
jne 0x45e535
xor eax, eax
mov word [esp + edx*2 - 2], ax
dec edx
push esi
mov esi, dword [esp + 0x210]
test esi, esi
je 0x45e560
lea eax, [esp + 4]
mov ecx, eax
sub esi, ecx
nop dword [eax]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [esi + eax - 2], cx
test cx, cx
jne 0x45e550
mov eax, edx
pop esi
add esp, 0x208
ret
Function at 0x46ead0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, cl
test bl, bl
jne 0x46eadb
xor al, al
pop ebx
ret
sub edx, 1
je 0x46eb00
movzx eax, bl
push eax
sub edx, 1
je 0x46eaf6
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
pop ebx
ret
call dword [sym.imp.USER32.dll_GetKeyState]
and al, 1
pop ebx
ret
mov al, bl
dec al
cmp al, 5
ja 0x46eb0d
cmp bl, 3
jne 0x46eb15
mov al, bl
add al, 0x66
cmp al, 5
ja 0x46eb2c
cmp dword [0x4e6a04], 0
movzx eax, bl
je 0x46eb5f
mov al, byte [eax + 0x4e73e0]
shr al, 7
pop ebx
ret
cmp dword [0x4e6a08], 0
je 0x46eb5c
push 0
xor edx, edx
mov cl, bl
call fcn.0041c610
add esp, 4
test al, al
je 0x46eb4e
mov cl, 1
call fcn.0041c400
movzx eax, bl
pop ebx
mov al, byte [eax + 0x4e73e0]
shr al, 7
ret
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
pop ebx
ret
Function at 0x46f220
Capabilities:
Get disk information

Disassembly:
sub esp, 0x210
xor eax, eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebp
push esi
push edi
mov esi, ecx
mov edi, edx
push esi
push eax
push 0x410
mov word [edi], ax
call ebx
mov ebp, eax
test ebp, ebp
jne 0x46f262
push esi
push eax
push 0x1000
call ebx
mov ebp, eax
test ebp, ebp
jne 0x46f262
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
cmp byte [esp + 0x228], 0
push 0x104
push edi
push 0
push ebp
je 0x46f27d
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
jmp 0x46f283
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
mov ebx, eax
test ebx, ebx
jne 0x46f3ae
mov eax, dword [0x4da800]
test eax, eax
je 0x46f3ae
push 0x104
push edi
push ebp
call eax
mov ebx, eax
test ebx, ebx
je 0x46f3ae
cmp byte [esp + 0x228], 0
je 0x46f306
push 0x5c
push edi
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov edx, eax
add esp, 8
test edx, edx
je 0x46f3ae
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f2d2
sub ecx, esi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [edx + 2]
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x210
ret
mov eax, 0x41
mov dword [esp + 0x12], 0x3a
mov word [esp + 0x10], ax
nop dword [eax + eax]
push 0x104
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esi, eax
cmp esi, 2
jbe 0x46f35d
sub esi, 2
lea eax, [esp + 0x18]
push esi
push edi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x46f35d
cmp word [edi + esi*2], 0x5c
lea ecx, [edi + esi*2]
je 0x46f383
mov ax, word [esp + 0x10]
inc ax
mov word [esp + 0x10], ax
cmp ax, 0x5a
jbe 0x46f320
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x210
ret
movzx eax, word [esp + 0x10]
sub ebx, esi
mov word [edi], ax
movzx eax, word [esp + 0x12]
mov word [edi + 2], ax
lea eax, [ebx*2 + 2]
push eax
push ecx
lea eax, [edi + 4]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
add ebx, 2
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x210
ret
Function at 0x471db0
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x230
push esi
mov esi, ecx
test eax, eax
je 0x471e80
cmp word [eax], 0
je 0x471e80
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea ecx, [esp + 0x28]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471df0
sub ecx, edx
sar ecx, 1
je 0x471e10
cmp word [esp + ecx*2 + 0x26], 0x5c
jne 0x471e10
xor eax, eax
mov word [esp + ecx*2 + 0x26], ax
lea ecx, [esp + 0x28]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x471e17
xor eax, eax
mov dword [esp + 8], 3
sub ecx, edx
mov dword [esp + 0x1a], eax
sar ecx, 1
mov dword [esp + 0x1e], eax
mov dword [esp + 0x16], eax
mov dword [esp + 4], eax
mov word [esp + ecx*2 + 0x2a], ax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
mov dword [esp + 0xc], eax
mov eax, 0x4054
mov word [esp + 0x14], ax
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
mov ecx, esi
setne al
movzx eax, al
push eax
call fcn.004483c0
pop esi
add esp, 0x230
ret 4
mov eax, dword [0x4e40f4]
test byte [eax + 0x100], 1
jne 0x471eae
mov ecx, dword [0x4e69cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4d112c
call fcn.004a19e0
pop esi
add esp, 0x230
ret 4
push 0x4bac30
push 0
push 0x4d112c
call fcn.00448320
pop esi
add esp, 0x230
ret 4
Function at 0x471ed0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10c
push ebx
push esi
push 1
push 0
push 0xffffffffffffffff
mov ebx, ecx
mov ecx, dword [0x4e8218]
push 0
call fcn.004a19e0
mov esi, dword [esp + 0x118]
test esi, esi
je 0x472051
cmp word [esi], 0
je 0x472051
push ebp
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebp, eax
test ebp, ebp
jne 0x471f3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4e40f4]
push 1
mov dword [ecx + 0x30], eax
mov ecx, ebx
call fcn.004483c0
pop ebp
pop esi
pop ebx
add esp, 0x10c
ret 4
push edi
push ebp
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov edi, eax
push edi
push ebp
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x471fe7
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
push 0x4d2050
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x471fe7
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [esp + 0x28]
push edx
push str._u._u._u._u
push 0x80
push eax
call fcn.0049d580
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x4e40f4]
add esp, 0x20
mov ecx, ebx
push 0
mov dword [eax + 0x30], 0
call fcn.004483c0
mov ecx, dword [0x4e8218]
lea eax, [esp + 0x1c]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.004a19e0
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10c
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4e40f4]
push edi
mov dword [ecx + 0x30], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x4e40f4]
add esp, 4
test byte [eax + 0x100], 1
jne 0x472031
mov ecx, dword [0x4e69cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4d112c
call fcn.004a19e0
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10c
ret 4
push 0x4bac30
push 0
push 0x4d112c
mov ecx, ebx
call fcn.00448320
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10c
ret 4
mov eax, dword [0x4e40f4]
mov ecx, ebx
push 1
mov dword [eax + 0x30], 0x57
call fcn.004483c0
pop esi
pop ebx
add esp, 0x10c
ret 4
Function at 0x472310
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Move file

Disassembly:
sub esp, 0x230
test dl, dl
jne 0x472332
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4723fe
mov al, 1
add esp, 0x230
ret
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea ecx, [esp + 0x24]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x472350
sub ecx, edx
sar ecx, 1
je 0x472370
cmp word [esp + ecx*2 + 0x22], 0x5c
jne 0x472370
xor eax, eax
mov word [esp + ecx*2 + 0x22], ax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4723fe
test al, 0x10
je 0x4723fe
lea ecx, [esp + 0x24]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x472390
sub ecx, edx
mov dword [esp + 0xc], 0
sar ecx, 1
xor eax, eax
mov dword [esp + 0x16], 0
mov dword [esp + 0x1a], 0
mov dword [esp + 0x12], 0
mov word [esp + ecx*2 + 0x26], ax
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
mov eax, 0x614
mov word [esp + 0x10], ax
lea eax, [esp]
push eax
mov dword [esp + 4], 0
mov dword [esp + 8], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
add esp, 0x230
ret
xor al, al
add esp, 0x230
ret
Function at 0x472940
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x258
push esi
mov esi, ecx
push 0x2a
push esi
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 8
test eax, eax
jne 0x47297f
push 0x3f
push esi
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 8
test eax, eax
jne 0x47297f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x472990
mov al, 1
pop esi
add esp, 0x258
ret
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x47299a
xor al, al
pop esi
add esp, 0x258
ret
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
pop esi
add esp, 0x258
ret

Function at 0x4729b0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push esi
push eax
push 0x28
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x472a23
lea eax, [esp + 0xc]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 1
push eax
push 0
push dword [esp + 0x18]
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x472a23
push eax
push esi
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x472a23
mov al, 1
pop esi
add esp, 0x14
ret
xor al, al
pop esi
add esp, 0x14
ret
Function at 0x472a30
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0xa60
push ebx
push ebp
push esi
push edi
push 0
mov ebx, ecx
mov dword [esp + 0x18], 0x22c
push 2
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebp, eax
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
push 0
push 0
push 1
xor edx, edx
mov ecx, ebx
call fcn.0049d3d0
add esp, 0xc
test eax, eax
je 0x472aa1
mov ecx, ebx
call fcn.00404c80
test al, al
je 0x472a93
push 0x10
push 0
push ebx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wcstoi64]
add esp, 0xc
mov ebx, eax
jmp 0x472aa3
push ebx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi64]
add esp, 4
mov ebx, eax
jmp 0x472aa3
xor ebx, ebx
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x472b67
test ebx, ebx
je 0x472ac5
cmp ebx, dword [esp + 0x1c]
je 0x472b7b
lea eax, [esp + 0x44c]
push eax
lea eax, [esp + 0x244]
push eax
lea eax, [esp + 0x660]
push eax
lea eax, [esp + 0x870]
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath]
lea eax, [esp + 0x460]
add esp, 0x14
mov esi, eax
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x472b00
lea edi, [esp + 0x240]
sub eax, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x472b20
push dword [esp + 0x10]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x244]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x472b8f
lea eax, [esp + 0x14]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x472ab7
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa60
ret
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xa60
ret
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa60
ret
Function at 0x4847e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
je 0x4847f0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret

Function at 0x484800
Capabilities:
Hide graphical window

Disassembly:
cmp dword [ecx + 0x24], 0
jne 0x48481c
mov eax, dword [ecx + 4]
test eax, eax
je 0x484831
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret
push 0
push 0x2af80006
push 0x414
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
ret
Function at 0x484870
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0
je 0x484a61
mov eax, dword [esi + 0x10]
xor edi, edi
test eax, eax
je 0x4848f6
xor ebx, ebx
mov eax, dword [esi + 0x18]
add eax, ebx
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4848b5
cmp byte [eax + 4], 6
je 0x4848b5
push str.Submit
push eax
push ecx
mov ecx, esi
call fcn.00484b40
jmp 0x4848eb
cmp dword [eax + 0x3c], 0
je 0x4848eb
cmp byte [eax + 4], 6
je 0x4848eb
mov ecx, dword [esi + 0xd4]
test ecx, ecx
jne 0x4848e1
push 0x4bac30
push str.No_object_to_invoke.
mov ecx, 0x4e8b78
call fcn.00448ad0
jmp 0x4848eb
push ecx
push eax
push ecx
mov ecx, esi
call fcn.00485560
mov eax, dword [esi + 0x10]
inc edi
add ebx, 0x40
cmp edi, eax
jb 0x484893
xor ebx, ebx
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x14], ebx
xor edi, edi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edx
mov ebx, ecx
mov dword [esp + 0x1c], ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
je 0x484935
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x18]
push 0xfffffffffffffff0
push dword [eax + ecx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x20000
je 0x484989
mov edx, dword [esp + 0x10]
cmp edi, 1
jne 0x48496a
cmp edx, edi
jle 0x48496a
push 0xa
lea eax, [esp + 0x2c]
push eax
xor eax, eax
cmp ebx, 0xffffffff
cmovne eax, ebx
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x34]
add esp, 0xc
push edi
push 0
push 0xffffffffffffffff
push eax
call fcn.004a19e0
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 0x10]
je 0x484a50
xor edi, edi
mov dword [esp + 0x14], 0
xor ecx, ecx
mov dword [esp + 0x10], ecx
jmp 0x48498d
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add edx, dword [esi + 0x18]
cmp byte [edx + 4], 6
jne 0x484a2f
mov ebx, dword [edx + 8]
inc ecx
test ebx, ebx
mov dword [esp + 0x10], ecx
mov eax, ebx
cmove eax, dword [esp + 0xc]
push 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
lea eax, [edi + 1]
push 0
cmove eax, edi
push 0xf0
push dword [edx]
mov edi, eax
mov dword [esp + 0x30], edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x484a05
cmp dword [esp + 0x14], 0
mov ecx, 0xffffffff
mov eax, dword [esp + 0x10]
cmovne eax, ecx
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x484a2f
push 1
push 0
push ecx
push 0x4d112c
mov ecx, ebx
call fcn.004a19e0
jmp 0x484a2f
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
test ebx, ebx
je 0x484a2f
push 1
push 0
push 0xffffffffffffffff
push 0x4bacf8
mov ecx, ebx
call fcn.004a19e0
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x18], 0x40
inc ecx
mov eax, dword [esi + 0x10]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jbe 0x484916
cmp byte [ebp + 8], 0
je 0x484a61
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x484a70
Capabilities:
Get graphical window text

Disassembly:
mov eax, edx
cmp eax, 0x2af8
jae 0x484b23
test ecx, ecx
je 0x484b23
cmp dword [ecx + 4], 0
je 0x484b23
cmp eax, dword [ecx + 0x10]
jae 0x484b23
mov edx, dword [esp + 4]
shl eax, 6
add eax, dword [ecx + 0x18]
mov ecx, dword [eax + 8]
test edx, edx
je 0x484aee
test ecx, ecx
je 0x484ae2
mov ecx, dword [ecx + 0x18]
push esi
mov esi, edx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x484ab3
lea eax, [edx + 2]
pop esi
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x484ad0
sub edx, eax
sar edx, 1
mov eax, edx
ret
push 0x40
push edx
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextW]
ret
test ecx, ecx
je 0x484b10
mov eax, dword [ecx + 0x18]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x484b00
sub eax, edx
sar eax, 1
ret
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, 0x3f
cmp eax, ecx
cmova eax, ecx
ret
mov eax, dword [esp + 4]
test eax, eax
je 0x484b30
xor ecx, ecx
mov word [eax], cx
xor eax, eax
ret
Function at 0x488770
Capabilities:
Get keyboard layout

Disassembly:
push ebx
push esi
mov esi, ecx
xor bl, bl
movzx eax, word [esi]
test ax, ax
je 0x4887ac
mov edx, eax
movzx eax, dx
cmp eax, 0x21
je 0x48879b
cmp eax, 0x2b
je 0x488797
cmp dx, 0x5e
jne 0x4887ac
mov al, 2
jmp 0x48879d
mov al, 1
jmp 0x48879d
mov al, 4
add esi, 2
or bl, al
movzx eax, word [esi]
mov edx, eax
test ax, ax
jne 0x488780
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ecx
push 0
xor edx, edx
mov ecx, esi
call fcn.0041cef0
mov bh, al
add esp, 0xc
test bh, bh
jne 0x4887cf
pop esi
xor eax, eax
pop ebx
ret
xor edx, edx
mov ecx, esi
call fcn.0041ce00
movzx edx, ax
test dx, dx
jne 0x4887ec
xor dl, dl
mov cl, bh
call fcn.0041d450
movzx edx, ax
mov al, bl
or al, 8
and edx, 0x100
movzx ecx, al
movzx eax, bl
cmove ecx, eax
movzx eax, cl
movzx ecx, bh
shl ax, 8
pop esi
or ax, cx
pop ebx
ret
Function at 0x48a480
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, edx
mov esi, ecx
mov dword [esp + 0x14], edi
nop
movzx eax, word [esi]
cmp eax, 0x20
je 0x48a49d
cmp eax, 9
jne 0x48a4a2
add esi, 2
jmp 0x48a490
test ax, ax
je 0x48a60d
cmp word [esi + 2], 0
lea ecx, [esi + 2]
jne 0x48a4c6
mov word [edi + 2], ax
mov al, 1
mov byte [edi], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x2b
xor bl, bl
mov byte [edi], 1
push ecx
mov byte [esp + 0x1b], bl
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x48a598
lea edi, [ebp - 2]
cmp edi, esi
jbe 0x48a504
nop dword [eax]
movzx eax, word [edi]
cmp eax, 0x20
je 0x48a4fd
cmp eax, 9
jne 0x48a504
sub edi, 2
cmp edi, esi
ja 0x48a4f0
sub edi, esi
sar edi, 1
inc edi
push edi
push str.Ctrl
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x48a522
or bl, 1
jmp 0x48a556
push edi
push 0x4d0464
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x48a53b
or bl, 4
jmp 0x48a556
push edi
push str.Shift
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x48a60d
or bl, 0x10
mov byte [esp + 0x13], bl
lea esi, [ebp + 2]
nop dword [eax]
movzx eax, word [esi]
cmp eax, 0x20
je 0x48a56d
cmp eax, 9
jne 0x48a572
add esi, 2
jmp 0x48a560
test ax, ax
je 0x48a60d
lea eax, [esi + 2]
push 0x2b
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x48a4e5
mov edi, dword [esp + 0x14]
cmp word [esi + 2], 0
jne 0x48a5c8
push 1
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
movzx eax, word [esi]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
lea edx, [esp + 0x1b]
mov ecx, eax
call fcn.0041cfc0
mov bl, byte [esp + 0x1b]
add esp, 8
jmp 0x48a5e0
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ecx
push 0
xor edx, edx
mov ecx, esi
call fcn.0041cef0
add esp, 0xc
movzx eax, al
mov word [edi + 2], ax
test bl, 1
je 0x48a5ef
or byte [edi], 8
test bl, 4
je 0x48a5f7
or byte [edi], 0x10
test bl, 0x10
je 0x48a5ff
or byte [edi], 4
pop edi
pop esi
test ax, ax
pop ebp
setne al
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret