joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
push ebx
pop eax
and eax, 0x1f
push ebx
pop edx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
sub eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
push edx
pop eax
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
push eax
pop edi
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
push esi
pop eax
sub eax, edi
mov esi, eax
or eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
or eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001000
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
mov cl, dl
mov al, 8
sub cl, byte [edx + section..data]
xor cl, dl
add cl, 0x24
not cl
sub cl, dl
rol cl, 2
xor cl, 5
sub al, cl
xor al, dl
add al, 8
ror al, 3
sub al, 8
mov byte [edx + section..data], al
inc edx
cmp edx, 0x2805
jb 0x10001002
push 0
push 0
push section..data
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
ret
Function at 0x1090d2d0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1092b139
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x1c], edi
call dword [sym.imp.Core.dll_public:_void___thiscall_FArchive::constructor_void_]
mov dword [ebp - 4], 0
mov dword [edi], 0x109351c0
mov byte [ebp - 4], 1
mov dword [edi + 0x1c], 1
mov dword [edi + 0x10], 1
mov dword [edi + 0x40], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x44], 0
mov byte [edi + 0x48], 0xac
mov eax, dword [sym.imp.Core.dll_class_FMalloc__GMalloc]
mov ecx, dword [eax]
mov eax, dword [ecx]
push 0x109364f8
push 0x458
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x1090d369
push 0
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.kernel32.dll_GetFileSize]
push eax
push dword [ebp + 0xc]
push esi
mov ecx, ebx
call fcn.1090cd50
jmp 0x1090d36b
xor eax, eax
mov dword [edi + 0x3c], eax
test eax, eax
jne 0x1090d37a
mov byte [ebp - 4], al
jmp 0x1090d435
mov ebx, 1
cmp dword [ebp + 0x10], 0x18
jbe 0x1090d424
xor esi, esi
mov dword [ebp - 0x14], esi
cmp esi, 0xb
jae 0x1090d3b3
push 2
lea eax, [ebp + 8]
push eax
mov ecx, dword [edi + 0x3c]
call dword [sym.imp.Core.dll_public:_class_FArchive____thiscall_FArchive::ByteOrderSerialize_void___int_]
mov ax, word [ebp + 8]
cmp ax, word [esi*2 + 0x109335d0]
jne 0x1090d424
inc esi
jmp 0x1090d38b
test ebx, ebx
je 0x1090d424
push 2
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [edi + 0x3c]
call dword [sym.imp.Core.dll_public:_class_FArchive____thiscall_FArchive::ByteOrderSerialize_void___int_]
push 2
lea eax, [ebp - 0x26]
push eax
mov ecx, dword [edi + 0x3c]
call dword [sym.imp.Core.dll_public:_class_FArchive____thiscall_FArchive::ByteOrderSerialize_void___int_]
push 2
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [edi + 0x3c]
call dword [sym.imp.Core.dll_public:_class_FArchive____thiscall_FArchive::ByteOrderSerialize_void___int_]
xor eax, eax
mov word [ebp - 0x22], ax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.Core.dll_int___cdecl_appAtoi_wchar_t_const__]
add esp, 4
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 0x1c
cmp eax, 0x6f
jne 0x1090d40c
mov byte [edi + 0x48], 0xac
jmp 0x1090d42e
cmp eax, 0x79
jne 0x1090d41e
mov ecx, dword [ebp + 0x14]
call fcn.10929530
mov byte [edi + 0x48], al
jmp 0x1090d42e
mov byte [edi + 0x48], 0
jmp 0x1090d42e
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
push 0
call dword [eax + 0x3c]
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1090e890
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1092b1d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp dword [ebp + 0x10], 0
je 0x1090e8d7
mov eax, dword [sym.imp.Core.dll_int_GUnicodeOS]
cmp dword [eax], 0
je 0x1090e8f3
push 0x80
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov edi, dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_wchar_t_const__]
mov eax, dword [sym.imp.Core.dll_int_GUnicodeOS]
push esi
cmp dword [eax], 0
je 0x1090e93a
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x1090e973
push esi
mov edi, dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_wchar_t_const__]
call edi
add esp, 4
test eax, eax
jne 0x1090e907
xor ebx, ebx
jmp 0x1090e91d
push esi
call edi
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10924dc0
mov dword [ebp - 0x10], esp
mov ebx, esp
push 0x80
push esi
call edi
push eax
push esi
push ebx
call dword [sym.imp.Core.dll_char____cdecl_winToANSI_char___wchar_t_const___int_]
add esp, 0x10
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
jmp 0x1090e8dd
call edi
add esp, 4
test eax, eax
jne 0x1090e947
xor ebx, ebx
jmp 0x1090e95d
push esi
call edi
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10924dc0
mov dword [ebp - 0x10], esp
mov ebx, esp
push esi
call edi
push eax
push esi
push ebx
call dword [sym.imp.Core.dll_char____cdecl_winToANSI_char___wchar_t_const___int_]
add esp, 0x10
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
jne 0x1090e9a4
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
cmp dword [ebp + 0xc], eax
jne 0x1090e989
call edi
cmp eax, 2
je 0x1090e9a4
xor ebx, ebx
call edi
push eax
push esi
push 0x1093697c
push 0x2ff
call dword [sym.imp.Core.dll_void___cdecl_debugf_enum_EName__wchar_t_const__]
add esp, 0x10
jmp 0x1090e9a9
mov ebx, 1
xor eax, eax
test ebx, ebx
setne al
lea esp, [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1090eca0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1092b1f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1090ecee
push eax
push dword [ebp + 8]
call fcn.1090b490
lea esp, [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [sym.imp.Core.dll_int_GUnicodeOS]
cmp dword [eax], 0
je 0x1090ed05
push 0
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
jmp 0x1090ed4a
mov esi, dword [ebp + 8]
push esi
mov edi, dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_wchar_t_const__]
call edi
add esp, 4
test eax, eax
jne 0x1090ed1c
xor ebx, ebx
jmp 0x1090ed32
push esi
call edi
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10924dc0
mov dword [ebp - 0x10], esp
mov ebx, esp
push 0
push esi
call edi
push eax
push esi
push ebx
call dword [sym.imp.Core.dll_char____cdecl_winToANSI_char___wchar_t_const___int_]
add esp, 0x10
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x1090ed62
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
je 0x1090ed62
xor eax, eax
jmp 0x1090ecd8
mov eax, 1
jmp 0x1090ecd8

Function at 0x1090edd0
Capabilities:
Check if file exists
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1092b200
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1090ee21
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1090b630
lea esp, [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [sym.imp.Core.dll_int_GUnicodeOS]
cmp dword [eax], 0
je 0x1090ee36
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
jmp 0x1090ee79
mov esi, dword [ebp + 8]
push esi
mov edi, dword [sym.imp.Core.dll_int___cdecl_winGetSizeANSI_wchar_t_const__]
call edi
add esp, 4
test eax, eax
jne 0x1090ee4d
xor ebx, ebx
jmp 0x1090ee63
push esi
call edi
add esp, 4
add eax, 7
and eax, 0xfffffff8
call fcn.10924dc0
mov dword [ebp - 0x10], esp
mov ebx, esp
push esi
call edi
push eax
push esi
push ebx
call dword [sym.imp.Core.dll_char____cdecl_winToANSI_char___wchar_t_const___int_]
add esp, 0x10
push eax
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
test eax, eax
jne 0x1090ee94
cmp dword [ebp + 0xc], eax
jne 0x1090ee8d
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
je 0x1090ee94
xor eax, eax
jmp 0x1090ee0b
mov eax, 1
jmp 0x1090ee0b
Function at 0x109110a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x24]
lea ecx, [ecx]
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x64]
sub edx, ecx
mov eax, dword [edi + 0x6c]
sub edx, eax
mov dword [ebp + 8], edx
jne 0x109110ce
test ecx, ecx
jne 0x109110da
test eax, eax
jne 0x109110da
mov edx, esi
jmp 0x1091114c
cmp edx, 0xffffffff
jne 0x109110da
mov edx, 0xfffffffe
jmp 0x1091114c
mov eax, dword [edi + 0x24]
add eax, 0xfffffefa
add eax, esi
cmp ecx, eax
jb 0x1091114c
mov ecx, dword [edi + 0x30]
push esi
lea eax, [ecx + esi]
push eax
push ecx
call fcn.10916970
mov edx, dword [edi + 0x44]
add esp, 0xc
mov eax, dword [edi + 0x3c]
sub dword [edi + 0x68], esi
sub dword [edi + 0x64], esi
sub dword [edi + 0x54], esi
lea ecx, [eax + edx*2]
jmp 0x10911110
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x1091111f
sub eax, esi
jmp 0x10911121
xor eax, eax
mov word [ecx], ax
dec edx
jne 0x10911110
mov eax, dword [edi + 0x38]
mov edx, esi
lea ecx, [eax + esi*2]
nop
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x1091113f
sub eax, esi
jmp 0x10911141
xor eax, eax
mov word [ecx], ax
dec edx
jne 0x10911130
mov edx, dword [ebp + 8]
add edx, esi
mov ebx, dword [edi]
cmp dword [ebx + 4], 0
je 0x109111ed
mov eax, dword [edi + 0x6c]
add eax, dword [edi + 0x64]
add eax, dword [edi + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
jne 0x10911179
xor eax, eax
jmp 0x109111b1
sub eax, ecx
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
cmp dword [eax + 0x18], 0
jne 0x1091119b
push ecx
push dword [ebx]
push dword [ebx + 0x30]
call fcn.10911490
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [ebx + 0x30], eax
push ecx
push dword [ebx]
push dword [ebp - 4]
call fcn.10916970
mov eax, dword [ebp + 8]
add esp, 0xc
add dword [ebx], eax
add dword [ebx + 8], eax
add dword [edi + 0x6c], eax
mov ebx, dword [edi + 0x6c]
cmp ebx, 3
jb 0x109111d9
mov eax, dword [edi + 0x30]
add eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x50]
movzx edx, byte [eax]
mov dword [edi + 0x40], edx
movzx eax, byte [eax + 1]
shl edx, cl
xor edx, eax
and edx, dword [edi + 0x4c]
mov dword [edi + 0x40], edx
cmp ebx, 0x106
jae 0x109111ed
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x109110b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10911490
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx ecx, si
shr esi, 0x10
test edi, edi
jne 0x109114ac
lea eax, [edi + 1]
pop edi
pop esi
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x109115ad
jmp 0x109114c0
mov edx, 0x15b0
cmp ebx, edx
cmovb edx, ebx
sub ebx, edx
mov dword [ebp + 0x10], ebx
cmp edx, 0x10
jl 0x10911572
mov ebx, edx
shr ebx, 4
mov eax, ebx
neg eax
shl eax, 4
add edx, eax
movzx eax, byte [edi]
add ecx, eax
movzx eax, byte [edi + 1]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 2]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 3]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 4]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 5]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 6]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 7]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 8]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 9]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xa]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xb]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xc]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xd]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xe]
add esi, ecx
add ecx, eax
movzx eax, byte [edi + 0xf]
add esi, ecx
add edi, 0x10
add ecx, eax
add esi, ecx
dec ebx
jne 0x109114e6
mov ebx, dword [ebp + 0x10]
test edx, edx
je 0x10911581
movzx eax, byte [edi]
inc edi
add ecx, eax
add esi, ecx
dec edx
jne 0x10911576
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul esi
shr edx, 0xf
imul edx, edx, 0xffff000f
add esi, edx
test ebx, ebx
jne 0x109114c0
shl esi, 0x10
pop ebx
or esi, ecx
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x10922387
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10942e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.kernel32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1091caad
mov dword [ebp - 0x14], eax
cmp dword [0x1098b774], esi
jne 0x1092247a
push 0x800
push esi
push 0x10932310
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10922407
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x57
jne 0x1092255a
push esi
push esi
push 0x10932310
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1092255a
push 0x10932328
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x1092255a
push eax
call ebx
push 0x10932334
push edi
mov dword [0x1098b774], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call ebx
push 0x10932344
push edi
mov dword [0x1098b778], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call ebx
push 0x10932358
push edi
mov dword [0x1098b77c], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1098b784], eax
test eax, eax
je 0x10922477
push 0x10932374
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1098b780], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
test eax, eax
je 0x1092249f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10922492
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x109224b4
push 4
pop eax
jmp 0x1092255c
cmp dword [ebp - 0x14], esi
je 0x109224b4
push dword [0x1098b774]
call dword [sym.imp.kernel32.dll_DecodePointer]
push 3
jmp 0x10922499
mov eax, dword [0x1098b780]
mov ebx, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, edi
je 0x10922512
cmp dword [0x1098b784], edi
je 0x10922512
push eax
call ebx
push dword [0x1098b784]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10922512
test eax, eax
je 0x10922512
call ecx
test eax, eax
je 0x10922507
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10922507
test byte [ebp - 8], 1
jne 0x10922512
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10922542
mov eax, dword [0x1098b778]
cmp eax, edi
je 0x1092253f
push eax
call ebx
test eax, eax
je 0x1092253f
call eax
mov esi, eax
test esi, esi
je 0x1092253f
mov eax, dword [0x1098b77c]
cmp eax, edi
je 0x1092253f
push eax
call ebx
test eax, eax
je 0x1092253f
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1098b774]
call ebx
test eax, eax
je 0x1092255a
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1092255c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1091746c
mov esp, ebp
pop ebp
ret
Function at 0x10929fa0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [sym.imp.Core.dll_int_GUnicodeOS]
sub esp, 0x300
cmp dword [eax], 0
push esi
push edi
mov edi, dword [sym.imp.Core.dll_wchar_t____cdecl_appStrcpy_wchar_t___wchar_t_const__]
jne 0x1092a08c
push 0xff
lea eax, [ebp - 0x1ff]
mov byte [ebp - 0x200], 0
push 0
push eax
call fcn.10916830
push 0xff
lea eax, [ebp - 0xff]
mov byte [ebp - 0x100], 0
push 0
push eax
call fcn.10916830
push 0xff
lea eax, [ebp - 0x2ff]
mov byte [ebp - 0x300], 0
push 0
push eax
call fcn.10916830
add esp, 0x24
lea eax, [ebp - 0x200]
push 0x100
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
push 0x100
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
push 0x100
lea eax, [ebp - 0x300]
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.Core.dll_wchar_t_const____cdecl_appFromAnsi_char_const___wchar_t__]
lea eax, [ebp - 0x200]
push 0
push eax
call esi
push eax
push 0x1098b7a8
call edi
lea eax, [ebp - 0x100]
push 0
push eax
call esi
push eax
push 0x1098b9b0
call edi
lea eax, [ebp - 0x300]
push 0
push eax
call esi
push eax
push 0x1098bbb0
call edi
add esp, 0x30
jmp 0x1092a0be
push 0x100
push 0x1098b7a8
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
push 0x100
push 0x1098b9b0
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
push 0x100
push 0x1098bbb0
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.Core.dll_int___cdecl_appStrlen_wchar_t_const__]
push 0x10934c5c
push 0x1098bbb0
call esi
add esp, 4
lea eax, [eax*2 + 0x1098bba8]
push eax
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_wchar_t_const___wchar_t_const__]
add esp, 8
test eax, eax
jne 0x1092a104
push 0x10934c68
push 0x1098bbb0
call esi
add esp, 4
lea eax, [eax*2 + 0x1098bba8]
push eax
call edi
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x3c772c73
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x2b5e6124
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x14cb4b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x68c000]
push edi
or ebp, 0xffffffff
jmp 0x14cb4d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x14cb4d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x14cb4c8
mov eax, 1
add ebx, ebx
jne 0x14cb4eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x14cb4fc
jne 0x14cb51b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x14cb51b
dec eax
add ebx, ebx
jne 0x14cb508
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x14cb4e0
add ebx, ebx
jne 0x14cb517
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x14cb56d
xor ecx, ecx
sub eax, 3
jb 0x14cb533
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x14cb5a2
sar eax, 1
mov ebp, eax
jmp 0x14cb53e
add ebx, ebx
jne 0x14cb53e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x14cb50c
inc ecx
add ebx, ebx
jne 0x14cb54c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x14cb50c
add ebx, ebx
jne 0x14cb559
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x14cb54e
jne 0x14cb56a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x14cb54e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x14cb58c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x14cb57e
jmp 0x14cb4ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x14cb58c
add edi, ecx
jmp 0x14cb4ce
pop esi
mov edi, esi
mov ecx, 0x8bc9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x14cb5aa
cmp byte [edi], 0x22
jne 0x14cb5aa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x14cb5af
lea edi, [esi + 0x10c8000]
mov eax, dword [edi]
or eax, eax
je 0x14cb627
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10ce73c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10ce888]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x14cb5dc
mov ecx, edi
jns 0x14cb60b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x10ce890]
or eax, eax
je 0x14cb621
mov dword [ebx], eax
add ebx, 4
jmp 0x14cb5f9
call dword [esi + 0x10ce88c]
mov ebp, dword [esi + 0x10ce894]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x14cb65b
sub esp, 0xffffff80
jmp 0x5251ed