joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fc15
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 0x42fca8
dec eax
je 0x42fc7d
dec eax
je 0x42fc57
sub eax, 6
jne 0x42fcd5
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x419
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x42fccc
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 9
push 0x110a
push dword [esi]
call edi
cmp eax, ebx
je 0x42fccc
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 1
push 0x1104
jmp 0x42fcc8
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0xffffffffffffffff
push 0x100c
push dword [esi]
call edi
cmp eax, 0xffffffff
je 0x42fccc
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 0x10], 2
push 0x100e
jmp 0x42fcc8
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x19f
push dword [esi]
call edi
cmp eax, 0xffffffff
je 0x42fccc
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0x198
push dword [esi]
call edi
cmp dword [ebp - 0x10], 0x80000000
jne 0x42fce3
lea eax, [ebp - 0x10]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x42fcf2
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 0x432247
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0x63
jb 0x432253
xor eax, eax
ret
push ebx
push ebp
lea ebx, [eax*4 + 0x467980]
push esi
mov esi, dword [ebx]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x10], ebx
je 0x4323be
cmp dword [esi], ebp
push edi
je 0x432318
xor edi, edi
mov eax, dword [edi*4 + 0x467980]
test eax, eax
je 0x43229a
mov eax, dword [eax + 0x40]
cmp eax, dword [esi]
jne 0x432291
push edi
call fcn.00432247
pop ecx
inc ebp
cmp dword [0x46b3fc], ebp
je 0x4322a0
inc edi
cmp edi, 0x63
jb 0x432278
mov eax, dword [esi + 4]
test eax, eax
je 0x4322e2
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 0x4322de
push 0
push ebp
push 0x414
push dword [esi + 4]
call edi
test eax, eax
je 0x4322d9
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
inc ebp
cmp ebp, ebx
jl 0x4322c1
mov ebx, dword [esp + 0x14]
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x432318
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 0x432318
push dword [esi]
mov byte [eax], 1
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x432326
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x68]
test eax, eax
je 0x432334
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x432342
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
xor ebp, ebp
xor edi, edi
cmp dword [esi + 0xc], ebp
jbe 0x43238d
mov eax, dword [esi + 0x14]
add eax, ebp
mov dl, byte [eax + 4]
cmp dl, 2
jne 0x432376
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x432376
test byte [eax + 5], 0x80
push ecx
je 0x43236e
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x432384
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x432384
cmp dl, 0xa
jne 0x432384
push dword [eax + 0x10]
call fcn.0043ec47
pop ecx
inc edi
add ebp, 0x14
cmp edi, dword [esi + 0xc]
jb 0x43234b
push dword [esi + 0x14]
mov edi, dword [esi + 0x70]
call fcn.0043ec47
push dword [ebx]
call fcn.0043e783
and dword [ebx], 0
dec dword [0x46b3fc]
test edi, edi
pop ecx
pop ecx
je 0x4323bd
cmp edi, dword [0x4681bc]
je 0x4323bd
push edi
call fcn.004323c5
pop ecx
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
ret
Function at 0x434ed6
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 0x434eeb
mov byte [esi], 0x2b
inc esi
test bh, 2
je 0x434ef4
mov byte [esi], 0x5e
inc esi
test bh, 4
je 0x434efd
mov byte [esi], 0x21
inc esi
xor edi, edi
test bh, 8
je 0x434f39
push edi
push ebx
call fcn.00413e9c
push 1
push ebx
mov dword [ebp + 8], eax
call fcn.00413e9c
add esp, 0x10
test ah, 1
mov ecx, eax
jne 0x434f23
mov ecx, dword [ebp + 8]
test ch, 1
je 0x434f39
cmp word [ebp + 8], ax
je 0x434f39
push 0x64
push esi
push ecx
call fcn.0041401c
jmp 0x434f88
push 0x64
push esi
push edi
push ebx
call fcn.00415e8e
add esp, 0x10
cmp byte [esi], 0
je 0x434f8b
push edi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push edi
push edi
push esi
call fcn.00415b93
add esp, 0x14
test al, al
jne 0x434f8b
movzx edi, bl
push 2
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
test al, al
mov byte [esi], al
je 0x434f7c
mov byte [esi + 1], 0
jmp 0x434f8b
push edi
push str.vk_02X
push esi
call fcn.0040a7af
add esp, 0xc
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x436851
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 0x4369a1
push ebx
xor ebx, ebx
cmp dword [esi + 0xc], ecx
push edi
jbe 0x43689f
xor edi, edi
mov eax, dword [esi + 0x14]
add eax, edi
cmp dword [eax + 8], ecx
je 0x436894
cmp byte [eax + 4], 6
je 0x436894
mov eax, dword [esi + 0x14]
add eax, edi
push str.Submit
push eax
push dword [eax + 8]
mov ecx, esi
call fcn.0042f514
inc ebx
add edi, 0x14
xor ecx, ecx
cmp ebx, dword [esi + 0xc]
jb 0x43686f
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 0x4368cf
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 0x436914
cmp dword [ebp - 8], 1
jne 0x436903
cmp dword [ebp - 4], 1
jle 0x436903
cmp ebx, 0xffffffff
jne 0x4368e2
xor ebx, ebx
push 0xa
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.0040125c
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push 1
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
push eax
call fcn.0040184e
cmp edi, dword [esi + 0xc]
je 0x43698f
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 0x43697b
mov edi, dword [eax + 8]
inc dword [ebp - 4]
test edi, edi
je 0x436932
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 0x436965
test ebx, ebx
je 0x436951
or ebx, 0xffffffff
jmp 0x436954
mov ebx, dword [ebp - 4]
test edi, edi
je 0x43697b
push 1
push 0
push 0xffffffffffffffff
push 0x45bf4c
jmp 0x436974
test edi, edi
je 0x43697b
push 1
push 0
push 0xffffffffffffffff
push 0x45a734
mov ecx, edi
call fcn.0040184e
mov edi, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x14
inc edi
cmp edi, dword [esi + 0xc]
mov dword [ebp - 0x14], edi
jbe 0x4368b5
cmp byte [ebp + 8], 0
pop edi
pop ebx
je 0x4369a1
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
pop esi
leave
ret 4

Function at 0x436a27
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 0x436a54
cmp al, 0x21
je 0x436a4f
cmp al, 0x2b
je 0x436a49
cmp al, 0x5e
jne 0x436a5a
or byte [ebp - 1], 2
jmp 0x436a53
or byte [ebp - 1], 1
jmp 0x436a53
or byte [ebp - 1], 4
inc esi
mov al, byte [esi]
cmp al, bl
jne 0x436a37
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push ebx
push ebx
push esi
call fcn.00415b93
add esp, 0x14
cmp al, bl
mov byte [ebp + 8], al
jne 0x436a7b
xor ax, ax
jmp 0x436aa3
push esi
call fcn.0041593b
cmp ax, bx
pop ecx
jne 0x436a92
push ebx
push dword [ebp + 8]
call fcn.00413e9c
pop ecx
pop ecx
test ah, 1
je 0x436a9b
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 0x439511
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 0x43953a
mov eax, dword [ebp + 0x14]
mov byte [eax], bl
xor eax, eax
jmp 0x4395a1
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 0x43959b
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x43959b
dec eax
mov dword [ebp - 4], eax
cmp byte [eax + esi], bl
jne 0x43958b
cmp eax, ebx
je 0x43959f
cmp byte [esi + eax - 1], bl
jne 0x43959f
dec eax
mov dword [ebp - 4], eax
jne 0x43957d
jmp 0x43959f
inc eax
cmp eax, edi
mov dword [ebp - 4], eax
jae 0x43959b
mov byte [eax + esi], bl
mov eax, dword [ebp - 4]
jmp 0x43959f
mov byte [esi], bl
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4395a4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8000
call fcn.00458250
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 0x4395e5
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x8000]
push eax
push dword [ebp + 0xc]
call fcn.004576b0
add esp, 0xc
jmp 0x4395eb
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov eax, esi
pop esi
leave
ret

Function at 0x439fdc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x43a065
cmp byte [esi], 0
je 0x43a065
push 4
push 0x460688
push esi
call fcn.00458470
add esp, 0xc
test eax, eax
mov eax, esi
jne 0x43a00b
lea eax, [esi + 4]
push 0x45f510
push eax
call fcn.00439b0d
test eax, eax
pop ecx
pop ecx
je 0x43a049
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x43a065
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43a045
mov ecx, dword [ebp - 0x140]
mov dword [eax], ecx
mov al, 1
jmp 0x43a067
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x43a059
mov dword [ecx], eax
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
jmp 0x43a067
xor al, al
pop esi
leave
ret
Function at 0x43c3f2
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 0x43c40a
xor eax, eax
jmp 0x43c56d
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push ebx
push edi
call esi
cmp eax, dword [0x467c9c]
mov dword [ebp - 0xc], eax
je 0x43c42f
push edi
call fcn.0043c146
test al, al
pop ecx
jne 0x43c56a
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x43c44b
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jne 0x43c457
mov eax, edi
jmp 0x43c56c
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x43c46b
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x467395], bl
jne 0x43c486
push dword [ebp - 8]
push edi
call fcn.0043b20b
cmp eax, ebx
pop ecx
pop ecx
jne 0x43c56c
cmp dword [ebp - 8], ebx
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov byte [ebp - 1], bl
mov byte [ebp - 2], bl
je 0x43c4e6
push ebx
push dword [ebp - 8]
call esi
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x18], esi
je 0x43c4e9
cmp dword [0x467c9c], esi
je 0x43c4cc
push dword [ebp - 8]
call fcn.0043c146
test al, al
pop ecx
jne 0x43c4cc
push 1
push esi
push dword [0x467c9c]
call edi
test eax, eax
setne byte [ebp - 1]
cmp dword [ebp - 0xc], ebx
je 0x43c4e9
cmp esi, dword [ebp - 0xc]
je 0x43c4e9
push 1
push dword [ebp - 0xc]
push esi
call edi
test eax, eax
setne byte [ebp - 2]
jmp 0x43c4e9
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0043b20b
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
jne 0x43c53c
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 5
jl 0x43c4ec
mov esi, 0xffc3d44d
push esi
push ebx
push ebx
push ebx
push 0x12
push 2
call fcn.00412cfd
push esi
push ebx
push ebx
push ebx
push 0x12
push 2
call fcn.00412cfd
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0043b20b
mov esi, dword [ebp - 0x18]
add esp, 0x38
mov dword [ebp - 0x14], eax
cmp byte [ebp - 1], bl
je 0x43c54b
push ebx
push esi
push dword [0x467c9c]
call edi
cmp byte [ebp - 2], bl
je 0x43c557
push ebx
push dword [ebp - 0xc]
push esi
call edi
cmp dword [ebp - 0x14], ebx
je 0x43c56a
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [ebp - 0x14]
jmp 0x43c56c
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret
Function at 0x43c571
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x801c
call fcn.00458250
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp ecx, ebx
push esi
push edi
je 0x43c59c
push 1
push ebx
push 0xffffffffffffffff
push ebx
call fcn.0040184e
mov eax, 0x45bf4c
jmp 0x43c5a1
mov eax, 0x45bbc4
mov ecx, dword [0x467b78]
xor esi, esi
inc esi
push esi
push ebx
push 0xffffffffffffffff
push eax
call fcn.0040184e
cmp dword [ebp + 0x18], ebx
jne 0x43c5c0
mov dword [ebp + 0x18], 0x1f4
cmp dword [ebp + 0x1c], esi
jge 0x43c5cc
mov dword [ebp + 0x1c], 0x32
cmp dword [ebp + 0x10], esi
jge 0x43c5d4
mov dword [ebp + 0x10], esi
cmp dword [ebp + 0xc], ebx
je 0x43c756
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 0x43c756
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x18]
jg 0x43c756
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push 0x8000
push eax
call fcn.00438569
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x43c756
mov al, byte [0x468399]
mov byte [ebp - 1], al
cmp al, bl
mov eax, dword [ebp - 0xc]
jne 0x43c643
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 0x43c6c4
cmp word [ebp - 0x10], 0x7fff
ja 0x43c729
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 0x43c6c4
cmp byte [ebp - 1], bl
jne 0x43c6b3
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 0x43c701
push dword [ebp + 0x14]
push dword [ebp - 8]
call fcn.0043bdaf
test al, al
pop ecx
pop ecx
jne 0x43c708
cmp dword [ebp + 8], ebx
jne 0x43c72e
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43c742
cmp dword [ebp + 0x18], ebx
jl 0x43c6f0
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 0x43c714
push 1
push dword [ebp + 0x1c]
call fcn.0040de6e
pop ecx
pop ecx
jmp 0x43c654
mov eax, dword [ebp - 8]
mov byte [eax], bl
jmp 0x43c729
push 1
push ebx
push 0xffffffffffffffff
push 0x45a734
jmp 0x43c71e
push 1
push ebx
push 0xffffffffffffffff
push 0x45bf4c
mov ecx, dword [0x467b78]
call fcn.0040184e
cmp dword [ebp + 8], ebx
je 0x43c742
mov ecx, dword [ebp + 8]
push 1
push ebx
push 0xffffffffffffffff
push dword [ebp - 8]
call fcn.0040184e
mov esi, eax
jmp 0x43c745
xor esi, esi
inc esi
push dword [ebp - 0xc]
push dword [ebp - 0x14]
call fcn.00438a7b
pop ecx
pop ecx
mov eax, esi
jmp 0x43c759
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43ca00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp byte [ebp + 0x10], bl
je 0x43ca16
push dword [ebp + 8]
call fcn.0042cb5b
pop ecx
jmp 0x43ca23
push ebx
push ebx
push 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [ebp + 0xc], ebx
jge 0x43ca2d
mov dword [ebp + 0xc], ebx
cmp ebx, ebx
je 0x43ca86
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.0040de6e
mov esi, dword [sym.imp.USER32.dll_IsWindow]
pop ecx
pop ecx
push dword [ebp + 8]
call esi
test eax, eax
je 0x43ca84
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 0x43ca84
push 1
push edi
call fcn.0040de6e
pop ecx
pop ecx
push dword [ebp + 8]
call esi
test eax, eax
jne 0x43ca65
pop edi
pop esi
mov eax, dword [ebp + 8]
pop ebx
pop ebp
ret
Function at 0x43caaf
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8958
call fcn.00458250
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 0x43cad1
cmp al, 0x61
jne 0x43cb22
cmp byte [esi + 1], bl
jne 0x43cb22
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], bl
jne 0x43cb22
mov ecx, dword [ebp + 0x14]
cmp byte [ecx], bl
jne 0x43cb22
cmp byte [edi], bl
jne 0x43cb22
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [ebp + 8]
mov esi, eax
cmp esi, ebx
je 0x43cb0c
cmp byte [edi + 0xc2], bl
jne 0x43cb0c
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x43cb0c
xor esi, esi
cmp byte [ebp + 0x20], bl
je 0x43cb1b
cmp esi, ebx
je 0x43cb1b
mov dword [edi + 0xa0], esi
mov eax, esi
jmp 0x43cc29
cmp al, bl
jne 0x43cb46
mov eax, dword [ebp + 0x10]
cmp byte [eax], bl
jne 0x43cb46
mov eax, dword [ebp + 0x14]
cmp byte [eax], bl
jne 0x43cb46
cmp byte [edi], bl
jne 0x43cb46
push dword [ebp + 8]
call fcn.0043b9f1
pop ecx
jmp 0x43cc29
lea ecx, [ebp - 0x8958]
call fcn.0043bb0e
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x8958]
push dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0043be25
test eax, eax
je 0x43cbfe
test byte [ebp - 0x8958], 2
mov al, byte [ebp + 0x1c]
mov byte [ebp - 0x8130], al
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x8120], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x811c], eax
je 0x43cc02
cmp dword [ebp - 0x813c], 0xffff
je 0x43cbdd
push dword [ebp - 0x813c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43cbfe
cmp byte [esi + 0xc2], bl
jne 0x43cbdd
push dword [ebp - 0x813c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x43cbdd
push 0xfffffffffffffff0
push dword [ebp - 0x813c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x40000000
je 0x43cbfe
push dword [ebp - 0x813c]
lea ecx, [ebp - 0x8958]
call fcn.0043be0d
push ebx
lea ecx, [ebp - 0x8958]
call fcn.0043bb55
test eax, eax
jne 0x43cc14
xor eax, eax
jmp 0x43cc29
lea eax, [ebp - 0x8958]
push eax
push 0x43b8dd
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [ebp + 0x20], bl
mov eax, dword [ebp - 0x8128]
je 0x43cc29
cmp eax, ebx
je 0x43cc29
mov dword [esi + 0xa0], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43db69
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00458250
mov eax, dword [0x466ae0]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x46b940]
mov dword [ebp - 4], eax
jae 0x43dcac
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x46b960]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x43dcac
push 1
push esi
push ebx
call fcn.0043f4ed
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x43dcb6
push 2
push esi
push ebx
call fcn.0043f4ed
add esp, 0xc
cmp eax, 0xffffffff
je 0x43dcb6
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x43dc56
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00457b80
push 0x8000
push ebx
call fcn.00441c35
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x43dc15
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.00442e9c
add esp, 0xc
cmp eax, 0xffffffff
je 0x43dc33
sub edi, eax
test edi, edi
jg 0x43dc0a
jmp 0x43dc49
cmp dword [0x46b49c], 5
jne 0x43dc46
mov dword [0x46b498], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.00441c35
pop ecx
pop ecx
jmp 0x43dc96
jge 0x43dc96
push 0
push dword [ebp + 0xc]
push ebx
call fcn.0043f4ed
push ebx
call fcn.0043ffed
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 0x43dc96
mov dword [0x46b498], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x46b49c], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.0043f4ed
add esp, 0xc
mov eax, esi
pop edi
jmp 0x43dcb9
mov dword [0x46b498], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.00441a79
leave
ret
Function at 0x43e14f
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x466ae0]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x466990]
je 0x43e184
inc eax
cmp eax, 0x13
jb 0x43e175
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x466990]
jne 0x43e2aa
mov eax, dword [0x46b4f0]
cmp eax, 1
je 0x43e282
cmp eax, edx
jne 0x43e1b4
cmp dword [0x466824], 1
je 0x43e282
cmp ecx, 0xfc
je 0x43e2aa
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43e1ea
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.00457a80
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00457cb0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43e21e
mov eax, edi
push eax
call fcn.00457cb0
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x45c0e0
push edi
call fcn.004589b0
add esp, 0x10
push edi
call fcn.00457cb0
push dword [esi + 0x466994]
mov ebx, eax
call fcn.00457cb0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00458250
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00457a80
push edi
push ebx
call fcn.00457a90
push 0x462468
push ebx
call fcn.00457a90
push dword [esi + 0x466994]
push ebx
call fcn.00457a90
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.0043e2c6
add esp, 0x2c
jmp 0x43e2aa
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x466994]
push dword [esi]
call fcn.00457cb0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.00441a79
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret