Function at 0x4461c0
Capabilities:
Contain obfuscated stackstrings
Delete file
Get common file path
Read file on windows

Disassembly:
push ebp
mov edx, 0xa
mov eax, 0x74
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x27c
mov word [ebp - 0x21e], dx
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x25c], 0x6e6f6870
mov dword [ebp - 0x258], 0x78742e65
mov word [ebp - 0x254], ax
mov dword [ebp - 0x252], 0x6e096469
mov dword [ebp - 0x24e], 0x9656d61
mov dword [ebp - 0x24a], 0x626d756e
mov dword [ebp - 0x246], 0xa0d7265
mov dword [ebp - 0x242], 0x53093249
mov dword [ebp - 0x23e], 0x53093233
mov dword [ebp - 0x23a], 0xa0d3233
mov dword [ebp - 0x236], 0x6e6f6870
mov dword [ebp - 0x232], 0x64690965
mov dword [ebp - 0x22e], 0x9310a0d
mov dword [ebp - 0x22a], 0x9656241
mov dword [ebp - 0x226], 0x35373638
mov dword [ebp - 0x222], 0xd393033
mov dword [esp], str.winetest_db.msi
call dword [sym.imp.kernel32.dll_DeleteFileW]
lea eax, [ebp - 0x268]
sub esp, 4
mov dword [esp + 8], eax
mov dword [esp + 4], 3
mov dword [esp], str.winetest_db.msi
call sub.msi.dll_MsiOpenDatabaseW
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x55e
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x544021
sete al
lea ebx, [ebp - 0x264]
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x268]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.CREATE_TABLE__phone_____id__INT___name__CHAR_32____number__CHAR_32__PRIMARY_KEY__id__
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseOpenViewA
sub esp, 0xc
mov esi, eax
mov dword [esp + 4], 0x565
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], 0x544092
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x264]
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msi.dll_MsiViewExecute
sub esp, 8
mov esi, eax
mov dword [esp + 4], 0x567
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], 0x5440ae
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x264]
mov dword [esp], eax
call sub.msi.dll_MsiViewClose
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x569
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], 0x5440c5
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x264]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov esi, eax
mov dword [esp + 4], 0x56b
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test esi, esi
mov dword [esp + 4], 0x5440da
sete al
lea esi, [ebp - 0x25c]
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x268]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.INSERT_INTO__phone_____id____name____number___VALUES_1__Abe__8675309_
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseOpenViewA
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0x571
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x544092
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x264]
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msi.dll_MsiViewExecute
sub esp, 8
mov ebx, eax
mov dword [esp + 4], 0x573
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x5440ae
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x264]
mov dword [esp], eax
call sub.msi.dll_MsiViewClose
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x575
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x5440c5
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x264]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
sub esp, 4
mov ebx, eax
mov dword [esp + 4], 0x577
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test ebx, ebx
mov dword [esp + 4], 0x5440da
sete al
lea ebx, [ebp - 0x11c]
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov eax, dword [ebp - 0x268]
sub esp, 8
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x54ad57
mov dword [esp], eax
call sub.msi.dll_MsiDatabaseExportA
sub esp, 0x10
mov edi, eax
mov dword [esp + 4], 0x57c
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
xor eax, eax
test edi, edi
mov dword [esp + 4], str.MsiDatabaseExport_failed_n
sete al
mov dword [esp], eax
call fcn.0052b0e0
mov eax, dword [ebp - 0x268]
mov dword [esp], eax
call sub.msi.dll_MsiCloseHandle
mov eax, ebx
sub esp, 4
mov ecx, dword [eax]
add eax, 4
lea edx, [ecx - 0x1010101]
not ecx
and edx, ecx
and edx, 0x80808080
je 0x44658b
mov ecx, edx
shr ecx, 0x10
test edx, 0x8080
cmove edx, ecx
lea ecx, [eax + 2]
cmove eax, ecx
mov ecx, edx
add cl, dl
sbb eax, 3
sub eax, ebx
mov byte [ebx + eax], 0x5c
lea eax, [ebx + eax + 1]
mov dword [esp + 4], esi
lea esi, [ebp - 0x21c]
mov dword [esp], eax
mov edi, esi
call sub.msvcrt.dll_strcpy
xor eax, eax
mov ecx, 0x40
mov dword [ebp - 0x260], 0
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CreateFileA]
sub esp, 0x1c
mov edi, eax
cmp eax, 0xffffffff
je 0x446710
lea eax, [ebp - 0x260]
mov dword [esp], edi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x100
mov dword [esp + 4], esi
call dword [sym.imp.kernel32.dll_ReadFile]
sub esp, 0x14
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edi, dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
mov dword [esp], ebx
call edi
sub esp, 4
mov dword [esp + 4], 0x590
lea ebx, [ebp - 0x252]
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_strlen]
cmp dword [ebp - 0x260], eax
mov dword [esp + 4], str.length_of_data_wrong_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp + 4], 0x591
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_lstrcmpA]
sub esp, 8
test eax, eax
sete al
mov dword [esp + 4], str.data_doesnt_match_n
movzx eax, al
mov dword [esp], eax
call fcn.0052b0e0
mov dword [esp], 0x543a7e
call edi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x58e
mov dword [esp], str..._wine_dlls_msi_tests_db.c
call fcn.0052ae70
mov dword [esp + 8], ebx
mov dword [esp + 4], str.failed_to_open_file__s_n
mov dword [esp], 0
call fcn.0052b0e0
mov edi, dword [sym.imp.kernel32.dll_DeleteFileA]
jmp 0x446679