joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443920
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49bd05
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x4c100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x443aea
cmp word [esi], 0
je 0x443aea
lea ecx, [ebp - 0x38]
call fcn.00405e70
mov dword [ebp - 4], 0
movzx eax, word [esi]
mov edx, eax
test ax, ax
je 0x443ac3
cmp word [esi + 2], 0
je 0x4439d2
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443984
sub ecx, edi
mov eax, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
jne 0x4439d2
cmp word [esi + ecx*2 - 4], 0x3a
je 0x4439d2
lea eax, [ecx - 1]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00449140
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x4439cf
cmp dword [ebp - 0x14], esi
jne 0x4439cc
movzx eax, word [0x4a49e4]
mov esi, 0x4a49e4
jmp 0x4439d2
mov esi, dword [ebp - 0x1c]
movzx eax, word [esi]
movzx eax, ax
test ax, ax
je 0x443ac3
cmp eax, 0x5c
jne 0x4439ee
cmp word [esi + 2], 0
je 0x443ac3
cmp word [esi + 2], 0x3a
jne 0x443a12
movzx eax, word [esi + 4]
test ax, ax
je 0x443ac3
cmp eax, 0x5c
jne 0x443a12
cmp word [esi + 6], 0
je 0x443ac3
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push esi
call edi
test eax, eax
jne 0x443ac3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x443ac3
cmp eax, 3
jne 0x443abf
push 0x5c
push esi
call fcn.00478b40
mov edx, eax
add esp, 8
test edx, edx
je 0x443abf
cmp word [edx + 2], 0
jne 0x443a71
sub edx, 2
cmp edx, esi
jb 0x443abf
nop
cmp word [edx], 0x5c
je 0x443a71
sub edx, 2
cmp edx, esi
jae 0x443a60
xor esi, esi
jmp 0x443ac8
lea ecx, [ebp - 0x64]
call fcn.00405e70
mov byte [ebp - 4], 1
sub edx, esi
sar edx, 1
lea ecx, [ebp - 0x64]
push edx
push esi
call fcn.00449140
lea ecx, [ebp - 0x64]
call fcn.00448c80
mov ecx, eax
call fcn.00443920
test eax, eax
je 0x443ab3
push 0
push esi
call edi
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00405340
jmp 0x443ac8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00405340
xor esi, esi
jmp 0x443ac8
mov esi, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00405340
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x443b00
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x443b3e
cmp word [esi], 0
je 0x443b3e
test edi, edi
je 0x443b3e
cmp word [edi], 0
je 0x443b3e
push edi
push esi
call fcn.0047bdcb
add esp, 8
test eax, eax
jne 0x443b4d
mov ecx, esi
call fcn.00443c60
test eax, eax
jne 0x443b44
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
pop edi
pop esi
pop ebp
ret
Function at 0x443b60
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490e5d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x4c100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
test edi, edi
je 0x443bc0
cmp word [edi], 0
je 0x443bc0
test esi, esi
je 0x443bc0
cmp word [esi], 0
je 0x443bc0
push esi
push edi
call fcn.0047bdcb
add esp, 8
test eax, eax
jne 0x443bf3
mov ecx, edi
call fcn.00443c60
test eax, eax
jne 0x443c01
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
jne 0x443c48
lea ecx, [ebp - 0x38]
call fcn.00405e70
mov dword [ebp - 4], 0
lea edx, [ebp - 0x38]
mov ecx, esi
call fcn.00444270
mov ecx, eax
call fcn.00443920
test eax, eax
jne 0x443c17
xor esi, esi
jmp 0x443c26
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x443bc0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
mov edx, esi
mov ecx, edi
call fcn.00443b00
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00405340
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490e5d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
mov eax, dword [0x4c100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
test edx, edx
je 0x443d31
cmp word [edx], 0
je 0x443d31
lea ecx, [ebp - 0x38]
call fcn.00405e70
mov dword [ebp - 4], 0
cmp word [edx], 0
je 0x443d00
cmp word [edx + 2], 0
je 0x443d00
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443cc0
sub ecx, esi
sar ecx, 1
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x443d00
cmp word [edx + ecx*2 - 4], 0x3a
je 0x443d00
lea eax, [ecx - 1]
push eax
push edx
lea ecx, [ebp - 0x38]
call fcn.00449140
mov edx, dword [ebp - 0x2c]
test edx, edx
jne 0x443d00
cmp dword [ebp - 0x14], 0
mov edx, 0x4a49e4
cmovne edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00405340
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443d50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov word [esi], ax
lea eax, [ebp + 8]
push eax
push 1
push 0
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x443d7c
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x208
push eax
push esi
push 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
push dword [ebp + 8]
neg eax
sbb esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi + 1]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4442f0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49bde0
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x4c100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x44445f
cmp word [esi], 0
je 0x44445f
lea ecx, [ebp - 0x244]
call fcn.00405e70
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x238], 0
test eax, eax
je 0x444367
push eax
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call dword [eax + 0xc]
movzx eax, word [esi]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
cmp eax, 0x5c
je 0x4443a0
test ax, ax
je 0x4443d2
cmp word [esi + 2], 0x3a
jne 0x4443d2
cmp word [esi + 4], 0x5c
jne 0x4443d2
push 0x5c
push esi
call fcn.00478b40
add esp, 8
test eax, eax
je 0x4443d2
cmp eax, esi
jbe 0x4443be
cmp word [eax - 2], 0x3a
lea ecx, [eax - 2]
cmovne eax, ecx
sub eax, esi
lea ecx, [ebp - 0x244]
add eax, 2
sar eax, 1
push eax
push esi
call fcn.00449140
mov edi, dword [ebp - 0x238]
test edi, edi
jne 0x4443f5
cmp dword [ebp - 0x220], edi
jne 0x4443eb
mov edi, 0x4a49e4
jmp 0x4443f5
mov edi, dword [ebp - 0x228]
test edi, edi
je 0x444440
cmp word [edi], 0
je 0x444440
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x444440
cmp word [edi], 0
je 0x44441e
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp word [ebp - 0x218], 0
mov esi, eax
je 0x444449
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x444449
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.00405340
mov eax, esi
jmp 0x444461
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00477369
mov esp, ebp
pop ebp
ret
Function at 0x447470
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
test eax, eax
je 0x447547
cmp word [eax], 0
je 0x447547
push ebx
push edi
push 0x4ad108
push eax
or ebx, 0xffffffff
call fcn.00482058
mov edi, eax
add esp, 8
test edi, edi
je 0x44751a
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xffffffff
jne 0x4474cb
push 2
push 0
push edi
call fcn.0048001f
push edi
call fcn.00482a75
push 0
push 0
push edi
mov ebx, eax
call fcn.0048001f
add esp, 0x1c
test ebx, ebx
jle 0x44750a
push edi
push ebx
push 1
push ebx
mov ecx, esi
call fcn.00446e50
push eax
call fcn.004823c3
push edi
mov ebx, eax
call fcn.00482b0b
add esp, 0x14
test eax, eax
jne 0x44750e
push ebx
mov ecx, esi
call fcn.00446eb0
push edi
call fcn.0047c08f
add esp, 4
mov eax, ebx
pop edi
pop ebx
pop esi
pop ebp
ret 8
xor ebx, ebx
jmp 0x447511
or ebx, 0xffffffff
push edi
call fcn.0047c08f
add esp, 4
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x447529
mov edx, dword [esi]
push ecx
mov ecx, esi
call dword [edx + 0xc]
pop edi
mov eax, ebx
mov dword [esi + 0xc], 0
pop ebx
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
pop esi
pop ebp
ret 8
or eax, 0xffffffff
pop esi
pop ebp
ret 8
Function at 0x447550
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c07d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4c100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x30], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x30], vtable.CVolObject.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], vtable.CVolMem.0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 4], 1
mov eax, dword [ebx + 0x14]
mov esi, dword [ebp - 0x18]
lea edi, [eax*4 + 6]
mov eax, edi
cdq
idiv esi
mov eax, dword [ebp - 0x30]
sub esi, edx
add esi, edi
push esi
mov eax, dword [eax]
cmp eax, method.CWString.virtual_0
jne 0x447604
mov ecx, 0x4c51a8
call fcn.004479b0
mov dword [ebp - 0x10], eax
test eax, eax
je 0x447722
jmp 0x44760c
lea ecx, [ebp - 0x30]
call eax
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edi
mov esi, eax
mov dword [ebp - 0x24], eax
mov word [eax], cx
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebx + 0xc]
xor ebx, ebx
cmp dword [ecx + 0x14], ebx
jle 0x447654
nop dword [eax]
movzx eax, byte [edi]
push eax
push str._02X
push esi
call fcn.00442610
mov eax, dword [ebp - 0x14]
lea edi, [edi + 1]
inc ebx
add esp, 0xc
add esi, 4
cmp ebx, dword [eax + 0x14]
jl 0x447630
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x44766b
cmp dword [edi + 0x24], ecx
mov ecx, 0x4a49e4
je 0x44766b
mov ecx, dword [edi + 0x1c]
cmp eax, ecx
je 0x4476ae
mov dword [edi + 0xc], 0
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x44768a
mov eax, dword [edi + 0x10]
push ecx
lea ecx, [edi + 0x10]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
cmp word [eax], 0
je 0x4476ae
push eax
lea ecx, [edi + 0x10]
call fcn.00446f60
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x30], vtable.CVolMem.0
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x24]
test edx, edx
je 0x4476e9
mov eax, dword [ebp - 0x30]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x4476e4
mov ecx, 0x4c51a8
call fcn.00447aa0
jmp 0x4476e9
lea ecx, [ebp - 0x30]
call eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov dword [ebp - 0x30], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xffffffffffffffff
call fcn.0047b870
int3
Function at 0x44ed10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c940
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4c100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x224]
mov edi, dword [eax + 4]
push edx
or edi, 0x2001f
mov dword [ebp - 0x224], 0
push edi
push 0
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x44ee9b
mov eax, dword [ebp - 0x21c]
xor esi, esi
test eax, eax
je 0x44edc5
push eax
call ebx
mov esi, eax
mov dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x224]
and edi, 0x300
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], edi
test esi, esi
jne 0x44ee9b
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x234]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x100
push ecx
lea ecx, [ebp - 0x210]
push ecx
push esi
push eax
call edi
test eax, eax
jne 0x44ee67
nop
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0044ed10
mov esi, eax
test esi, esi
jne 0x44ee9b
lea eax, [ebp - 0x234]
mov dword [ebp - 0x220], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x21c]
call edi
test eax, eax
je 0x44ee20
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x44ee7e
push eax
call ebx
mov dword [ebp - 0x21c], 0
push dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x218], 0
call fcn.0044ec30
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x44eeb9
push eax
call ebx
mov dword [ebp - 0x21c], 0
mov eax, esi
mov dword [ebp - 0x218], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00477369
mov esp, ebp
pop ebp
ret 4
Function at 0x44f510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49caab
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x4c100c]
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 edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x44f5bc
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x44f5bc
call fcn.0044e9b0
mov edi, eax
jmp 0x44f6f1
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x44f5df
call fcn.0044e9b0
jmp 0x44f6e4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x44f5fd
call fcn.0044e9b0
jmp 0x44f6e4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x44f61e
mov edi, 0x8007000e
jmp 0x44f6e6
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], edx
test edx, edx
ja 0x44f735
jb 0x44f648
cmp eax, 0xffffffff
ja 0x44f735
cmp eax, 0x400
jbe 0x44f664
push eax
lea ecx, [ebp - 0x418]
call fcn.00451bb0
mov dword [ebp - 4], 1
jmp 0x44f698
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x44f698
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x44f6a9
mov edi, 0x8007000e
jmp 0x44f6e6
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x44f6c4
call fcn.0044e9b0
jmp 0x44f6e4
xor edx, edx
mov eax, dword [ebp - 0x418]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.00450340
mov edi, eax
test esi, esi
je 0x44f6f1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x44f70e
lea ecx, [ebp - 0x418]
call fcn.00451ba0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
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.00477369
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00439920
int3
Function at 0x452260
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cf69
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4c100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 4
mov dword [esi], vtable.CVWnd_Button.0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x2c], vtable.CVolWindowProcFilters.0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 5
mov dword [esi + 0x40], 0
mov byte [ebp - 4], 6
push 0xf
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0xff000000
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0x40], eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x453140
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d159
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4c100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 8]
mov dword [ecx + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ecx + 0x20], eax
mov dword [ebp - 4], 4
mov dword [ecx], vtable.CVWnd_Container.0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0xffffffff
mov dword [ecx + 0x2c], vtable.CVolWindowProcFilters.0
mov dword [ecx + 0x30], 0
mov byte [ebp - 4], 5
mov dword [ecx + 0x48], 0
mov byte [ebp - 4], 6
mov dword [ecx + 0x38], 0xff000000
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 1
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x44], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x458a50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x10], esi
cmp eax, edi
jge 0x458a71
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x10
xor ecx, ecx
mov eax, ecx
mov byte [esi + ecx + 0x10], cl
cdq
idiv dword [esi + 4]
mov eax, dword [esi]
mov al, byte [edx + eax]
mov byte [esi + ecx + 0x110], al
inc ecx
cmp ecx, 0x100
jl 0x458a73
mov ecx, esi
call sym.__.exe_private:_void___thiscall_CRC4::RangeState_void_
push edi
mov ecx, esi
call sym.__.exe_private:_void___thiscall_CRC4::KeyStream_int_
xor eax, eax
test edi, edi
jle 0x458b9f
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
cmp edi, 0x40
jb 0x458b82
lea ecx, [ebx - 1]
add ecx, edi
mov dword [ebp + 0x14], ecx
lea ecx, [edx - 1]
add ecx, edi
cmp ebx, ecx
ja 0x458ad5
cmp dword [ebp + 0x14], edx
jae 0x458b82
lea ecx, [esi + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [ecx]
mov dword [ebp - 8], ecx
dec ecx
add ecx, edi
cmp ebx, ecx
mov ecx, dword [ebp + 0x14]
ja 0x458af3
cmp ecx, dword [ebp - 8]
jae 0x458b82
cmp ebx, dword [ebp - 4]
ja 0x458b01
cmp ecx, dword [ebp - 4]
jae 0x458b82
mov ecx, edi
lea esi, [ebx + 0x10]
mov edi, dword [ebp - 8]
and ecx, 0xffffffc0
mov dword [ebp - 0xc], ecx
mov ecx, edx
sub ecx, ebx
mov dword [ebp + 0x14], ecx
lea ecx, [edx + 0x30]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 4], ecx
nop
mov ebx, dword [ebp - 4]
lea ecx, [esi + eax]
movups xmm0, xmmword [edi + eax]
movups xmm1, xmmword [ebx + eax - 0x30]
pxor xmm1, xmm0
movups xmm0, xmmword [edi + eax + 0x10]
movups xmmword [ecx - 0x10], xmm1
movups xmm1, xmmword [ecx + edx]
pxor xmm1, xmm0
movups xmm0, xmmword [edi + eax + 0x20]
movups xmmword [ecx], xmm1
movups xmm1, xmmword [ebx + eax - 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [ebx + eax]
movups xmmword [ecx + 0x10], xmm1
movups xmm1, xmmword [edi + eax + 0x30]
add eax, 0x40
pxor xmm1, xmm0
movups xmmword [ecx + 0x20], xmm1
mov ecx, eax
cmp eax, dword [ebp - 0xc]
jl 0x458b20
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
cmp ecx, dword [ebp + 0xc]
jge 0x458b9e
sub edx, ebx
mov dword [ebp + 8], edx
mov ecx, dword [esi + 8]
lea edx, [eax + ebx]
mov edi, dword [ebp + 8]
mov cl, byte [ecx + eax]
inc eax
xor cl, byte [edi + edx]
mov byte [edx], cl
cmp eax, dword [ebp + 0xc]
jl 0x458b87
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x487eed
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00487d63

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408e84
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7cd241c3
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xce3a34
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219