joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bbce
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push dword [ebp + 8]
lea eax, [ebp - 0x128]
call fcn.0042b534
push dword [ebp + 0xc]
lea eax, [ebp - 0x230]
call fcn.0042b534
lea eax, [ebp - 0x128]
push eax
call fcn.0042bbb4
add esp, 0xc
test al, al
jne 0x42bc08
leave
ret
push esi
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor esi, esi
inc esi
cmp eax, 0xffffffff
je 0x42bc34
test al, 0x10
je 0x42bc2d
cmp dword [ebp + 0x10], esi
je 0x42bc34
cmp dword [ebp + 0x10], 2
je 0x42bc34
xor al, al
jmp 0x42bceb
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0042bb19
test al, al
pop ecx
pop ecx
je 0x42bc79
push esi
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0042b570
add esp, 0xc
test al, al
je 0x42bc2d
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0042bcee
pop ecx
pop ecx
jmp 0x42bceb
lea eax, [ebp - 0x128]
push edi
push eax
call sub.MSVCR71.dll_strlen
mov byte [ebp + eax - 0x127], 0
lea eax, [ebp - 0x230]
push eax
call sub.MSVCR71.dll_strlen
and dword [ebp - 0x20], 0
pop ecx
pop ecx
mov byte [ebp + eax - 0x22f], 0
push 6
xor eax, eax
cmp dword [ebp + 0x10], 2
pop ecx
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x10], 0x614
pop edi
jne 0x42bcdc
mov word [ebp - 0x10], 0x615
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
inc eax
pop esi
leave
ret

Function at 0x42bcee
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push dword [ebp + 8]
lea eax, [ebp - 0x128]
call fcn.0042b534
lea eax, [ebp - 0x128]
push eax
call fcn.0042bbb4
test al, al
pop ecx
pop ecx
jne 0x42bd19
leave
ret
push ebx
xor ebx, ebx
cmp byte [ebp + 0xc], bl
lea eax, [ebp - 0x128]
push eax
jne 0x42bd35
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne al
jmp 0x42bd76
call sub.MSVCR71.dll_strlen
mov byte [ebp + eax - 0x127], bl
lea eax, [ebp - 0x128]
mov dword [ebp - 0x18], eax
pop ecx
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xa], ebx
mov dword [ebp - 6], ebx
mov dword [ebp - 0xe], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 3
mov word [ebp - 0x10], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
inc eax
pop ebx
leave
ret
Function at 0x42bd79
Capabilities:
Enumerate gui resources
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
cmp byte [0x460210], bl
je 0x42bdde
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42bdda
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x42bdde
xor al, al
jmp 0x42be0b
cmp byte [0x460211], bl
je 0x42bdfc
test byte [ebp + 8], 4
je 0x42bdfc
xor dword [ebp + 8], 4
push ebx
push 0x42be0e
call dword [sym.imp.USER32.dll_EnumWindows]
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne al
pop ebx
leave
ret

Function at 0x42be2d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x1f4
push 2
xor esi, esi
push esi
push esi
push 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
jne 0x42be86
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, esi
je 0x42be70
push eax
push esi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
jmp 0x42be72
xor edi, edi
cmp edi, esi
je 0x42be85
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
leave
ret
Function at 0x42e5d6
Capabilities:
Hide graphical window

Disassembly:
cmp dword [eax + 0x1c], 0
jne 0x42e5e1
jmp fcn.0042e5c3
push 0
push 0x2af80006
push 0x414
push dword [eax]
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
inc eax
ret
Function at 0x42ef72
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, eax
movzx eax, byte [esi + 4]
sub eax, 9
push edi
push 0
mov dword [ebp - 0x10], CreateStatusWindowA
pop ebx
je 0x42f004
dec eax
je 0x42efd9
dec eax
je 0x42efb3
sub eax, 6
jne 0x42f031
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x419
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x42f028
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 9
push 0x110a
push dword [esi]
call edi
cmp eax, ebx
je 0x42f028
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 1
push 0x1104
jmp 0x42f024
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0xffffffffffffffff
push 0x100c
push dword [esi]
call edi
cmp eax, 0xffffffff
je 0x42f028
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 0x10], 2
push 0x100e
jmp 0x42f024
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x19f
push dword [esi]
call edi
cmp eax, 0xffffffff
je 0x42f028
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0x198
push dword [esi]
call edi
cmp dword [ebp - 0x10], 0x80000000
jne 0x42f03f
lea eax, [ebp - 0x10]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x42f04e
push 2
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ebp - 4]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
lea eax, [eax + ecx + 2]
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
leave
ret 4
Function at 0x431553
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0x63
jb 0x43155f
xor eax, eax
ret
push ebx
push ebp
lea ebx, [eax*4 + 0x45e0f8]
push edi
mov edi, dword [ebx]
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x10], ebx
je 0x4316ce
cmp dword [edi], ebp
push esi
je 0x431624
xor esi, esi
mov eax, dword [esi*4 + 0x45e0f8]
test eax, eax
je 0x4315a6
mov eax, dword [eax + 0x40]
cmp eax, dword [edi]
jne 0x43159d
push esi
call fcn.00431553
pop ecx
inc ebp
cmp dword [0x45fabc], ebp
je 0x4315ac
inc esi
cmp esi, 0x63
jb 0x431584
mov eax, dword [edi + 4]
test eax, eax
je 0x4315ee
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x406
push eax
call esi
mov ebx, eax
xor ebp, ebp
test ebx, ebx
jle 0x4315ea
push 0
push ebp
push 0x414
push dword [edi + 4]
call esi
test eax, eax
je 0x4315e5
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
inc ebp
cmp ebp, ebx
jl 0x4315cd
mov ebx, dword [esp + 0x14]
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x431624
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_SetMenu]
lea eax, [edi + 0xb7]
cmp byte [eax], 0
jne 0x431624
push dword [edi]
mov byte [eax], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [edi + 0x60]
test eax, eax
je 0x431632
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [edi + 0x68]
test eax, eax
je 0x431640
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x43164e
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
mov ebp, dword [sym.imp.MSVCR71.dll_free]
xor esi, esi
cmp dword [edi + 0xc], esi
jbe 0x4316a2
and dword [esp + 0x14], esi
mov eax, dword [edi + 0x14]
add eax, dword [esp + 0x14]
mov dl, byte [eax + 4]
cmp dl, 2
jne 0x43168c
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43168c
test byte [eax + 5], 0x80
push ecx
je 0x431684
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x431697
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x431697
cmp dl, 0xa
jne 0x431697
push dword [eax + 0x10]
call ebp
pop ecx
add dword [esp + 0x14], 0x14
inc esi
cmp esi, dword [edi + 0xc]
jb 0x43165f
push dword [edi + 0x14]
mov esi, dword [edi + 0x70]
call ebp
push dword [ebx]
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
and dword [ebx], 0
dec dword [0x45fabc]
test esi, esi
pop ecx
pop ecx
je 0x4316cd
cmp esi, dword [0x460034]
je 0x4316cd
call fcn.004316d5
pop esi
pop edi
xor eax, eax
pop ebp
inc eax
pop ebx
ret
Function at 0x43413a
Capabilities:
Get keyboard layout
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test bh, 1
push esi
mov esi, dword [ebp + 0xc]
push edi
je 0x43414f
mov byte [esi], 0x2b
inc esi
test bh, 2
je 0x434158
mov byte [esi], 0x5e
inc esi
test bh, 4
je 0x434161
mov byte [esi], 0x21
inc esi
test bh, 8
je 0x434199
push ebx
xor al, al
call fcn.00413875
push ebx
mov edi, eax
mov al, 1
call fcn.00413875
test ah, 1
pop ecx
pop ecx
mov edx, eax
jne 0x434183
mov edx, edi
test dh, 1
je 0x434199
cmp di, ax
je 0x434199
push 0x64
pop eax
mov ecx, esi
call fcn.004139f0
jmp 0x4341f0
mov dl, byte [ebp + 8]
push 0x64
xor ebx, ebx
push ebx
mov eax, esi
call fcn.0041580a
cmp byte [esi], bl
pop ecx
pop ecx
je 0x4341f0
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push ebx
push ebx
mov eax, esi
call fcn.00415537
add esp, 0x10
test al, al
jne 0x4341f0
movzx edi, byte [ebp + 8]
push 2
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp al, bl
mov byte [esi], al
je 0x4341e0
mov byte [esi + 1], bl
jmp 0x4341f0
push edi
push str.vk_02X
push esi
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0xc
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x435b35
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
xor ecx, ecx
cmp dword [esi], ecx
je 0x435c81
push ebx
xor ebx, ebx
cmp dword [esi + 0xc], ecx
push edi
jbe 0x435b7e
xor edi, edi
mov eax, dword [esi + 0x14]
add eax, edi
cmp dword [eax + 8], ecx
je 0x435b73
cmp byte [eax + 4], 6
je 0x435b73
mov eax, dword [esi + 0x14]
push str.Submit
add eax, edi
push dword [eax + 8]
push esi
call fcn.0042e87c
inc ebx
add edi, 0x14
xor ecx, ecx
cmp ebx, dword [esi + 0xc]
jb 0x435b50
xor edi, edi
xor ebx, ebx
cmp edi, dword [esi + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], ecx
je 0x435bae
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0xc]
push 0xfffffffffffffff0
push dword [eax + ecx]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x20000
je 0x435bf4
cmp dword [ebp - 8], 1
jne 0x435be3
cmp dword [ebp - 4], 1
jle 0x435be3
cmp ebx, 0xffffffff
jne 0x435bc1
xor ebx, ebx
push 0xa
lea eax, [ebp - 0x34]
push eax
push ebx
call dword [sym.imp.MSVCR71.dll__itoa]
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
push eax
call fcn.0040161c
cmp edi, dword [esi + 0xc]
je 0x435c6f
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0xc]
add eax, ecx
cmp byte [eax + 4], 6
jne 0x435c5b
mov edi, dword [eax + 8]
inc dword [ebp - 4]
test edi, edi
je 0x435c12
inc dword [ebp - 8]
mov dword [ebp - 0x10], edi
push 0
push 0
push 0xf0
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x435c45
test ebx, ebx
je 0x435c31
or ebx, 0xffffffff
jmp 0x435c34
mov ebx, dword [ebp - 4]
test edi, edi
je 0x435c5b
push 1
push 0
push 0xffffffffffffffff
push 0x454094
jmp 0x435c54
test edi, edi
je 0x435c5b
push 1
push 0
push 0xffffffffffffffff
push 0x452954
mov ecx, edi
call fcn.0040161c
mov edi, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x14
inc edi
cmp edi, dword [esi + 0xc]
mov dword [ebp - 0x14], edi
jbe 0x435b94
cmp byte [ebp + 8], 0
pop edi
pop ebx
je 0x435c81
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
leave
ret 4

Function at 0x435d04
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, eax
mov byte [ebp - 1], 0
jmp 0x435d2f
cmp al, 0x21
je 0x435d2a
cmp al, 0x2b
je 0x435d24
cmp al, 0x5e
jne 0x435d35
or byte [ebp - 1], 2
jmp 0x435d2e
or byte [ebp - 1], 1
jmp 0x435d2e
or byte [ebp - 1], 4
inc esi
mov al, byte [esi]
test al, al
jne 0x435d12
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push 0
push 0
mov eax, esi
call fcn.00415537
add esp, 0x10
test al, al
mov byte [ebp - 5], al
jne 0x435d5a
xor ax, ax
jmp 0x435d82
mov eax, esi
call fcn.004152e9
test ax, ax
jne 0x435d71
push dword [ebp - 5]
xor al, al
call fcn.00413875
pop ecx
test ah, 1
je 0x435d7a
or byte [ebp - 1], 8
xor eax, eax
mov ah, byte [ebp - 1]
mov al, byte [ebp - 5]
pop esi
leave
ret
Function at 0x4386e3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 8]
push eax
push 1
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43875c
lea eax, [ebp - 4]
push eax
push esi
push ebx
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], ebx
jne 0x43875c
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x43875c
dec eax
mov dword [ebp - 4], eax
cmp byte [eax + esi], bl
jne 0x43874c
cmp eax, ebx
je 0x438760
cmp byte [esi + eax - 1], bl
jne 0x438760
dec eax
mov dword [ebp - 4], eax
jne 0x43873e
jmp 0x438760
inc eax
cmp eax, edi
mov dword [ebp - 4], eax
jae 0x43875c
mov byte [eax + esi], bl
mov eax, dword [ebp - 4]
jmp 0x438760
mov byte [esi], bl
xor eax, eax
pop ebx
leave
ret

Function at 0x438763
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8000
call fcn.0044ff40
push esi
push 0x7fff
lea eax, [ebp - 0x8000]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov esi, eax
test esi, esi
je 0x4387a2
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x8000]
push eax
push edi
call sub.MSVCR71.dll_memcpy
add esp, 0xc
jmp 0x4387a5
mov byte [edi], 0
mov eax, esi
pop esi
leave
ret

Function at 0x439149
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
test esi, esi
je 0x4391c8
cmp byte [esi], 0
je 0x4391c8
push 4
push str.__
push esi
call dword [sym.imp.MSVCR71.dll_strncmp]
add esp, 0xc
test eax, eax
mov eax, esi
jne 0x439175
lea eax, [esi + 4]
push edi
mov edi, 0x4569e4
call fcn.00438cc6
test eax, eax
pop edi
je 0x4391af
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4391c8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
je 0x4391ab
mov eax, dword [ebp - 0x140]
mov dword [ebx], eax
mov al, 1
leave
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test ebx, ebx
je 0x4391bc
mov dword [ebx], eax
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
leave
ret
xor al, al
leave
ret
Function at 0x43b4d8
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
jne 0x43b4f0
xor eax, eax
jmp 0x43b64b
push esi
push ebx
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x45fb18]
mov dword [ebp - 0xc], eax
je 0x43b513
mov esi, edi
call fcn.0043b24f
test al, al
jne 0x43b648
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 8], esi
jne 0x43b533
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 8], eax
mov esi, eax
cmp edi, esi
jne 0x43b53e
mov eax, edi
jmp 0x43b64a
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x43b552
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x45db0d], bl
jne 0x43b569
push esi
call fcn.0043a2ef
cmp eax, ebx
pop ecx
jne 0x43b64a
cmp esi, ebx
mov byte [ebp - 1], bl
mov byte [ebp - 2], bl
je 0x43b5c6
push ebx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x10], edi
je 0x43b5c6
cmp dword [0x45fb18], edi
je 0x43b5aa
call fcn.0043b24f
test al, al
jne 0x43b5aa
push 1
push edi
push dword [0x45fb18]
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [ebp - 1]
cmp dword [ebp - 0xc], ebx
je 0x43b5c6
cmp edi, dword [ebp - 0xc]
je 0x43b5c6
push 1
push dword [ebp - 0xc]
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
setne byte [ebp - 2]
xor esi, esi
push dword [ebp - 8]
mov edi, dword [ebp + 8]
call fcn.0043a2ef
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x43b60f
inc esi
cmp esi, 5
jl 0x43b5c8
mov esi, 0xffc3d44d
push esi
push ebx
push ebx
push ebx
push 0x12
push 2
call fcn.00412730
push esi
push ebx
push ebx
push ebx
push 0x12
push 2
call fcn.00412730
push dword [ebp - 8]
mov edi, dword [ebp + 8]
call fcn.0043a2ef
add esp, 0x34
mov edi, eax
cmp byte [ebp - 1], bl
je 0x43b624
push ebx
push dword [ebp - 0x10]
push dword [0x45fb18]
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp byte [ebp - 2], bl
je 0x43b636
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_AttachThreadInput]
cmp edi, ebx
je 0x43b648
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_BringWindowToTop]
jmp 0x43b537
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x43b64f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x801c
call fcn.0044ff40
mov ecx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp ecx, esi
push edi
je 0x43b67a
push 1
push esi
push 0xffffffffffffffff
push esi
call fcn.0040161c
mov eax, 0x454094
jmp 0x43b67f
mov eax, 0x453e70
mov ecx, dword [0x45e2f0]
xor edi, edi
inc edi
push edi
push esi
push 0xffffffffffffffff
push eax
call fcn.0040161c
cmp dword [ebp + 0x18], esi
jne 0x43b69e
mov dword [ebp + 0x18], 0x1f4
cmp dword [ebp + 0x1c], edi
jge 0x43b6aa
mov dword [ebp + 0x1c], 0x32
cmp dword [ebp + 0x10], edi
jge 0x43b6b2
mov dword [ebp + 0x10], edi
cmp dword [ebp + 0xc], esi
je 0x43b843
mov ebx, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
lea eax, [ebp - 0x18]
push eax
mov edi, 0x7d0
push edi
push 2
push esi
push esi
push 0x406
push dword [ebp + 0xc]
call ebx
test eax, eax
je 0x43b843
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x18]
jg 0x43b843
push dword [ebp + 0xc]
lea esi, [ebp - 0x14]
push 0x8000
call fcn.00437782
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
mov dword [ebp - 0xc], ecx
je 0x43b843
mov al, byte [0x460211]
test al, al
mov byte [ebp - 1], al
je 0x43b71d
mov dword [ebp - 8], ecx
jmp 0x43b726
lea eax, [ebp - 0x801c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
dec dword [ebp + 0x10]
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push eax
push edi
push 2
push 0
push dword [ebp + 0x10]
push 0x403
push dword [ebp + 0xc]
call ebx
test eax, eax
je 0x43b7af
cmp word [ebp - 0x10], 0x7fff
ja 0x43b814
lea eax, [ebp - 0x10]
push eax
push edi
push 2
push dword [ebp - 0xc]
push dword [ebp + 0x10]
push 0x402
push dword [ebp + 0xc]
call ebx
test eax, eax
je 0x43b7af
cmp byte [ebp - 1], 0
jne 0x43b79b
movzx eax, word [ebp - 0x10]
mov esi, dword [ebp - 8]
push 0
inc eax
push eax
push esi
push dword [ebp - 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x43b7ec
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp - 8]
call fcn.0043aed3
test al, al
jne 0x43b7f1
mov edi, 0x7d0
cmp dword [ebp + 8], 0
jne 0x43b81a
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43b82f
mov esi, dword [ebp + 0x18]
test esi, esi
jl 0x43b7db
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1c]
add ecx, esi
sub ecx, eax
cmp ecx, 5
jle 0x43b7fe
push 1
push dword [ebp + 0x1c]
call fcn.0040d9dd
pop ecx
pop ecx
jmp 0x43b738
mov byte [esi], 0
jmp 0x43b814
push 1
push 0
push 0xffffffffffffffff
push 0x452954
jmp 0x43b809
push 1
push 0
push 0xffffffffffffffff
push 0x454094
mov ecx, dword [0x45e2f0]
call fcn.0040161c
cmp dword [ebp + 8], 0
je 0x43b82f
mov ecx, dword [ebp + 8]
push 1
push 0
push 0xffffffffffffffff
push dword [ebp - 8]
call fcn.0040161c
mov edi, eax
jmp 0x43b832
xor edi, edi
inc edi
push dword [ebp - 0xc]
push dword [ebp - 0x14]
call fcn.00437c5e
pop ecx
pop ecx
mov eax, edi
jmp 0x43b846
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43baf2
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
xor ebx, ebx
cmp byte [esp + 0x10], bl
je 0x43bb07
push dword [esp + 8]
call fcn.0042be2d
pop ecx
jmp 0x43bb15
push ebx
push ebx
push 0x10
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [esp + 0xc], ebx
jge 0x43bb21
mov dword [esp + 0xc], ebx
cmp ebx, ebx
je 0x43bb77
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push esi
push edi
call ebx
push 1
mov edi, 0x8000012f
push edi
mov ebp, eax
call fcn.0040d9dd
mov esi, dword [sym.imp.USER32.dll_IsWindow]
pop ecx
pop ecx
push dword [esp + 0x14]
call esi
test eax, eax
je 0x43bb74
mov eax, dword [esp + 0x18]
add ebp, eax
call ebx
mov ecx, ebp
sub ecx, eax
cmp ecx, 5
jle 0x43bb74
push 1
push edi
call fcn.0040d9dd
pop ecx
pop ecx
push dword [esp + 0x14]
call esi
test eax, eax
jne 0x43bb55
pop edi
pop esi
pop ebp
mov eax, dword [esp + 8]
pop ebx
ret
Function at 0x43bb9d
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8958
call fcn.0044ff40
push ebx
push esi
mov esi, edx
mov al, byte [esi]
cmp al, 0x41
push edi
mov edi, ecx
je 0x43bbbb
cmp al, 0x61
jne 0x43bc11
xor ebx, ebx
cmp byte [esi + 1], bl
jne 0x43bc13
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], bl
jne 0x43bc13
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], bl
jne 0x43bc13
cmp byte [edi], bl
jne 0x43bc13
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp esi, ebx
je 0x43bbf8
mov eax, dword [ebp + 8]
cmp byte [eax + 0xc2], bl
jne 0x43bbf8
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x43bbf8
xor esi, esi
cmp byte [ebp + 0x18], bl
je 0x43bc0a
cmp esi, ebx
je 0x43bc0a
mov eax, dword [ebp + 8]
mov dword [eax + 0xa0], esi
mov eax, esi
jmp 0x43bd27
xor ebx, ebx
cmp al, bl
jne 0x43bc36
mov eax, dword [ebp + 0xc]
cmp byte [eax], bl
jne 0x43bc36
mov eax, dword [ebp + 0x10]
cmp byte [eax], bl
jne 0x43bc36
cmp byte [edi], bl
jne 0x43bc36
mov eax, dword [ebp + 8]
call fcn.0043aafd
jmp 0x43bd27
lea eax, [ebp - 0x8958]
call fcn.0043ac12
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x8958]
push esi
push edi
call fcn.0043af41
test eax, eax
je 0x43bcf8
test byte [ebp - 0x8958], 2
mov al, byte [ebp + 0x14]
mov byte [ebp - 0x8130], al
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x8120], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x811c], eax
je 0x43bcfc
mov eax, dword [ebp - 0x813c]
cmp eax, 0xffff
je 0x43bccf
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43bcf8
cmp byte [edi + 0xc2], bl
jne 0x43bcc9
push dword [ebp - 0x813c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x43bcc9
push 0xfffffffffffffff0
push dword [ebp - 0x813c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x40000000
je 0x43bcf8
mov eax, dword [ebp - 0x813c]
cmp dword [ebp - 0x8108], eax
je 0x43bce8
lea esi, [ebp - 0x8958]
mov dword [ebp - 0x8108], eax
call fcn.0043b1df
push ebx
lea ebx, [ebp - 0x8958]
call fcn.0043ac57
test eax, eax
jne 0x43bd10
xor eax, eax
jmp 0x43bd27
lea eax, [ebp - 0x8958]
push eax
push 0x43a9f6
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x43bd12
xor ebx, ebx
cmp byte [ebp + 0x18], bl
mov eax, dword [ebp - 0x8128]
je 0x43bd27
cmp eax, ebx
je 0x43bd27
mov dword [edi + 0xa0], eax
pop edi
pop esi
pop ebx
leave
ret