joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411b20
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.006f10dd
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov ecx, esi
call fcn.006f9b87
pop esi
ret

Function at 0x411c90
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x8ca144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push edi
push 0
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
cdq
xor ecx, ebp
sub eax, edx
sar eax, 1
mov dword [ebx], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar eax, 1
pop edi
mov dword [ebx + 4], eax
pop ebx
call fcn.006e70bb
mov esp, ebp
pop ebp
ret 4

Function at 0x413e40
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79f1ae
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x8ca144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004135f0
lea ecx, [esi + 8]
mov dword [ebp - 4], 0
call fcn.004135f0
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call fcn.004135f0
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call fcn.004135f0
mov dword [esi + 0x20], vtable.VectorParameter_class_MapParameter_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____.0
mov eax, esi
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], vtable.VectorParameter_class_MapParameter_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____.0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], vtable.VectorParameter_struct_SInstallItem__.0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], vtable.VectorParameter_class_MapParameter_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____.0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x509fa0
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x34], eax
call fcn.00402330
lea eax, [esi + 0x30]
mov dword [esi], 1
push eax
push 0
push esi
push 0x4276f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x2c], eax
pop esi
ret
Function at 0x51d740
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x51f0a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a5e82
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x8ca144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0051e7f0
mov ecx, esi
mov dword [esi + 0x4d0], 0
call fcn.0051f290
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x8cf0b8]
test eax, eax
jne 0x51f122
push 0x4dc
call fcn.006e707a
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x51f114
mov ecx, eax
call fcn.00522610
jmp 0x51f116
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x8cf0b8], eax
mov ecx, eax
call fcn.0051d740
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5237a0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a6936
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x8ca144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0074fc20
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x5239e3
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x523823
mov ecx, 0x15
mov dword [ebp - 0x21c], 7
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
mov dword [ebp - 0x220], 0
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x523865
xor ecx, ecx
jmp 0x52387f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x523870
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402820
push 1
push 0x8b08b4
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.004044c0
cmp word [ebx], 0
jne 0x5238b5
xor ecx, ecx
jmp 0x5238cf
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5238c0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x230]
call fcn.004044c0
push 4
push str..lnk
lea ecx, [ebp - 0x230]
call fcn.004044c0
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x248]
push eax
call fcn.005241c0
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [ebp - 0x24c]
test eax, eax
lea eax, [ebp - 0x230]
push 0
push 0
push 1
je 0x52396b
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x248]
cmp dword [ebp - 0x21c], 8
push ecx
cmovae eax, dword [ebp - 0x230]
push 0
push dword [ebp - 0x250]
push eax
call fcn.00741c85
add esp, 0x20
jmp 0x52398a
cmp dword [ebp - 0x21c], 8
push 0
cmovae eax, dword [ebp - 0x230]
push dword [ebp - 0x250]
push eax
call fcn.00741ea3
add esp, 0x1c
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x5239a8
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00402920
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x238], 0
cmp eax, 8
jb 0x5239e3
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00402920
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006e70bb
mov esp, ebp
pop ebp
ret 0xc
Function at 0x523a10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a6978
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x8ca144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push esi
push eax
call fcn.0073a293
add esp, 8
cmp word [edi], 0
mov dword [ebp - 4], 0
jne 0x523a65
xor ecx, ecx
jmp 0x523a7f
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x523a70
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.004044c0
push 4
push str..lnk
lea ecx, [ebp - 0x28]
call fcn.004044c0
mov edi, dword [ebp - 0x5c]
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
call fcn.005241c0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
push 0
push 0
test eax, eax
lea eax, [ebp - 0x28]
push 1
je 0x523aec
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push 0
push esi
push eax
call fcn.00741c85
add esp, 0x20
jmp 0x523b00
cmp dword [ebp - 0x14], 8
push 0
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call fcn.00741ea3
add esp, 0x1c
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
push 0
cmovae esi, dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
call fcn.005241c0
push 0
push esi
push 0x150a
mov byte [ebp - 4], 2
call fcn.00523bb0
add esp, 0xc
test al, al
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x523b49
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402920
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x523b5e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402920
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x523b87
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402920
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006e70bb
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5270d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a6e46
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x8ca144]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x52717c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x52717c
call fcn.00525f70
mov esi, eax
jmp 0x52726c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x52719f
call fcn.00525f70
jmp 0x52725f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x5271bd
call fcn.00525f70
jmp 0x52725f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x5271de
mov esi, 0x8007000e
jmp 0x527261
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00525d50
jmp 0x527208
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x52721f
mov esi, 0x8007000e
jmp 0x527261
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x52723f
call fcn.00525f70
jmp 0x52725f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00526f70
mov esi, eax
test edi, edi
je 0x52726c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x527290
lea ecx, [ebp - 0x418]
call fcn.00526790
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006e70bb
mov esp, ebp
pop ebp
ret 0x10
Function at 0x527bb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x527bc9
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x527bd5
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x527bd0
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x527c10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x527c25
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x527c30
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x5fda50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a8988
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x8ca144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 8]
push 0x5fdae0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea esi, [edi + 0x2c]
mov dword [ebp + 8], eax
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x5fdab8
lea eax, [ebp + 8]
push eax
call fcn.004265b0
push dword [edi + 0x50]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x605d70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a9d12
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x8ca144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x28], 8
lea edi, [ecx + 0x14]
mov dword [ebp - 0x10], 0
jb 0x605dab
mov eax, dword [edi]
jmp 0x605dad
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x605ddb
mov esi, dword [ebp + 8]
xor eax, eax
push 0xffffffffffffffff
push eax
push edi
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.00402aa0
jmp 0x605e21
mov eax, dword [0x8cc678]
test eax, eax
jne 0x605e16
push 0x39c
call fcn.006e707a
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x605e08
mov ecx, eax
call fcn.0050b200
jmp 0x605e0a
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x8cc678], eax
mov esi, dword [ebp + 8]
mov ecx, eax
push esi
call fcn.0050bef0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x6e81f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ac653
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x8ca144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x8cfee0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x8cfee0
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x7ba371
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.006ebdd0
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x6f5a13
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x6f5a36
or esi, 1
push 1
call edi
test ax, ax
jns 0x6f5a42
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x6f5a4e
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x6f5a5a
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x702588
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x7aeee1
call fcn.00772fd1
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.00702917
call fcn.006f5438
push eax
lea ecx, [ebp - 0x94]
call fcn.006f2dce
xor edi, edi
mov dword [ebp - 4], edi
call fcn.006f54bd
mov ecx, eax
call fcn.006f34ca
test al, al
je 0x70269e
push ebx
lea ecx, [ebp - 0x94]
call fcn.006f2fbb
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00605d60
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x70260f
push str.Error_opening_file
jmp 0x70277f
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x702718
cmp edi, 0x400000
ja 0x702729
and dword [ebp - 0x2c8], 0
push edi
call fcn.006e70fd
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2cc], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x702687
push ebx
call fcn.006e7106
pop ecx
mov ecx, esi
call fcn.00702917
push 0
push str.Could_not_read_file
jmp 0x70277f
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.007027ca
push dword [ebp - 0x2cc]
jmp 0x7027ad
call fcn.006f54bd
push eax
lea ecx, [ebp - 0x94]
call fcn.006f2f9e
call fcn.006f575e
test al, al
je 0x7026bf
call fcn.006f54c8
jmp 0x7026d6
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.00605d60
push eax
call fcn.007141f8
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x7026e7
push eax
push str.Error_opening_zip_file
jmp 0x70277f
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.00713c39
add esp, 0x14
test eax, eax
je 0x70270e
push 0
push str.Could_not_find_ziped_file
jmp 0x70277f
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x702721
push 0
push str.File_is_empty
jmp 0x70277f
cmp ebx, 0x400000
jbe 0x702732
push 0
push 0x871ec0
jmp 0x70277f
push ebx
call fcn.006e70fd
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.007145b8
add esp, 0x18
test eax, eax
je 0x70278a
cmp eax, 0x600
je 0x70278a
push dword [ebp - 0x2c8]
call fcn.006e7106
pop ecx
call fcn.006f575e
test al, al
jne 0x702778
push edi
call fcn.00713a93
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.0070293f
mov bl, al
jmp 0x7027b5
call fcn.006f575e
test al, al
jne 0x70279a
push edi
call fcn.00713a93
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.007027ca
push edi
mov bl, al
call fcn.006e7106
pop ecx
lea ecx, [ebp - 0x94]
call fcn.006f2ec7
mov al, bl
call fcn.00772f7b
ret 8
Function at 0x713ae5
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x8ca144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x713b9b
movzx eax, word [esi]
test ax, ax
je 0x713b9b
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x713b25
cmp ax, 0x5c
jne 0x713b27
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x713b19
cmp edi, esi
je 0x713b6e
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.0075feb4
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x713bab
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00713ae5
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0075fe77
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0075fe06
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.006e70bb
mov esp, ebp
pop ebp
ret
call fcn.006e75c7
int3

Function at 0x714170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x7141ec
cmp dword [edi + 4], 0xffffffff
jne 0x7141ec
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x8b08b4
push esi
call fcn.0075fe06
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x7141be
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x7141be
mov eax, 0x2000000
jmp 0x7141f1
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0071669c
add esp, 0x10
test eax, eax
jne 0x7141dc
mov eax, dword [ebp - 4]
jmp 0x7141f1
push eax
call fcn.00716da9
mov dword [edi], eax
mov eax, dword [0x8d0494]
pop ecx
jmp 0x7141f1
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x7167a9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x7167dd
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x7167d8
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x716804
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x7167ed
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.0074f6a0
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x716977
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x716985
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x716a44
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x87b248]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x87b248]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x87b248]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x87b248]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x87b248]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x87b248]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x87b248]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x87b248]
sub edi, 1
jne 0x71699d
pop edi
test esi, esi
je 0x716a60
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x87b248]
inc edx
sub esi, 1
jne 0x716a48
not ecx
mov eax, ecx
pop esi
pop ebp
ret