joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425fd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a2fe6
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x8cf144]
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 ebx, ecx
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov ecx, 0x48
mov dword [ebp - 4], 0
mov esi, str.4GfGm6kmX8cfmdD9kG01yRJZVNWAu3uN4DW31QREOZozk5P7PdreZtJtoKXCmflEEdjyXbsoZMGSB7gqFa5ObYENdRqQzMk4feRq6Uh2wVlye1NKwdl4LhclXYdNcIebQoQviBMgoPmiz9lbNu4Y6IWn4sxlbNzSnFnk6AyMA0gPMSWabkeYtG1qLcb3gBiZxWtRslPrs6paaUPpFXiY8UmWvb4dET0QdVsWN6aV9v6vZy1ondFGkk0nmOaS9Z434gHcrId8izUTCjQHYk3oIFF0DRzMkxomf
mov dword [ebp - 0x138], 0xf
lea edi, [ebp - 0x134]
mov dword [ebp - 0x13c], 0
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x14c], 0
movsw word es:[edi], word [esi]
cmp byte [ebp - 0x134], 0
jne 0x426061
xor ecx, ecx
jmp 0x426079
lea ecx, [ebp - 0x134]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x426070
sub ecx, edx
push ecx
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x14c]
call fcn.00407c40
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x158]
call fcn.00407ea0
mov eax, dword [ebp - 0x138]
cmp eax, 0x10
jb 0x4260c0
inc eax
lea ecx, [ebp - 0x14c]
push eax
push dword [ebp - 0x14c]
call fcn.00407d40
lea eax, [ebx + 0x30]
mov dword [ebx], 1
push eax
push 0
push ebx
push 0x4268a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [ebp - 0x158]
mov dword [ebx + 0x2c], eax
test esi, esi
je 0x42612b
push dword [ebp - 0x15c]
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x154]
push esi
call fcn.004058d0
mov ecx, dword [ebp - 0x150]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0x10
imul ecx
lea ecx, [ebp - 0x158]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00407da0
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.006e615c
mov esp, ebp
pop ebp
ret
Function at 0x5144a0
Capabilities:
Hide graphical window

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

Function at 0x515e40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a7412
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x8cf144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00515540
mov ecx, esi
mov dword [esi + 0x4d0], 0
call fcn.00516030
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x8d40b8]
test eax, eax
jne 0x515ec2
push 0x4dc
call fcn.006e611b
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x515eb4
mov ecx, eax
call fcn.005194e0
jmp 0x515eb6
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x8d40b8], eax
mov ecx, eax
call fcn.005144a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x51a460
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a7e96
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x8cf144]
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.007512b0
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 0x51a6a3
lea edi, [ebp - 0x218]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x51a4e3
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 0x51a525
xor ecx, ecx
jmp 0x51a53f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51a530
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00402820
push 1
push 0x8b5784
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.00404470
cmp word [ebx], 0
jne 0x51a575
xor ecx, ecx
jmp 0x51a58f
mov ecx, ebx
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51a580
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x230]
call fcn.00404470
push 4
push str..lnk
lea ecx, [ebp - 0x230]
call fcn.00404470
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x248]
push eax
call fcn.0051ae80
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 0x51a62b
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.007432c6
add esp, 0x20
jmp 0x51a64a
cmp dword [ebp - 0x21c], 8
push 0
cmovae eax, dword [ebp - 0x230]
push dword [ebp - 0x250]
push eax
call fcn.007434e1
add esp, 0x1c
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x51a668
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 0x51a6a3
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.006e615c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x51a6d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a7ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x8cf144]
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.0073b9a4
add esp, 8
cmp word [edi], 0
mov dword [ebp - 4], 0
jne 0x51a725
xor ecx, ecx
jmp 0x51a73f
mov ecx, edi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51a730
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00404470
push 4
push str..lnk
lea ecx, [ebp - 0x28]
call fcn.00404470
mov edi, dword [ebp - 0x5c]
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
call fcn.0051ae80
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 0x51a7ac
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.007432c6
add esp, 0x20
jmp 0x51a7c0
cmp dword [ebp - 0x14], 8
push 0
cmovae eax, dword [ebp - 0x28]
push esi
push eax
call fcn.007434e1
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.0051ae80
push 0
push esi
push 0x150a
mov byte [ebp - 4], 2
call fcn.0051a870
add esp, 0xc
test al, al
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x51a809
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402920
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x51a81e
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 0x51a847
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.006e615c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x51dd30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a83c6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x8cf144]
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 0x51dddc
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x51dddc
call fcn.0051cc20
mov esi, eax
jmp 0x51decc
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x51ddff
call fcn.0051cc20
jmp 0x51debf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x51de1d
call fcn.0051cc20
jmp 0x51debf
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 0x51de3e
mov esi, 0x8007000e
jmp 0x51dec1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0051ca00
jmp 0x51de68
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x51de7f
mov esi, 0x8007000e
jmp 0x51dec1
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 0x51de9f
call fcn.0051cc20
jmp 0x51debf
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.0051dbd0
mov esi, eax
test edi, edi
je 0x51decc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x51def0
lea ecx, [ebp - 0x418]
call fcn.0051d400
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.006e615c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x51e820
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 0x51e839
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 0x51e845
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x51e840
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 0x51e880
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x51e895
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 0x51e8a0
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 0x5f4460
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a9f48
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x8cf144]
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 0x5f44f0
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 0x5f44c8
lea eax, [ebp + 8]
push eax
call fcn.00519470
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 0x5fcb30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ab372
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x8cf144]
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 0x5fcb6b
mov eax, dword [edi]
jmp 0x5fcb6d
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5fcb9b
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.00402a50
jmp 0x5fcbe1
mov eax, dword [0x8d1678]
test eax, eax
jne 0x5fcbd6
push 0x3c0
call fcn.006e611b
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x5fcbc8
mov ecx, eax
call fcn.00501cb0
jmp 0x5fcbca
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x8d1678], eax
mov esi, dword [ebp + 8]
mov ecx, eax
push esi
call fcn.00502aa0
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 0x6e72e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ade83
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x8cf144]
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], 0x8d4ee0
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], 0x8d4ee0
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x7badb9
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.006eaed0
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 0x6f75d0
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 0x6f75f3
or esi, 1
push 1
call edi
test ax, ax
jns 0x6f75ff
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x6f760b
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x6f7617
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x7039a9
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x7b061d
call fcn.00774621
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.00703d38
call fcn.006f7211
push eax
lea ecx, [ebp - 0x94]
call fcn.006f4ff4
xor edi, edi
mov dword [ebp - 4], edi
call fcn.006f721c
mov ecx, eax
call fcn.006f56f0
test al, al
je 0x703abf
push ebx
lea ecx, [ebp - 0x94]
call fcn.006f51e1
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00524130
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x703a30
push str.Error_opening_file
jmp 0x703ba0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x703b39
cmp edi, 0x400000
ja 0x703b4a
and dword [ebp - 0x2c8], 0
push edi
call fcn.006e619d
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 0x703aa8
push ebx
call fcn.006e61a6
pop ecx
mov ecx, esi
call fcn.00703d38
push 0
push str.Could_not_read_file
jmp 0x703ba0
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.00703beb
push dword [ebp - 0x2cc]
jmp 0x703bce
call fcn.006f721c
push eax
lea ecx, [ebp - 0x94]
call fcn.006f51c4
call fcn.006f74bf
test al, al
je 0x703ae0
call fcn.006f7222
jmp 0x703af7
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.00524130
push eax
call fcn.00715df7
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x703b08
push eax
push str.Error_opening_zip_file
jmp 0x703ba0
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.00715838
add esp, 0x14
test eax, eax
je 0x703b2f
push 0
push str.Could_not_find_ziped_file
jmp 0x703ba0
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x703b42
push 0
push str.File_is_empty
jmp 0x703ba0
cmp ebx, 0x400000
jbe 0x703b53
push 0
push 0x877cb4
jmp 0x703ba0
push ebx
call fcn.006e619d
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.007161b7
add esp, 0x18
test eax, eax
je 0x703bab
cmp eax, 0x600
je 0x703bab
push dword [ebp - 0x2c8]
call fcn.006e61a6
pop ecx
call fcn.006f74bf
test al, al
jne 0x703b99
push edi
call fcn.00715692
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00703d60
mov bl, al
jmp 0x703bd6
call fcn.006f74bf
test al, al
jne 0x703bbb
push edi
call fcn.00715692
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.00703beb
push edi
mov bl, al
call fcn.006e61a6
pop ecx
lea ecx, [ebp - 0x94]
call fcn.006f50ed
mov al, bl
call fcn.007745cb
ret 8
Function at 0x7156e4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x8cf144]
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 0x71579a
movzx eax, word [esi]
test ax, ax
je 0x71579a
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x715724
cmp ax, 0x5c
jne 0x715726
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x715718
cmp edi, esi
je 0x71576d
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.007615b4
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x7157aa
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.007156e4
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00761577
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00761506
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.006e615c
mov esp, ebp
pop ebp
ret
call fcn.006e6667
int3

Function at 0x715d6f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x715deb
cmp dword [edi + 4], 0xffffffff
jne 0x715deb
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x8b5784
push esi
call fcn.00761506
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x715dbd
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x715dbd
mov eax, 0x2000000
jmp 0x715df0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0071829b
add esp, 0x10
test eax, eax
jne 0x715ddb
mov eax, dword [ebp - 4]
jmp 0x715df0
push eax
call fcn.007189a8
mov dword [edi], eax
mov eax, dword [0x8d54a4]
pop ecx
jmp 0x715df0
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x7183a8
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 0x7183dc
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 0x7183d7
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x718403
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x7183ec
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.00750d30
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 0x718576
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x718584
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x718643
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 + 0x881b78]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x881b78]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x881b78]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x881b78]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x881b78]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x881b78]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x881b78]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x881b78]
sub edi, 1
jne 0x71859c
pop edi
test esi, esi
je 0x71865f
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x881b78]
inc edx
sub esi, 1
jne 0x718647
not ecx
mov eax, ecx
pop esi
pop ebp
ret