joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408860
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
push esi
mov esi, eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x408984
push ebp
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
je 0x408983
movzx eax, word [esi + 8]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push 0
push esi
push ebp
push eax
push 0
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x408983
mov eax, dword [esp + 0x20]
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x408982
mov eax, dword [esi + 0x20]
mov ecx, dword [esi]
push ebx
mov ebx, dword [esi + 0x14]
add eax, eax
add eax, eax
lea edx, [ecx + eax]
lea edx, [edx + ebx + 0xe]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [esp + 0x16], edx
xor edx, edx
push edx
lea eax, [ecx + eax + 0xe]
lea ecx, [esp + 0x14]
push ecx
mov word [esp + 0x22], dx
mov word [esp + 0x24], dx
push 0xe
lea edx, [esp + 0x20]
push edx
push edi
mov word [esp + 0x28], 0x4d42
mov dword [esp + 0x32], eax
call ebx
test eax, eax
je 0x408981
cmp dword [esp + 0x10], 0xe
jne 0x408981
mov ecx, dword [esi + 0x20]
push 0
lea eax, [esp + 0x14]
push eax
lea edx, [ecx*4 + 0x28]
push edx
push esi
push edi
call ebx
test eax, eax
je 0x408981
mov eax, dword [esi + 0x20]
lea ecx, [eax*4 + 0x28]
cmp dword [esp + 0x10], ecx
jne 0x408981
mov esi, dword [esi + 0x14]
push 0
lea edx, [esp + 0x14]
push edx
push esi
push ebp
push edi
call ebx
test eax, eax
je 0x408981
cmp dword [esp + 0x10], esi
jne 0x408981
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x408981
mov eax, ebp
call fcn.00404c60
pop ebx
pop edi
pop ebp
pop esi
add esp, 0x14
ret

Function at 0x408990
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x804
push esi
push eax
push ecx
lea edx, [esp + 0x10]
push str._s_s
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x408a06
mov edx, dword [esp + 0x80c]
push edi
push 0
lea ecx, [esp + 0xc]
push ecx
push ebx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
pop edi
je 0x408a06
cmp dword [esp + 4], ebx
jb 0x408a06
mov al, 1
pop esi
add esp, 0x804
ret
xor al, al
pop esi
add esp, 0x804
ret
Function at 0x408a10
Capabilities:
Create directory

Disassembly:
sub esp, 0x800
cmp byte [0x41a01e], 0
push ebx
mov ebx, eax
jne 0x408a86
mov eax, ecx
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x408a24
sub eax, ecx
sar eax, 1
sub eax, 1
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x408a41
sub eax, 1
xor edx, edx
test eax, eax
jbe 0x408a55
cmp word [ecx + edx*2], 0x5c
je 0x408a86
add edx, 1
cmp edx, eax
jb 0x408a47
mov eax, dword [esp + 0x808]
push eax
push ecx
lea ecx, [esp + 0xc]
push str._s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x408a91
lea ecx, [esp + 4]
push esi
mov eax, edi
call fcn.00408990
add esp, 4
pop ebx
add esp, 0x800
ret

Function at 0x408aa0
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
sub esp, 0x84c
push ebp
push esi
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x41c288]
push 0x1f
call fcn.00402940
mov ebp, dword [sym.imp.USER32.dll_wsprintfW]
push edi
push ebx
lea ecx, [esp + 0x58]
push str._s_s
push ecx
mov dword [esp + 0x18], eax
call ebp
add esp, 0x10
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x408b28
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x408b28
lea eax, [esp + 0xc]
push eax
mov eax, dword [0x41c288]
push 7
call fcn.00402940
mov esi, eax
test esi, esi
je 0x408b28
push edi
push esi
push ebx
lea ecx, [esp + 0x5c]
push str._s_s_s
push ecx
call ebp
add esp, 0x14
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x408b43
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x408b8f
push 0x3c
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00401100
mov ecx, dword [esp + 0x14]
add esp, 0xc
lea eax, [esp + 0x14]
lea edx, [esp + 0x50]
push eax
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x34], 1
mov dword [esp + 0x1c], 0x400
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebp
add esp, 0x84c
ret
Function at 0x1002c060
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1002c09e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1002c096
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1002c0a0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1002c086
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1002c170
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x1002c1a1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1002c1a1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x1002c1a1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1002dacd
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100a6b34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x100073c4
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1002dbbc
push 0x5c
mov esi, str._unknown_
push esi
call dword [sym.imp.msvcrt.dll_wcsrchr]
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1002db36
add edi, 2
jmp 0x1002db38
mov edi, esi
mov eax, dword [ebp - 0x20c]
lea ebx, [ebp - 0x20c]
xor ecx, ecx
mov esi, edi
inc ecx
mov dword [ebp - 0x210], esi
test ax, ax
je 0x1002dbbc
movzx edx, ax
movzx eax, dx
test ecx, ecx
je 0x1002db8a
push eax
call dword [sym.imp.msvcrt.dll_towlower]
movzx ecx, word [edi]
mov si, ax
push ecx
call dword [sym.imp.msvcrt.dll_towlower]
pop ecx
pop ecx
xor ecx, ecx
cmp si, ax
mov esi, dword [ebp - 0x210]
push 0x3b
sete cl
add edi, 2
pop edx
jmp 0x1002db97
push 0x3b
pop edx
cmp ax, dx
jne 0x1002db97
xor ecx, ecx
mov edi, esi
inc ecx
add ebx, 2
test ecx, ecx
je 0x1002dbb2
xor eax, eax
cmp word [edi], ax
jne 0x1002dbb2
movzx eax, word [ebx]
test ax, ax
je 0x1002dbcd
cmp ax, dx
je 0x1002dbcd
movzx eax, word [ebx]
mov edx, eax
test ax, ax
jne 0x1002db57
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002bcc0
leave
ret
xor eax, eax
inc eax
jmp 0x1002dbbe
Function at 0x10076b62
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov dword [ebp - 4], edx
xor ebx, ebx
push edi
xor edx, edx
call fcn.10075c3c
mov edi, eax
test edi, edi
je 0x10076bcc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dword [ebp - 8], ecx
cmp esi, 0xffffffff
je 0x10076ba4
test esi, 0x400
je 0x10076ba4
xor eax, eax
inc eax
jmp 0x10076ba6
xor eax, eax
mov edx, dword [ebp - 4]
xor ebx, ebx
test ecx, ecx
push edi
push 0
mov dword [edx], eax
sete bl
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x10076f3e
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100a6b34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push eax
mov esi, ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x10076fb0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x10076f9d
mov ebx, dword [ebp - 0x14]
jmp 0x10076fa5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
jmp 0x10076fb8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.1002bcc0
leave
ret

Function at 0x10077970
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100a6b34]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
mov esi, ecx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x10026f3c
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x100779cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x100779f8
movzx edi, di
or edi, 0x80070000
jmp 0x100779f8
push edi
push 0x4000000
push 2
push edi
push 7
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x100779b8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.1002bcc0
leave
ret
Function at 0x10079b8a
Capabilities:
Query environment variable

Disassembly:
push 0x10
mov eax, 0x10035372
call fcn.1002c490
mov eax, ecx
mov dword [ebp - 0x18], eax
xor esi, esi
mov dword [ebp - 4], esi
mov edi, esi
mov eax, dword [eax]
mov dword [ebp - 0x14], esi
cmp dword [eax - 0xc], esi
je 0x10079c69
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebx, eax
test ebx, ebx
jne 0x10079bdd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10079c74
movzx esi, si
or esi, 0x80070000
jmp 0x10079c74
push 0x10005480
xor ecx, ecx
lea eax, [ebx + 1]
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1002bf1a
mov edi, eax
mov dword [ebp - 0x14], edi
pop ecx
pop ecx
test edi, edi
jne 0x10079c0b
mov esi, 0x8007000e
jmp 0x10079c74
lea eax, [ebx*2 + 2]
push eax
push esi
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
mov ebx, dword [ebp - 0x18]
push edi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x10079c45
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10079c69
movzx esi, si
or esi, 0x80070000
jmp 0x10079c69
mov ecx, edi
call fcn.1003a500
push eax
push edi
mov ecx, ebx
call fcn.1003a440
jmp 0x10079c69
test edi, edi
je 0x10079c74
push edi
call sub.msvcrt.dll_free
pop ecx
mov eax, esi
call fcn.1002c3f5
ret
Function at 0x1007a329
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100a6b34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
mov esi, ecx
lea eax, [ebp - 0xc]
push 2
push eax
mov dword [esi], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x1007a384
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x1007a3d0
movzx ebx, bx
or ebx, 0x80070000
jmp 0x1007a3d0
push esi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x1007a36d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
test eax, eax
je 0x1007a3d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0x80070000
test eax, eax
jle 0x1007a3b6
movzx eax, ax
or eax, esi
test eax, eax
jns 0x1007a3cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jle 0x1007a3d0
movzx ebx, bx
or ebx, esi
jmp 0x1007a3d0
mov ebx, 0x80004005
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.1002bcc0
leave
ret
Function at 0x1007afb0
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea edx, [ebp - 8]
xor ebx, ebx
mov ecx, edi
mov esi, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.10075603
test eax, eax
je 0x1007b0ed
cmp dword [ebp - 4], ebx
ja 0x1007afeb
cmp dword [ebp - 8], 0x1900000
jbe 0x1007b0ed
mov ecx, edi
push 2
pop esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, esi
cmp ax, bx
jne 0x1007aff3
sub ecx, edx
mov edx, 0x100a6ea0
sar ecx, 1
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x1007b009
sub edx, esi
lea esi, [ecx + 1]
sar edx, 1
xor ecx, ecx
add esi, edx
push 0x10005480
push 2
pop edx
mov eax, esi
mov dword [ebp - 4], esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1002bf1a
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x1007b04d
mov esi, 0x8007000e
jmp 0x1007b0ed
lea eax, [esi + esi]
push eax
push 0
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
mov edx, esi
mov ecx, ebx
push edi
call fcn.10050582
mov esi, eax
test esi, esi
js 0x1007b0e6
mov edx, dword [ebp - 4]
mov ecx, ebx
push 0x100a6ea0
call fcn.1005533b
mov esi, eax
test esi, esi
js 0x1007b0e6
push 1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1007b0c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0x80070000
test eax, eax
jle 0x1007b0a5
movzx eax, ax
or eax, edi
test eax, eax
jns 0x1007b0ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x1007b0e6
movzx esi, si
or esi, edi
jmp 0x1007b0e6
mov esi, 0x80004005
jmp 0x1007b0e6
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x1007b08f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call sub.msvcrt.dll_free
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x1007bf90
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100a6b34]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, edx
push 0
push eax
mov esi, ecx
call sub.msvcrt.dll_memset
and dword [ebp - 0x210], 0
lea eax, [ebp - 0x20c]
add esp, 0xc
push eax
push 0
push 0x100275ec
push 0x100a7430
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x1007c04c
lea eax, [ebp - 0x210]
mov edx, 0x104
push eax
lea ecx, [ebp - 0x20c]
call fcn.1003ef70
test eax, eax
js 0x1007c04c
mov eax, dword [ebp - 0x210]
mov edx, esi
add eax, 0xfffffffd
mov ecx, edi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.10075ec1
test eax, eax
js 0x1007c04c
push 0x10027600
mov edx, esi
mov ecx, edi
call fcn.1005533b
test eax, eax
js 0x1007c04c
mov esi, dword [0x100a7658]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call dword [0x100a83d4]
call esi
xor eax, eax
inc eax
jmp 0x1007c04e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1002bcc0
leave
ret
Function at 0x1007e73d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100a6b34]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x100a7678], 0
jne 0x1007e8e8
mov dword [0x100a7678], 1
mov dword [0x100a765c], ecx
call fcn.1007e63c
test eax, eax
je 0x1007e7db
push 0x10029af8
mov dword [0x100a764c], 0x1007e1d0
mov dword [0x100a767c], 0x1007e440
mov dword [0x100a7660], 0x1007e300
mov dword [0x100a73f4], 0x1007e590
mov dword [0x100a73f0], 0x1007e630
mov dword [0x100a7648], 0x1007e0f0
mov dword [0x100a7658], 0x1007e550
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1007e821
push 0x10029b0c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x1007e821
mov dword [0x100a764c], 0x1007e100
mov dword [0x100a767c], 0x1007e360
mov dword [0x100a7660], 0x1007e230
mov dword [0x100a73f4], 0x1007e590
mov dword [0x100a73f0], 0x1007e5a0
mov dword [0x100a7648], 0x1007e050
mov dword [0x100a7658], 0x1007e4c0
push esi
push 0x208
xor esi, esi
mov dword [0x100a7644], 0x1007e690
lea eax, [ebp - 0x20c]
mov dword [0x100a766c], 0x1007e710
push esi
push eax
mov dword [0x100a7650], 0x1007e030
mov dword [0x100a7670], 0x1007e670
mov dword [0x100a7680], 0x1007e700
mov dword [0x100a7668], 0x1007e6b0
mov dword [0x100a7674], 0x1007e580
mov dword [0x100a7664], 0x1007e720
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0x10029b28
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1007e8dd
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
jne 0x1007e8ca
push esi
mov dword [0x100a7654], 0x1002b570
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1007e8e7
push 0x10029b64
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100a7654], eax
jmp 0x1007e8e7
mov dword [0x100a7654], 0x1002b570
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.1002bcc0
leave
ret
Function at 0x1009a490
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ebx
shr edi, 2
lea edx, [ecx + edi*4]
neg edi
je 0x1009a4cc
imul eax, dword [edx + edi*4], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, esi
rol eax, 0xd
imul esi, eax, 5
sub esi, 0x19ab949c
add edi, 1
jne 0x1009a4a9
mov eax, ebx
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x1009a4f2
sub eax, 1
je 0x1009a4e9
sub eax, 1
jne 0x1009a508
movzx ecx, byte [edx + 2]
shl ecx, 0x10
movzx eax, byte [edx + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [edx]
xor eax, ecx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
xor esi, ebx
mov eax, esi
shr eax, 0x10
xor eax, esi
imul ecx, eax, 0x85ebca6b
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop ebp
ret 4

Function at 0x1009dde5
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x1009de20
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1009de07
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x1009de18
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x1009de22
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1009ddfd
xor eax, eax
pop edi
pop esi
ret
Function at 0x405d4b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ce34], 0
push esi
jne 0x405d82
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d5c
mov dword [ecx*4 + 0x42ce30], eax
inc ecx
cmp ecx, 0x100
jl 0x405d57
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405db3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ce30]
xor eax, esi
inc ecx
dec edx
jne 0x405d95
pop edi
not eax
pop esi
ret 0xc

Function at 0x441a92
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
pushal
call fcn.00441aa1

Function at 0x442262
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
pushal
call fcn.0044226e

Function at 0x4428e7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
pushal
mov dword [ebp - 4], 0
call fcn.004428fa

Function at 0x442961
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
pushal
mov dword [ebp - 4], 0
call fcn.00442974
Function at 0xcbb058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xcbb1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xcbb07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcbb06a
add dl, dl
jne 0xcbb089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcbb0dc
xor eax, eax
add dl, dl
jne 0xcbb096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcbb17d
add dl, dl
jne 0xcbb0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcbb0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcbb0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcbb0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xcbb0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xcbb075
mov eax, 1
add dl, dl
jne 0xcbb0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcbb0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcbb0e1
sub eax, ebx
mov ebx, 1
jne 0xcbb128
mov ecx, 1
add dl, dl
jne 0xcbb10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcbb119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcbb105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcbb075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xcbb13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcbb14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcbb136
cmp eax, 0x7d00
jae 0xcbb16d
cmp eax, 0x500
jb 0xcbb168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcbb075
cmp eax, 0x7f
ja 0xcbb170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcbb075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xcbb19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xcbb075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10