Function at 0x42a800
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
cmp ebx, 4
jbe 0x42a839
test bl, 3
jne 0x42aaa0
lea eax, [esp + 0x30]
mov dword [esp + 4], 0x28
mov dword [esp + 8], eax
mov dword [esp], 0
call fcn.00427280
mov edi, eax
mov eax, edx
mov ebp, edx
or eax, edi
jne 0x42a970
mov edi, 4
cmp ebx, 4
lea eax, [esp + 0x34]
mov dword [esp], 0
mov ecx, edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov esi, edi
cmovae ecx, ebx
cmp dword [esp + 0x68], 4
cmovae esi, dword [esp + 0x68]
imul eax, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 4], eax
call fcn.004270d0
mov edi, eax
mov eax, edx
mov ebp, edx
or eax, edi
jne 0x42aa60
mov eax, dword [esp + 0x68]
test eax, eax
je 0x42a8e2
lea eax, [esp + 0x38]
mov dword [esp], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
imul eax, esi
mov dword [esp + 4], eax
call fcn.004270d0
mov edi, eax
mov eax, edx
mov ebp, edx
or eax, edi
jne 0x42ab60
lea eax, [esp + 0x3c]
mov dword [esp], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
add eax, 7
shr eax, 3
mov dword [esp + 4], eax
call fcn.004270d0
mov edi, eax
mov ebp, edx
or edx, eax
jne 0x42ab20
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x10], ebx
mov ebx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, edx
test ebx, ebx
mov dword [eax + 0x1c], ebx
mov ebx, dword [esp + 0x3c]
cmovne ecx, dword [esp + 0x68]
cmove esi, edx
mov dword [eax], 0
mov dword [eax + 0x20], ebx
mov ebx, dword [esp + 0x6c]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x24], ebx
mov ebx, dword [esp + 0x70]
mov dword [eax + 0x18], esi
mov dword [esp + 0x68], ecx
mov dword [ebx], eax
add esp, 0x4c
mov eax, edi
mov edx, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.0041d490
mov dword [esp], 2
mov ebx, dword [fcn.004a1b90]
mov esi, eax
call ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x5353f6
mov dword [esp + 4], str.__s__Error_while_allocating_memory_for_tfs_util_hashtable:__lu___s_
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call ebx
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x5353f3
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call ebx
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x42a9ff
lea ebx, [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0041d440
mov eax, dword [esp + 0x38]
test eax, eax
je 0x42aa17
lea ebx, [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0041d440
mov eax, dword [esp + 0x34]
test eax, eax
je 0x42aa2f
lea ebx, [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0041d440
mov eax, dword [esp + 0x30]
test eax, eax
je 0x42a963
lea ebx, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0041d440
add esp, 0x4c
mov eax, edi
mov edx, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.0041d490
mov dword [esp], 2
mov ebx, dword [fcn.004a1b90]
mov esi, eax
call ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x5353f6
mov dword [esp + 4], str.__s__Error_while_allocating_memory_for_initial_key_items_array:__lu___s_
jmp 0x42a9a5
mov esi, dword [fcn.004a1b90]
mov edi, 3
mov ebp, 1
mov dword [esp], 2
call esi
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x5353f6
mov dword [esp + 4], str.__s__Unsupported_key_size:__Iu__must_be_aligned_to_the_pointer_size___Iu_
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x5353f3
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call esi
mov dword [esp], eax
call sub.msvcrt.dll_fflush
jmp 0x42a9e7
mov dword [esp], edi
mov dword [esp + 4], ebp
call fcn.0041d490
mov dword [esp], 2
mov ebx, dword [fcn.004a1b90]
mov esi, eax
call ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x5353f6
mov dword [esp + 4], str.__s__Error_while_allocation_memory_for_initial_hash_set_bitmap:__lu___s_
jmp 0x42a9a5
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.0041d490
mov dword [esp], 2
mov ebx, dword [fcn.004a1b90]
mov esi, eax
call ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x5353f6
mov dword [esp + 4], str.__s__Error_while_allocating_memory_for_initial_value_items_array:__lu___s_
jmp 0x42a9a5