joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55d490
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff104
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x69001c]
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 esi, ecx
cmp dword [esi + 0x60], 0
je 0x55d5d0
mov eax, dword [esi + 0x60]
add eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
mov dword [ebp - 0xa8], eax
dec ecx
dec eax
and ecx, eax
mov eax, dword [esi + 0x54]
mov eax, dword [eax + ecx*4]
mov ebx, eax
mov dword [ebp - 0xa8], eax
cmp dword [eax + 0x14], 8
mov edi, dword [eax + 0x10]
jb 0x55d4f6
mov ebx, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x55d518
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x55d501
mov eax, dword [ebp - 0xa8]
push edx
push eax
lea eax, [ebp - 0xac]
push eax
lea ecx, [esi + 0x64]
call fcn.0040c0a0
mov eax, dword [eax + 4]
test eax, eax
jne 0x55d533
mov eax, dword [esi + 0x68]
cmp eax, dword [esi + 0x68]
je 0x55d53d
mov edi, dword [eax + 0x20]
jmp 0x55d53f
xor edi, edi
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov edx, dword [eax + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov word [ebp - 0x58], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x5c]
push eax
call edx
mov bl, al
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.004075e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
jmp 0x55d688
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov eax, dword [eax + 0x34]
mov dword [ebp - 0xa4], 0x13a4
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], cx
mov dword [ebp - 4], 5
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], cx
mov byte [ebp - 4], 6
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 4], 7
lea edx, [ebp - 0xa4]
mov ecx, dword [esi + 0x24]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov bl, al
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.004075e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.004075e0
mov al, bl
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.0059046a
mov esp, ebp
pop ebp
ret 4
Function at 0x55e9d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff44d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x69001c]
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 edi, dword [ebp + 8]
lea ebx, [ecx + 0x98]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], ebx
cmp dword [edi + 0x14], 8
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x44], edi
jb 0x55ea1e
mov eax, dword [edi]
mov dword [ebp - 0x44], eax
lea eax, [ecx + ecx]
mov edx, 0x811c9dc5
xor ecx, ecx
test eax, eax
je 0x55ea48
mov esi, dword [ebp - 0x44]
mov ebx, eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x55ea31
mov esi, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x50]
push edx
push edi
lea eax, [ebp - 0x54]
mov ecx, ebx
push eax
call fcn.0040c0a0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x55ea83
cmp ecx, dword [ebx + 4]
je 0x55ea83
add ecx, 0x20
cmp ecx, esi
je 0x55eb32
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x55ea77
mov esi, dword [esi]
push eax
push esi
call fcn.00406e80
jmp 0x55eb32
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x55eae9
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x55eadf
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.00406e80
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x55eb05
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x55eafb
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00406e80
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004d92b0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.004075e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004075e0
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.0059046a
mov esp, ebp
pop ebp
ret 8
Function at 0x55eb50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff49e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x69001c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
add eax, 0x98
mov dword [ebp - 0x14], 0
mov edi, edx
mov dword [ebp - 0x18], eax
cmp dword [edx + 0x14], 8
mov ebx, dword [edx + 0x10]
jb 0x55eb9c
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x55ebbb
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x55eba7
mov eax, dword [ebp - 0x18]
push esi
push edx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.0040c0a0
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax + 4]
test eax, eax
jne 0x55ebd8
mov eax, dword [ecx + 0x9c]
cmp eax, dword [ecx + 0x9c]
je 0x55ec11
mov ecx, dword [ebp + 8]
add eax, 0x20
push eax
call fcn.00406350
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x55f450
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff7b1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x69001c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0x633a40
mov dword [edi + 4], 0x633a3c
mov dword [edi + 0x58], 0x633a34
mov dword [ebp - 4], 7
lea ecx, [edi + 0x13c]
call fcn.004075e0
mov byte [ebp - 4], 6
lea ecx, [edi + 0x124]
call fcn.004075e0
mov byte [ebp - 4], 5
lea esi, [edi + 0xf8]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 9
mov eax, dword [esi + 4]
test eax, eax
je 0x55f4cc
call eax
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x55f4d8
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 5
lea ecx, [esi + 0x10]
call fcn.004075e0
mov byte [ebp - 4], 4
lea ecx, [edi + 0xd8]
call fcn.004075e0
mov byte [ebp - 4], 3
lea ecx, [edi + 0xcc]
call fcn.00431810
mov byte [ebp - 4], 2
lea esi, [edi + 0x9c]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0xc]
call fcn.0040b640
mov byte [ebp - 4], 2
mov edx, dword [esi + 4]
call fcn.00429ff0
push 0x38
push dword [esi + 4]
call fcn.00590478
add esp, 8
mov byte [ebp - 4], 1
lea esi, [edi + 0x7c]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0xc]
call fcn.0040b640
mov byte [ebp - 4], 1
mov edx, dword [esi + 4]
call fcn.00429ff0
push 0x38
push dword [esi + 4]
call fcn.00590478
add esp, 8
mov byte [ebp - 4], 0
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x55f57c
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 4]
call fcn.0055f3b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x560e30
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ffcdd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x69001c]
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 edi, ecx
mov esi, dword [edi + 0x68]
lea ecx, [ebp - 0x28]
push 0xa
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.TRANSFORMS
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00406e80
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0055eb50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004075e0
cmp dword [ebp - 0x30], 0
je 0x560fcd
cmp dword [edi + 0xc8], 0
je 0x560fc1
mov eax, dword [edi + 0x68]
add eax, 4
push eax
call fcn.00564940
test al, al
jne 0x560f95
mov eax, dword [edi + 0x68]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x560ef3
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x44]
call fcn.00416940
mov byte [ebp - 4], 3
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x4c], 0x61675c
mov dword [ebp - 0x48], esi
mov byte [ebp - 4], 4
cmp esi, 0xffffffff
jne 0x560f46
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x4c], 0x61675c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x560f67
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x4c], 0x61675c
test esi, esi
je 0x560f6e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x560f8d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp ebx, 0x3200000
jbe 0x560fc1
push ecx
mov ecx, dword [edi + 0xc8]
push 0
push 0xdc
call fcn.0051f350
lea eax, [edi + 0x58]
push eax
call fcn.0051f5d0
mov ecx, dword [edi + 0xc8]
lea ecx, [ecx + 0xc]
call fcn.00518060
jmp 0x560fcd
mov eax, dword [edi + 0x58]
lea ecx, [edi + 0x58]
push 0
push 0
call dword [eax]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004075e0
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.0059046a
mov esp, ebp
pop ebp
ret
Function at 0x561460
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ffe7d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x69001c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x10]
mov ecx, str.AI_InstallPrerequisite
mov eax, dword [ebp + 8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5614bb
test dx, dx
je 0x5614b7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5614bb
add eax, 4
add ecx, 4
test dx, dx
jne 0x561495
xor eax, eax
jmp 0x5614c0
sbb eax, eax
or eax, 1
test eax, eax
je 0x5614cb
xor al, al
jmp 0x5615d2
push 0
push 0
mov edx, str.prereq
lea ecx, [ebp - 0x44]
call fcn.0040ad90
add esp, 8
mov dword [ebp - 4], 0
xor eax, eax
push 0x37
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push str.SELECT__Data__FROM__Binary__WHERE__Name___Prereq.dll
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00406e80
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x2c]
mov ecx, eax
call fcn.00548fd0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004075e0
cmp dword [ebp - 0x30], 8
lea esi, [ebp - 0x44]
push 0x5c
cmovae esi, dword [ebp - 0x44]
push esi
call fcn.00591c7a
add esp, 8
test eax, eax
je 0x56156d
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x50]
push dword [ebp - 0x48]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x60]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x4c], eax
call fcn.005670e0
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x5615b3
push str.InstallPrereq
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5615b3
push dword [ebp + 0xc]
call eax
mov dword [ebx], eax
mov bl, 1
jmp 0x5615b5
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.005667f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004075e0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059046a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x565480
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600aae
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x69001c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
mov edi, dword [ebp + 8]
push 0x104
mov dword [ebp - 0x254], edi
push eax
mov dword [ebp - 0x250], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
add eax, eax
cmp eax, 0x208
jae 0x56563f
xor ecx, ecx
mov word [ebp + eax - 0x21c], cx
xor eax, eax
mov dword [ebp - 0x234], ecx
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x224], ecx
lea edx, [eax + 2]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], 7
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x565524
sub eax, edx
lea ecx, [ebp - 0x234]
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00406e80
mov dword [ebp - 4], 1
lea eax, [ebp - 0x234]
push 1
sub esp, 0x18
mov dword [ebp - 0x258], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x25c], esp
push eax
call fcn.00406350
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.004f1920
add esp, 0x18
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.004f1d70
mov byte [ebp - 4], 1
mov dword [ebp - 0x250], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.004075e0
push 0xb
xor eax, eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x23c], 0
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x238], 0
push str.msiexec.exe
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.00406e80
mov dword [ebp - 4], 5
lea eax, [ebp - 0x24c]
push eax
mov ecx, edi
call fcn.004b0d10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.004075e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059046a
mov esp, ebp
pop ebp
ret 4
call fcn.00590b6a
int3
Function at 0x565c00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600c1d
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x69001c]
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 - 0xe8], ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xe0], ebx
xor edi, edi
xor eax, eax
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xcc], ebx
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0xdc]
push eax
mov ecx, esi
call fcn.00555e30
test al, al
jne 0x565e4c
mov ecx, esi
call fcn.005562a0
lea eax, [ebp - 0xac]
mov ecx, esi
push eax
call fcn.00555e30
test al, al
jne 0x565e4c
cmp dword [ebp - 0xc8], 8
lea eax, [ebp - 0xdc]
cmovae eax, dword [ebp - 0xdc]
push eax
call fcn.00599654
mov edi, eax
add esp, 4
and eax, 0xff000000
cmp eax, 0xd000000
je 0x565e0a
mov eax, dword [ebp - 0xe8]
cmp dword [ebp - 0x98], 8
mov ecx, dword [eax + 0x74]
mov eax, dword [ecx]
mov edx, dword [eax]
lea eax, [ebp - 0xac]
cmovae eax, dword [ebp - 0xac]
push eax
push edi
call edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x94]
push 0xa
push 0x40
push ecx
push eax
call fcn.0059a3de
add esp, 0x10
mov dword [ebp - 0xc4], 0
xor eax, eax
mov dword [ebp - 0xb4], 0
mov word [ebp - 0xc4], ax
lea eax, [ebp - 0x94]
mov dword [ebp - 0xb0], 0
lea edx, [eax + 2]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x565d85
sub eax, edx
lea ecx, [ebp - 0xc4]
sar eax, 1
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00406e80
or ebx, 1
lea edx, [ebp - 0xec]
mov dword [ebp - 0xe0], ebx
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0xb0], 8
push 0
push edx
lea ecx, [eax + eax]
lea eax, [ebp - 0xc4]
cmovae eax, dword [ebp - 0xc4]
push ecx
push eax
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
and ebx, 0xfffffffe
mov dword [ebp - 0xe0], ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.004075e0
mov edi, dword [ebp - 0xe4]
jmp 0x565e36
cmp dword [ebp - 0x98], 8
lea eax, [ebp - 0xac]
cmovae eax, dword [ebp - 0xac]
push eax
call fcn.00599654
add esp, 4
mov edi, eax
mov ecx, esi
mov dword [ebp - 0xe4], edi
call fcn.005562a0
lea eax, [ebp - 0xdc]
mov ecx, esi
push eax
call fcn.00555e30
test al, al
je 0x565cb8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.004075e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc]
call fcn.004075e0
mov eax, edi
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.0059046a
mov esp, ebp
pop ebp
ret 4
Function at 0x5667f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600e40
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x69001c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
cmp byte [esi + 8], 0
jne 0x56684d
mov dword [ebp - 4], 0
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x56683f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5668a0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x600ebd
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x69001c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], 0
lea eax, [edi + 0x68]
mov dword [edi], 0x6339f0
mov dword [edi + 0x10], 0x6339e8
mov dword [ebp - 0x18], eax
mov dword [eax], vtable.std::ios_base.0
mov dword [eax + 8], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [ebp - 4], 0
mov dword [eax], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 1
lea ebx, [edi + 0x18]
mov eax, dword [edi]
push 0
push ebx
mov dword [ebp - 0x14], 1
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x6339e4
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.004f7290
mov dword [ebp - 4], 6
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 4]
mov dword [edi + eax + 0x10], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi + 0xc], eax
mov dword [ebp - 4], 9
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x6339f8
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + edi - 4], eax
mov dword [ebp - 4], 0xa
mov eax, dword [edi]
push 8
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x633a04
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
lea eax, [ecx - 0x68]
mov dword [ecx + edi - 4], eax
mov dword [ebx], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.005904a9
push 1
mov esi, eax
call fcn.0058e1a7
mov dword [esi + 4], eax
add esp, 8
lea eax, [edi + 0x18]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
lea esi, [eax + 8]
mov dword [ebp - 0x18], ebx
lea edi, [eax + 0x14]
mov dword [eax + 0xc], ebx
lea ecx, [eax + 0x18]
mov dword [eax + 0x10], esi
lea edx, [eax + 0x24]
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
mov ebx, dword [ebp - 0x10]
add eax, 0x28
mov dword [ebx + 0x48], eax
mov ebx, dword [ebp - 0x18]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0x62b78c
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4