joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43fde0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48b783
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0047cc24
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0048239c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004838f4
test eax, eax
je 0x43fefc
mov ecx, dword [esp + 0x3c]
call fcn.004823c9
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43fec0
push edi
mov ecx, esi
call fcn.0047f98d
mov ecx, esi
call fcn.004400a0
cmp dword [esp + 0x38], 1
jne 0x43fef5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047faf7
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4420f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x442123
push esi
call fcn.00450490
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44211c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4421a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x442192
mov eax, dword [esi + 8]
test eax, eax
je 0x442147
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44218e
cmp eax, 2
je 0x442192
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44213a
cmp eax, 3
je 0x44216d
cmp eax, 1
jne 0x44213a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44213a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44213a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004421d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4421b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004421d0
add esp, 4
pop esi
ret

Function at 0x442a40
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x442a61
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x442a61
mov eax, dword [eax + 0x44]
test eax, eax
je 0x442a61
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x45ea00
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x45ea66
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x45ea66
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x45ea47
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x45edf0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x45ee28
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x45fb50
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x45fb99
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x460010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48bfb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0045fbc0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0045fc40
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0045fc40
lea ecx, [esi + 0xc]
call fcn.0047b514
lea ecx, [esi + 0x10]
call fcn.0047b514
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004611d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004611d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004611d0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0047b589
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0047b589
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x47da19
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47da51
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047ba30
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047ba08
jmp 0x47da5d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47f10e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47f150
call fcn.004850b1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47f150
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47f147
xor eax, eax
jmp 0x47f158
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047f15e
pop edi
pop esi
pop ebx
ret 4

Function at 0x4855e1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48560f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48562d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00485547
jmp 0x48562d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48562d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00485547
test edi, edi
mov eax, edi
jne 0x485617
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401250
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
je 0x40126a
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x401271
xor eax, eax
jmp 0x40133e
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x401297
mov edx, dword [ebp - 0xc]
and edx, 0x10
xor eax, eax
cmp edx, 0x10
sete al
jmp 0x40133e
mov eax, dword [ebp + 8]
push eax
call fcn.0041245b
add esp, 4
mov dword [ebp - 8], eax
push 0x5c
mov ecx, dword [ebp - 8]
push ecx
call fcn.00401200
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4012cd
mov edx, dword [ebp - 8]
push edx
call fcn.004123cd
add esp, 4
xor eax, eax
jmp 0x40133e
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00401250
add esp, 4
test eax, eax
jne 0x4012f3
mov edx, dword [ebp - 8]
push edx
call fcn.004123cd
add esp, 4
xor eax, eax
jmp 0x40133e
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
jne 0x401319
mov eax, dword [ebp - 8]
push eax
call fcn.004123cd
add esp, 4
mov eax, 1
jmp 0x40133e
mov ecx, dword [ebp - 8]
push ecx
call fcn.004123cd
add esp, 4
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x401339
xor eax, eax
jmp 0x40133e
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x401a20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
je 0x401a4b
push 5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x401a5a
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 4
Function at 0x402c10
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x427744
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402c85
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x402c83
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x427758
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402c7f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x402c75
push 9
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
jmp 0x402c8e
jmp 0x402c89
xor eax, eax
jmp 0x402c8e
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x403d80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov byte [ebp - 9], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403dba
xor eax, eax
jmp 0x403e44
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x403dd5
xor eax, eax
jmp 0x403e44
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x403e36
cmp dword [ebp + 0x14], 0
jne 0x403e07
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov byte [ebp - 9], 1
jmp 0x403e36
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x18]
cmp dword [edx], eax
jl 0x403e36
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.00413c10
add esp, 0xc
mov byte [ebp - 9], 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
movzx eax, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x4071f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe68
mov eax, dword [0x42e294]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xe68], ecx
mov eax, dword [ebp - 0xe68]
cmp dword [eax + 4], 0
jne 0x40721c
xor al, al
jmp 0x407448
cmp dword [ebp + 8], 0
jne 0x40722e
mov ecx, dword [ebp - 0xe68]
add ecx, 8
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004075f0
add esp, 4
movzx eax, al
test eax, eax
jne 0x407248
xor al, al
jmp 0x407448
lea ecx, [ebp - 0xa48]
push ecx
mov ecx, dword [ebp - 0xe68]
call fcn.004070a0
movzx edx, byte [ebp - 0x818]
test edx, edx
je 0x407297
push 0
lea eax, [ebp - 0xa48]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
lea edx, [ebp - 0xc60]
push edx
call fcn.004143aa
add esp, 0x14
lea eax, [ebp - 0xc60]
push eax
call fcn.004075f0
add esp, 4
jmp 0x407448
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x4072e1
lea edx, [ebp - 0xe60]
push edx
lea eax, [ebp - 0xd60]
push eax
push 0
push 0
lea ecx, [ebp - 0xa48]
push ecx
call fcn.004145bc
add esp, 0x14
lea edx, [ebp - 0xe60]
push edx
lea eax, [ebp - 0xd60]
push eax
push 0
push 0
lea ecx, [ebp - 0xa48]
push ecx
call fcn.004143aa
add esp, 0x14
push 0
lea edx, [ebp - 0xa48]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
lea ecx, [ebp - 0xb58]
push ecx
call fcn.004143aa
add esp, 0x14
lea edx, [ebp - 0xb58]
push edx
call fcn.004076e0
add esp, 4
movzx eax, al
test eax, eax
jne 0x40731c
xor al, al
jmp 0x407448
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0xb58]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xa4c], eax
cmp dword [ebp - 0xa4c], 0xffffffff
jne 0x407351
xor al, al
jmp 0x407448
mov edx, dword [ebp - 0xe68]
mov eax, dword [edx + 4]
push eax
call fcn.0040f220
test eax, eax
je 0x407378
mov ecx, dword [ebp - 0xa4c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x407448
mov dword [ebp - 0x80c], 0
push 0x800
lea edx, [ebp - 0x808]
push edx
mov eax, dword [ebp - 0xe68]
mov ecx, dword [eax + 4]
push ecx
call fcn.0040eb90
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0
jle 0x4073f8
mov dword [ebp - 0xe64], 0
push 0
lea edx, [ebp - 0xe64]
push edx
mov eax, dword [ebp - 0x80c]
push eax
lea ecx, [ebp - 0x808]
push ecx
mov edx, dword [ebp - 0xa4c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4073ec
mov eax, dword [ebp - 0xe64]
cmp eax, dword [ebp - 0x80c]
je 0x4073f8
mov dword [ebp - 0x80c], 0xffffffff
jmp 0x407401
cmp dword [ebp - 0x80c], 0
jg 0x407382
mov ecx, dword [ebp - 0xa4c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xe68]
mov eax, dword [edx + 4]
push eax
call fcn.0040ed90
cmp dword [ebp - 0x80c], 0
jne 0x40743c
mov ecx, dword [ebp - 0x830]
push ecx
lea edx, [ebp - 0xb58]
push edx
call fcn.00407740
add esp, 8
xor eax, eax
cmp dword [ebp - 0x80c], 0
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041238f
mov esp, ebp
pop ebp
ret 8
Function at 0x4075f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
je 0x40760a
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x407611
xor al, al
jmp 0x4076db
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x407637
mov edx, dword [ebp - 0xc]
and edx, 0x10
xor eax, eax
cmp edx, 0x10
sete al
jmp 0x4076db
mov eax, dword [ebp + 8]
push eax
call fcn.0041245b
add esp, 4
mov dword [ebp - 8], eax
push 0x5c
mov ecx, dword [ebp - 8]
push ecx
call fcn.00401200
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40766d
mov edx, dword [ebp - 8]
push edx
call fcn.004123cd
add esp, 4
xor al, al
jmp 0x4076db
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.004075f0
add esp, 4
movzx edx, al
test edx, edx
jne 0x407696
mov eax, dword [ebp - 8]
push eax
call fcn.004123cd
add esp, 4
xor al, al
jmp 0x4076db
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
test eax, eax
jne 0x4076b9
mov ecx, dword [ebp - 8]
push ecx
call fcn.004123cd
add esp, 4
mov al, 1
jmp 0x4076db
mov edx, dword [ebp - 8]
push edx
call fcn.004123cd
add esp, 4
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4076d9
xor al, al
jmp 0x4076db
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x407740
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x40776f
xor al, al
jmp 0x407818
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x11], al
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x4077bd
lea eax, [ebp - 8]
push eax
movzx ecx, word [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0xc]
shr edx, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x11], al
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x4077e0
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x11], al
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x40780b
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x11], al
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x11]
mov esp, ebp
pop ebp
ret
Function at 0x408470
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 0x368
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40848e
xor eax, eax
jmp 0x408493
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4084d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x42e294]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
lea eax, [ebp - 0x208]
push eax
push 0x200
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x408516
xor eax, eax
jmp 0x4085c1
mov edx, dword [ebp - 0x214]
mov byte [ebp + edx - 0x208], 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0x42796c
lea edx, [ebp - 0x208]
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x40854b
xor eax, eax
jmp 0x4085c1
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x210]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
imul eax, eax, 0x3e8
mov ecx, dword [ebp - 0x210]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx ecx, dx
imul ecx, ecx, 0x64
add eax, ecx
mov edx, dword [ebp - 0x210]
mov ecx, dword [edx + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
imul edx, edx, 0xa
add eax, edx
mov ecx, dword [ebp - 0x210]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx ecx, dx
add eax, ecx
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041238f
mov esp, ebp
pop ebp
ret 8
Function at 0x40f390
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x40f39f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x42d0c4]
test eax, eax
je 0x40f3ad
call fcn.0040f240
mov edx, dword [esp + 0x10]
cmp edx, 8
mov eax, dword [esp + 8]
not eax
jb 0x40f4a1
push ebx
push edi
mov edi, edx
shr edi, 3
xor ecx, ecx
mov cl, byte [esi]
mov ebx, eax
shr ebx, 8
sub edx, 8
xor ecx, eax
and ecx, 0xff
mov eax, dword [ecx*4 + 0x430480]
xor eax, ebx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x430480]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x430480]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x430480]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x430480]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x430480]
shr eax, 8
xor ecx, eax
xor eax, eax
mov al, byte [esi + 1]
inc esi
xor eax, ecx
and eax, 0xff
mov eax, dword [eax*4 + 0x430480]
shr ecx, 8
xor eax, ecx
xor ecx, ecx
mov cl, byte [esi + 1]
inc esi
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x430480]
shr eax, 8
xor eax, ecx
inc esi
dec edi
jne 0x40f3c7
pop edi
pop ebx
test edx, edx
je 0x40f4c1
xor ecx, ecx
mov cl, byte [esi]
xor ecx, eax
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x430480]
shr eax, 8
xor eax, ecx
inc esi
dec edx
jne 0x40f4a5
not eax
pop esi
ret 0xc
Function at 0x41238f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e294]
jne 0x412399
repz ret
jmp fcn.0041780a

Function at 0x421f54
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004172df
and dword [ebp - 4], 0
cmp dword [0x431264], 0
mov ebx, eax
jne 0x422005
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4220b6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x429108
push edi
call esi
test eax, eax
je 0x4220b6
push eax
call fcn.0041726d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x431264], eax
call esi
push eax
call fcn.0041726d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x431268], eax
call esi
push eax
call fcn.0041726d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43126c], eax
call esi
push eax
call fcn.0041726d
pop ecx
mov dword [0x431274], eax
test eax, eax
je 0x422005
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041726d
pop ecx
mov dword [0x431270], eax
mov eax, dword [0x431270]
cmp eax, ebx
je 0x42205d
cmp dword [0x431274], ebx
je 0x42205d
push eax
call fcn.004172e8
push dword [0x431274]
mov esi, eax
call fcn.004172e8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42205d
test edi, edi
je 0x42205d
call esi
test eax, eax
je 0x422054
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x422054
test byte [ebp - 0xc], 1
jne 0x42205d
or dword [ebp + 0x10], 0x200000
jmp 0x422096
mov eax, dword [0x431268]
cmp eax, ebx
je 0x422096
push eax
call fcn.004172e8
pop ecx
test eax, eax
je 0x422096
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x422096
mov eax, dword [0x43126c]
cmp eax, ebx
je 0x422096
push eax
call fcn.004172e8
pop ecx
test eax, eax
je 0x422096
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x431264]
call fcn.004172e8
pop ecx
test eax, eax
je 0x4220b6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4220b8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret