joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1064d6d
Capabilities:
Delete file

Disassembly:
push 0x18
mov eax, 0x109ce89
call fcn.010038c8
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call sub.MFC42u.dll_CString::CString
mov byte [ebp - 4], 1
cmp dword [esi + 0xf0], ebx
jne 0x1064dc1
call fcn.01080e4d
mov esi, eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.01004490
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x1064dba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x1064f2a
mov edi, dword [ebp + 8]
lea eax, [edi + 0xd4]
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42u.dll_CString::CString_2
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp dword [eax - 8], ebx
jne 0x1064df9
push 0x80004001
call fcn.01080e58
lea ecx, [ebp - 0x18]
mov esi, eax
mov byte [ebp - 4], 1
call fcn.01004490
jmp 0x1064d9e
mov eax, dword [esi + 0xb8]
add eax, 0x5c
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 8]
push eax
call fcn.01061499
cmp eax, ebx
je 0x1064e17
push eax
jmp 0x1064de4
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.01007dda
push dword [ebp + 8]
call fcn.01008062
pop ecx
lea eax, [ebp - 0x14]
push eax
push 0x12
push dword [ebp - 0x10]
mov dword [ebp + 8], ebx
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileW]
cmp eax, ebx
jne 0x1064e14
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.010642f4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.0106431f
cmp dword [ebp - 0x1c], ebx
jne 0x1064e68
cmp eax, ebx
jne 0x1064e68
lea ecx, [ebp - 0x24]
jmp 0x1064e6a
xor ecx, ecx
mov eax, dword [esi + 0xf4]
push ecx
push dword [ebp - 0x14]
push 1
push eax
mov eax, dword [esi + 0xb8]
push dword [eax + 0x60]
call fcn.0101f372
mov esi, eax
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.01007f3c
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], ebx
je 0x1064ea0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, ebx
je 0x1064eaa
push esi
jmp 0x1064de4
cmp dword [0x10aa454], ebx
je 0x1064f00
mov al, byte [0x10aa458]
cmp al, 4
jae 0x1064ebf
cmp al, bl
jne 0x1064f00
mov ecx, dword [0x10aa444]
mov edx, SysReAllocString
and ecx, edx
xor eax, eax
or eax, ecx
je 0x1064f00
mov ecx, dword [0x10aa44c]
mov eax, ecx
and eax, edx
xor edx, edx
cmp edx, dword [0x10aa448]
jne 0x1064f00
cmp eax, ecx
jne 0x1064f00
push 0x10543a0
push dword [0x10aa39c]
push dword [0x10aa398]
call fcn.01058f30
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.01004490
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.01004490
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x1064f28
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
call fcn.01003910
ret 4
Function at 0x1079938
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x10aa090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
mov ecx, ebx
call sub.MFC42u.dll_CDataExchange::PrepareEditCtrl
cmp dword [ebx], 0
mov edi, eax
je 0x10799d8
push 0x40
lea eax, [ebp - 0x84]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x84], 0
je 0x10799d0
push esi
lea eax, [ebp - 0x84]
mov edi, 0x10aa178
push eax
mov ecx, edi
call fcn.0107d674
test eax, eax
jne 0x10799ab
push 0xffffffffffffffff
push 0x40
push 0x67
call sub.MFC42u.dll_AfxMessageBox
mov ecx, ebx
call sub.MFC42u.dll_CDataExchange::Fail
push 2
push dword [esi]
lea eax, [ebp - 0x84]
push 0x40
push eax
mov ecx, edi
call fcn.0107d96b
push esi
lea eax, [ebp - 0x84]
push eax
mov ecx, edi
call fcn.0107d674
jmp 0x1079a06
mov dword [esi], SysReAllocString
jmp 0x1079a06
mov esi, dword [esi]
cmp esi, 0x7fffffff
je 0x1079a06
push 2
push esi
push 0x40
lea eax, [ebp - 0x84]
push eax
mov ecx, 0x10aa178
call fcn.0107d96b
lea eax, [ebp - 0x84]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100449b
leave
ret 0xc

Function at 0x107d5ec
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10aa090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp word [eax], 0
je 0x107d65f
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.MFC42u.dll_AfxFullPath
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
movzx eax, ax
mov dword [ebp - 0x210], eax
test ax, ax
je 0x107d65f
lea eax, [ebp - 0x210]
push eax
push 0x107d1f3
call dword [sym.imp.USER32.dll_EnumWindows]
cmp word [ebp - 0x210], 0
jne 0x107d653
xor eax, eax
inc eax
jmp 0x107d661
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_DeleteAtom]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0100449b
leave
ret 4

Function at 0x107e3a3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp + 8], esi
jne 0x107e3b8
xor eax, eax
jmp 0x107e41c
push edi
push esi
push 0x80
push 3
push esi
push 3
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x107e3dd
xor eax, eax
jmp 0x107e41b
push esi
lea eax, [ebp - 4]
push eax
push 2
lea eax, [ebp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x107e412
cmp dword [ebp - 4], 2
jne 0x107e412
mov eax, 0xfeff
cmp word [ebp + 8], ax
je 0x107e40f
mov eax, 0xfffe
cmp word [ebp + 8], ax
jne 0x107e412
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
leave
ret 4
Function at 0x107fa42
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x10aa090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.SHELL32.dll_DragQueryFileW]
push edi
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
push ebx
mov edi, ecx
mov dword [ebp - 0x220], eax
call esi
mov ecx, edi
mov dword [ebp - 0x21c], eax
call fcn.010225a7
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x228]
push eax
mov ecx, edi
call fcn.01020e37
and dword [ebp - 0x214], 0
cmp dword [ebp - 0x21c], 0
jbe 0x107fb74
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x214]
push ebx
call esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x107fb5c
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x228]
push eax
mov ecx, edi
call fcn.01078dc9
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x218], 1
call fcn.01080b95
test eax, eax
je 0x107fb29
push 0
push 1
xor eax, eax
push eax
push dword [ebp - 0x230]
lea eax, [ebp - 0x210]
push eax
mov ecx, edi
call fcn.01099bcd
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x21c], 1
jne 0x107fb45
xor eax, eax
cmp dword [ebp - 0x218], eax
sete al
mov dword [ebp - 0x220], eax
jmp 0x107fb5c
cmp dword [ebp - 0x218], 0
je 0x107fb5c
lea eax, [ebp - 0x210]
push eax
mov ecx, edi
call fcn.0109836e
inc dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 0x21c]
jb 0x107faa9
lea eax, [ebp - 0x228]
push eax
mov ecx, edi
call fcn.01078dc9
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x220]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100449b
leave
ret 4
Function at 0x10893a7
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push 0x43c
mov eax, 0x10a34e6
call fcn.010044ce
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x428], ebx
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 4], ebx
mov edi, ecx
mov dword [ebp - 0x42c], esi
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x10046c8
mov ecx, esi
call fcn.0100b2d8
push ebx
push 0x1a
lea eax, [ebp - 0x218]
push eax
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x10894f4
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.0100b304
push 0x1089500
mov ecx, esi
call fcn.0108923f
lea eax, [edi + 0x1c]
push eax
mov ecx, esi
mov dword [ebp - 0x424], eax
call fcn.0100cd0a
push 0x1020338
mov ecx, esi
call fcn.0108923f
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x1089460
mov eax, dword [edi]
jmp 0x1089462
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1089486
cmp dword [esi + 0x18], 8
jb 0x1089478
mov eax, dword [edi]
jmp 0x108947a
mov eax, edi
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp eax, ebx
jne 0x10894ce
mov eax, dword [ebp - 0x424]
cmp dword [eax + 0x18], 8
jb 0x1089497
mov eax, dword [eax + 4]
jmp 0x108949a
add eax, 4
cmp dword [esi + 0x18], 8
jb 0x10894a2
mov edi, dword [edi]
lea ecx, [ebp - 0x420]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0x10046c8
mov ecx, esi
call fcn.0100b304
lea eax, [ebp - 0x420]
push eax
mov ecx, esi
call fcn.0108923f
jmp 0x10894f4
lea ecx, [ebp - 0x448]
call fcn.0100b62f
xor edi, edi
inc edi
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.0100b64b
push ebx
push edi
lea ecx, [ebp - 0x448]
call fcn.01008000
mov eax, esi
call fcn.0100450b
ret 4
Function at 0x108abcd
Capabilities:
Delete file

Disassembly:
push 0x60
mov eax, 0x10a3a31
call fcn.010044ce
mov esi, ecx
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp - 0x6c]
push 0x10558f0
push eax
call fcn.0100ccbe
push 0x10558d4
push eax
lea eax, [ebp - 0x2c]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.01089309
add esp, 0x18
push edi
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.01008000
push 0x10046c8
mov ecx, esi
call fcn.0100b49c
test eax, eax
jne 0x108ac39
xor esi, esi
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.01008000
mov eax, esi
call fcn.0100450b
ret
push 0xffffffffffffffff
push edi
push esi
lea ecx, [ebp - 0x2c]
call fcn.0100cd24
mov edi, 0x105586c
push edi
lea ecx, [ebp - 0x50]
call fcn.0100b2d8
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x34]
lea ebx, [esi + 0x48]
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.01089299
mov eax, dword [eax]
push 0
push 1
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
call fcn.01008000
mov eax, dword [esi + 0x4c]
cmp dword [ebp - 0x30], eax
je 0x108acbf
push edi
lea ecx, [ebp - 0x50]
call fcn.0100b2d8
lea eax, [ebp - 0x50]
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.0108a1a2
cmp dword [eax + 0x18], 8
jb 0x108aca9
mov eax, dword [eax + 4]
jmp 0x108acac
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.01008000
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x108accb
lea eax, [ebp - 0x28]
push eax
push SysReAllocString
mov ecx, esi
call fcn.010890c1
mov esi, eax
jmp 0x108ac25
Function at 0x108ade3
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x46c
mov eax, 0x10a3b0c
call fcn.010044ce
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
mov word [ebp - 0x418], ax
xor esi, esi
lea eax, [ebp - 0x416]
push esi
push eax
mov ebx, ecx
call sub.msvcrt.dll_memset
push 0x60
mov dword [ebp - 0x448], 0x104
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x43c], esi
call sub.MFC42u.dll_operatornew
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x420], ecx
mov dword [ebp - 4], esi
cmp ecx, esi
je 0x108ae72
add ebx, 0x1c
push ebx
call fcn.01029276
mov dword [ebp - 0x41c], eax
jmp 0x108ae78
mov dword [ebp - 0x41c], esi
lea eax, [ebp - 0x45c]
push eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x424]
push eax
push esi
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x418]
push eax
push edi
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, esi
jne 0x108b01a
cmp dword [ebp - 0x424], esi
je 0x108b017
lea ecx, [ebp - 0x454]
call fcn.010292db
mov dword [ebp - 4], 1
mov dword [ebp - 0x428], esi
cmp dword [ebp - 0x424], esi
jbe 0x108afce
lea eax, [ebp - 0x45c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x428]
mov dword [ebp - 0x440], 0xff
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, esi
jne 0x108afb6
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x478]
call fcn.0100b2d8
mov ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x478]
push eax
mov byte [ebp - 4], 2
call fcn.0108a621
push esi
push 1
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 1
call fcn.01008000
mov ecx, dword [ebp - 0x41c]
call fcn.0108ace4
test eax, eax
je 0x108af8f
mov ecx, dword [ebp - 0x41c]
call fcn.0108905b
test eax, eax
je 0x108afb6
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], ebx
push eax
lea ecx, [ebp - 0x454]
inc ebx
call fcn.0108a291
lea ecx, [ebp - 0x210]
push ecx
mov ecx, eax
call fcn.0100b304
inc dword [ebp - 0x428]
mov eax, dword [ebp - 0x428]
cmp eax, dword [ebp - 0x424]
jb 0x108af04
xor edi, edi
cmp ebx, esi
jbe 0x108b008
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x420], edi
call fcn.0108a291
mov ecx, dword [ebp - 0x41c]
push eax
call fcn.0108a621
mov ecx, dword [ebp - 0x41c]
call fcn.0108abcd
inc edi
cmp edi, ebx
jb 0x108afd4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x454]
call fcn.01089cb6
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x41c]
cmp ecx, esi
je 0x108b02b
push 1
call fcn.010113d4
mov eax, ebx
call fcn.0100450b
ret 4
Function at 0x108b159
Capabilities:
Create directory
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10aa090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x210], ebx
cmp dword [esi + 0xc], ebx
jne 0x108b189
mov eax, 0x80004005
jmp 0x108b2b8
push edi
lea eax, [ebp - 0x20c]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, ebx
je 0x108b1a5
cmp eax, edi
jbe 0x108b1ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0108d498
cmp eax, ebx
mov dword [ebp - 0x214], eax
jl 0x108b2a5
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, 0xb7
test eax, eax
jne 0x108b208
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x108b208
test eax, eax
jle 0x108b1fa
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x214], eax
test eax, eax
jl 0x108b2a5
push dword [esi + 4]
call fcn.01008062
mov eax, dword [ebp - 0x210]
and dword [ebp - 0x210], 0
mov dword [esi + 4], eax
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x108b266
push dword [0x10af498]
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0100f954
test eax, eax
jl 0x108b266
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0108d498
mov dword [ebp - 0x214], eax
test eax, eax
jl 0x108b2a5
push 0
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x108b28c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x108b28c
mov dword [ebp - 0x214], 1
push dword [esi + 4]
call fcn.01008062
mov eax, dword [ebp - 0x210]
and dword [ebp - 0x210], 0
pop ecx
mov dword [esi + 4], eax
push dword [ebp - 0x210]
call fcn.01008062
mov eax, dword [ebp - 0x214]
pop ecx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0100449b
leave
ret
Function at 0x108d67a
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi - 0xc]
neg eax
lea ecx, [esi + 4]
sbb eax, eax
and eax, ecx
push eax
lea ecx, [ebp - 8]
mov dword [ebp - 4], edi
call fcn.0108b3dd
lea eax, [esi + 0x8c]
cmp dword [eax], edi
je 0x108d793
push dword [esi + 0x5c]
mov dword [eax], edi
call fcn.01008062
mov eax, dword [esi + 0x6c]
pop ecx
cmp eax, edi
je 0x108d6c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x6c], edi
mov eax, dword [esi + 0x70]
cmp eax, edi
je 0x108d6d8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x70], edi
mov eax, dword [esi + 0x74]
push ebx
mov ebx, 0x1055980
cmp eax, edi
je 0x108d70b
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push ebx
push eax
call dword [ecx]
test eax, eax
jl 0x108d70b
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x108d70b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x74], edi
cmp eax, edi
je 0x108d73b
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push ebx
push eax
call dword [ecx]
test eax, eax
jl 0x108d73b
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x108d73b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x78]
mov dword [esi + 0x7c], edi
cmp eax, edi
je 0x108d76b
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push ebx
push eax
call dword [ecx]
test eax, eax
jl 0x108d76b
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x108d76b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x78]
pop ebx
cmp eax, edi
je 0x108d77c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x78], edi
mov eax, dword [esi + 0x64]
cmp eax, edi
je 0x108d793
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi + 0x64]
call fcn.01008062
pop ecx
mov eax, dword [ebp - 8]
cmp eax, edi
pop edi
pop esi
je 0x108d7a6
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
leave
ret
Function at 0x1090331
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea eax, [esi - 4]
neg eax
lea ecx, [esi + 4]
sbb eax, eax
and eax, ecx
push eax
lea ecx, [ebp - 4]
call fcn.0108b3dd
lea eax, [esi + 0x94]
xor ebx, ebx
cmp dword [eax], ebx
je 0x10903e6
mov dword [eax], ebx
cmp dword [esi + 0x9c], ebx
je 0x1090373
push ebx
lea ecx, [esi - 4]
call fcn.010902de
push edi
lea edi, [esi + 0x8c]
mov eax, dword [edi]
cmp eax, ebx
je 0x1090388
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
cmp dword [esi + 0x98], ebx
je 0x109039c
push dword [esi + 0x90]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi + 0x90]
call fcn.01008062
push dword [esi + 0x6c]
call fcn.01008062
push dword [esi + 0x74]
call fcn.01008062
lea edi, [esi + 0x84]
mov eax, dword [edi]
add esp, 0xc
cmp eax, ebx
je 0x10903ce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
lea edi, [esi + 0x88]
mov eax, dword [edi]
cmp eax, ebx
je 0x10903e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebx
mov dword [esi + 0x20], ebx
pop edi
mov eax, dword [ebp - 4]
pop esi
cmp eax, ebx
pop ebx
je 0x10903f9
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
leave
ret
Function at 0x1090493
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
or dword [ebp - 8], 0xffffffff
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov eax, esi
xor edi, edi
neg eax
lea ecx, [esi + 8]
sbb eax, eax
and eax, ecx
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.0108b3dd
cmp dword [esi + 0x98], ebx
jne 0x10904d7
mov edi, 0x802a0035
jmp 0x1090647
mov eax, dword [esi + 0x94]
cmp eax, ebx
jne 0x10904fc
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x10904f2
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x80004005
jmp 0x1090663
cmp dword [esi + 0x9c], ebx
jne 0x1090647
push ebx
push 0x80
push 2
push ebx
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x1090554
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x109054a
call esi
cmp eax, ebx
jle 0x1090543
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
jmp 0x1090647
mov edi, 0x8000ffff
jmp 0x1090647
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
push esi
call dword [eax + 0x14]
push 1
mov ecx, esi
call fcn.010902de
mov edi, eax
cmp edi, ebx
jge 0x10905c1
jmp 0x1090647
push ebx
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x78]
push dword [ebp - 4]
add eax, dword [esi + 0x80]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10905af
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x10905a5
and eax, 0xffff
or eax, 0x80070000
cmp eax, ebx
mov edi, eax
jl 0x1090647
mov eax, dword [ebp - 4]
add dword [esi + 0x84], eax
mov eax, dword [ebp - 0x10]
add dword [esi + 0x80], eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
call fcn.0108fe7e
cmp dword [ebp - 4], ebx
ja 0x1090572
mov ecx, esi
call fcn.0108fb1d
mov edi, eax
cmp edi, ebx
jl 0x1090647
push ebx
call fcn.010902de
mov edi, eax
cmp edi, ebx
jl 0x1090647
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
or dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x94]
lea ebx, [esi + 0x90]
push ebx
push eax
call fcn.0108d3ad
mov edi, eax
test edi, edi
jl 0x1090645
mov ebx, dword [ebx]
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push ebx
call dword [eax + 0x10]
mov edi, eax
test edi, edi
jl 0x1090645
mov eax, dword [ebp - 0x14]
xor ebx, ebx
cmp eax, dword [ebp - 0xc]
je 0x1090639
mov edi, 0x80004005
jmp 0x1090647
mov dword [esi + 0x9c], 1
jmp 0x1090647
xor ebx, ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x1090661
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10910d1
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x10910e4
xor eax, eax
jmp 0x10911ba
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x109119d
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x10911c0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x10911c0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x10911c0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x10911c0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x10911c0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x10911c0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x10911c0]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x10911c0]
inc edx
sub edi, 8
dec esi
jne 0x1091102
pop ebx
test edi, edi
je 0x10911b6
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x10911c0]
inc edx
dec edi
jne 0x10911a1
pop edi
not eax
pop esi
pop ebp
ret 0xc