joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a0fac
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x4a0ff9
xor ebx, ebx
jmp 0x4a0fee
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call fcn.0041c600
test eax, eax
jne 0x4a0fed
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x4a10a4
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4a0fcf
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x4a1005
je 0x4a100e
jmp 0x4a1017
call fcn.0049c638
mov esi, eax
jmp 0x4a1019
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x4a1019
xor esi, esi
test si, si
je 0x4a10a4
xor ebx, ebx
jmp 0x4a103f
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x4a103e
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x4a10a4
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4a1026
xor ebx, ebx
jmp 0x4a1099
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov dx, 0x3ff
and dx, si
movzx edx, dx
cmp eax, edx
jne 0x4a1098
mov ax, 0x3ff
and ax, si
cmp ax, 4
jne 0x4a108d
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.004a0f80
push eax
mov eax, esi
call fcn.004a0f80
pop edx
cmp edx, eax
jne 0x4a1098
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x4a10a4
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4a104e
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x4a1490
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a1569
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a1584
push ebx
push 0x4a1594
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040a768
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004077c0
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040a494
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4a1512
mov ax, 0x83
call fcn.004a10b4
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
call fcn.004a1464
push 0x1cff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4a151b
call fcn.004a1464
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1570
lea eax, [ebp - 4]
call fcn.00409a3c
pop eax
jmp eax
Function at 0x4a1684
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4a174d
jmp 0x4a1741
cmp dword [esi + 0x10], 0x1000
jne 0x4a172f
test byte [esi + 0x15], 1
jne 0x4a172f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4a16e0
cmp ebp, 2
je 0x4a16e0
cmp ebp, 0x10
je 0x4a16e0
cmp ebp, 0x20
jne 0x4a16fc
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4a16fc
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4a170d
mov eax, dword [esi]
add eax, ebx
call fcn.004a167c
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4a1700
cmp byte [esp + 4], 0
je 0x4a172f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov edi, dword [esi]
add edi, dword [esi + 0xc]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4a174d
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4a16b5
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4065c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x472a0b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x8054
call fcn.00444270
mov eax, dword [0x49e850]
xor eax, esp
mov dword [esp + 0x8050], eax
push ebx
push esi
push edi
mov eax, dword [0x49e850]
xor eax, esp
push eax
lea eax, [esp + 0x8068]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
or esi, 0xffffffff
mov dword [esp + 0x20], eax
xor edi, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x8070], edi
test eax, eax
jne 0x40662f
lea eax, [edi + 0x57]
jmp 0x4067d9
sub esp, 8
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
call fcn.00406a20
add esp, 8
test eax, eax
jne 0x4067d9
cmp dword [ebx + 0x18], 8
lea eax, [ebx + 4]
jb 0x406679
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [esp + 0x10], ebx
cmp ebx, 0xffffffff
je 0x4067d3
mov esi, ebx
mov dword [esp + 0x1c], esi
jmp 0x4066b0
mov eax, dword [esp + 0x18]
push dword [eax + 4]
lea eax, [esp + 0x2c]
push eax
push 0x4000
lea eax, [esp + 0x68]
push eax
call dword [esp + 0x30]
test eax, eax
je 0x4067ca
cmp dword [esp + 0x28], 0
je 0x40675f
lea eax, [esp + 0x5c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x405c]
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], 0x4000
mov dword [esp + 0x30], eax
call fcn.00406bb0
mov edi, eax
cmp edi, 2
je 0x4067ba
cmp edi, 0xfffffffb
jbe 0x40671a
cmp edi, 0xfffffffd
jbe 0x4067bf
push 0
mov ebx, 0x4000
sub ebx, dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
push ebx
lea eax, [esp + 0x4068]
push eax
push dword [esp + 0x20]
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4067a7
cmp dword [esp + 0x14], ebx
jne 0x406799
cmp dword [esp + 0x34], 0
je 0x4066e5
cmp edi, 1
jne 0x4066b0
lea ecx, [esp + 0x24]
call fcn.004082f0
mov ebx, dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
cmp edi, 1
jne 0x40678f
mov ecx, dword [esp + 0x18]
lea eax, [ecx + 8]
push eax
lea eax, [ecx + 0x18]
push eax
lea eax, [ecx + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
dec edi
neg edi
sbb edi, edi
and edi, 0xfffffffd
jmp 0x4067db
lea ecx, [esp + 0x24]
or edi, 0xffffffff
call fcn.004082f0
jmp 0x4067db
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.004082f0
jmp 0x4067db
mov edi, 0xfffffffd
lea ecx, [esp + 0x24]
call fcn.004082f0
jmp 0x4067db
lea ecx, [esp + 0x24]
call fcn.004082f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp esi, 0xffffffff
je 0x4067ec
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4067ec
push esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x8068]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x8050]
xor ecx, esp
call fcn.004423a3
mov esp, ebp
pop ebp
ret 8
Function at 0x40bd9e
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
push esi
push esi
push 4
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
test ebx, ebx
je 0x40bdfb
push edi
push esi
push esi
push esi
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x40bdf3
push dword [ebp + 0xc]
push dword [ebp - 4]
push edi
call fcn.0040bd10
add esp, 0xc
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x40be42
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push esi
mov dword [ebp - 4], 0x7863513
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
push ebx
call fcn.0044203b
mov edx, eax
pop ecx
test edx, edx
je 0x40be88
push edi
xor edi, edi
test ebx, ebx
je 0x40be87
sub esi, edx
mov eax, edi
and eax, 3
lea ecx, [edi + edx]
mov al, byte [ebp + eax - 4]
xor al, byte [esi + ecx]
inc edi
mov byte [ecx], al
cmp edi, ebx
jb 0x40be71
pop edi
pop esi
mov eax, edx
pop ebx
leave
ret

Function at 0x40e850
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
jb 0x40e85f
mov esi, dword [esi]
push esi
call fcn.00443324
pop ecx
push 0
push dword [ebp + 0x10]
add eax, eax
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebp
ret 0x10

Function at 0x415b92
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
xor ebx, ebx
push dword [ebp + 8]
mov dword [esi + 8], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x415c15
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x415bca
push 0
push 0
jmp 0x415c17
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 4], eax
test eax, eax
je 0x415bc4
lea edi, [eax + 0x40]
push edi
call fcn.0044203b
pop ecx
mov dword [esi], eax
test eax, eax
je 0x415bc4
push edi
push 0
push eax
call fcn.004423c0
add esp, 0xc
push dword [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [esi]
call fcn.00442690
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
push ebx
push ebx
call fcn.00443342
int3
Function at 0x4183f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x28
mov eax, 0x464eef
call fcn.00443402
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x28], 0x74736e49
mov dword [ebp - 0x24], 0x536c6c61
mov dword [ebp - 0x20], 0x6c656968
mov word [ebp - 0x1c], 0x64
cmp byte [ebp + 0xc], bl
je 0x418435
mov dword [ebp - 0x1b], 0x7a695720
mov dword [ebp - 0x17], 0x647261
push 1
lea eax, [ebp - 0x29]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.0040caac
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], 1
mov eax, esi
call fcn.004433b1
ret 8

Function at 0x41a10e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x49e850]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
test esi, esi
je 0x41a188
push 0
lea eax, [ebp - 0x408]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x408]
cmp ecx, 2
jb 0x41a16f
movzx eax, byte [ebp - 0x404]
cmp eax, 0xffffffff
jne 0x41a16f
movzx eax, byte [ebp - 0x403]
cmp eax, 0xfffffffe
jne 0x41a16f
inc bl
jmp 0x41a188
xor eax, eax
test ecx, ecx
je 0x41a188
test bl, bl
jne 0x41a188
cmp byte [ebp + eax - 0x404], bl
sete bl
inc eax
cmp eax, ecx
jb 0x41a175
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004423a3
leave
ret 4
Function at 0x41a3de
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x49e850]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
je 0x41a4e4
cmp byte [ebp + 0xc], 0
jne 0x41a492
lea eax, [edi + 1]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x41a4e4
and dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
push edi
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
je 0x41a4d5
call fcn.00443930
lea edi, [eax + 1]
pop ecx
cmp edi, 0x3fffffff
jle 0x41a461
xor eax, eax
jmp 0x41a475
lea eax, [edi + edi]
call fcn.00444240
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.0040d15d
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040f219
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
jmp 0x41a4e6
lea eax, [edi + 3]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x41a4e4
and dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
push edi
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41a4d4
mov ecx, 0xfeff
mov eax, esi
cmp word [esi], cx
jne 0x41a475
lea eax, [esi + 2]
jmp 0x41a475
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor al, al
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423a3
leave
ret 0xc
Function at 0x41ca5f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 4]
push eax
xor edi, edi
inc edi
push edi
push 0
push str.SoftwareInstallShieldISWI7.0SetupExeLog
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41cac0
lea eax, [ebp - 8]
push eax
push 0x4a0628
push 0
push 0
push str.SetupLogFileName
push dword [ebp - 4]
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ecx, byte [0x4a061c]
push dword [ebp - 4]
test eax, eax
cmove ecx, edi
mov byte [0x4a061c], cl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
leave
ret

Function at 0x41cac3
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x52]
push edi
mov word [esi + 0xc], 0
call fcn.0041d7ff
test al, al
je 0x41caea
mov ax, word [edi]
mov byte [esi + 0xc], 1
mov word [esi + 0x50], ax
jmp 0x41cb62
mov ax, word [ebp + 8]
test ax, ax
jne 0x41cb05
cmp dword [esi + 0x40], 4
jne 0x41cb05
mov ecx, esi
lea edi, [esi + 0x50]
call fcn.0041cfb1
jmp 0x41cb08
lea edi, [esi + 0x50]
push edi
mov ecx, esi
mov word [edi], ax
call fcn.0041d7ff
test al, al
je 0x41cb1d
mov byte [esi + 0xd], 1
jmp 0x41cb62
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push edi
mov ecx, esi
mov word [edi], ax
call fcn.0041d7ff
test al, al
jne 0x41cb62
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
push edi
mov ecx, esi
mov word [edi], ax
call fcn.0041d7ff
test al, al
jne 0x41cb62
call fcn.00458127
push edi
mov ecx, esi
mov word [edi], ax
call fcn.0041d7ff
test al, al
jne 0x41cb62
mov ax, word [esi + 0x54]
mov word [edi], ax
pop edi
pop esi
pop ebp
ret 4
Function at 0x41e2de
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x49e850]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
push dword [0x4a2794]
call ebx
lea eax, [ebp - 0x64]
push eax
push 0
call ebx
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call esi
push eax
push 0
call esi
push eax
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov ecx, edi
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x68], 0x1e
mov dword [ebp - 0x70], eax
call fcn.00436230
cmp dword [eax], 1
je 0x41e356
cmp dword [eax + 4], esi
je 0x41e3ab
push esi
push 0x478d68
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41e3ab
lea eax, [ebp - 0x34]
push eax
push esi
mov dword [ebp - 0x68], 0x46
call ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea esi, [ebp - 0x14]
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x14]
push eax
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_SubtractRect]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
sub esi, ecx
mov eax, esi
cdq
idiv dword [ebp - 0x68]
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0xc]
sub ebx, edi
push 5
push 0
push 0
sub ecx, eax
mov eax, ebx
cdq
idiv dword [ebp - 0x68]
sub ecx, dword [ebp - 0x70]
add ecx, esi
push ecx
sub edi, eax
sub edi, dword [ebp - 0x6c]
add edi, ebx
push edi
push 0
push dword [0x4a2794]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.004423a3
leave
ret

Function at 0x41e9ce
Capabilities:
Hide graphical window

Disassembly:
push dword [0x4a2794]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41e9ff
push 0
push dword [0x4a2794]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4a279c]
push 0
mov ecx, dword [ecx + 0x264]
call fcn.0043dcd3
ret
Function at 0x420035
Capabilities:
Delete directory
Delete file

Disassembly:
push 4
mov eax, 0x466b04
call fcn.004433cf
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 1
mov esi, dword [edi + 0x30]
jmp 0x42006a
cmp dword [esi + 0x18], 8
jb 0x42005d
mov eax, dword [esi + 4]
jmp 0x420060
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esi, 0x30
cmp esi, dword [edi + 0x34]
jne 0x420052
lea eax, [edi + 4]
cmp dword [eax + 0x14], 8
jb 0x42007a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 0
lea ecx, [edi + 0x30]
call fcn.0042c53d
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], edi
or dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.00401580
call fcn.0044339d
ret
Function at 0x42425c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469571
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x3034
call fcn.00444270
mov eax, dword [0x49e850]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
or dword [ebp - 0x3028], 0xffffffff
xor ebx, ebx
mov dword [ebp - 4], ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x3028], edi
cmp edi, 0xffffffff
jne 0x42430a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp byte [ebp + 0x14], bl
je 0x4242e2
cmp ecx, 0x20
je 0x4242db
cmp ecx, 0x21
jne 0x4242e2
xor eax, eax
jmp 0x424487
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
test eax, eax
jns 0x42430a
mov dword [ebp - 0x3038], eax
push 0x4942ac
lea eax, [ebp - 0x3038]
push eax
call fcn.00443342
push 0x2800
call fcn.0044203b
pop ecx
mov esi, eax
mov dword [ebp - 0x3040], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x302c], ebx
mov dword [ebp - 0x3024], 0x2800
lea eax, [ebp - 0x3024]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call sub.msi.dll_MsiRecordSetStringA
mov ebx, eax
mov dword [ebp - 0x3030], ebx
test ebx, ebx
je 0x424380
push 0x1004
push 0
push ebx
lea ecx, [ebp - 0x1018]
call fcn.0041fe1f
push eax
lea eax, [ebp - 0x201c]
push eax
call fcn.00442690
add esp, 0xc
push 0x494278
lea eax, [ebp - 0x201c]
jmp 0x424304
mov eax, dword [ebp - 0x3024]
test eax, eax
je 0x424414
push 0
lea ecx, [ebp - 0x303c]
push ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4243d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x4243d2
mov dword [ebp - 0x3034], ecx
push 0x4942ac
lea eax, [ebp - 0x3034]
jmp 0x424304
mov eax, dword [ebp - 0x3024]
cmp dword [ebp - 0x303c], eax
je 0x424414
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x42440e
mov dword [ebp - 0x3044], ecx
push 0x4942ac
lea eax, [ebp - 0x3044]
jmp 0x424304
mov eax, dword [ebp - 0x3024]
add dword [ebp - 0x302c], eax
test eax, eax
jne 0x424327
mov byte [ebp - 4], al
push esi
call fcn.0044212c
pop ecx
or dword [ebp - 4], 0xffffffff
jmp 0x424479
cmp edi, 0xffffffff
je 0x424485
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004423a3
leave
ret
Function at 0x4309f4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x49e850]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x12c], 0
push esi
push edi
mov esi, ecx
call fcn.0040bc77
xor edi, edi
lea eax, [ebp - 0x118]
inc edi
push eax
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x120], ecx
sub eax, 0
je 0x430adb
dec eax
je 0x430aca
dec eax
jne 0x430ae5
lea eax, [ebp - 0x154]
push eax
mov dword [ebp - 0x130], 2
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x154]
push 4
pop ecx
dec eax
je 0x430ab4
dec eax
je 0x430aa8
dec eax
jne 0x430aba
mov dword [ebp - 0x130], 5
jmp 0x430aba
mov dword [ebp - 0x130], 3
jmp 0x430aba
mov dword [ebp - 0x130], ecx
cmp dword [ebp - 0x114], ecx
jb 0x430ae5
mov dword [ebp - 0x12c], edi
jmp 0x430ae5
movzx eax, cx
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x120], eax
jmp 0x430ae5
mov dword [ebp - 0x130], 7
lea ecx, [ebp - 0x130]
push ecx
mov ecx, esi
call fcn.00432691
mov ecx, eax
call fcn.00438bb3
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004423a3
leave
ret

Function at 0x430bdf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x430c0f
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ecx + 0xd8]
mov ecx, dword [ebp + 0x10]
movzx eax, byte [esi]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [edi + eax*4]
inc esi
dec edx
jne 0x430bf7
pop edi
pop esi
jmp 0x430c12
mov ecx, dword [ebp + 0x10]
mov eax, ecx
pop ebp
ret 0xc