Function at 0x426120
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
mov edi, dword [eax + 8]
test edi, edi
je 0x426734
mov eax, dword [edi + 0x20]
test eax, eax
je 0x426734
mov eax, dword [eax]
test eax, eax
je 0x426734
mov eax, dword [edi]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x426167
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x426760
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x15
mov dword [esp + 4], 1
mov dword [esp], str.xkb_compatibility__n_n
call sub.msvcrt.dll_fwrite
cmp dword [esp + 0x5c], 1
mov edx, dword [esp + 0x28]
mov ecx, edi
sbb eax, eax
not eax
and eax, 2
mov dword [esp], eax
mov eax, esi
call fcn.00423ad0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x27
mov dword [esp + 4], 1
mov dword [esp], str.____interpret.useModMapMods_AnyLevel__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x1d
mov dword [esp + 4], 1
mov dword [esp], str.____interpret.repeat_False__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x1e
mov dword [esp + 4], 1
mov dword [esp], str.____interpret.locking_False__n
call sub.msvcrt.dll_fwrite
mov eax, dword [edi + 0x20]
cmp word [eax + 0x14], 0
mov ebx, dword [eax]
je 0x426419
add ebx, 8
xor ebp, ebp
mov dword [esp + 0x24], edi
jmp 0x42633d
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], str.____interpret__s_s__s___n
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
movzx eax, byte [ebx - 1]
cmp al, 0xff
je 0x426279
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], 2
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00427830
mov dword [esp + 4], str.________virtualModifier__s__n
mov dword [esp + 8], eax
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
cmp byte [ebx - 3], 0
js 0x4263f0
movzx eax, byte [ebx - 4]
test al, 2
jne 0x4263c5
test al, 1
jne 0x4263a0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x10
add ebp, 1
mov dword [esp + 4], 1
mov dword [esp], str.________action
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 8]
mov dword [esp + 8], ebx
add ebx, 0x10
mov dword [esp + 0xc], 2
mov dword [esp + 4], eax
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00429a60
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_fputs
mov dword [esp + 0xc], esi
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x44117f
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], esi
mov dword [esp + 8], 7
mov dword [esp + 4], 1
mov dword [esp], str.______n
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
movzx edx, word [eax + 0x14]
cmp edx, ebp
jbe 0x426415
mov dword [esp + 4], 2
movzx eax, byte [ebx - 2]
mov dword [esp], eax
call fcn.00427b30
mov dword [esp + 4], 2
mov edi, eax
movzx eax, byte [ebx - 3]
mov dword [esp], eax
call fcn.00428a00
mov ecx, eax
mov eax, dword [ebx - 8]
mov edx, 0x441034
test eax, eax
je 0x426221
mov dword [esp + 4], 2
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call fcn.00428670
mov ecx, dword [esp + 0x2c]
mov edx, eax
jmp 0x426221
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x16
mov dword [esp + 4], 1
mov dword [esp], str.________repeat_True__n
call sub.msvcrt.dll_fwrite
jmp 0x426297
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
mov dword [esp], str.________locking_True__n
call sub.msvcrt.dll_fwrite
movzx eax, byte [ebx - 4]
jmp 0x42628f
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x1e
mov dword [esp + 4], 1
mov dword [esp], str.________useModMapModslevel1__n
call sub.msvcrt.dll_fwrite
jmp 0x426283
mov edi, dword [esp + 0x24]
mov ebx, 1
lea edx, [eax + ebx*4]
movzx eax, byte [edx + 1]
movzx edx, word [edx + 2]
test al, al
jne 0x426432
test dx, dx
je 0x426468
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov eax, dword [edi]
mov dword [esp], eax
call fcn.004280a0
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.____group__d___s__n
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
add ebx, 1
cmp ebx, 5
je 0x426484
mov eax, dword [edi + 0x20]
lea edx, [eax + ebx*4]
movzx eax, byte [edx + 1]
movzx edx, word [edx + 2]
test al, al
je 0x42642d
jmp 0x426432
mov edx, dword [edi + 0x18]
test edx, edx
je 0x4266d0
xor bl, bl
mov dword [esp + 0x24], edi
jmp 0x4265c8
movzx eax, byte [edi + 5]
test al, al
je 0x4264e8
cmp al, 8
je 0x4264d0
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.00428af0
mov dword [esp + 4], str.________whichGroupState__s__n
mov dword [esp + 8], eax
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
movzx eax, byte [edi + 6]
mov dword [esp + 4], str.________groups_0x_02x__n
mov dword [esp], esi
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
movzx eax, byte [edi + 7]
test al, al
je 0x426553
cmp al, 8
je 0x426518
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.00428af0
mov dword [esp + 4], str.________whichModState__s__n
mov dword [esp + 8], eax
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
mov dword [esp + 0x10], 2
movzx eax, word [edi + 0xa]
mov dword [esp + 0xc], eax
movzx eax, byte [edi + 9]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov eax, dword [ebp]
mov dword [esp], eax
call fcn.004280a0
mov dword [esp + 4], str.________modifiers__s__n
mov dword [esp + 8], eax
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x426670
mov eax, dword [esp + 0x60]
test eax, eax
je 0x426595
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp], esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call dword [esp + 0x60]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 7
mov dword [esp + 4], 1
mov dword [esp], str.______n
call sub.msvcrt.dll_fwrite
add ebx, 1
cmp ebx, 0x20
je 0x4266d0
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x18]
lea eax, [ebx + ebx*2]
lea eax, [edx + eax*4]
mov edi, dword [eax + 4]
test edi, edi
jne 0x4265e5
test dword [eax + 8], 0xffffff00
jne 0x4265e5
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4265b5
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], edx
mov ebp, dword [eax + 8]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4 + 0x54]
mov dword [esp + 4], eax
mov eax, dword [ebp]
mov dword [esp], eax
call fcn.00422310
mov dword [esp + 4], str.____indicator___s___n
mov edi, eax
mov dword [esp + 8], eax
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
mov dword [esp], edi
call sub.msvcrt.dll_free
mov edx, dword [esp + 0x28]
lea eax, [ebx + ebx*2]
lea edi, [edx + eax*4]
movzx eax, byte [edi + 4]
test al, al
js 0x4266a0
test al, 0x20
je 0x4264a0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x21
mov dword [esp + 4], 1
mov dword [esp], str.________indicatorDrivesKeyboard__n
call sub.msvcrt.dll_fwrite
jmp 0x4264a0
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.00429140
mov dword [esp + 4], str.________controls__s__n
mov dword [esp + 8], eax
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
jmp 0x42655e
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x18
mov dword [esp + 4], 1
mov dword [esp], str._________allowExplicit__n
call sub.msvcrt.dll_fwrite
movzx eax, byte [edi + 4]
jmp 0x42663a
mov ebp, dword [esp + 0x60]
test ebp, ebp
je 0x426707
mov eax, dword [esp + 0x64]
mov dword [esp + 0x10], 1
mov dword [esp], esi
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
call dword [esp + 0x60]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], str.__n_n
call sub.msvcrt.dll_fwrite
add esp, 0x3c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [0x44c348], 7
mov dword [0x44b754], 0x441038
xor eax, eax
mov dword [0x44c344], 0
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], 2
mov dword [esp], eax
call fcn.004295c0
mov dword [esp + 4], str.xkb_compatibility___s___n_n
mov dword [esp + 8], eax
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
jmp 0x426187