joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e070
Capabilities:
Get disk information

Disassembly:
sub esp, 0x108
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebp
push esi
push edi
mov esi, ecx
push esi
push 0
mov edi, eax
push 0x410
mov byte [edi], 0
call ebx
mov ebp, eax
test ebp, ebp
jne 0x44e0b1
push esi
push eax
push 0x1000
call ebx
mov ebp, eax
test ebp, ebp
jne 0x44e0b1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
cmp byte [esp + 0x11c], 0
push 0x104
push edi
push 0
push ebp
je 0x44e0cc
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameA]
jmp 0x44e0d2
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test byte [0x4ad478], 1
mov ebx, eax
jne 0x44e102
or dword [0x4ad478], 1
push str.GetProcessImageFileNameA
push str.psapi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ad474], eax
jmp 0x44e107
mov eax, dword [0x4ad474]
test ebx, ebx
jne 0x44e204
test eax, eax
je 0x44e204
push 0x104
push edi
push ebp
call eax
mov ebx, eax
test ebx, ebx
je 0x44e204
cmp byte [esp + 0x11c], 0
je 0x44e179
push 0x5c
push edi
call fcn.00487bae
add esp, 8
test eax, eax
je 0x44e204
mov ecx, eax
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x44e150
sub ecx, esi
push ecx
inc eax
push eax
push edi
call fcn.00486400
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, 0x108
ret
mov word [esp + 0x11], 0x3a
mov byte [esp + 0x10], 0x41
push 0x104
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov esi, eax
cmp esi, 2
jbe 0x44e1bd
sub esi, 2
push esi
lea edx, [esp + 0x18]
push edi
push edx
call fcn.00487aea
add esp, 0xc
test eax, eax
jne 0x44e1bd
cmp byte [esi + edi], 0x5c
je 0x44e1df
mov al, byte [esp + 0x10]
inc al
mov byte [esp + 0x10], al
cmp al, 0x5a
jle 0x44e185
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x108
ret
mov al, byte [esp + 0x10]
mov cl, byte [esp + 0x11]
sub ebx, esi
lea edx, [ebx + 1]
push edx
add esi, edi
mov byte [edi], al
mov byte [edi + 1], cl
push esi
add edi, 2
push edi
call fcn.00486400
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, 0x108
ret
Function at 0x4513a0
Capabilities:
Delete file

Disassembly:
sub esp, 0x12c
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x451454
cmp byte [eax], bl
je 0x451454
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4513d6
sub eax, edx
cmp eax, ebx
je 0x4513f0
cmp byte [esp + eax + 0x27], 0x5c
lea eax, [esp + eax + 0x27]
jne 0x4513f0
mov byte [eax], bl
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4513f7
sub eax, edx
mov byte [esp + eax + 0x29], bl
lea edx, [esp + 4]
lea eax, [esp + 0x28]
mov ecx, 0x4054
push edx
mov dword [esp + 0x1e], ebx
mov dword [esp + 0x22], ebx
mov dword [esp + 0x1a], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 3
mov word [esp + 0x18], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
setne al
movzx ecx, al
push ecx
push esi
call fcn.0042d950
pop ebx
add esp, 0x12c
ret
mov edx, dword [0x4a7978]
test byte [edx + 0xe0], 1
jne 0x451480
mov eax, dword [0x4abaa0]
push 1
push ebx
push 0xffffffffffffffff
push 0x49ae68
push eax
call fcn.004756d0
pop ebx
add esp, 0x12c
ret
push 0x499861
push ebx
push 0x49ae68
mov ecx, esi
call fcn.0042d8b0
pop ebx
add esp, 0x12c
ret
Function at 0x4514a0
Capabilities:
Get file version info

Disassembly:
mov ecx, dword [0x4ab1e8]
sub esp, 0x8c
push ebp
mov ebp, dword [esp + 0x94]
push edi
mov edi, eax
call fcn.004134d0
test edi, edi
je 0x451618
cmp byte [edi], 0
je 0x451618
push esi
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test esi, esi
jne 0x451539
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a7978]
test byte [ecx + 0xe0], 1
mov dword [ecx + 0x30], eax
jne 0x45151a
mov ecx, dword [0x4abaa0]
push 1
push esi
push 0xffffffffffffffff
push 0x49ae68
push ecx
call fcn.004756d0
pop esi
pop edi
pop ebp
add esp, 0x8c
ret 4
push 0x499861
push 0
push 0x49ae68
mov ecx, ebp
call fcn.0042d8b0
pop esi
pop edi
pop ebp
add esp, 0x8c
ret 4
push ebx
push esi
call fcn.004859d9
add esp, 4
mov ebx, eax
push ebx
push esi
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x4515ed
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 0x49bc30
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x4515ed
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
movzx edx, cx
push edx
shr ecx, 0x10
push ecx
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
push str._u._u._u._u
mov esi, 0x80
lea edi, [esp + 0x30]
call fcn.00472920
push ebx
call fcn.00485838
mov eax, dword [0x4abaa0]
mov edx, dword [0x4a7978]
add esp, 0x18
push 1
push 0
push 0xffffffffffffffff
push 0x49987c
push eax
mov dword [edx + 0x30], 0
call fcn.004756d0
mov edx, dword [0x4ab1e8]
push 1
push 0
push 0xffffffffffffffff
mov ecx, edi
push ecx
push edx
call fcn.004756d0
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x8c
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4a7978]
push ebx
mov dword [ecx + 0x30], eax
call fcn.00485838
add esp, 4
push ebp
call fcn.004300c0
pop ebx
pop esi
pop edi
pop ebp
add esp, 0x8c
ret 4
mov eax, dword [0x4a7978]
test byte [eax + 0xe0], 1
mov dword [eax + 0x30], 0x57
jne 0x45164f
mov edx, dword [0x4abaa0]
push 1
push 0
push 0xffffffffffffffff
push 0x49ae68
push edx
call fcn.004756d0
pop edi
pop ebp
add esp, 0x8c
ret 4
push 0x499861
push 0
push 0x49ae68
mov ecx, ebp
call fcn.0042d8b0
pop edi
pop ebp
add esp, 0x8c
ret 4
Function at 0x451670
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
sub esp, 0x234
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0x104
push edx
call esi
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451696
sub eax, edx
je 0x4516ae
cmp byte [esp + eax + 0x27], 0x5c
lea eax, [esp + eax + 0x27]
jne 0x4516ae
mov byte [eax], cl
mov edx, dword [esp + 0x23c]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x134]
push ecx
push 0x104
push edx
call esi
lea eax, [esp + 0x130]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4516d4
sub eax, edx
je 0x4516f2
cmp byte [esp + eax + 0x12f], 0x5c
lea eax, [esp + eax + 0x12f]
jne 0x4516f2
mov byte [eax], cl
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0x28]
push eax
call esi
cmp eax, 0xffffffff
je 0x451725
test al, 0x10
je 0x451725
lea ecx, [esp + 0x130]
push ecx
call esi
cmp eax, 0xffffffff
je 0x45172f
test al, 0x10
je 0x45172f
cmp byte [esp + 0x240], 0
jne 0x45174b
xor al, al
pop esi
add esp, 0x234
ret
lea edx, [esp + 0x130]
push edx
call fcn.00452080
add esp, 4
test al, al
jne 0x45174b
pop esi
add esp, 0x234
ret
lea eax, [esp + 0x28]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x451750
mov ecx, dword [str..]
mov dl, byte [0x49f5f8]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451770
sub eax, edx
mov byte [esp + eax + 0x29], cl
lea eax, [esp + 0x130]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451787
sub eax, edx
mov byte [esp + eax + 0x131], cl
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
lea eax, [esp + 0x28]
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x130]
mov edx, 0x614
push eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 2
mov word [esp + 0x1c], dx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
inc eax
pop esi
add esp, 0x234
ret
Function at 0x451800
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x234
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0x104
push edx
call esi
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451826
sub eax, edx
je 0x45183e
cmp byte [esp + eax + 0x27], 0x5c
lea eax, [esp + eax + 0x27]
jne 0x45183e
mov byte [eax], cl
mov edx, dword [esp + 0x23c]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x134]
push ecx
push 0x104
push edx
call esi
lea eax, [esp + 0x130]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451864
sub eax, edx
je 0x451882
cmp byte [esp + eax + 0x12f], 0x5c
lea eax, [esp + eax + 0x12f]
jne 0x451882
mov byte [eax], cl
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0x28]
push eax
call esi
cmp eax, 0xffffffff
je 0x4518b5
test al, 0x10
je 0x4518b5
lea ecx, [esp + 0x130]
push ecx
call esi
cmp eax, 0xffffffff
je 0x4518bf
test al, 0x10
je 0x4518b5
cmp edi, 1
je 0x4518bf
cmp edi, 2
je 0x4518bf
xor al, al
pop esi
add esp, 0x234
ret
lea edx, [esp + 0x130]
push edx
lea edx, [esp + 0x2c]
call fcn.00452190
add esp, 4
test al, al
je 0x451907
lea eax, [esp + 0x130]
push 1
push eax
lea edx, [esp + 0x30]
call fcn.00451670
add esp, 8
test al, al
je 0x4518b5
push 1
lea edx, [esp + 0x2c]
call fcn.004519b0
add esp, 4
pop esi
add esp, 0x234
ret
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451910
sub eax, edx
mov byte [esp + eax + 0x29], cl
lea eax, [esp + 0x130]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x451927
sub eax, edx
mov byte [esp + eax + 0x131], cl
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x130]
mov eax, 0x614
mov dword [esp + 8], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 1
mov word [esp + 0x18], ax
cmp edi, 2
jne 0x451992
mov ecx, 0x615
mov word [esp + 0x18], cx
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
inc eax
pop esi
add esp, 0x234
ret
Function at 0x4519b0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
sub esp, 0x12c
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [esp + 0x28]
lea edx, [eax + 1]
xor ebx, ebx
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4519d6
sub eax, edx
cmp eax, ebx
je 0x4519f0
cmp byte [esp + eax + 0x27], 0x5c
lea eax, [esp + eax + 0x27]
jne 0x4519f0
mov byte [eax], bl
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x451a04
test al, 0x10
jne 0x451a0e
xor al, al
pop ebx
add esp, 0x12c
ret
cmp byte [esp + 0x134], bl
jne 0x451a2f
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne al
pop ebx
add esp, 0x12c
ret
lea eax, [esp + 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x451a36
sub eax, edx
mov byte [esp + eax + 0x29], bl
lea ecx, [esp + 4]
lea edx, [esp + 0x28]
mov eax, 0x614
push ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1e], ebx
mov dword [esp + 0x22], ebx
mov dword [esp + 0x1a], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 3
mov word [esp + 0x18], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
inc eax
pop ebx
add esp, 0x12c
ret
Function at 0x452080
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x452103
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 2
je 0x4520ee
dec eax
jne 0x452110
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4520a7
sub eax, edx
cmp eax, 0x104
ja 0x452110
inc eax
call fcn.0048f250
mov esi, esp
mov edx, esi
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4520c5
push 0x5c
push esi
call fcn.00487bae
add esp, 8
test eax, eax
je 0x452110
push esi
mov byte [eax], 0
call fcn.00452080
add esp, 4
test al, al
je 0x452110
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret
test al, 0x10
je 0x452110
mov al, 1
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret
xor al, al
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret

Function at 0x452120
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x144
push 0x2a
push esi
call fcn.00486811
add esp, 8
test eax, eax
jne 0x452158
push 0x3f
push esi
call fcn.00486811
add esp, 8
test eax, eax
jne 0x452158
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
add esp, 0x144
ret
lea eax, [esp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x452171
xor al, al
add esp, 0x144
ret
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
add esp, 0x144
ret

Function at 0x4522a0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x18
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4522c1
xor al, al
add esp, 0x18
ret
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp + 4]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4522bb
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne al
add esp, 0x18
ret

Function at 0x452320
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
mov esi, eax
lea eax, [esp + 4]
push eax
push 0x1f4
push 2
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
jne 0x452371
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x452371
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x452371
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret
Function at 0x4637f0
Capabilities:
Hide graphical window

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

Function at 0x463810
Capabilities:
Hide graphical window

Disassembly:
cmp dword [eax + 0x24], 0
mov eax, dword [eax + 4]
jne 0x46382c
test eax, eax
je 0x46383f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret
push 0
push 0x2af80006
push 0x414
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 1
ret

Function at 0x463880
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x34
cmp dword [edi + 4], 0
push ebx
push ebp
push esi
je 0x4639d6
xor ebp, ebp
cmp dword [edi + 0x10], ebp
jbe 0x4638c6
xor esi, esi
mov eax, dword [edi + 0x18]
cmp dword [eax + esi + 8], 0
je 0x4638bd
cmp byte [eax + esi + 4], 6
je 0x4638bd
mov edx, dword [esi + eax + 8]
lea ecx, [esi + eax]
push edx
push edi
mov eax, str.Submit
call fcn.00463a80
inc ebp
add esi, 0x14
cmp ebp, dword [edi + 0x10]
jb 0x463899
xor esi, esi
xor ebx, ebx
xor ebp, ebp
cmp esi, dword [edi + 0x10]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
je 0x4638fb
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x20000
je 0x463944
cmp dword [esp + 0x10], 1
jne 0x463933
cmp ebx, 1
jle 0x463933
cmp ebp, 0xffffffff
jne 0x46390e
xor ebp, ebp
push 0xa
lea eax, [esp + 0x24]
push eax
push ebp
call fcn.004854b2
mov edx, dword [esp + 0x24]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.004756d0
cmp esi, dword [edi + 0x10]
je 0x4639c3
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x10], ebx
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x14]
cmp byte [eax + ecx + 4], 6
jne 0x4639ac
mov esi, dword [eax + ecx + 8]
inc ebx
test esi, esi
je 0x463963
inc dword [esp + 0x10]
mov dword [esp + 0x18], esi
mov edx, dword [eax + ecx]
push 0
push 0
push 0xf0
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x463997
test ebp, ebp
je 0x463984
or ebp, 0xffffffff
jmp 0x463986
mov ebp, ebx
test esi, esi
je 0x4639ac
push 1
push 0
push 0xffffffffffffffff
push 0x49ae68
jmp 0x4639a6
test esi, esi
je 0x4639ac
push 1
push 0
push 0xffffffffffffffff
push 0x49987c
push esi
call fcn.004756d0
mov esi, dword [esp + 0x1c]
add dword [esp + 0x14], 0x14
inc esi
mov dword [esp + 0x1c], esi
cmp esi, dword [edi + 0x10]
jbe 0x4638df
cmp byte [esp + 0x44], 0
je 0x4639d6
mov eax, dword [edi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x34
ret 4
Function at 0x4663f0
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, eax
mov al, byte [esi]
xor cl, cl
mov byte [esp + 0xb], cl
test al, al
je 0x466428
cmp al, 0x21
je 0x466419
cmp al, 0x2b
je 0x466414
cmp al, 0x5e
jne 0x466424
or cl, 2
jmp 0x46641c
or cl, 1
jmp 0x46641c
or cl, 4
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x466403
mov byte [esp + 0xb], cl
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
push 0
mov eax, esi
call fcn.00412460
mov bl, al
add esp, 0xc
mov byte [esp + 0xc], bl
test bl, bl
jne 0x466451
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, esi
call fcn.004123b0
movzx eax, ax
test ax, ax
jne 0x466476
mov eax, dword [esp + 0xc]
push eax
xor bl, bl
call fcn.004129c0
mov bl, byte [esp + 0x10]
add esp, 4
movzx eax, ax
test eax, 0x100
je 0x466482
or byte [esp + 0xb], 8
movzx eax, byte [esp + 0xb]
movzx ecx, bl
shl eax, 8
pop esi
or eax, ecx
pop ebx
add esp, 8
ret
Function at 0x467a10
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x10
movzx eax, byte [esi + 4]
push ebp
mov ebp, dword [esp + 0x18]
add eax, 0xfffffff7
push edi
mov dword [esp + 8], CreateStatusWindowA
cmp eax, 8
ja case.0x467a31.12
jmp dword [eax*4 + 0x467b30]
mov eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x19f
push eax
call edi
cmp eax, 0xffffffff
je 0x467ade
mov edx, dword [esi]
lea ecx, [esp + 8]
push ecx
push eax
push 0x198
push edx
call edi
jmp 0x467ade
mov eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0xffffffffffffffff
push 0x100c
push eax
call edi
cmp eax, 0xffffffff
je 0x467ade
mov edx, dword [esi]
lea ecx, [esp + 8]
push ecx
push eax
push 0x100e
push edx
mov dword [esp + 0x18], 2
call edi
jmp 0x467ade
mov eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 9
push 0x110a
push eax
call edi
test eax, eax
je 0x467ade
mov edx, dword [esi]
lea ecx, [esp + 8]
push ecx
push 1
push 0x1104
push edx
mov dword [esp + 0x18], eax
call edi
jmp 0x467ade
mov ecx, dword [esi]
lea eax, [esp + 8]
push eax
push 0
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 8], 0x80000000
jne 0x467af8
mov eax, dword [esi]
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x467b0a
mov edx, dword [esi]
push 2
lea ecx, [esp + 0xc]
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [ebp], eax
mov eax, dword [esp + 0x14]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
lea ecx, [eax + ecx + 2]
pop edi
mov dword [ebp + 4], ecx
pop ebp
add esp, 0x10
ret 4
Function at 0x4680b0
Capabilities:
Get keyboard layout

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, eax
lea esp, [esp]
mov al, byte [esi]
cmp al, 0x20
je 0x4680ca
cmp al, 9
jne 0x4680cd
inc esi
jmp 0x4680c0
mov cl, byte [esi]
test cl, cl
jne 0x4680d9
pop esi
xor al, al
pop ebp
pop ecx
ret
cmp byte [esi + 1], 0
lea eax, [esi + 1]
jne 0x4680f3
movzx eax, cl
mov word [ebp + 2], ax
pop esi
mov byte [ebp], 0
mov al, 1
pop ebp
pop ecx
ret
push ebx
push edi
push 0x2b
push eax
mov byte [ebp], 1
mov byte [esp + 0x1b], 0
call fcn.00486811
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4681af
lea eax, [ebx - 1]
cmp eax, esi
jbe 0x468131
lea ebx, [ebx]
mov cl, byte [eax]
cmp cl, 0x20
je 0x46812c
cmp cl, 9
jne 0x468131
dec eax
cmp eax, esi
ja 0x468120
sub eax, esi
lea edi, [eax + 1]
push edi
push str.Ctrl
push esi
call fcn.004862a0
add esp, 0xc
test eax, eax
jne 0x468150
or byte [esp + 0x13], 1
jmp 0x468182
push edi
push 0x499cd4
push esi
call fcn.004862a0
add esp, 0xc
test eax, eax
jne 0x46816a
or byte [esp + 0x13], 4
jmp 0x468182
push edi
push str.Shift
push esi
call fcn.004862a0
add esp, 0xc
test eax, eax
jne 0x4681e1
or byte [esp + 0x13], 0x10
lea esi, [ebx + 1]
mov al, byte [esi]
cmp al, 0x20
je 0x46818f
cmp al, 9
jne 0x468192
inc esi
jmp 0x468185
cmp byte [esi], 0
je 0x4681e1
lea ecx, [esi + 1]
push 0x2b
push ecx
call fcn.00486811
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x468113
cmp byte [esi + 1], 0
jne 0x4681e9
push 1
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
movzx edx, byte [esi]
push eax
push edx
call dword [sym.imp.USER32.dll_CharLowerA]
lea edi, [esp + 0x1b]
mov bl, al
call fcn.00412540
movzx eax, al
add esp, 8
mov word [ebp + 2], ax
jmp 0x468207
pop edi
pop ebx
pop esi
xor al, al
pop ebp
pop ecx
ret
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
push 0
mov eax, esi
call fcn.00412460
movzx ecx, al
add esp, 0xc
mov word [ebp + 2], cx
mov al, byte [esp + 0x13]
test al, 1
je 0x468213
or byte [ebp], 8
test al, 4
je 0x46821b
or byte [ebp], 0x10
test al, 0x10
je 0x468223
or byte [ebp], 4
cmp word [ebp + 2], 0
pop edi
pop ebx
pop esi
setne al
pop ebp
pop ecx
ret