Function at 0x495b60
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [esp + 0x64]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov ebx, esi
mov dword [esp + 0x3c], 0
test si, si
je 0x495bd0
movzx ebp, si
xor eax, eax
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x60]
jmp 0x495ba7
mov eax, edi
cmp bx, di
jbe 0x495bd0
movzx edx, ax
lea edi, [eax + 1]
lea ecx, [ebp + edx*2]
cmp byte [ecx + 1], 0xff
jne 0x495ba0
cmp byte [ecx], 0xff
jne 0x495ba0
add eax, 2
add edx, 1
cmp edx, dword [esp + 0x24]
cmovl edi, eax
mov eax, edi
cmp bx, di
ja 0x495ba7
lea eax, [esp + 0x34]
mov dword [esp + 4], 8
mov dword [esp + 8], eax
mov dword [esp], 0
call fcn.00427280
mov ebp, eax
mov eax, edx
or eax, ebp
jne 0x495e91
lea eax, [esp + 0x38]
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], 4
call fcn.0041c580
mov ebp, eax
mov eax, edx
or eax, ebp
jne 0x495db0
lea eax, [esp + 0x3c]
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], 4
call fcn.0041c580
mov edi, edx
mov dword [esp + 0x28], eax
or edi, eax
mov dword [esp + 0x2c], edx
jne 0x495f20
movzx eax, bx
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x24], eax
test si, si
je 0x495d81
mov ebp, ebx
mov esi, ecx
mov ebx, edi
mov edi, dword [esp + 0x60]
jmp 0x495cca
mov word [esp + 0x32], bx
cmp bh, dl
jne 0x495c9d
cmp byte [eax], bl
je 0x495cbf
mov dword [esp + 8], eax
lea eax, [esp + 0x32]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.0041c720
mov ecx, edx
or ecx, eax
jne 0x495ee0
add esi, 1
add ebx, 1
cmp bp, si
jbe 0x495d10
movzx ecx, si
lea eax, [edi + ecx*2]
movzx edx, byte [eax + 1]
cmp dl, 0xff
jne 0x495c90
cmp byte [eax], 0xff
jne 0x495c90
add ecx, 1
cmp ecx, dword [esp + 0x24]
jge 0x495c90
add esi, 1
movzx eax, si
lea ecx, [edi + eax*2]
movzx eax, byte [ecx + 1]
shl eax, 8
mov edx, eax
movzx eax, byte [ecx]
or eax, edx
movzx eax, ax
add eax, ebx
cmp ebx, eax
cmovb ebx, eax
add esi, 1
cmp bp, si
ja 0x495cca
mov ebx, ebp
xor esi, esi
lea eax, [esp + 0x32]
mov word [esp + 0x32], si
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.0041c6c0
mov edi, eax
test eax, eax
je 0x495d79
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0041c6c0
test eax, eax
je 0x495d57
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0041c780
lea eax, [esp + 0x32]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0041c720
mov edi, edx
or edi, eax
jne 0x495fa6
add esi, 1
cmp bx, si
jne 0x495d14
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x28]
mov dword [eax], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x68]
mov dword [edx], eax
mov edx, dword [esp + 0x2c]
add esp, 0x4c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], edx
mov dword [esp], ebp
mov dword [esp + 0x24], edx
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], ebp
mov dword [esp + 8], 0x550140
mov dword [esp + 4], str.__s__Error_while_creating_uppercase_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], 0x550185
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call ebx
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x495e4b
lea eax, [esp + 0x3c]
mov dword [esp + 0x24], edx
mov dword [esp], eax
call fcn.0041c850
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x495e67
lea eax, [esp + 0x38]
mov dword [esp + 0x24], edx
mov dword [esp], eax
call fcn.0041c850
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x495e87
lea esi, [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 0x24], edx
call fcn.0041d440
mov edx, dword [esp + 0x24]
add esp, 0x4c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], edx
mov dword [esp], ebp
mov dword [esp + 0x24], edx
call fcn.0041d490
mov dword [esp], 2
mov ebx, dword [fcn.004a1b90]
mov esi, eax
call ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], 8
mov dword [esp + 8], 0x550140
mov dword [esp + 4], str.__s__Failed_to_allocate__Iu_bytes_of_memory_for_the_upcase_table_container:__lu___s_
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x495df1
mov dword [esp + 4], edx
mov ebp, eax
mov dword [esp], eax
mov dword [esp + 0x24], edx
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], ebp
mov dword [esp + 8], 0x550140
mov dword [esp + 4], str.__s__Error_while_inserting_uppercase_mapping_into_table:__lu___s_
jmp 0x495de9
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov dword [esp], ebp
mov dword [esp + 4], edi
call fcn.0041d490
mov ebx, dword [fcn.004a1b90]
mov dword [esp], 2
mov esi, eax
call ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x550140
mov dword [esp + 4], str.__s__Error_while_creating_lowercase_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], 0x550185
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call ebx
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov edx, edi
jmp 0x495e2f
mov dword [esp + 4], edx
mov ebp, eax
mov dword [esp], eax
mov dword [esp + 0x24], edx
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], ebp
mov dword [esp + 8], 0x550140
mov dword [esp + 4], str.__s__Error_while_inserting_lowercase_mapping_into_table:__lu___s_
jmp 0x495de9