joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000673f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x1001cf10]
xor eax, ebp
mov dword [ebp + 0x8c], eax
mov eax, dword [ebp + 0x98]
push ebx
push esi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x9c]
mov ebx, dword [eax]
and dword [edi], 0
push eax
push dword [ebp - 0x78]
mov esi, ecx
push edi
push 0
push dword [esi*4 + 0x1001c618]
mov dword [ebp - 0x80], edx
push edx
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x10006793
cmp dword [edi], 1
je 0x100067df
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push edi
push 0
push dword [esi*4 + 0x1001c61c]
mov dword [ebp - 0x7c], pe_nt_image_headers32
push dword [ebp - 0x80]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x100067e1
cmp dword [edi], 1
je 0x100067c5
mov eax, 0x3f2
jmp 0x100067e1
shr ebx, 1
push ebx
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
push 0xffffffffffffffff
push eax
push 8
push 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
test eax, eax
jle 0x100067be
xor eax, eax
mov ecx, dword [ebp + 0x8c]
pop esi
xor ecx, ebp
pop ebx
call fcn.100122d0
add ebp, 0x90
leave
ret
Function at 0x10006ed9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xe0
mov eax, dword [0x1001cf10]
xor eax, ebp
mov dword [ebp + 0x74], eax
push edi
lea eax, [ebp - 0x5c]
push eax
push 0x20019
xor edi, edi
and dword [ebp - 0x5c], edi
push edi
push str.SystemCurrentControlSetControlTimeZoneInformation
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10006f4f
and dword [ebp - 0x60], edi
push ebx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x60]
push eax
push edi
push str.ActiveTimeBias
push dword [ebp - 0x5c]
mov dword [ebp - 0x64], 4
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov ebx, eax
test ebx, ebx
jne 0x10006f41
mov edi, dword [ebp - 0x68]
push dword [ebp - 0x5c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
test ebx, ebx
pop ebx
je 0x10006f61
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.kernel32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x10006f61
mov edi, dword [ebp - 0x58]
lea eax, [ebp + 0x54]
push eax
mov eax, edi
call fcn.100067f8
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.msvcr100.dll__strdup]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop edi
call fcn.100122d0
add ebp, 0x78
leave
ret

Function at 0x10007644
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.advapi32.dll_CryptAcquireContextA]
push edi
xor ebx, ebx
push ebx
push 1
push ebx
mov edi, str.J2SE
push edi
lea eax, [ebp - 8]
push eax
mov byte [ebp - 1], bl
call esi
test eax, eax
jne 0x1000767f
push 8
push 1
push ebx
push edi
lea eax, [ebp - 8]
push eax
call esi
test eax, eax
jne 0x1000767f
xor al, al
jmp 0x100076d4
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0x2ac]
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 8], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x2e0]
mov edi, eax
cmp edi, ebx
je 0x100076c7
push edi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_CryptGenRandom]
test eax, eax
je 0x100076b9
mov byte [ebp - 1], 1
mov eax, dword [esi]
push ebx
push edi
push dword [ebp + 0x10]
push esi
call dword [eax + 0x300]
push ebx
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_CryptReleaseContext]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 0xc

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

Disassembly:
push esi
push dword [0x1001cf68]
push dword [esp + 0x14]
push dword [esp + 0x10]
call fcn.1000a207
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10007e43
xor al, al
jmp 0x10007e74
push ebx
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
push eax
push esi
call fcn.1000d480
push esi
mov ebx, eax
call dword [sym.imp.msvcr100.dll_free]
add esp, 0xc
cmp ebx, 0xffffffff
je 0x10007e83
mov eax, dword [esp + 0x18]
dec eax
je 0x10007e71
dec eax
je 0x10007e78
dec eax
dec eax
jne 0x10007e83
mov al, 1
pop ebx
pop esi
ret 0x10
mov al, 1
test bl, 0x10
jne 0x10007e73
test al, bl
je 0x10007e73
xor al, al
jmp 0x10007e73
Function at 0x10007e87
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x14], 4
push edi
mov byte [ebp - 1], 0
je 0x10007f2d
cmp dword [ebp + 0x14], 1
je 0x10007f2d
push dword [0x1001cf68]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.1000a207
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10007ec2
xor al, al
jmp 0x10007f30
push esi
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
push edi
call esi
cmp eax, 0xffffffff
je 0x10007f1f
push ebx
test eax, 0x400
je 0x10007ef7
push edi
push dword [ebp + 8]
call fcn.1000773c
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x10007f1e
push edi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
push ebx
mov edi, ebx
call esi
cmp eax, 0xffffffff
je 0x10007f1e
test al, 0x10
jne 0x10007f1e
cmp byte [ebp + 0x18], 0
je 0x10007f0b
and eax, 0xfffffffe
jmp 0x10007f0e
or eax, 1
push eax
push edi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x10007f1e
mov byte [ebp - 1], 1
pop ebx
push edi
call dword [sym.imp.msvcr100.dll_free]
mov al, byte [ebp - 1]
pop ecx
pop esi
jmp 0x10007f30
mov al, byte [ebp + 0x18]
pop edi
leave
ret 0x18

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

Disassembly:
push esi
push edi
xor edi, edi
push edi
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.1000d480
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x100080a7
xor al, al
jmp 0x10008123
push esi
call fcn.1000d480
pop ecx
test eax, eax
je 0x100080bc
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x100080a3
push edi
push 0x200080
push 1
push edi
push 3
push 0xc0000000
push esi
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10008112
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
cmp edi, 0x50
je 0x100080b2
cmp edi, 0xb7
je 0x100080b2
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100080b2
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
push str.Could_not_open_file
push dword [esp + 0x10]
call sym.java.dll__JNU_ThrowIOExceptionWithLastError_8
jmp 0x100080b2
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
ret 0xc

Function at 0x10008128
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push dword [0x1001cf68]
xor bl, bl
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.1000a207
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1000814c
xor al, al
jmp 0x1000818c
push 0x80
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10008182
push esi
test al, 0x10
je 0x10008171
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
jmp 0x10008177
call dword [sym.imp.kernel32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x10008182
mov bl, 1
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
mov al, bl
pop esi
pop ebx
ret 0xc
Function at 0x10008435
Capabilities:
Create directory

Disassembly:
push esi
push dword [0x1001cf68]
push dword [esp + 0x14]
push dword [esp + 0x10]
call fcn.1000a207
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10008456
xor al, al
jmp 0x10008470
push edi
push 0
push esi
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
push esi
mov edi, eax
call dword [sym.imp.msvcr100.dll_free]
test edi, edi
pop ecx
setne al
pop edi
pop esi
ret 0xc

Function at 0x10008474
Capabilities:
Move file

Disassembly:
push ebx
push esi
push edi
push dword [0x1001cf68]
xor bl, bl
push dword [esp + 0x1c]
push dword [esp + 0x18]
call fcn.1000a207
push dword [0x1001cf68]
mov esi, eax
push dword [esp + 0x2c]
push dword [esp + 0x24]
call fcn.1000a207
add esp, 0x18
mov edi, eax
test esi, esi
je 0x100084d0
test edi, edi
je 0x100084d0
push edi
push esi
call dword [sym.imp.msvcr100.dll__wrename]
pop ecx
pop ecx
test eax, eax
jne 0x100084be
inc bl
push esi
mov esi, dword [sym.imp.msvcr100.dll_free]
call esi
push edi
call esi
pop ecx
pop ecx
mov al, bl
jmp 0x100084d2
xor al, al
pop edi
pop esi
pop ebx
ret 0x10

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

Disassembly:
push ecx
push esi
push dword [0x1001cf68]
mov byte [esp + 0xb], 0
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.1000a207
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10008599
xor al, al
jmp 0x100085fa
push ebx
push ebp
mov ebp, dword [sym.imp.kernel32.dll_GetFileAttributesW]
push esi
call ebp
mov ebx, dword [sym.imp.msvcr100.dll_free]
cmp eax, 0xffffffff
je 0x100085f0
push edi
test eax, 0x400
je 0x100085d2
push esi
push dword [esp + 0x1c]
call fcn.1000773c
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100085ef
push esi
call ebx
pop ecx
push edi
mov esi, edi
call ebp
cmp eax, 0xffffffff
je 0x100085ef
test al, 0x10
jne 0x100085ef
or eax, 1
push eax
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x100085ef
mov byte [esp + 0x13], 1
pop edi
push esi
call ebx
mov al, byte [esp + 0x13]
pop ecx
pop ebp
pop ebx
pop esi
pop ecx
ret 0xc
Function at 0x1000866a
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x7a0]
sub esp, 0x820
mov eax, dword [0x1001cf10]
xor eax, ebp
mov dword [ebp + 0x79c], eax
mov ecx, dword [ebp + 0x7b0]
mov eax, dword [ebp + 0x7a8]
push ebx
push esi
push edi
push dword [0x1001cf68]
xor esi, esi
push ecx
push eax
xor edi, edi
call fcn.1000a207
add esp, 0xc
mov ebx, eax
push 0x400
lea eax, [ebp - 0x68]
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetVolumePathNameW]
test eax, eax
je 0x100086fe
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x100086fe
mov eax, dword [ebp + 0x7b4]
sub eax, edi
je 0x100086f8
dec eax
je 0x100086f0
dec eax
jne 0x100086fe
mov esi, dword [ebp - 0x80]
mov edi, dword [ebp - 0x7c]
jmp 0x100086fe
mov esi, dword [ebp - 0x70]
mov edi, dword [ebp - 0x6c]
jmp 0x100086fe
mov esi, dword [ebp - 0x78]
mov edi, dword [ebp - 0x74]
push ebx
call dword [sym.imp.msvcr100.dll_free]
pop ecx
mov ecx, dword [ebp + 0x79c]
mov edx, edi
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.100122d0
add ebp, 0x7a0
leave
ret 0x10

Function at 0x100088a2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
xor edi, edi
push edi
push dword [ebp + 0x14]
push esi
call dword [eax + 0x2e0]
mov dword [ebp + 8], eax
cmp eax, edi
jne 0x100088ca
xor eax, eax
jmp 0x10008985
push ebx
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExA]
lea ecx, [ebp - 4]
push ecx
push edi
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp + 0x10]
call ebx
test eax, eax
jne 0x10008972
push dword [ebp - 4]
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov dword [ebp - 8], eax
cmp eax, edi
je 0x10008967
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 8]
push dword [ebp + 0x10]
call ebx
test eax, eax
je 0x1000891c
push dword [ebp - 8]
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x10008972
cmp dword [ebp - 0xc], 1
jne 0x10008947
push dword [ebp - 4]
mov eax, dword [esi]
push esi
call dword [eax + 0x2c0]
mov ebx, eax
cmp ebx, edi
je 0x10008949
push dword [ebp - 8]
mov eax, dword [esi]
push dword [ebp - 4]
push edi
push ebx
push esi
call dword [eax + 0x340]
jmp 0x10008949
xor ebx, ebx
push dword [ebp - 8]
call dword [sym.imp.msvcr100.dll_free]
mov eax, dword [esi]
pop ecx
push edi
push dword [ebp + 8]
push dword [ebp + 0x14]
push esi
call dword [eax + 0x300]
mov eax, ebx
jmp 0x10008984
push str.native_memory_allocation_failed
push esi
call sym.java.dll__JNU_ThrowOutOfMemoryError_8
mov eax, dword [esi]
push edi
push dword [ebp + 8]
push dword [ebp + 0x14]
push esi
call dword [eax + 0x300]
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 0x10
Function at 0x10008a6b
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1001cf10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 0x10]
xor edi, edi
push edi
push edi
mov esi, dword [ebp + 8]
or ecx, 0xffffffff
push edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push edi
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push edi
push edi
push edi
push eax
call dword [sym.imp.advapi32.dll_RegQueryInfoKeyA]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
push 5
mov dword [ebp - 8], eax
mov eax, dword [esi]
push esi
mov dword [ebp - 0x18], ecx
call dword [eax + 0x2cc]
mov ebx, eax
cmp ebx, edi
je 0x10008af0
mov eax, dword [esi]
lea ecx, [ebp - 0x18]
push ecx
push 5
push edi
push ebx
push esi
call dword [eax + 0x34c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.100122d0
leave
ret 0xc

Function at 0x10008d32
Capabilities:
Check if file exists

Disassembly:
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
je 0x10008d68
cmp eax, 0x10b
je 0x10008d68
cmp eax, 3
je 0x10008d68
cmp eax, 0x35
je 0x10008d68
cmp eax, 0x43
je 0x10008d68
cmp eax, 5
je 0x10008d68
cmp eax, 0x4cf
je 0x10008d68
cmp eax, 0x41
je 0x10008d68
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x1000a2dd
Capabilities:
Get common file path
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x1001cf10]
xor eax, ebp
mov dword [ebp + 0x90], eax
push edi
push 0x10
call dword [sym.imp.msvcr100.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x1000a46f
push ebx
push esi
push 0xe
lea esi, [edi + 2]
push esi
push 0x1004
push dword [ebp + 0x9c]
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
mov ebx, 0x10014af0
test eax, eax
je 0x1000a35a
push esi
call dword [sym.imp.msvcr100.dll_atoi]
pop ecx
mov ecx, 0x3a8
cmp eax, ecx
jg 0x1000a3b7
je 0x1000a3b4
sub eax, 0
je 0x1000a3a5
sub eax, 0x36a
je 0x1000a3da
sub eax, 0x3a
je 0x1000a3da
mov word [edi], 0x7043
push str.MS950
push edi
call sub.msvcr100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x1000a3e4
push 1
lea eax, [ebp - 0x80]
push eax
push 2
lea eax, [ebp - 0x7c]
push eax
push 0
push 0
mov word [ebp - 0x7c], 0x41fa
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, 0x92db
cmp word [ebp - 0x80], ax
jne 0x1000a46b
push str.MS950_HKSCS_XP
jmp 0x1000a463
push str.UTF_8
push edi
call sub.msvcr100.dll_strcpy
pop ecx
pop ecx
jmp 0x1000a35f
push ebx
jmp 0x1000a3aa
cmp eax, 0x3b5
jl 0x1000a35a
cmp eax, 0x3b6
jle 0x1000a3da
cmp eax, 0x551
je 0x1000a3da
cmp eax, 0xd698
jne 0x1000a35a
push str.GB18030
jmp 0x1000a3aa
mov word [edi], 0x534d
jmp 0x1000a35f
push ebx
push edi
call sub.msvcr100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x1000a46b
push 0xd698
call dword [sym.imp.kernel32.dll_IsValidCodePage]
test eax, eax
je 0x1000a46b
push 0x105
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000a46b
mov esi, str.FONTSSimSun18030.ttc
push esi
call sub.msvcr100.dll_strlen
mov ebx, eax
lea eax, [ebp - 0x78]
push eax
call sub.msvcr100.dll_strlen
add ebx, eax
pop ecx
pop ecx
cmp ebx, 0x105
jae 0x1000a46b
lea eax, [ebp - 0x78]
push esi
push eax
call sub.msvcr100.dll_strcat
lea eax, [ebp - 0x78]
push 0x100145d0
push eax
call dword [sym.imp.msvcr100.dll_fopen]
add esp, 0x10
test eax, eax
je 0x1000a46b
push eax
call dword [sym.imp.msvcr100.dll_fclose]
mov dword [esp], str.GB18030
push edi
call sub.msvcr100.dll_strcpy
pop ecx
pop ecx
pop esi
mov eax, edi
pop ebx
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
pop edi
call fcn.100122d0
add ebp, 0x94
leave
ret
Function at 0x1000af8b
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x1001cf10]
xor eax, ebp
mov dword [ebp + 0x88], eax
and dword [ebp - 0x80], 0
push ebx
mov ebx, dword [ebp + 0x94]
push esi
push edi
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, 0x10014bfc
test eax, eax
je 0x1000aff5
lea eax, [ebp - 0x7c]
push edi
push eax
call sub.msvcr100.dll_strcat
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.msvcr100.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
call esi
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x1000b028
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b028
lea eax, [ebp - 0x7c]
push edi
push eax
call sub.msvcr100.dll_strcat
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.msvcr100.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
call esi
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp + 0x88]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100122d0
add ebp, 0x8c
leave
ret

Function at 0x1000d480
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1000d48f
pop dword [ebp - 0x3c]
mov eax, 0x1000d48f
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xa42592a4
sub dword [ebp - 0x4c], 0x55d34d59
mov dword [ebp - 0x48], 0x965741d
add dword [ebp - 0x48], 0x28cdd828
mov dword [ebp - 0x44], 0x6b7f4781
add dword [ebp - 0x44], 0xe0ccfcad
mov dword [ebp - 0x40], 0x65844891
sub dword [ebp - 0x40], 0x65844891
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x25712f7c
add eax, 0xea9001dc
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xf10beae1
add dword [ebp - 0x4c], 0x83667e75
mov dword [ebp - 0x48], 0x20090d14
sub dword [ebp - 0x48], 0xde9cab9f
mov dword [ebp - 0x44], 0x57a49653
add dword [ebp - 0x44], 0xbcad619
mov dword [ebp - 0x40], 0xe9dc7e1f
sub dword [ebp - 0x40], 0xe9dc7e1f
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x58ef9cc9
sub eax, 0x48ee6b6d
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3ade2
push 0
call eax
mov ecx, 0xc7ebe678
sub ecx, 0xc7eb9210
xor edx, edx
add edx, eax
mov ebx, 0x132ee879
add ebx, 0xfcd31d87
add ebx, dword [ebp - 0x3c]
mov esi, 0x226a58a7
sub esi, 0x90c0025e
sub dword [ebp - 0x34], ebx
mov edi, dword [ebx]
xor edi, esi
mov dword [ebp - 0x34], 0x2d71fee3
mov dword [edx], edi
add dword [ebp - 0x10], 0xb7b11612
add edx, 4
add ebx, 0x756b77ad
add ebx, 0x8a948857
loop 0x1000d5ae
add eax, 0xe354dcdc
add eax, 0x1cac6797
xor ebx, ebx
add ebx, eax
add eax, 0xad274c65
sub eax, 0xad274c60
mov ecx, 0x339e57b1
sub ecx, 0x239e57b1
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x100122d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001cf10]
jne 0x100122da
repz ret
jmp fcn.100128eb
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x4064e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x41d7ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x40423c
call fcn.00409054
push 4
mov dword [esp + 0x18], 0
call fcn.0040a713
mov edi, eax
add esp, 4
test edi, edi
je 0x406554
push ebx
call fcn.00408e4f
mov dword [edi], eax
call fcn.00408c0e
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00409015
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406548
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.0040903d
pop ebx
jmp 0x406556
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40b20b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4213ec]
jne 0x40b215
repz ret
jmp fcn.00411fcc
Function at 0x417784
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4213ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004109a7
and dword [ebp - 0x14], 0
cmp dword [0x4b8390], 0
mov dword [ebp - 0x18], eax
jne 0x417837
push 0x403f40
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4178df
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403f34
push ebx
call edi
test eax, eax
je 0x4178df
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403f24
push ebx
mov dword [0x4b8390], eax
call edi
push eax
call esi
push 0x403f10
push ebx
mov dword [0x4b8394], eax
call edi
push eax
call esi
push 0x403ef4
push ebx
mov dword [0x4b8398], eax
call edi
push eax
call esi
mov dword [0x4b83a0], eax
test eax, eax
je 0x417837
push 0x403edc
push ebx
call edi
push eax
call esi
mov dword [0x4b839c], eax
mov eax, dword [0x4b839c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x417890
cmp dword [0x4b83a0], ecx
je 0x417890
push eax
call esi
push dword [0x4b83a0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x417890
test ebx, ebx
je 0x417890
call edi
test eax, eax
je 0x417887
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x417887
test byte [ebp - 8], 1
jne 0x417890
or dword [ebp + 0x10], 0x200000
jmp 0x4178c3
mov eax, dword [0x4b8394]
cmp eax, dword [ebp - 0x18]
je 0x4178c3
push eax
call esi
test eax, eax
je 0x4178c3
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4178c3
mov eax, dword [0x4b8398]
cmp eax, dword [ebp - 0x18]
je 0x4178c3
push eax
call esi
test eax, eax
je 0x4178c3
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b8390]
call esi
test eax, eax
je 0x4178df
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4178e1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b20b
leave
ret