joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4037c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0x28
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4037ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4038d7
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40380c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4038d7
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 8]
call fcn.004092e0
push 0
push 0
push 0x80
push 2
push 0
push 0xc0000000
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 8]
call fcn.00409300
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x403860
mov eax, dword [ebp - 0x14]
and eax, 0xffff
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 8]
call fcn.004093d0
mov eax, dword [ebp - 0x24]
jmp 0x4038d7
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
call fcn.00409380
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x4038ba
mov ecx, dword [ebp - 0x14]
and ecx, 0xffff
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 8]
call fcn.004093d0
mov eax, dword [ebp - 0x28]
jmp 0x4038d7
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
jne 0x403877
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 8]
call fcn.004093d0
mov eax, dword [ebp - 0x2c]
mov esp, ebp
pop ebp
ret
Function at 0x403a10
Capabilities:
Check if file exists
Delete directory
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41aac7
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x421150]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x403a4f
jmp 0x403bbf
lea ecx, [ebp - 0x268]
call fcn.00401d40
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
push 0x41c548
lea edx, [ebp - 0x268]
push edx
call fcn.00402ab0
add esp, 0xc
mov dword [ebp - 0x264], 0
push 0x24c
push 0
lea eax, [ebp - 0x260]
push eax
call fcn.0040d9b0
add esp, 0xc
lea ecx, [ebp - 0x264]
push ecx
lea ecx, [ebp - 0x268]
call fcn.004094c0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x403ba3
push 0x41c554
lea edx, [ebp - 0x238]
push edx
call fcn.0040e39f
add esp, 8
test eax, eax
je 0x403aef
push 0x41c558
lea eax, [ebp - 0x238]
push eax
call fcn.0040e39f
add esp, 8
test eax, eax
jne 0x403af4
jmp 0x403b80
lea ecx, [ebp - 0x26c]
call fcn.00401d40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp + 8]
push edx
push str._s_s
lea eax, [ebp - 0x26c]
push eax
call fcn.00402ab0
add esp, 0x10
lea ecx, [ebp - 0x26c]
call fcn.004094c0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0x10
je 0x403b5f
push 0x41c56c
lea ecx, [ebp - 0x26c]
call fcn.00401e20
lea ecx, [ebp - 0x26c]
call fcn.004094c0
push eax
call fcn.00403a10
add esp, 4
jmp 0x403b71
lea ecx, [ebp - 0x26c]
call fcn.004094c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x26c]
call fcn.00401de0
lea ecx, [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x403abf
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x268]
call fcn.00401de0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040de10
mov esp, ebp
pop ebp
ret
Function at 0x40a030
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ae18
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x421150]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov word [ebp - 0x22c], ax
push 0x206
push 0
lea ecx, [ebp - 0x22a]
push ecx
call fcn.0040d9b0
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00401d40
mov dword [ebp - 4], 0
push 0x104
push 1
push 0x104
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x23c]
call fcn.00408d60
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
call fcn.00408e00
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x23c]
call fcn.00408de0
cmp dword [ebp - 0x14], 0
je 0x40a0d9
cmp dword [ebp - 0x14], 0x104
jbe 0x40a0fa
mov byte [ebp - 0x23d], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov al, byte [ebp - 0x23d]
jmp 0x40a23d
lea ecx, [ebp - 0x10]
call fcn.004094c0
push eax
push 0x104
lea eax, [ebp - 0x22c]
push eax
call fcn.0040b320
test eax, eax
jl 0x40a132
push str.MSI.DLL
push 0x104
lea ecx, [ebp - 0x22c]
push ecx
call fcn.0040b370
test eax, eax
jge 0x40a153
mov byte [ebp - 0x23e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov al, byte [ebp - 0x23e]
jmp 0x40a23d
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x40a190
mov byte [ebp - 0x23f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov al, byte [ebp - 0x23f]
jmp 0x40a23d
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x22c]
push edx
call fcn.0040bb20
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40a1d9
mov byte [ebp - 0x240], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov al, byte [ebp - 0x240]
jmp 0x40a23d
mov eax, dword [ebp - 0x18]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
imul ecx, ecx, 0x64
mov edx, dword [ebp - 0x18]
and edx, 0xffff
movzx eax, dx
add ecx, eax
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp + 8]
jae 0x40a221
mov byte [ebp - 0x241], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov al, byte [ebp - 0x241]
jmp 0x40a23d
mov byte [ebp - 0x242], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401de0
mov al, byte [ebp - 0x242]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0040de10
mov esp, ebp
pop ebp
ret
Function at 0x40aca0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ae48
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push esi
mov eax, dword [0x421150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
push 0x10
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.0040d9b0
add esp, 0xc
push 0x44
push 0
lea ecx, [ebp - 0x74]
push ecx
call fcn.0040d9b0
add esp, 0xc
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x48], 1
mov edx, 5
mov word [ebp - 0x44], dx
mov eax, dword [ebp + 8]
push eax
call fcn.0040de9d
add esp, 4
mov esi, eax
push 0x41d0d4
call fcn.0040de9d
add esp, 4
lea ecx, [esi + eax + 3]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040d2a9
add esp, 4
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x10]
call fcn.004093f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004094c0
test eax, eax
jne 0x40ad70
mov dword [ebp - 0x28], 0xe
jmp 0x40ae40
push 0x41d100
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004094c0
push eax
call fcn.0040b320
test eax, eax
jl 0x40addb
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
call fcn.004094c0
push eax
call fcn.0040b370
test eax, eax
jl 0x40addb
push 0x41d104
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004094c0
push eax
call fcn.0040b370
test eax, eax
jl 0x40addb
push 0x41d0d4
mov edx, dword [ebp - 0x24]
push edx
lea ecx, [ebp - 0x10]
call fcn.004094c0
push eax
call fcn.0040b370
test eax, eax
jge 0x40ade4
mov dword [ebp - 0x28], 0x643
jmp 0x40ae40
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x74]
push ecx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.004094c0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40ae1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
jmp 0x40ae40
mov edx, dword [ebp - 0x20]
push edx
call fcn.0040b0b0
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x40ae32
jmp 0x40ae40
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x20], 0
je 0x40ae50
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x40ae60
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040b2f0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40ae90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ae6b
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push esi
mov eax, dword [0x421150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
push 0x10
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.0040d9b0
add esp, 0xc
push 0x44
push 0
lea ecx, [ebp - 0x74]
push ecx
call fcn.0040d9b0
add esp, 0xc
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x48], 1
mov edx, 5
mov word [ebp - 0x44], dx
mov eax, dword [ebp + 8]
push eax
call fcn.0040de9d
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0040de9d
add esp, 4
lea edx, [esi + eax + 9]
mov dword [ebp - 0x24], edx
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040d2a9
add esp, 4
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x10]
call fcn.004093f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004094c0
test eax, eax
jne 0x40af5f
mov dword [ebp - 0x28], 0xe
jmp 0x40b068
push 0x41d108
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004094c0
push eax
call fcn.0040b320
test eax, eax
jl 0x40b003
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
call fcn.004094c0
push eax
call fcn.0040b370
test eax, eax
jl 0x40b003
push 0x41d10c
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004094c0
push eax
call fcn.0040b370
test eax, eax
jl 0x40b003
push 0x41d110
mov edx, dword [ebp - 0x24]
push edx
lea ecx, [ebp - 0x10]
call fcn.004094c0
push eax
call fcn.0040b370
test eax, eax
jl 0x40b003
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004094c0
push eax
call fcn.0040b370
test eax, eax
jl 0x40b003
push 0x41d11c
mov edx, dword [ebp - 0x24]
push edx
lea ecx, [ebp - 0x10]
call fcn.004094c0
push eax
call fcn.0040b370
test eax, eax
jge 0x40b00c
mov dword [ebp - 0x28], 0x643
jmp 0x40b068
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x74]
push ecx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.004094c0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40b043
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x28], eax
jmp 0x40b068
mov edx, dword [ebp - 0x20]
push edx
call fcn.0040b0b0
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x40b05a
jmp 0x40b068
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x20], 0
je 0x40b078
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x40b088
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040b2f0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b3d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ae98
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x421150]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40b495
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40b495
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
shr eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040bf80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0040bfe0
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00402280
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0040bfc0
mov eax, dword [ebp - 0x3c]
jmp 0x40b49a
mov eax, 0x716
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040de10
mov esp, ebp
pop ebp
ret

Function at 0x40ba30
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push str.Global_MSISETUP_2956EBA1_9B5A_4679_8618_357136DA66CA
lea ecx, [ebp - 4]
call fcn.00401d60
lea ecx, [ebp - 4]
call fcn.004094c0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
je 0x40ba70
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40ba81
mov byte [ebp - 5], 1
lea ecx, [ebp - 4]
call fcn.00401de0
mov al, byte [ebp - 5]
jmp 0x40ba90
mov byte [ebp - 6], 0
lea ecx, [ebp - 4]
call fcn.00401de0
mov al, byte [ebp - 6]
mov esp, ebp
pop ebp
ret
Function at 0x40bb20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40bbdb
mov edx, dword [ebp - 0x18]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x40bb7f
mov dword [ebp - 0x20], 8
jmp 0x40bbe4
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40bbcc
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0x41d198
mov eax, dword [ebp - 0x1c]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40bbca
cmp dword [ebp - 0x10], 0
je 0x40bbca
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
jmp 0x40bbd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
jmp 0x40bbe4
jmp 0x40bbe4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
je 0x40bbf4
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp + 0xc], 0
je 0x40bc02
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
cmp dword [ebp + 0x10], 0
je 0x40bc10
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret

Function at 0x40bcf0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x421150]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push 0x110
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.0040d9b0
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jae 0x40bd47
xor al, al
jmp 0x40bd8e
push 0
push 2
push 5
call fcn.0040bc20
add esp, 0xc
movzx edx, al
test edx, edx
jne 0x40bd86
push 0
push 1
push 5
call fcn.0040bc20
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x40bd86
push 3
push 0
push 5
call fcn.0040bc20
add esp, 0xc
movzx ecx, al
test ecx, ecx
je 0x40bd8c
mov al, 1
jmp 0x40bd8e
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040de10
mov esp, ebp
pop ebp
ret
Function at 0x40de10
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x421150]
jne 0x40de1a
repz ret
jmp fcn.004117bc

Function at 0x4188f9
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.004111a8
and dword [ebp - 4], 0
cmp dword [0x422ad4], 0
mov ebx, eax
jne 0x4189aa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x418a5b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x418a5b
push eax
call fcn.00411136
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x422ad4], eax
call esi
push eax
call fcn.00411136
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x422ad8], eax
call esi
push eax
call fcn.00411136
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x422adc], eax
call esi
push eax
call fcn.00411136
pop ecx
mov dword [0x422ae4], eax
test eax, eax
je 0x4189aa
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00411136
pop ecx
mov dword [0x422ae0], eax
mov eax, dword [0x422ae0]
cmp eax, ebx
je 0x418a02
cmp dword [0x422ae4], ebx
je 0x418a02
push eax
call fcn.004111b1
push dword [0x422ae4]
mov esi, eax
call fcn.004111b1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x418a02
test edi, edi
je 0x418a02
call esi
test eax, eax
je 0x4189f9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4189f9
test byte [ebp - 0xc], 1
jne 0x418a02
or dword [ebp + 0x10], 0x200000
jmp 0x418a3b
mov eax, dword [0x422ad8]
cmp eax, ebx
je 0x418a3b
push eax
call fcn.004111b1
pop ecx
test eax, eax
je 0x418a3b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x418a3b
mov eax, dword [0x422adc]
cmp eax, ebx
je 0x418a3b
push eax
call fcn.004111b1
pop ecx
test eax, eax
je 0x418a3b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x422ad4]
call fcn.004111b1
pop ecx
test eax, eax
je 0x418a5b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x418a5d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x3489458d
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x150
mov eax, dword [0x34893850]
xor eax, esp
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x154]
push ebx
push esi
push edi
lea esi, [eax + 0x1b2]
mov ecx, 0x41
lea edi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
mov cl, byte [esp + 0x54]
mov dword [esp + 0x10], eax
or ebx, 0xffffffff
xor eax, eax
test cl, cl
lea esi, [esp + 0x54]
je 0x34894602
mov dl, cl
cmp cl, 0x5c
je 0x348945e6
cmp cl, 0x2f
je 0x348945e6
cmp cl, 0x2e
jne 0x348945e8
mov eax, esi
jmp 0x348945e8
xor eax, eax
movzx ecx, dl
movsx edx, byte [ecx + 0x348cafe0]
lea esi, [esi + edx + 1]
mov dl, byte [esi]
mov cl, dl
test cl, cl
jne 0x348945d3
test eax, eax
jne 0x34894604
mov eax, esi
lea ecx, [eax + 4]
lea edx, [esp + 0x158]
cmp ecx, edx
jb 0x3489461c
mov eax, 0xfffffc01
jmp 0x3489473a
push ebp
mov ebp, dword [esp + 0x168]
mov byte [eax], 0x2e
mov byte [eax + 1], 0x6c
mov byte [eax + 2], 0x64
mov byte [eax + 3], 0x62
xor eax, eax
test ebp, ebp
mov byte [ecx], 0
sete al
lea ecx, [esp + 0x10]
push ecx
push 0x42
lea edx, [esp + 0x60]
push edx
mov edi, eax
call fcn.348c48f2
mov esi, eax
test esi, esi
jge 0x348946ad
lea esp, [esp]
cmp esi, 0xfffff8ed
jne 0x348946f5
test edi, edi
jne 0x34894737
lea eax, [esp + 0x10]
push eax
push 0x8000
lea ecx, [esp + 0x60]
push ecx
call fcn.348c48f2
mov esi, eax
test esi, esi
jl 0x348946f5
mov edx, dword [esp + 0x10]
push edx
call fcn.348c4b7a
lea eax, [esp + 0x10]
push eax
push 0x42
lea ecx, [esp + 0x60]
push ecx
mov edi, 1
call fcn.348c48f2
mov esi, eax
test esi, esi
jl 0x34894659
test ebp, ebp
je 0x3489479e
call sub.kernel32.dll_GetTickCount
mov edi, eax
mov ebx, 1
cmp byte [ebx + ebp + 0x700], 0
jne 0x348946e8
mov eax, dword [esp + 0x10]
push 1
lea edx, [ebx + 0x10000000]
push edx
push eax
call fcn.348c4bc1
mov esi, eax
cmp esi, 0xfffffbff
jne 0x34894704
add ebx, 1
cmp ebx, 0x100
jl 0x348946c1
jmp 0x3489470c
cmp esi, 0xfffffbf8
jne 0x34894737
mov eax, 0xfffffbf9
jmp 0x34894739
cmp ebx, 0x100
jb 0x34894729
call sub.kernel32.dll_GetTickCount
sub eax, edi
cmp eax, 0x1388
jb 0x348946bc
cmp ebx, 0x100
jb 0x34894729
mov esi, 0xfffffbdd
jmp 0x3489472d
test esi, esi
je 0x34894754
mov ecx, dword [esp + 0x10]
push ecx
call fcn.348c4b7a
mov eax, esi
pop ebp
mov ecx, dword [esp + 0x158]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.348c86f8
add esp, 0x150
ret 8
lea edx, [esp + 0x18]
push edx
call fcn.348c4c15
test eax, eax
je 0x34894767
mov byte [esp + 0x18], 0
mov ecx, dword [0x348ebb48]
push 0x20
lea eax, [esp + 0x3c]
mov byte [esp + 0x3b], 0
mov edx, dword [ecx]
push eax
push edx
call fcn.348c764b
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ebx
push ecx
call fcn.348c4ca9
mov esi, eax
test esi, esi
jge 0x3489479e
mov edx, dword [esp + 0x10]
push edx
jmp 0x34894732
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov byte [eax + 0x128], bl
xor eax, eax
jmp 0x34894739