joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45063d
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov edi, ecx
mov dword [ebp - 4], esi
jne 0x450660
mov eax, 0x8876086c
jmp 0x450775
cmp dword [ebp + 0xc], esi
push ebx
je 0x4506f8
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
je 0x4506d8
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
push esi
push 0xfde9
call ebx
push eax
mov dword [ebp + 0xc], eax
call fcn.00508280
cmp eax, esi
pop ecx
mov dword [ebp - 4], eax
jne 0x4506bc
mov eax, 0x8007000e
jmp 0x450774
push esi
push esi
push dword [ebp + 0xc]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push esi
push 0xfde9
call ebx
mov eax, dword [ebp - 4]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], esi
cmp dword [ebp + 0xc], esi
je 0x4506f8
push esi
push 0x10000000
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x450711
push esi
push 0x10000000
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push dword [ebp - 4]
mov dword [edi], eax
call fcn.00508050
mov eax, dword [edi]
cmp eax, 0xffffffff
pop ecx
je 0x450762
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, 0xffffffff
mov dword [edi + 4], eax
je 0x450762
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [edi + 0xc], eax
je 0x450762
cmp eax, esi
je 0x45076f
push esi
push esi
push esi
push 4
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
mov dword [edi + 8], eax
jne 0x450772
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x88760b59
jmp 0x450774
mov dword [edi + 8], esi
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 8

Function at 0x4508f5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
xor esi, esi
cmp dword [ebx], esi
push edi
je 0x45090a
call fcn.004508d4
cmp dword [ebp + 0x14], esi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
jne 0x45091b
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp dword [ebp + 0x10], esi
je 0x450930
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
jne 0x450940
push 0xa
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
je 0x45096f
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [ebx + 8], eax
je 0x45096f
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebx], eax
je 0x45096f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebx + 4], eax
jne 0x45097c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x88760b59
jmp 0x45097e
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x452f8b
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x20
lea eax, [ebp - 0x24]
push eax
push dword [ecx + 0x30]
mov dword [ebp - 0x24], 0x20666f78
mov dword [ebp - 0x20], 0x34303330
mov dword [ebp - 0x1c], 0x206e6962
mov dword [ebp - 0x18], 0x32333030
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, 0x7ff8fff2
add eax, 0x8007000e
leave
ret

Function at 0x45381d
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 4], ebx
jne 0x453850
mov eax, 0x88760389
jmp 0x453912
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x453867
mov esi, 0x8876038f
jmp 0x4538cf
push esi
push esi
push esi
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x453860
push esi
push esi
push esi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
mov dword [ebp + 8], eax
jne 0x453895
mov esi, 0x8876038f
jmp 0x4538c8
push 0x24
call fcn.00508280
cmp eax, esi
pop ecx
je 0x4538b4
push edi
push dword [ebp + 8]
mov ecx, eax
push ebx
push dword [ebp - 4]
call fcn.00464bd4
mov edi, eax
jmp 0x4538b6
xor edi, edi
cmp edi, esi
jne 0x4538dc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, 0x8007000e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x453911
push 0x30
call fcn.00508280
cmp eax, esi
pop ecx
je 0x4538f5
push edi
push dword [ebp + 0xc]
mov ecx, eax
call fcn.00453568
jmp 0x4538f7
xor eax, eax
cmp eax, esi
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jne 0x45390f
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov eax, 0x8007000e
jmp 0x453911
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x453918
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
call fcn.00464e47
test eax, eax
jne 0x45395e
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call fcn.0050d610
add esp, 0xc
push dword [ebp + 0x10]
lea eax, [ebp - 0x108]
push dword [ebp + 0xc]
mov byte [ebp - 5], 0
push eax
call fcn.0045381d
jmp 0x453a4f
push ebx
push esi
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 4], ebx
jne 0x45398b
mov eax, 0x88760389
jmp 0x453a4d
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4539a2
mov esi, 0x8876038f
jmp 0x453a0a
push esi
push esi
push esi
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45399b
push esi
push esi
push esi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
mov dword [ebp + 8], eax
jne 0x4539d0
mov esi, 0x8876038f
jmp 0x453a03
push 0x24
call fcn.00508280
cmp eax, esi
pop ecx
je 0x4539ef
push edi
push dword [ebp + 8]
mov ecx, eax
push ebx
push dword [ebp - 4]
call fcn.00464bd4
mov edi, eax
jmp 0x4539f1
xor edi, edi
cmp edi, esi
jne 0x453a17
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, 0x8007000e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x453a4c
push 0x30
call fcn.00508280
cmp eax, esi
pop ecx
je 0x453a30
push edi
push dword [ebp + 0xc]
mov ecx, eax
call fcn.00453568
jmp 0x453a32
xor eax, eax
cmp eax, esi
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jne 0x453a4a
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov eax, 0x8007000e
jmp 0x453a4c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x454829
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x454834
push ebx
sub eax, edx
push esi
lea esi, [eax + 1]
push esi
call fcn.00508280
mov ebx, eax
xor eax, eax
cmp ebx, eax
pop ecx
jne 0x45485b
mov eax, 0x8007000e
jmp 0x454914
push edi
mov ecx, esi
mov esi, dword [ebp + 0xc]
mov edx, ecx
shr ecx, 2
push eax
push 0x8000080
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push 2
push eax
push eax
mov ecx, edx
push 0x40000000
push dword [ebp + 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x454897
mov esi, 0x8876038f
jmp 0x4548dd
push 0x60
call fcn.00508280
test eax, eax
pop ecx
je 0x4548c2
mov edx, dword [ebp + 0x10]
mov ecx, edx
shr ecx, 1
and ecx, 1
push ecx
and edx, 1
push edx
push edi
push ebx
push dword [ebp + 8]
mov ecx, eax
call fcn.00454702
mov esi, eax
jmp 0x4548c4
xor esi, esi
test esi, esi
jne 0x4548e8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, 0x8007000e
push ebx
call fcn.00508050
pop ecx
mov eax, esi
jmp 0x454913
mov ecx, esi
call fcn.00453ca2
test eax, eax
je 0x45490c
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x18]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, 0x8876038f
jmp 0x454913
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x45491a
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x104
call fcn.00464e47
test eax, eax
jne 0x454963
push 0x104
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
call fcn.0050d610
add esp, 0xc
push dword [ebp + 0x14]
lea eax, [ebp - 0x104]
push dword [ebp + 0x10]
mov byte [ebp - 1], 0
push eax
push dword [ebp + 8]
call fcn.00454829
jmp 0x454a46
push ebx
push esi
push dword [ebp + 0xc]
call fcn.0050d960
inc eax
lea esi, [eax + eax]
push esi
call fcn.00508280
mov ebx, eax
xor eax, eax
cmp ebx, eax
pop ecx
pop ecx
jne 0x45498b
mov eax, 0x8007000e
jmp 0x454a44
push edi
mov ecx, esi
mov esi, dword [ebp + 0xc]
mov edx, ecx
shr ecx, 2
push eax
push 0x8000080
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push 2
push eax
push eax
mov ecx, edx
push 0x40000000
push dword [ebp + 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4549c7
mov esi, 0x8876038f
jmp 0x454a0d
push 0x60
call fcn.00508280
test eax, eax
pop ecx
je 0x4549f2
mov edx, dword [ebp + 0x10]
mov ecx, edx
shr ecx, 1
and ecx, 1
push ecx
and edx, 1
push edx
push edi
push ebx
push dword [ebp + 8]
mov ecx, eax
call fcn.00454795
mov esi, eax
jmp 0x4549f4
xor esi, esi
test esi, esi
jne 0x454a18
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, 0x8007000e
push ebx
call fcn.00508050
pop ecx
mov eax, esi
jmp 0x454a43
mov ecx, esi
call fcn.00453ca2
test eax, eax
je 0x454a3c
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x18]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 0x8876038f
jmp 0x454a43
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x454d75
Capabilities:
Delete file
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
lea edx, [eax + 1]
xor ebx, ebx
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x454d8b
sub eax, edx
lea esi, [eax + 1]
push esi
call fcn.00508280
mov edi, eax
cmp edi, ebx
pop ecx
mov dword [ebp - 0xc], edi
jne 0x454db1
mov eax, 0x8007000e
jmp 0x454e9f
mov ecx, esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push ebx
push 0x8000080
push 2
push ebx
push ebx
mov ecx, eax
and ecx, 3
push 0x40000000
push dword [ebp + 0xc]
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x454df0
mov esi, 0x8876038f
jmp 0x454e94
lea eax, [ebp - 0x208]
push eax
push 0xf6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x454e7d
lea eax, [ebp - 0x110]
push eax
push ebx
push 0x60ca3c
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x454e7d
push ebx
push 0xc000100
push 2
push ebx
push ebx
mov edi, 0xc0000000
push edi
lea eax, [ebp - 0x110]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x454e4c
mov esi, 0x88760395
jmp 0x454e82
test byte [ebp + 0x10], 2
je 0x454f19
lea eax, [ebp - 0x110]
push eax
push ebx
push 0x60ca3c
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x454ea6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x80004005
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0xc]
call fcn.00508050
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
push ebx
push 0xc000100
push 2
push ebx
push ebx
push edi
lea eax, [ebp - 0x110]
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x454ecf
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x454e45
push 0x50
call fcn.00508280
cmp eax, ebx
pop ecx
je 0x454ef6
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp - 8]
push dword [ebp - 4]
push edi
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.00454c97
mov esi, eax
jmp 0x454ef8
xor esi, esi
cmp esi, ebx
jne 0x454f4d
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 4]
call esi
mov esi, 0x8007000e
jmp 0x454e8b
push 0x50
call fcn.00508280
cmp eax, ebx
pop ecx
je 0x454f3f
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.00454bbd
mov esi, eax
jmp 0x454f41
xor esi, esi
cmp esi, ebx
jne 0x454f4d
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x454f05
mov ecx, esi
call fcn.00452f8b
mov edi, eax
cmp edi, ebx
jge 0x454f77
cmp esi, ebx
je 0x454f67
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x18]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, edi
jmp 0x454e9f
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
xor eax, eax
jmp 0x454e9f
Function at 0x454f83
Capabilities:
Delete file
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
push dword [ebp + 0xc]
call fcn.0050d960
inc eax
lea esi, [eax + eax]
push esi
call fcn.00508280
mov edi, eax
xor ebx, ebx
cmp edi, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], edi
jne 0x454fba
mov eax, 0x8007000e
jmp 0x4550ac
mov ecx, esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
shr ecx, 2
push ebx
rep movsd dword es:[edi], dword [esi]
push 0x8000080
push 2
push ebx
push ebx
mov ecx, eax
push 0x40000000
push dword [ebp + 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x454ff7
mov esi, 0x8876038f
jmp 0x4550a1
lea eax, [ebp - 0x208]
push eax
push 0xf6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x45508a
lea eax, [ebp - 0x110]
push eax
push ebx
push 0x60ca3c
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
je 0x45508a
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push 0xc000100
push 2
push ebx
push ebx
mov edi, 0xc0000000
push edi
lea eax, [ebp - 0x110]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x455059
mov esi, 0x88760395
jmp 0x45508f
test byte [ebp + 0x10], 2
je 0x455126
lea eax, [ebp - 0x110]
push eax
push ebx
push 0x60ca3c
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4550b3
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x80004005
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0xc]
call fcn.00508050
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
push ebx
push 0xc000100
push 2
push ebx
push ebx
push edi
lea eax, [ebp - 0x110]
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x4550dc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x455052
push 0x50
call fcn.00508280
cmp eax, ebx
pop ecx
je 0x455103
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp - 8]
push dword [ebp - 4]
push edi
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.00454d05
mov esi, eax
jmp 0x455105
xor esi, esi
cmp esi, ebx
jne 0x45515a
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 4]
call esi
mov esi, 0x8007000e
jmp 0x455098
push 0x50
call fcn.00508280
cmp eax, ebx
pop ecx
je 0x45514c
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.00454c29
mov esi, eax
jmp 0x45514e
xor esi, esi
cmp esi, ebx
jne 0x45515a
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x455112
mov ecx, esi
call fcn.00452f8b
mov edi, eax
cmp edi, ebx
jge 0x455184
cmp esi, ebx
je 0x455174
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x18]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
jmp 0x4550ac
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
xor eax, eax
jmp 0x4550ac
Function at 0x455900
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi], 0x60ca04
call fcn.00455a04
lea ebx, [esi + 0x30]
mov ecx, ebx
call fcn.00463247
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esi + 0x48]
test edi, edi
je 0x45593c
push dword [edi + 0xc]
call fcn.00509b20
push edi
call fcn.00508050
pop ecx
pop ecx
mov edi, dword [esi + 0x4c]
test edi, edi
je 0x455953
push dword [edi + 0xc]
call fcn.00509b20
push edi
call fcn.00508050
pop ecx
pop ecx
mov eax, dword [esi + 0x50]
xor edi, edi
cmp eax, edi
je 0x45599d
cmp dword [eax], edi
jbe 0x455986
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0xc]
push dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0xc]
push dword [eax + edi*4]
call fcn.00509b20
mov eax, dword [esi + 0x50]
inc edi
cmp edi, dword [eax]
pop ecx
jb 0x455960
mov edi, dword [esi + 0x50]
test edi, edi
je 0x45599d
push dword [edi + 0xc]
call fcn.00509b20
push edi
call fcn.00508050
pop ecx
pop ecx
mov edi, dword [esi + 0x54]
test edi, edi
je 0x4559b4
push dword [edi + 0xc]
call fcn.00509b20
push edi
call fcn.00508050
pop ecx
pop ecx
cmp byte [esi + 0x5c], 0
je 0x4559ca
cmp dword [esi + 0x44], 1
jne 0x4559d8
push dword [esi + 0x2c]
call fcn.004646ef
jmp 0x4559d8
cmp dword [esi + 0x44], 1
jne 0x4559d8
push dword [esi + 0x2c]
call fcn.004645e4
push dword [esi + 0x2c]
call fcn.00508050
mov eax, dword [esi + 8]
pop ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, ebx
call fcn.00463319
lea ecx, [esi + 0x1c]
call fcn.004543f6
pop edi
lea ecx, [esi + 0xc]
pop esi
pop ebx
jmp fcn.00453524
Function at 0x455a04
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
push edi
xor edi, edi
cmp eax, edi
je 0x455b68
cmp dword [eax], edi
je 0x455b68
mov eax, dword [esi + 0x54]
cmp eax, edi
je 0x455b68
cmp dword [eax], edi
je 0x455b68
mov eax, dword [esi + 0x40]
sub eax, edi
je 0x455a5c
dec eax
jne 0x455a65
push dword [esi + 0x58]
call fcn.00453b53
push 0x60caa8
mov ecx, esi
call fcn.00452ea6
jmp 0x455a65
push 0x37
mov ecx, esi
call fcn.00452f4d
push 1
push edi
push edi
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x455b6f
mov eax, dword [esi + 0x50]
cmp dword [eax], edi
mov dword [ebp - 4], edi
jbe 0x455b68
mov eax, dword [esi + 0x54]
mov ebx, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push edi
push edi
shl ebx, 2
push dword [eax + ebx]
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x455b6f
push dword [ebp - 0xc]
mov ecx, esi
call fcn.00452f6c
push edi
mov ecx, esi
call fcn.00452f6c
push edi
push edi
push dword [ebp - 0xc]
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x455b6f
mov eax, dword [esi + 0x50]
mov eax, dword [eax + 0xc]
push edi
push 0x8000080
push 3
push edi
push edi
push 0x80000000
push dword [eax + ebx]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x455b6f
push edi
lea ecx, [ebp - 8]
push ecx
push 0x80
lea ecx, [ebp - 0x90]
push ecx
xor ebx, ebx
push eax
jmp 0x455b41
cmp dword [ebp - 8], edi
je 0x455b4b
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 8]
mov ecx, esi
call fcn.00452f2f
add ebx, dword [ebp - 8]
push edi
lea eax, [ebp - 8]
push eax
push 0x80
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x455b14
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add dword [ebp - 0xc], ebx
inc dword [ebp - 4]
mov eax, dword [esi + 0x50]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax]
jb 0x455a8c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, 0x8876038f
jmp 0x455b6a

Function at 0x455b97
Capabilities:
Delete file

Disassembly:
mov edi, edi
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ecx
push dword [esi + 0x30]
mov dword [esi], 0x60ca20
call edi
push dword [esi + 0x34]
call edi
mov eax, dword [esi + 0x38]
cmp eax, 0xffffffff
je 0x455bbe
push eax
call edi
mov al, byte [esi + 0x48]
test al, 0x40
je 0x455bd4
test al, al
js 0x455be1
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x455be1
test al, al
js 0x455be1
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [esi + 0xc]
call fcn.00508050
mov eax, dword [esi + 8]
pop ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0x20]
call fcn.00454431
pop edi
lea ecx, [esi + 0x10]
pop esi
jmp fcn.00453524
Function at 0x4563bc
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 4], esi
jne 0x4563f1
mov eax, 0x88760389
jmp 0x4564cb
push ebx
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x45640c
mov esi, 0x8876038f
jmp 0x456485
cmp dword [ebp - 8], edi
jg 0x456418
jl 0x456405
cmp eax, 0x20
jb 0x456405
push edi
push edi
push edi
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x456405
push edi
push edi
push edi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
mov dword [ebp + 8], eax
jne 0x456446
mov esi, 0x8876038f
jmp 0x45647e
push 0x54
call fcn.00508280
cmp eax, edi
pop ecx
je 0x45646a
push dword [ebp - 0xc]
mov ecx, eax
push dword [ebp + 8]
push ebx
push dword [ebp - 4]
push dword [ebp + 0xc]
call fcn.004551cb
mov esi, eax
jmp 0x45646c
xor esi, esi
cmp esi, edi
jne 0x456492
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, 0x8007000e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x4564ca
mov ecx, esi
call fcn.00455322
mov ebx, eax
cmp ebx, edi
jge 0x4564a9
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, ebx
jmp 0x4564ca
mov ecx, esi
call fcn.0045623e
mov ebx, eax
cmp ebx, edi
jl 0x45649f
mov ecx, esi
call fcn.00455f09
mov ebx, eax
cmp ebx, edi
jl 0x45649f
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 0xc