joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002789a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100278d9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100278d9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100278d9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100278d9
cmp dword [ecx + 0x74], 0xe
jbe 0x100278d9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1002a264
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1002a301
push ebx
push esi
call fcn.1002a22d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1002a1c1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002a2ae
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002a300
push edi
push eax
call fcn.10028b62
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1002a2ce
call fcn.10028bb0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002a2ff
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002a1c1
add esp, 0x20
test eax, eax
jne 0x1002a2ed
push edi
call fcn.10028bb0
jmp 0x1002a2f5
push ebx
call fcn.10028bb0
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1002a56e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10032440
push 0x10032438
push str.FlsAlloc
push 0x1f
call fcn.1002a48a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002a5a2
push dword [ebp + 8]
mov ecx, esi
call dword [0x10030150]
call esi
jmp 0x1002a5a8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002a5ec
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10032450
push 0x10032448
push str.FlsGetValue
push 0x21
call fcn.1002a48a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002a623
push dword [ebp + 8]
mov ecx, esi
call dword [0x10030150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002a62b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10032458
push 0x10032450
push str.FlsSetValue
push 0x22
call fcn.1002a48a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002a665
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10030150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1002fb70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002fb9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002fb9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402a7c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x423f10]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402af7
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
jne 0x402afe
cmp dword [ebp + 0x10], ebx
jne 0x402aeb
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402a7c
test eax, eax
jne 0x402afe
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
jmp 0x402abe
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00405e06
cmp eax, ebx
je 0x402b23
push ebx
push dword [0x423f10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402af7
cmp dword [0x423f10], ebx
jne 0x402af4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402af4
jmp 0x402af7
Function at 0x402eb2
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x402ecf
mov dword [ebp - 8], RegEnumValueA
and dword [ebp - 4], 0
mov ebx, edi
test edi, edi
jne 0x402ede
mov ebx, 0x40f01c
mov eax, dword [ebp + 8]
test eax, eax
jl 0x402ef3
mov ecx, dword [0x423eb8]
add ecx, eax
push ecx
call fcn.004030d6
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.004030a4
test eax, eax
je 0x403092
test byte [ebp + 0x17], 0x80
je 0x403038
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x40af90
mov dword [ebp - 0xc], eax
call fcn.00405ef2
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x40309a
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x402f43
mov esi, dword [ebp + 0x14]
mov edi, 0x40b01c
push esi
push edi
call fcn.004030a4
test eax, eax
je 0x403092
sub dword [ebp + 0x14], esi
mov dword [0x40afa8], edi
mov dword [0x40afac], esi
mov eax, dword [ebp - 8]
mov ecx, 0x40af90
mov dword [0x40afb0], ebx
mov dword [0x40afb4], eax
call fcn.00405f14
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x403030
mov esi, dword [0x40afb0]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x423f14], 1
mov edi, eax
je 0x402fe5
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x402fb2
cmp dword [ebp + 0x14], 0
jne 0x402fe5
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x54]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push 0
call fcn.00404e23
mov dword [ebp - 0xc], edi
xor eax, eax
cmp esi, eax
je 0x403025
cmp dword [ebp + 0x10], eax
jne 0x40300e
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403034
cmp dword [ebp - 0x10], esi
jne 0x403034
add dword [ebp - 4], esi
jmp 0x40301a
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x40afb0]
cmp dword [ebp - 0x14], 1
je 0x40309a
jmp 0x402f66
cmp dword [ebp + 0x14], eax
jg 0x402f36
jmp 0x40309a
push 0xfffffffffffffffc
jmp 0x403094
push 0xfffffffffffffffe
jmp 0x403094
test edi, edi
jne 0x40307f
cmp dword [ebp + 0x14], 0
jle 0x40309a
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x40304d
mov esi, dword [ebp + 0x14]
mov edi, 0x40b01c
push esi
push edi
call fcn.004030a4
test eax, eax
je 0x403092
lea eax, [ebp + 0x10]
push 0
push eax
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403034
cmp esi, dword [ebp + 0x10]
jne 0x403034
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
jmp 0x40303c
cmp dword [ebp + 0x14], esi
jge 0x403087
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.004030a4
test eax, eax
jne 0x403097
push 0xfffffffffffffffd
pop eax
jmp 0x40309d
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4052ef
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x422468], 0x44
push eax
xor eax, eax
push 0x422468
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40532a
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x4053d0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.00405686
test byte [ebp + 0xc], 8
mov dword [ebp - 8], eax
je 0x405404
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x423ee8], eax
jmp 0x40559d
push ebx
mov ebx, dword [ebp + 0xc]
and ebx, 1
mov dword [ebp - 4], ebx
je 0x405422
test eax, eax
je 0x405548
test byte [ebp + 0xc], 2
je 0x405548
mov esi, 0x421468
push edi
push esi
call fcn.00405aba
test ebx, ebx
je 0x40543f
push str..
push esi
call fcn.00405add
jmp 0x405445
push edi
call fcn.004055ea
cmp byte [edi], 0
jne 0x405453
cmp byte [0x421468], 0x5c
jne 0x40545e
push 0x409010
push edi
call fcn.00405add
push edi
call fcn.00405ad0
mov ebx, eax
lea eax, [ebp - 0x148]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x40553e
lea eax, [ebp - 0x11c]
push 0x3f
push eax
lea esi, [ebp - 0x11c]
call fcn.004055ce
cmp byte [eax], 0
je 0x4054a4
cmp byte [ebp - 0x18], 0
je 0x4054a4
lea esi, [ebp - 0x18]
mov al, byte [esi]
cmp al, 0x2e
jne 0x4054bf
cmp byte [esi + 1], 0
je 0x40551d
cmp al, al
jne 0x4054bf
cmp byte [esi + 1], al
jne 0x4054bf
cmp byte [esi + 2], 0
je 0x40551d
push esi
push ebx
call fcn.00405aba
test byte [ebp - 0x148], 0x10
je 0x4054e4
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x40551d
push dword [ebp + 0xc]
push edi
call fcn.004053d0
jmp 0x40551d
push edi
call fcn.00405770
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x405515
test byte [ebp + 0xc], 4
je 0x40550d
push edi
push 0xfffffffffffffff1
call fcn.00404e23
push 0
push edi
call fcn.00405807
jmp 0x40551d
inc dword [0x423ee8]
jmp 0x40551d
push edi
push 0xfffffffffffffff2
call fcn.00404e23
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405482
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0
je 0x405548
and byte [ebx - 1], 0
xor esi, esi
pop ebx
cmp dword [ebp - 4], esi
je 0x40559d
cmp dword [ebp - 8], esi
jne 0x40555d
inc dword [0x423ee8]
jmp 0x40559d
push edi
call fcn.00405ddf
test eax, eax
je 0x40559d
push edi
call fcn.004055a3
push edi
call fcn.00405770
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x405595
test byte [ebp + 0xc], 4
je 0x405555
push edi
push 0xfffffffffffffff1
call fcn.00404e23
push esi
push edi
call fcn.00405807
jmp 0x40559d
push edi
push 0xffffffffffffffe5
call fcn.00404e23
pop edi
pop esi
leave
ret 8
Function at 0x405686
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x421868
push esi
call fcn.00405aba
push esi
call fcn.00405637
mov edi, eax
test edi, edi
jne 0x4056a7
xor eax, eax
jmp 0x4056f9
push edi
call fcn.00405d46
test byte [0x423e78], 0x80
je 0x4056c0
mov al, byte [edi]
test al, al
je 0x4056a3
cmp al, 0x5c
je 0x4056a3
sub edi, esi
push esi
call fcn.00405ad0
cmp eax, edi
push esi
jle 0x4056e3
call fcn.00405ddf
test eax, eax
je 0x4056db
test byte [eax], 0x10
je 0x4056a3
push esi
call fcn.004055ea
jmp 0x4056c2
call fcn.004055a3
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405770
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40578c
and al, 0xfe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 4

Function at 0x40578f
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x4057be
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x63
pop edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x405803
mov eax, edi
dec edi
test eax, eax
jne 0x4057c9
and byte [esi], al
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x4057fd
Function at 0x405807
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.00405e06
test eax, eax
mov esi, dword [esp + 0x18]
je 0x40582b
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x405964
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x4225f0], 0x4c554e
test esi, esi
mov edi, 0x400
mov ebp, 0x4225f0
je 0x40586f
push 1
push 0
push esi
call fcn.0040578f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x40596a
cmp eax, edi
jg 0x40596a
mov esi, 0x422068
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x40596a
cmp eax, edi
jg 0x40596a
push esi
push ebp
push str._s_s_r_n
push 0x421c68
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x423e70]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405aee
push 4
push 0xc0000000
push esi
call fcn.0040578f
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x405964
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40595d
lea eax, [esp + 0x18]
push 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40595d
cmp edi, dword [esp + 0x18]
jne 0x40595d
push str._Rename__r_n
push esi
call fcn.004056fe
test eax, eax
jne 0x405971
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call fcn.00405aba
add edi, 0xa
mov eax, edi
push ebx
add eax, esi
push 0x421c68
push eax
call fcn.0040574a
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x18]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x423ef0]
pop edi
pop esi
pop ebp
pop ebx
ret 8
add eax, 0xa
push 0x409330
push eax
call fcn.004056fe
test eax, eax
je 0x405928
inc eax
lea ecx, [esi + edi]
cmp eax, ecx
mov ebp, eax
jae 0x405998
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x40598d
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x40592a
Function at 0x4059a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov byte [esi], bl
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405a11
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x400
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405a00
cmp dword [ebp + 0x14], 1
je 0x405a02
cmp dword [ebp + 0x14], 2
je 0x405a02
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x3ff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x405e7c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x4229f4], esi
push edi
jne 0x405eb6
mov ecx, 0x4229f0
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405e92
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422df0
jl 0x405e8d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405eeb
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4229f0]
xor eax, esi
inc ecx
dec edx
jne 0x405ece
pop edi
pop esi
not eax
ret 0xc
Function at 0x4269c9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x426a08
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x426a08
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x426a08
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x426a08
cmp dword [ecx + 0x74], 0xe
jbe 0x426a08
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x438db0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x438ddd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x438ddd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x3dbc6e67
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x791d1d0c
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x407ef8
nop
mov ecx, 0x7fa31d5e
nop
nop
nop
nop
nop
test eax, eax
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..rsrc
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x43891068
nop
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4012eb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x42c0cc], 1
mov dword [0x42c0d0], 1
mov dword [0x42c0d4], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40132c
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40134f
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x401371
cmp eax, 0x20b
je 0x401396
jmp 0x4013c1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x401383
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x4013ae
mov eax, 0
jmp 0x4013c6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4013c6
mov eax, 0
leave
ret
Function at 0x407e60
Capabilities:
Create directory

Disassembly:
push esi
push ebx
push eax
mov eax, 0x2010
call fcn.0040efc8
sub esp, eax
mov eax, dword [esp + eax]
mov esi, eax
mov eax, dword [0x42c0a0]
test eax, eax
je 0x407f00
xor ebx, ebx
test eax, eax
jg 0x407e9b
jmp 0x407eb8
add ebx, 1
cmp dword [0x42c0a0], ebx
jle 0x407eb8
mov eax, dword [ebx*4 + 0x42b0a0]
mov dword [esp], esi
mov dword [esp + 4], eax
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x407e90
jmp 0x407ef2
mov dword [esp], esi
call sub.msvcrt.dll_wcslen
cmp eax, 2
jne 0x407ecc
cmp word [esi + 2], 0x3a
je 0x407ef2
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
sub esp, 8
test eax, eax
je 0x407f48
mov ebx, dword [0x42c0a0]
cmp ebx, 0x3ff
jle 0x407f60
mov eax, 1
add esp, 0x2014
pop ebx
pop esi
ret
mov ecx, 0x1000
mov edx, str.HOME
lea eax, [esp + 0x10]
call fcn.00407710
test al, al
je 0x407f7b
lea eax, [esp + 0x10]
mov ebx, dword [0x42c0a0]
mov dword [esp], eax
call sub.msvcrt.dll__wcsdup
mov dword [ebx*4 + 0x42b0a0], eax
mov eax, dword [0x42c0a0]
add eax, 1
mov dword [0x42c0a0], eax
jmp 0x407e81
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x407ee4
xor eax, eax
jmp 0x407ef7
mov dword [esp], esi
call sub.msvcrt.dll__wcsdup
add dword [0x42c0a0], 1
mov dword [ebx*4 + 0x42b0a0], eax
jmp 0x407ef2
mov eax, str.HOME
call fcn.00407d90
lea esi, [esi]
lea esi, [esi]

Function at 0x408110
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [0x424040]
test eax, eax
je 0x408149
mov dword [esp + 4], 0x1388
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
test eax, eax
jne 0x408160
mov eax, dword [0x424040]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
cmp byte [0x429080], 0
jne 0x408180
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x424040]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
sub esp, 8
jmp 0x408138
mov edx, 0x414
lea edi, [esp + 0x12]
mov dword [esp + 0x12], 0
mov esi, dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [esp + 0x16], 3
mov ebx, 0x14
mov dword [esp + 0x1a], 0x4290a0
mov dword [esp + 0x1e], 0x41713c
mov word [esp + 0x22], dx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x41713c
mov dword [esp], edi
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
sub esp, 4
jmp 0x408253
test al, 0x10
je 0x408152
mov dword [esp], 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 0x414
sub esp, 4
mov dword [esp + 0x12], 0
mov dword [esp + 0x16], 3
mov dword [esp + 0x1a], 0x4290a0
mov dword [esp + 0x1e], 0x41713c
mov word [esp + 0x22], ax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x41713c
mov dword [esp], edi
call esi
sub esp, 4
sub ebx, 1
je 0x408152
mov dword [esp], 0x4290a0
call ebp
sub esp, 4
cmp eax, 0xffffffff
jne 0x4081e8
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret