joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c0bd
Capabilities:
Enumerate gui resources
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
cmp byte [0x466340], bl
je 0x42c122
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 0x42c11e
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 0x42c122
xor al, al
jmp 0x42c14f
cmp byte [0x466341], bl
je 0x42c140
test byte [ebp + 8], 4
je 0x42c140
xor dword [ebp + 8], 4
push ebx
push 0x42c152
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 0x42c171
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 0x42c1ca
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, esi
je 0x42c1b4
push eax
push esi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
jmp 0x42c1b6
xor edi, edi
cmp edi, esi
je 0x42c1c9
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 0x42e87f
Capabilities:
Hide graphical window

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [esi + 4]
sub eax, 9
push edi
push 0
mov dword [ebp - 0x10], CreateStatusWindowA
pop ebx
je 0x42f2a9
dec eax
je 0x42f27e
dec eax
je 0x42f258
sub eax, 6
jne 0x42f2d6
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x419
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x42f2cd
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 9
push 0x110a
push dword [esi]
call edi
cmp eax, ebx
je 0x42f2cd
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 1
push 0x1104
jmp 0x42f2c9
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0xffffffffffffffff
push 0x100c
push dword [esi]
call edi
cmp eax, 0xffffffff
je 0x42f2cd
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 0x10], 2
push 0x100e
jmp 0x42f2c9
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x19f
push dword [esi]
call edi
cmp eax, 0xffffffff
je 0x42f2cd
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0x198
push dword [esi]
call edi
cmp dword [ebp - 0x10], 0x80000000
jne 0x42f2e4
lea eax, [ebp - 0x10]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x42f2f3
push 2
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
pop edi
lea eax, [eax + esi + 2]
pop esi
mov dword [ecx + 4], eax
pop ebx
leave
ret 8
Function at 0x431848
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0x63
jb 0x431854
xor eax, eax
ret
push ebx
push ebp
lea ebx, [eax*4 + 0x465928]
push esi
mov esi, dword [ebx]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x10], ebx
je 0x4319bf
cmp dword [esi], ebp
push edi
je 0x431919
xor edi, edi
mov eax, dword [edi*4 + 0x465928]
test eax, eax
je 0x43189b
mov eax, dword [eax + 0x40]
cmp eax, dword [esi]
jne 0x431892
push edi
call fcn.00431848
pop ecx
inc ebp
cmp dword [0x468ee8], ebp
je 0x4318a1
inc edi
cmp edi, 0x63
jb 0x431879
mov eax, dword [esi + 4]
test eax, eax
je 0x4318e3
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x406
push eax
call edi
mov ebx, eax
xor ebp, ebp
test ebx, ebx
jle 0x4318df
push 0
push ebp
push 0x414
push dword [esi + 4]
call edi
test eax, eax
je 0x4318da
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
inc ebp
cmp ebp, ebx
jl 0x4318c2
mov ebx, dword [esp + 0x14]
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x431919
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_SetMenu]
lea eax, [esi + 0xb7]
cmp byte [eax], 0
jne 0x431919
push dword [esi]
mov byte [eax], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x431927
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x68]
test eax, eax
je 0x431935
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x431943
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
xor ebp, ebp
xor edi, edi
cmp dword [esi + 0xc], ebp
jbe 0x43198e
mov eax, dword [esi + 0x14]
add eax, ebp
mov dl, byte [eax + 4]
cmp dl, 2
jne 0x431977
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x431977
test byte [eax + 5], 0x80
push ecx
je 0x43196f
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x431985
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x431985
cmp dl, 0xa
jne 0x431985
push dword [eax + 0x10]
call fcn.0043dff1
pop ecx
inc edi
add ebp, 0x14
cmp edi, dword [esi + 0xc]
jb 0x43194c
push dword [esi + 0x14]
mov edi, dword [esi + 0x70]
call fcn.0043dff1
push dword [ebx]
call fcn.0043db2d
and dword [ebx], 0
dec dword [0x468ee8]
test edi, edi
pop ecx
pop ecx
je 0x4319be
cmp edi, dword [0x466164]
je 0x4319be
push edi
call fcn.004319c6
pop ecx
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
ret
Function at 0x435c4d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
mov esi, ecx
xor ecx, ecx
cmp dword [esi], ecx
je 0x435d9d
push ebx
xor ebx, ebx
cmp dword [esi + 0xc], ecx
push edi
jbe 0x435c9b
xor edi, edi
mov eax, dword [esi + 0x14]
add eax, edi
cmp dword [eax + 8], ecx
je 0x435c90
cmp byte [eax + 4], 6
je 0x435c90
mov eax, dword [esi + 0x14]
add eax, edi
push str.Submit
push eax
push dword [eax + 8]
mov ecx, esi
call fcn.0042eb2a
inc ebx
add edi, 0x14
xor ecx, ecx
cmp ebx, dword [esi + 0xc]
jb 0x435c6b
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 0x435ccb
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 0x435d10
cmp dword [ebp - 8], 1
jne 0x435cff
cmp dword [ebp - 4], 1
jle 0x435cff
cmp ebx, 0xffffffff
jne 0x435cde
xor ebx, ebx
push 0xa
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.0040184f
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
push eax
call fcn.00401592
cmp edi, dword [esi + 0xc]
je 0x435d8b
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 0x435d77
mov edi, dword [eax + 8]
inc dword [ebp - 4]
test edi, edi
je 0x435d2e
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 0x435d61
test ebx, ebx
je 0x435d4d
or ebx, 0xffffffff
jmp 0x435d50
mov ebx, dword [ebp - 4]
test edi, edi
je 0x435d77
push 1
push 0
push 0xffffffffffffffff
push 0x459f14
jmp 0x435d70
test edi, edi
je 0x435d77
push 1
push 0
push 0xffffffffffffffff
push 0x45871c
mov ecx, edi
call fcn.00401592
mov edi, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x14
inc edi
cmp edi, dword [esi + 0xc]
mov dword [ebp - 0x14], edi
jbe 0x435cb1
cmp byte [ebp + 8], 0
pop edi
pop ebx
je 0x435d9d
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
pop esi
leave
ret 4

Function at 0x435e23
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
mov byte [ebp - 1], bl
jmp 0x435e50
cmp al, 0x21
je 0x435e4b
cmp al, 0x2b
je 0x435e45
cmp al, 0x5e
jne 0x435e56
or byte [ebp - 1], 2
jmp 0x435e4f
or byte [ebp - 1], 1
jmp 0x435e4f
or byte [ebp - 1], 4
inc esi
mov al, byte [esi]
cmp al, bl
jne 0x435e33
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push ebx
push ebx
push esi
call fcn.00413156
add esp, 0x14
cmp al, bl
mov byte [ebp + 8], al
jne 0x435e77
xor ax, ax
jmp 0x435e9f
push esi
call fcn.00412efe
cmp ax, bx
pop ecx
jne 0x435e8e
push ebx
push dword [ebp + 8]
call fcn.0041166b
pop ecx
pop ecx
test ah, 1
je 0x435e97
or byte [ebp - 1], 8
xor eax, eax
mov ah, byte [ebp - 1]
mov al, byte [ebp + 8]
pop esi
pop ebx
leave
ret
Function at 0x438939
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
je 0x438962
mov eax, dword [ebp + 0x14]
mov byte [eax], bl
xor eax, eax
jmp 0x4389c9
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x18]
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 0x4389c3
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x4389c3
dec eax
mov dword [ebp - 4], eax
cmp byte [eax + esi], bl
jne 0x4389b3
cmp eax, ebx
je 0x4389c7
cmp byte [esi + eax - 1], bl
jne 0x4389c7
dec eax
mov dword [ebp - 4], eax
jne 0x4389a5
jmp 0x4389c7
inc eax
cmp eax, edi
mov dword [ebp - 4], eax
jae 0x4389c3
mov byte [eax + esi], bl
mov eax, dword [ebp - 4]
jmp 0x4389c7
mov byte [esi], bl
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4389cc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8000
call fcn.004561f0
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 0x438a0d
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x8000]
push eax
push dword [ebp + 0xc]
call fcn.00455650
add esp, 0xc
jmp 0x438a13
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov eax, esi
pop esi
leave
ret

Function at 0x4393fd
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x439486
cmp byte [esi], 0
je 0x439486
push 4
push 0x45e5b0
push esi
call fcn.004564c0
add esp, 0xc
test eax, eax
mov eax, esi
jne 0x43942c
lea eax, [esi + 4]
push 0x45ce5c
push eax
call fcn.00438f35
test eax, eax
pop ecx
pop ecx
je 0x43946a
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x439486
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x439466
mov ecx, dword [ebp - 0x140]
mov dword [eax], ecx
mov al, 1
jmp 0x439488
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x43947a
mov dword [ecx], eax
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
jmp 0x439488
xor al, al
pop esi
leave
ret
Function at 0x43b79c
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
jne 0x43b7b4
xor eax, eax
jmp 0x43b917
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push ebx
push edi
call esi
cmp eax, dword [0x465c44]
mov dword [ebp - 0xc], eax
je 0x43b7d9
push edi
call fcn.0043b520
test al, al
pop ecx
jne 0x43b914
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x43b7f5
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jne 0x43b801
mov eax, edi
jmp 0x43b916
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x43b815
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x465345], bl
jne 0x43b830
push dword [ebp - 8]
push edi
call fcn.0043a5d0
cmp eax, ebx
pop ecx
pop ecx
jne 0x43b916
cmp dword [ebp - 8], ebx
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov byte [ebp - 1], bl
mov byte [ebp - 2], bl
je 0x43b890
push ebx
push dword [ebp - 8]
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x18], esi
je 0x43b893
cmp dword [0x465c44], esi
je 0x43b876
push dword [ebp - 8]
call fcn.0043b520
test al, al
pop ecx
jne 0x43b876
push 1
push esi
push dword [0x465c44]
call edi
test eax, eax
setne byte [ebp - 1]
cmp dword [ebp - 0xc], ebx
je 0x43b893
cmp esi, dword [ebp - 0xc]
je 0x43b893
push 1
push dword [ebp - 0xc]
push esi
call edi
test eax, eax
setne byte [ebp - 2]
jmp 0x43b893
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0043a5d0
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
jne 0x43b8e6
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 5
jl 0x43b896
mov esi, 0xffc3d44d
push esi
push ebx
push ebx
push ebx
push 0x12
push 2
call fcn.00410525
push esi
push ebx
push ebx
push ebx
push 0x12
push 2
call fcn.00410525
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0043a5d0
mov esi, dword [ebp - 0x18]
add esp, 0x38
mov dword [ebp - 0x14], eax
cmp byte [ebp - 1], bl
je 0x43b8f5
push ebx
push esi
push dword [0x465c44]
call edi
cmp byte [ebp - 2], bl
je 0x43b901
push ebx
push dword [ebp - 0xc]
push esi
call edi
cmp dword [ebp - 0x14], ebx
je 0x43b914
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [ebp - 0x14]
jmp 0x43b916
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x43b91b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x801c
call fcn.004561f0
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp ecx, ebx
push esi
push edi
je 0x43b946
push 1
push ebx
push 0xffffffffffffffff
push ebx
call fcn.00401592
mov eax, 0x459f14
jmp 0x43b94b
mov eax, 0x459b8c
mov ecx, dword [0x465b20]
xor esi, esi
inc esi
push esi
push ebx
push 0xffffffffffffffff
push eax
call fcn.00401592
cmp dword [ebp + 0x18], ebx
jne 0x43b96a
mov dword [ebp + 0x18], 0x1f4
cmp dword [ebp + 0x1c], esi
jge 0x43b976
mov dword [ebp + 0x1c], 0x32
cmp dword [ebp + 0x10], esi
jge 0x43b97e
mov dword [ebp + 0x10], esi
cmp dword [ebp + 0xc], ebx
je 0x43bb00
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
lea eax, [ebp - 0x18]
push eax
mov edi, 0x7d0
push edi
push 2
push ebx
push ebx
push 0x406
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x43bb00
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x18]
jg 0x43bb00
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push 0x8000
push eax
call fcn.00437959
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x43bb00
mov al, byte [0x466341]
mov byte [ebp - 1], al
cmp al, bl
mov eax, dword [ebp - 0xc]
jne 0x43b9ed
lea eax, [ebp - 0x801c]
dec dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov byte [eax], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push eax
push edi
push 2
push ebx
push dword [ebp + 0x10]
push 0x403
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x43ba6e
cmp word [ebp - 0x10], 0x7fff
ja 0x43bad3
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 esi
test eax, eax
je 0x43ba6e
cmp byte [ebp - 1], bl
jne 0x43ba5d
movzx eax, word [ebp - 0x10]
push ebx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x43baab
push dword [ebp + 0x14]
push dword [ebp - 8]
call fcn.0043b18c
test al, al
pop ecx
pop ecx
jne 0x43bab2
cmp dword [ebp + 8], ebx
jne 0x43bad8
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43baec
cmp dword [ebp + 0x18], ebx
jl 0x43ba9a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x18]
add ecx, edx
sub ecx, eax
cmp ecx, 5
jle 0x43babe
push 1
push dword [ebp + 0x1c]
call fcn.0040b5c4
pop ecx
pop ecx
jmp 0x43b9fe
mov eax, dword [ebp - 8]
mov byte [eax], bl
jmp 0x43bad3
push 1
push ebx
push 0xffffffffffffffff
push 0x45871c
jmp 0x43bac8
push 1
push ebx
push 0xffffffffffffffff
push 0x459f14
mov ecx, dword [0x465b20]
call fcn.00401592
cmp dword [ebp + 8], ebx
je 0x43baec
mov ecx, dword [ebp + 8]
push 1
push ebx
push 0xffffffffffffffff
push dword [ebp - 8]
call fcn.00401592
mov esi, eax
jmp 0x43baef
xor esi, esi
inc esi
push dword [ebp - 0xc]
push dword [ebp - 0x14]
call fcn.00437e6b
pop ecx
pop ecx
mov eax, esi
jmp 0x43bb03
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43bdaa
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp byte [ebp + 0x10], bl
je 0x43bdc0
push dword [ebp + 8]
call fcn.0042c171
pop ecx
jmp 0x43bdcd
push ebx
push ebx
push 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [ebp + 0xc], ebx
jge 0x43bdd7
mov dword [ebp + 0xc], ebx
cmp ebx, ebx
je 0x43be30
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
call ebx
push 1
mov edi, 0x8000012f
push edi
mov dword [ebp + 0x10], eax
call fcn.0040b5c4
mov esi, dword [sym.imp.USER32.dll_IsWindow]
pop ecx
pop ecx
push dword [ebp + 8]
call esi
test eax, eax
je 0x43be2e
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
add eax, ecx
mov dword [ebp + 0x10], eax
call ebx
mov ecx, dword [ebp + 0x10]
sub ecx, eax
cmp ecx, 5
jle 0x43be2e
push 1
push edi
call fcn.0040b5c4
pop ecx
pop ecx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x43be0f
pop edi
pop esi
mov eax, dword [ebp + 8]
pop ebx
pop ebp
ret
Function at 0x43be59
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8c58
call fcn.004561f0
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov al, byte [esi]
xor ebx, ebx
cmp al, 0x41
push edi
mov edi, dword [ebp + 0x18]
je 0x43be7b
cmp al, 0x61
jne 0x43becc
cmp byte [esi + 1], bl
jne 0x43becc
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], bl
jne 0x43becc
mov ecx, dword [ebp + 0x14]
cmp byte [ecx], bl
jne 0x43becc
cmp byte [edi], bl
jne 0x43becc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [ebp + 8]
mov esi, eax
cmp esi, ebx
je 0x43beb6
cmp byte [edi + 0xb6], bl
jne 0x43beb6
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x43beb6
xor esi, esi
cmp byte [ebp + 0x20], bl
je 0x43bec5
cmp esi, ebx
je 0x43bec5
mov dword [edi + 0x9c], esi
mov eax, esi
jmp 0x43bfd3
cmp al, bl
jne 0x43bef0
mov eax, dword [ebp + 0x10]
cmp byte [eax], bl
jne 0x43bef0
mov eax, dword [ebp + 0x14]
cmp byte [eax], bl
jne 0x43bef0
cmp byte [edi], bl
jne 0x43bef0
push dword [ebp + 8]
call fcn.0043adce
pop ecx
jmp 0x43bfd3
lea ecx, [ebp - 0x8c58]
call fcn.0043aeeb
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x8c58]
push dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0043b1ff
test eax, eax
je 0x43bfa8
test byte [ebp - 0x8c58], 2
mov al, byte [ebp + 0x1c]
mov byte [ebp - 0x8430], al
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x8420], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x841c], eax
je 0x43bfac
cmp dword [ebp - 0x843c], 0xffff
je 0x43bf87
push dword [ebp - 0x843c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43bfa8
cmp byte [esi + 0xb6], bl
jne 0x43bf87
push dword [ebp - 0x843c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x43bf87
push 0xfffffffffffffff0
push dword [ebp - 0x843c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x40000000
je 0x43bfa8
push dword [ebp - 0x843c]
lea ecx, [ebp - 0x8c58]
call fcn.0043b1e7
push ebx
lea ecx, [ebp - 0x8c58]
call fcn.0043af32
test eax, eax
jne 0x43bfbe
xor eax, eax
jmp 0x43bfd3
lea eax, [ebp - 0x8c58]
push eax
push 0x43acba
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [ebp + 0x20], bl
mov eax, dword [ebp - 0x8428]
je 0x43bfd3
cmp eax, ebx
je 0x43bfd3
mov dword [esi + 0x9c], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43cf13
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.004561f0
mov eax, dword [0x464a78]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x469420]
mov dword [ebp - 4], eax
jae 0x43d056
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x469440]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x43d056
push 1
push esi
push ebx
call fcn.0043e897
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x43d060
push 2
push esi
push ebx
call fcn.0043e897
add esp, 0xc
cmp eax, 0xffffffff
je 0x43d060
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x43d000
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00455b20
push 0x8000
push ebx
call fcn.00440fe5
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x43cfbf
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.004421ab
add esp, 0xc
cmp eax, 0xffffffff
je 0x43cfdd
sub edi, eax
test edi, edi
jg 0x43cfb4
jmp 0x43cff3
cmp dword [0x468f7c], 5
jne 0x43cff0
mov dword [0x468f78], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.00440fe5
pop ecx
pop ecx
jmp 0x43d040
jge 0x43d040
push 0
push dword [ebp + 0xc]
push ebx
call fcn.0043e897
push ebx
call fcn.0043f397
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x43d040
mov dword [0x468f78], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x468f7c], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.0043e897
add esp, 0xc
mov eax, esi
pop edi
jmp 0x43d063
mov dword [0x468f78], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.00440e29
leave
ret