Function at 0x4026d9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov byte [eax], 0
cmp dword [ebp + 0xc], 0
je 0x4026f8
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
test al, al
jne 0x4026fd
jmp 0x4029c7
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
jmp 0x402942
mov eax, esp
mov esi, eax
mov eax, dword [ebp - 0x2c]
add eax, 1
lea edx, [eax - 1]
mov dword [ebp - 0x30], edx
mov edx, eax
mov eax, 0x10
sub eax, 1
add eax, edx
mov ebx, 0x10
mov edx, 0
div ebx
imul eax, eax, 0x10
call fcn.00407200
sub esp, eax
lea eax, [esp + 0x10]
add eax, 0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
add eax, 1
mov edx, eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x24]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_strncpy
cmp dword [ebp - 0x1c], 0
jne 0x4027a5
cmp dword [ebp - 0x2c], 1
jne 0x402799
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
cmp al, 0x31
je 0x4027a5
mov eax, dword [ebp + 8]
mov word [eax], 0x31
add dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 2
jg 0x402842
cmp dword [ebp - 0x1c], 0
jle 0x4027d9
mov eax, dword [ebp + 8]
mov ecx, 0xffffffff
mov edx, eax
mov eax, 0
mov edi, edx
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
lea edx, [eax - 1]
mov eax, dword [ebp + 8]
add eax, edx
mov word [eax], 0x2e
mov dword [ebp - 0x20], 0
jmp 0x40280a
mov eax, dword [ebp + 8]
mov ecx, 0xffffffff
mov edx, eax
mov eax, 0
mov edi, edx
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
lea edx, [eax - 1]
mov eax, dword [ebp + 8]
add eax, edx
mov word [eax], 0x30
add dword [ebp - 0x20], 1
cmp dword [ebp - 0x1c], 0
jle 0x40282b
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, 3
sub edx, eax
mov eax, edx
cmp ebx, eax
jb 0x4027e2
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_strcat
jmp 0x40290b
cmp dword [ebp - 0x1c], 3
jne 0x4028d0
mov eax, dword [ebp + 8]
mov ecx, 0xffffffff
mov edx, eax
mov eax, 0
mov edi, edx
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
lea edx, [eax - 1]
mov eax, dword [ebp + 8]
add eax, edx
mov word [eax], 0x5f
mov dword [ebp - 0x20], 0
jmp 0x4028a1
mov eax, dword [ebp + 8]
mov ecx, 0xffffffff
mov edx, eax
mov eax, 0
mov edi, edx
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
lea edx, [eax - 1]
mov eax, dword [ebp + 8]
add eax, edx
mov word [eax], 0x30
add dword [ebp - 0x20], 1
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, 3
sub edx, eax
mov eax, edx
cmp ebx, eax
jb 0x402879
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_strcat
jmp 0x40290b
cmp dword [ebp - 0x1c], 3
jle 0x40290b
mov eax, dword [0x40b080]
test eax, eax
je 0x402904
mov eax, dword [0x40b080]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x33
mov dword [esp + 4], 1
mov dword [esp], str.Warning:_tformatJavaVersion___too_many_parts_added._n
call sub.msvcrt.dll_fwrite
mov eax, 0
jmp 0x40293b
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x2c]
add eax, 1
add dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov edx, eax
mov eax, dword [ebp + 0xc]
add eax, edx
cmp eax, dword [ebp - 0x24]
ja 0x402936
mov eax, 0
jmp 0x40293b
mov eax, 1
mov esp, esi
cmp eax, 1
jne 0x40295a
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call fcn.00402648
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jg 0x40270f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
jmp 0x4029c1
mov eax, dword [ebp + 8]
mov ecx, 0xffffffff
mov edx, eax
mov eax, 0
mov edi, edx
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
lea edx, [eax - 1]
mov eax, dword [ebp + 8]
add eax, edx
mov word [eax], 0x2e
mov dword [ebp - 0x28], 0
jmp 0x4029b7
mov eax, dword [ebp + 8]
mov ecx, 0xffffffff
mov edx, eax
mov eax, 0
mov edi, edx
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
lea edx, [eax - 1]
mov eax, dword [ebp + 8]
add eax, edx
mov word [eax], 0x30
add dword [ebp - 0x28], 1
cmp dword [ebp - 0x28], 2
jle 0x40298f
add dword [ebp - 0x20], 1
cmp dword [ebp - 0x20], 2
jle 0x402962
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret