Function at 0x4252f0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 8]
test eax, eax
je 0x425fb1
mov ecx, dword [eax + 0x24]
test ecx, ecx
mov dword [esp + 0x30], ecx
je 0x425fb1
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
test eax, eax
jne 0x425f37
mov eax, dword [esp + 0x70]
mov dword [esp + 8], 0x10
mov dword [esp + 4], 1
mov dword [esp], str.xkb_geometry__n_n
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov edi, dword [esp + 0x30]
mov dword [esp + 4], 2
movzx eax, word [edi + 4]
mov dword [esp], eax
call fcn.00429700
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], str.____width________s__n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp + 4], 2
movzx eax, word [edi + 6]
mov dword [esp], eax
call fcn.00429700
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], str.____height_______s__n_n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov ebx, dword [edi + 0x40]
test ebx, ebx
je 0x425420
xor esi, esi
cmp word [edi + 0x2a], 0
je 0x42540c
mov dword [esp], ebx
mov dword [esp + 4], 2
add esi, 1
call fcn.00428730
mov edi, 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 + 0x70]
mov dword [esp + 0xc], edi
mov dword [esp + 4], str.____alias__6s___6s__n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0x2a]
cmp eax, esi
ja 0x4253b9
mov eax, dword [esp + 0x70]
mov dword [esp], 0xa
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x425456
mov dword [esp + 4], 2
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00429370
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], str.____baseColor_____s___n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x42548c
mov dword [esp + 4], 2
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00429370
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], str.____labelColor____s___n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
test eax, eax
je 0x4254bf
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.00429370
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], str.____xfont_________s___n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x42598c
mov eax, dword [esp + 0x30]
cmp word [eax + 0x22], 0
je 0x42598c
mov eax, dword [esp + 0x30]
xor ebx, ebx
mov esi, dword [eax + 0x30]
mov dword [esp + 4], 2
mov eax, dword [esi + ebx*8 + 4]
mov dword [esp], eax
call fcn.00429370
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp + 4], str._______color__d____s__n
add ebx, 1
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0x22]
cmp eax, ebx
ja 0x4254e3
mov eax, dword [esp + 0x70]
mov dword [esp], 0xa
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [esp + 0x30]
cmp word [eax + 0x20], 0
jne 0x425997
mov eax, dword [esp + 0x30]
cmp word [eax + 0x24], 0
jne 0x425a07
mov eax, dword [esp + 0x30]
cmp word [eax + 0x26], 0
je 0x425de2
mov eax, dword [esp + 0x30]
mov dword [esp + 0x48], 0
mov eax, dword [eax + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
lea ecx, [eax + 0x30]
add eax, 0x34
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], ecx
mov edi, dword [esp + 0x40]
mov dword [esp + 8], 2
mov eax, dword [edi]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.004295c0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], str.____section___s___n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x24], 0
test eax, eax
je 0x4255d8
cmp word [eax + 4], 0
jne 0x425ef2
mov edi, dword [esp + 0x40]
movzx eax, byte [edi + 4]
mov dword [esp + 4], str.________priority___d__n
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp + 4], 2
movsx eax, word [edi + 6]
mov dword [esp], eax
call fcn.00429700
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], str.________top________s__n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp + 4], 2
movsx eax, word [edi + 8]
mov dword [esp], eax
call fcn.00429700
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], str.________left_______s__n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp + 4], 2
movzx eax, word [edi + 0xa]
mov dword [esp], eax
call fcn.00429700
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], str.________width______s__n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp + 4], 2
movzx eax, word [edi + 0xc]
mov dword [esp], eax
call fcn.00429700
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], str.________height_____s__n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
movsx eax, word [edi + 0xe]
test ax, ax
jne 0x425ec5
mov eax, dword [esp + 0x40]
mov ebp, dword [eax + 0x1c]
test ebp, ebp
je 0x425b6e
mov eax, dword [esp + 0x40]
cmp word [eax + 0x10], 0
je 0x425b6e
mov dword [esp + 0x3c], 0
mov esi, dword [esp + 0x70]
jmp 0x42572e
cmp word [ebp + 4], 0
jne 0x4257d4
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0xb
mov dword [esp + 4], 1
mov dword [esp], str.__________n
call sub.msvcrt.dll_fwrite
add dword [esp + 0x3c], 1
add ebp, 0x18
mov ecx, dword [esp + 0x3c]
je 0x425b6e
mov eax, dword [esp + 0x40]
movzx eax, word [eax + 0x10]
cmp ecx, eax
jge 0x425b6e
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0xe
mov dword [esp + 4], 1
mov dword [esp], str.________row__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 4], 2
movsx eax, word [ebp]
mov dword [esp], eax
call fcn.00429700
mov dword [esp + 4], str.____________top___s__n
mov dword [esp + 8], eax
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
mov dword [esp + 4], 2
movsx eax, word [ebp + 2]
mov dword [esp], eax
call fcn.00429700
mov dword [esp + 4], str.____________left__s__n
mov dword [esp + 8], eax
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4256e1
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x16
mov dword [esp + 4], 1
mov dword [esp], str.____________vertical__n
call sub.msvcrt.dll_fwrite
cmp word [ebp + 4], 0
je 0x4256ec
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x13
xor edi, edi
mov dword [esp + 4], 1
mov dword [esp], str.____________keys__n
call sub.msvcrt.dll_fwrite
cmp word [ebp + 4], 0
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x20], 0
mov dword [esp + 0x2c], 0
je 0x425b49
mov dword [esp + 0x38], ebp
jmp 0x425934
test edi, edi
je 0x425b10
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], str.__n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
movzx edx, byte [ebx + 6]
mov eax, dword [esp + 0x30]
imul edx, edx, 0x1c
add edx, dword [eax + 0x34]
mov dword [esp + 4], 2
movsx eax, word [ebx + 4]
mov ebp, edx
mov dword [esp], eax
call fcn.00429700
mov edx, dword [esp + 0x34]
mov dword [esp + 0x28], eax
mov dword [esp + 8], 2
mov eax, dword [ebp]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.004295c0
mov dword [esp + 4], 2
mov dword [esp], ebx
mov ebp, eax
call fcn.00428730
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov dword [esp + 4], str.__6s____s____3s
mov dword [esp], esi
mov dword [esp + 0x10], ecx
call sub.msvcrt.dll_fprintf
movzx eax, byte [ebx + 7]
cmp dword [esp + 0x24], eax
je 0x4258fe
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x30]
mov eax, dword [edx + eax*8 + 4]
mov dword [esp + 4], str.__color__s_
mov dword [esp], esi
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
mov dword [esp + 0x20], 1
mov dword [esp + 0xc], esi
mov dword [esp + 8], 2
add edi, 1
mov dword [esp + 4], 1
mov dword [esp], 0x440d2b
add ebx, 8
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x38]
movzx eax, word [eax + 4]
cmp edi, eax
jge 0x425b45
movzx eax, byte [ebx + 7]
cmp eax, dword [esp + 0x24]
jne 0x425820
test edi, edi
je 0x425b18
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x2c]
test al, 1
jne 0x425828
mov dword [esp + 0xc], esi
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x440b5e
call sub.msvcrt.dll_fwrite
add dword [esp + 0x2c], 1
mov dword [esp + 0x20], 0
jmp 0x425858
mov eax, dword [esp + 0x30]
cmp word [eax + 0x20], 0
je 0x4259f8
mov eax, dword [esp + 0x30]
xor esi, esi
mov ebx, dword [eax + 0x2c]
mov dword [esp + 4], 2
mov eax, dword [ebx + 4]
add esi, 1
add ebx, 8
mov dword [esp], eax
call fcn.00429370
mov dword [esp + 0xc], eax
mov eax, dword [ebx - 8]
mov dword [esp + 4], str._____s___s___n
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0x20]
cmp eax, esi
ja 0x4259a0
mov eax, dword [esp + 0x70]
mov dword [esp], 0xa
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputc
mov eax, dword [esp + 0x30]
cmp word [eax + 0x24], 0
je 0x425554
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], 0
mov edi, dword [eax + 0x34]
mov dword [esp + 8], 2
mov eax, dword [edi]
xor ebp, ebp
xor esi, esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.004295c0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], str.____shape___s__
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
cmp word [edi + 4], 1
mov ebx, dword [edi + 8]
ja 0x425a9a
jmp 0x425f6c
mov dword [esp + 4], eax
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
mov eax, dword [esp + 0x70]
mov dword [esp], ebp
mov ecx, ebx
mov dword [esp + 4], 8
mov edx, edi
add esi, 1
add ebx, 0xc
call fcn.004250e0
movzx eax, word [edi + 4]
movzx ebp, word [ebx - 8]
cmp eax, esi
jbe 0x425ac4
test esi, esi
mov eax, dword [esp + 0x70]
je 0x425a60
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x440e2a
call sub.msvcrt.dll_fwrite
jmp 0x425a70
mov eax, dword [esp + 0x70]
mov dword [esp + 8], 8
mov dword [esp + 4], 1
mov dword [esp], str._n______n
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x30]
add dword [esp + 0x20], 1
add edi, 0x1c
mov ecx, dword [esp + 0x20]
movzx eax, word [eax + 0x24]
cmp eax, ecx
ja 0x425a16
jmp 0x425554
mov dword [esp + 0x20], 1
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x10
mov dword [esp + 4], 1
mov dword [esp], str.
call sub.msvcrt.dll_fwrite
mov dword [esp + 0x2c], 0
jmp 0x425858
mov ebp, dword [esp + 0x38]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x10
mov dword [esp + 4], 1
mov dword [esp], str._n______________n
call sub.msvcrt.dll_fwrite
jmp 0x4256ec
mov eax, dword [esp + 0x40]
mov ebx, dword [eax + 0x20]
test ebx, ebx
je 0x425bbb
mov eax, dword [esp + 0x40]
cmp word [eax + 0x12], 0
je 0x425bbb
mov ebp, dword [esp + 0x4c]
xor esi, esi
mov edi, eax
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
mov ecx, 8
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
add esi, 1
add ebx, 0x1c
mov dword [esp], eax
mov eax, dword [esp + 0x70]
call fcn.00424d10
movzx eax, word [edi + 0x12]
cmp esi, eax
jl 0x425b8c
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x2c]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x425d8a
mov eax, dword [esp + 0x40]
cmp word [eax + 0x14], 0
je 0x425d8a
mov dword [esp + 0x38], 0
mov dword [esp], 8
call fcn.0042a030
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x425ea4
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], 3
mov dword [esp], eax
call fcn.004295c0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], str._soverlay___s___n
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
cmp word [eax + 8], 0
mov ebp, dword [eax + 0xc]
je 0x425d50
lea esi, [esi]
cmp word [ebp + 2], 0
mov esi, dword [ebp + 8]
je 0x425d34
mov ebx, dword [esp + 0x20]
jmp 0x425cb0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], edi
mov dword [esp + 4], str.__n_s_____6s_6s
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
add ebx, 1
movzx eax, word [ebp + 2]
add esi, 8
mov edx, ebx
sub edx, dword [esp + 0x20]
cmp edx, eax
jge 0x425d30
mov dword [esp + 4], 2
mov dword [esp], esi
call fcn.00428730
mov edi, eax
lea eax, [esi + 4]
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.00428730
test ebx, ebx
je 0x425d00
test bl, 3
je 0x425c74
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], edi
mov dword [esp + 4], str.___6s_6s
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x425c98
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], edi
mov dword [esp + 4], str._s_____6s_6s
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x425c98
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x2c]
add dword [esp + 0x28], 1
add ebp, 0xc
mov ecx, dword [esp + 0x28]
movzx eax, word [eax + 8]
cmp ecx, eax
jl 0x425c60
mov eax, dword [esp + 0x24]
mov dword [esp + 4], str._n_s__n
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, dword [esp + 0x40]
add dword [esp + 0x38], 1
mov ecx, dword [esp + 0x38]
add dword [esp + 0x2c], 0x14
movzx eax, word [eax + 0x14]
cmp ecx, eax
jl 0x425be5
mov edi, dword [esp + 0x40]
mov dword [esp + 8], 2
mov eax, dword [edi]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.004295c0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], str._________End_of___s__section_n_n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov eax, edi
add dword [esp + 0x48], 1
add eax, 0x30
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0x26]
cmp eax, ecx
ja 0x425588
mov eax, dword [esp + 0x30]
cmp word [eax + 0x28], 0
je 0x425e2f
mov eax, dword [esp + 0x30]
xor esi, esi
mov ebx, dword [eax + 0x3c]
mov eax, dword [esp + 0x30]
lea edi, [eax + 0x30]
lea ebp, [eax + 0x34]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x70]
mov ecx, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], ebp
add esi, 1
mov dword [esp], edi
add ebx, 0x1c
call fcn.00424d10
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0x28]
cmp eax, esi
ja 0x425e00
mov edx, dword [esp + 0x80]
test edx, edx
je 0x425e73
mov eax, dword [esp + 0x84]
mov dword [esp + 0x10], 5
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call dword [esp + pe_nt_image_headers32]
mov eax, dword [esp + 0x70]
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, 0x5c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 4], str._soverlay__n
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x425c3b
mov dword [esp + 4], 2
mov dword [esp], eax
call fcn.00429700
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], str.________angle___s__n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4256b5
mov eax, dword [eax + 0xc]
movzx eax, byte [eax + 7]
mov dword [esp + 4], 2
mov ecx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ecx*8 + 4]
mov dword [esp], eax
call fcn.00429370
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], str.________key.color___s___n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x4255d8
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], 2
mov dword [esp], eax
call fcn.004295c0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], str.xkb_geometry___s___n_n
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
jmp 0x42534d
mov eax, dword [esp + 0x70]
mov dword [esp + 4], 1
mov ecx, ebx
mov dword [esp], 0
xor edx, edx
call fcn.004250e0
mov eax, dword [esp + 0x70]
mov dword [esp + 8], 4
mov dword [esp + 4], 1
mov dword [esp], str.___n
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
jmp 0x425ae8
mov dword [0x44c348], 9
mov dword [0x44b754], 0x440d42
xor eax, eax
mov dword [0x44c344], 0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret