Function at 0x41e680
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
test ecx, ecx
je 0x41e9f1
mov edi, dword [ecx + 0x20]
test edi, edi
mov dword [esp + 0x2c], edi
je 0x41e9f1
mov ebx, dword [edi]
test ebx, ebx
je 0x41e9f1
mov ebx, eax
mov eax, dword [ecx + 0x1c]
mov ebp, ecx
mov dword [esp + 0x34], edx
test eax, eax
je 0x41e6c2
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x41ea20
mov edi, dword [esp + 0x2c]
movzx eax, word [edi + 0x14]
mov dword [esp + 4], str.static_XkbSymInterpretRec_dfltSI__d___n
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
cmp word [edi + 0x14], 0
mov edx, dword [edi]
mov dword [esp + 0x38], edx
je 0x41e835
mov eax, dword [esp + 0x38]
xor edx, edx
mov dword [esp + 0x30], ebp
mov ebp, edx
lea edi, [eax + 8]
mov esi, eax
mov eax, 0x18
sub eax, edi
mov dword [esp + 0x3c], eax
nop
lea esi, [esi]
mov dword [esp + 4], 1
mov eax, dword [esi]
add ebp, 1
add esi, 0x10
mov dword [esp], eax
call fcn.00428670
mov dword [esp + 4], str._________s_
mov dword [esp + 8], eax
mov dword [esp], ebx
call sub.msvcrt.dll_fprintf
movzx eax, byte [esi - 0xc]
mov dword [esp + 4], str.0x_04x__n
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
mov dword [esp + 4], 1
movzx eax, byte [esi - 0xb]
mov dword [esp], eax
call fcn.00428a00
mov dword [esp + 4], str.__________s_
mov dword [esp + 8], eax
mov dword [esp], ebx
call sub.msvcrt.dll_fprintf
mov dword [esp + 4], 1
movzx eax, byte [esi - 0xa]
mov dword [esp], eax
call fcn.00427b30
mov dword [esp + 4], 0x43ed87
mov dword [esp + 8], eax
mov dword [esp], ebx
call sub.msvcrt.dll_fprintf
movzx eax, byte [esi - 9]
mov dword [esp + 4], str.__________d__n
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], 1
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00429a60
mov dword [esp + 4], str.________s_
mov dword [esp + 8], eax
mov dword [esp], ebx
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x2c]
movzx eax, word [eax + 0x14]
cmp eax, ebp
jbe 0x41e831
add edi, dword [esp + 0x3c]
add edi, dword [esp + 0x38]
test ebp, ebp
je 0x41e710
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x43ed5f
call sub.msvcrt.dll_fwrite
jmp 0x41e710
mov ebp, dword [esp + 0x30]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 4
mov esi, 1
mov dword [esp + 4], 1
mov dword [esp], str._n__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x3f
mov dword [esp + 4], 1
mov dword [esp], str.define_num_dfltSI__sizeof_dfltSI__sizeof_XkbSymInterpretRec___n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x25
mov dword [esp + 4], 1
mov dword [esp], str._nstatic_XkbCompatMapRec_compatMap__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0xc
mov dword [esp + 4], 1
mov dword [esp], str.____dfltSI__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x2a
mov dword [esp + 4], 1
mov dword [esp], str._________group_compatibility___n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0x30], ebx
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x10], 1
lea edi, [eax + esi*4]
movzx eax, word [edi + 2]
mov dword [esp + 8], 0
mov dword [esp + 4], ebp
mov dword [esp + 0xc], eax
mov eax, dword [ebp]
mov dword [esp], eax
call fcn.004280a0
mov dword [esp + 4], 1
mov dword [esp + 0x2c], eax
movzx eax, byte [edi + 1]
mov dword [esp], eax
call fcn.00427b30
mov dword [esp + 4], 1
mov ebx, eax
movzx eax, byte [edi]
mov dword [esp], eax
call fcn.00427b30
mov ecx, dword [esp + 0x2c]
cmp esi, 1
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
je 0x41ea4d
mov eax, dword [esp + 0x30]
mov dword [esp + 8], 0x43eda6
mov dword [esp + 4], str._s__12s___12s___12s_
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
cmp esi, 4
je 0x41e980
add esi, 1
jmp 0x41e8de
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], 8
mov dword [esp + 4], 1
mov dword [esp], 0x43edc8
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.____num_dfltSI__num_dfltSI_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], 0x43eded
call sub.msvcrt.dll_fwrite
add esp, 0x4c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x44c348], 8
mov dword [0x44b754], 0x43ec68
xor eax, eax
mov dword [0x44c344], 0
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004295c0
mov dword [esp + 4], str.__compat_name_is___s____n
mov dword [esp + 8], eax
mov dword [esp], ebx
call sub.msvcrt.dll_fprintf
jmp 0x41e6c2
mov eax, dword [esp + 0x30]
mov dword [esp + 8], 0x43eb02
mov dword [esp + 4], str._s__12s___12s___12s_
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x41e972