Function at 0x4237d0
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [esp + 0x54]
mov edi, dword [eax + 8]
test edi, edi
je 0x423aa2
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x423aa2
mov edx, dword [eax + 0xe4]
test edx, edx
je 0x423aa2
mov eax, dword [eax]
mov esi, dword [edi]
test eax, eax
mov dword [esp + 0x2c], esi
jne 0x423a71
mov eax, dword [esp + 0x50]
mov dword [esp + 8], 0xf
mov dword [esp + 4], 1
mov dword [esp], str.xkb_keycodes__n
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
movzx eax, byte [edi + 8]
mov dword [esp + 4], str.____minimum___d__n
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
movzx eax, byte [edi + 9]
mov dword [esp + 4], str.____maximum___d__n
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
movzx ebx, byte [edi + 8]
movzx ecx, byte [edi + 9]
mov eax, dword [edi + 0x1c]
cmp ebx, ecx
lea esi, [ebx*4]
jbe 0x42389a
jmp 0x423916
add ebx, 1
add esi, 4
cmp ecx, ebx
jb 0x423916
mov edx, dword [eax + 0xe4]
add edx, esi
cmp byte [edx], 0
je 0x423890
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov ebp, 0x44084b
mov dword [esp], edi
call fcn.00422a10
cmp eax, ebx
mov eax, str.alternate
mov dword [esp + 4], 2
cmovne ebp, eax
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + 0xe4]
add ecx, esi
add esi, 4
mov dword [esp], ecx
call fcn.00428730
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], ebx
mov dword [esp + 8], ebp
add ebx, 1
mov dword [esp + 4], str._____s_6s___d__n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
movzx ecx, byte [edi + 9]
mov eax, dword [edi + 0x1c]
cmp ecx, ebx
jae 0x42389a
mov edx, dword [edi + 0x18]
test edx, edx
je 0x423996
xor ecx, ecx
mov ebp, 0x44084c
jmp 0x42393a
cmp ebx, 0x20
je 0x423996
mov edx, dword [edi + 0x18]
mov ecx, ebx
mov ebx, 1
mov esi, str.____virtual
shl ebx, cl
test dword [edx], ebx
mov edx, dword [eax + ecx*4 + 0x54]
lea ebx, [ecx + 1]
cmovne esi, ebp
test edx, edx
je 0x423930
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], edx
mov dword [esp + 8], 2
mov dword [esp], eax
call fcn.004295c0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], str._sindicator__d____s___n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
cmp ebx, 0x20
mov eax, dword [edi + 0x1c]
jne 0x423935
mov ebx, dword [eax + 0xe8]
test ebx, ebx
je 0x423a05
cmp byte [eax + 0xf5], 0
je 0x423a05
xor esi, esi
nop
lea esi, [esi]
mov dword [esp], ebx
mov dword [esp + 4], 2
add esi, 1
call fcn.00428730
mov ebp, eax
lea eax, [ebx + 4]
mov dword [esp + 4], 2
add ebx, 8
mov dword [esp], eax
call fcn.00428730
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], ebp
mov dword [esp + 4], str.____alias__6s___6s__n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [edi + 0x1c]
movzx eax, byte [eax + 0xf5]
cmp eax, esi
ja 0x4239b0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x423a40
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call dword [esp + 0x60]
mov eax, dword [esp + 0x50]
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], str.__n_n
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
add esp, 0x3c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 2
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.004295c0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], str.xkb_keycodes___s___n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x423833
mov dword [0x44c348], 1
mov dword [0x44b754], 0x44085e
xor eax, eax
mov dword [0x44c344], 0
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret