joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ad06
Capabilities:
Create shortcut via ishelllink
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov ecx, dword [0x465b20]
push ebx
push edi
xor edi, edi
inc edi
push edi
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push 0x459f14
call fcn.00401592
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 4]
push eax
push 0x45e834
push edi
push ebx
push 0x45e844
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x42ae6a
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp + 0x10]
cmp byte [eax], bl
je 0x42ad6c
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x24]
mov ecx, dword [ebp + 0x14]
cmp byte [ecx], bl
je 0x42ad7d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x2c]
mov ecx, dword [ebp + 0x18]
cmp byte [ecx], bl
je 0x42ad8e
mov eax, dword [ebp - 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x1c]
push esi
mov esi, dword [ebp + 0x1c]
cmp byte [esi], bl
je 0x42adb4
mov eax, dword [ebp + 0x24]
cmp byte [eax], bl
je 0x42ada7
push eax
call fcn.004019fa
pop ecx
dec eax
jmp 0x42ada9
xor eax, eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push eax
push esi
push ecx
call dword [edx + 0x44]
mov esi, dword [ebp + 0x20]
cmp byte [esi], bl
je 0x42ade6
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push edi
push ebx
push ebx
push esi
call fcn.00413156
add esp, 0x14
cmp al, bl
je 0x42ade6
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
movzx ax, al
or eax, 0x600
push eax
push ecx
call dword [edx + 0x34]
mov eax, dword [ebp + 0x28]
cmp byte [eax], bl
je 0x42ae00
mov ecx, dword [ebp - 4]
mov esi, dword [ecx]
push eax
call fcn.004019fa
pop ecx
push eax
push dword [ebp - 4]
call dword [esi + 0x3c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0x45e864
push eax
call dword [ecx]
test eax, eax
pop esi
jl 0x42ae61
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push dword [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x20c]
push edx
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x42ae58
mov ecx, dword [0x465b20]
push edi
push ebx
push 0xffffffffffffffff
push 0x45871c
call fcn.00401592
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
pop ebx
leave
ret 0x24
Function at 0x42b984
Capabilities:
Check for time delay via gettickcount
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9a4
push esi
lea eax, [ebp - 0x234]
push eax
push dword [ebp + 8]
call fcn.0042b85b
lea eax, [ebp - 0x584]
push eax
push dword [ebp + 0xc]
call fcn.0042b85b
lea eax, [ebp - 0x234]
push eax
call fcn.0042bef4
add esp, 0x14
test al, al
mov esi, str..
je 0x42b9d3
lea eax, [ebp - 0x234]
push esi
push eax
call fcn.00455a30
pop ecx
pop ecx
lea eax, [ebp - 0x584]
push eax
call fcn.0042bef4
test al, al
pop ecx
je 0x42b9f3
lea eax, [ebp - 0x584]
push esi
push eax
call fcn.00455a30
pop ecx
pop ecx
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x42ba16
xor eax, eax
jmp 0x42bb95
push ebx
push edi
lea eax, [ebp - 0x9a4]
push eax
lea eax, [ebp - 0x89c]
push eax
lea eax, [ebp - 0x68c]
push eax
lea eax, [ebp - 0x794]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00441067
lea eax, [ebp - 0x68c]
push eax
lea eax, [ebp - 0x794]
push eax
push str._s_s
lea eax, [ebp - 0x12c]
push 0x105
push eax
call fcn.00409c5f
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov esi, 0x104
add esp, 0x28
sub esi, eax
and dword [ebp - 4], 0
lea ebx, [ebp + eax - 0x12c]
call edi
sub eax, dword [0x466154]
cmp eax, dword [0x4651e4]
jbe 0x42bab5
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x42baae
push 1
push 0xffffffffffffffff
call fcn.0040b5c4
pop ecx
pop ecx
call edi
mov dword [0x466154], eax
test byte [ebp - 0x47c], 0x10
jne 0x42bb6f
lea eax, [ebp - 0x450]
push eax
call fcn.00455c50
cmp eax, esi
pop ecx
ja 0x42bb6c
lea eax, [ebp - 0x450]
push eax
push ebx
call fcn.00455a20
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x584]
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.0042bc74
add esp, 0x14
cmp byte [ebp + 0x14], 0
je 0x42bb4b
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
test eax, eax
jne 0x42bb6f
cmp byte [ebp + 0x10], al
je 0x42bb6c
lea eax, [ebp - 0x33c]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
test eax, eax
je 0x42bb6c
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
jmp 0x42bb68
xor eax, eax
cmp byte [ebp + 0x10], al
sete al
push eax
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
test eax, eax
jne 0x42bb6f
inc dword [ebp - 4]
lea eax, [ebp - 0x47c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x42ba7f
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
leave
ret
Function at 0x42bb98
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 0x42bc08
call dword [sym.imp.KERNEL32.DLL_GetLastError]
dec eax
dec eax
je 0x42bbf8
dec eax
jne 0x42bc10
push edi
call fcn.00455c50
cmp eax, 0x104
pop ecx
ja 0x42bc10
add eax, 4
and eax, 0xfffffffc
call fcn.004561f0
mov esi, esp
push edi
push esi
call fcn.00455a20
push 0x5c
push esi
call fcn.00456490
add esp, 0x10
test eax, eax
je 0x42bc10
push esi
mov byte [eax], 0
call fcn.0042bb98
test al, al
pop ecx
je 0x42bc10
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
setne al
jmp 0x42bc12
test al, 0x10
je 0x42bc10
mov al, 1
jmp 0x42bc12
xor al, al
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
mov esi, dword [ebp + 8]
push 0x2a
push esi
call fcn.00455d80
test eax, eax
pop ecx
pop ecx
jne 0x42bc51
push 0x3f
push esi
call fcn.00455d80
test eax, eax
pop ecx
pop ecx
jne 0x42bc51
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
jmp 0x42bc71
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x42bc68
xor al, al
jmp 0x42bc71
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov al, 1
pop esi
leave
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42bf0b
test al, 0x10
je 0x42bf0b
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x42bf0e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
lea eax, [ebp - 0x128]
push eax
push dword [ebp + 8]
call fcn.0042b85b
lea eax, [ebp - 0x230]
push eax
push dword [ebp + 0xc]
call fcn.0042b85b
lea eax, [ebp - 0x128]
push eax
call fcn.0042bef4
add esp, 0x14
test al, al
jne 0x42bf4a
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 0x42bf76
test al, 0x10
je 0x42bf6f
cmp dword [ebp + 0x10], esi
je 0x42bf76
cmp dword [ebp + 0x10], 2
je 0x42bf76
xor al, al
jmp 0x42c02d
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0042be5a
test al, al
pop ecx
pop ecx
je 0x42bfbb
push esi
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0042b8a0
add esp, 0xc
test al, al
je 0x42bf6f
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.0042c030
pop ecx
pop ecx
jmp 0x42c02d
lea eax, [ebp - 0x128]
push edi
push eax
call fcn.00455c50
mov byte [ebp + eax - 0x127], 0
lea eax, [ebp - 0x230]
push eax
call fcn.00455c50
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 0x42c01e
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 0x42c030
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
lea eax, [ebp - 0x128]
push eax
push dword [ebp + 8]
call fcn.0042b85b
lea eax, [ebp - 0x128]
push eax
call fcn.0042bef4
add esp, 0xc
test al, al
jne 0x42c05d
leave
ret
push ebx
xor ebx, ebx
cmp byte [ebp + 0xc], bl
lea eax, [ebp - 0x128]
push eax
jne 0x42c079
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
test eax, eax
setne al
jmp 0x42c0ba
call fcn.00455c50
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 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 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 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 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
Function at 0x43d4f9
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x464a78]
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 + 0x464958]
je 0x43d52e
inc eax
cmp eax, 0x13
jb 0x43d51f
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x464958]
jne 0x43d654
mov eax, dword [0x468fdc]
cmp eax, 1
je 0x43d62c
cmp eax, edx
jne 0x43d55e
cmp dword [0x4647f4], 1
je 0x43d62c
cmp ecx, 0xfc
je 0x43d654
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 0x43d594
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.00455a20
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00455c50
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43d5c8
mov eax, edi
push eax
call fcn.00455c50
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x45a098
push edi
call fcn.00456a00
add esp, 0x10
push edi
call fcn.00455c50
push dword [esi + 0x46495c]
mov ebx, eax
call fcn.00455c50
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.004561f0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00455a20
push edi
push ebx
call fcn.00455a30
push 0x460398
push ebx
call fcn.00455a30
push dword [esi + 0x46495c]
push ebx
call fcn.00455a30
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.0043d670
add esp, 0x2c
jmp 0x43d654
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x46495c]
push dword [esi]
call fcn.00455c50
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.00440e29
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x43d670
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x4691d8], ebx
push esi
push edi
jne 0x43d6f0
push str.user32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43d72b
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x4691d8], eax
je 0x43d72b
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x4691dc], eax
call esi
cmp dword [0x468f84], 2
mov dword [0x4691e0], eax
jne 0x43d6f0
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x4691e8], eax
je 0x43d6f0
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x4691e4], eax
mov eax, dword [0x4691e4]
test eax, eax
je 0x43d735
call eax
test eax, eax
je 0x43d71c
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x4691e8]
test eax, eax
je 0x43d71c
test byte [ebp - 8], 1
jne 0x43d735
cmp dword [0x468f90], 4
jb 0x43d72f
or byte [ebp + 0x12], 0x20
jmp 0x43d754
xor eax, eax
jmp 0x43d764
or byte [ebp + 0x12], 4
jmp 0x43d754
mov eax, dword [0x4691dc]
test eax, eax
je 0x43d754
call eax
mov ebx, eax
test ebx, ebx
je 0x43d754
mov eax, dword [0x4691e0]
test eax, eax
je 0x43d754
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x4691d8]
pop edi
pop esi
pop ebx
leave
ret