Function at 0x403de0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov eax, dword [0x408028]
mov edx, dword [ebp + 0xc]
test eax, eax
mov dword [ebp - 0x5c], edx
je 0x403e05
mov eax, dword [0x408090]
test eax, eax
jne 0x404130
cld
xor eax, eax
mov dword [ebp - 0x60], 1
lea ebx, [ebp - 0x38]
mov ecx, 5
mov edi, ebx
mov esi, ebx
rep stosd dword es:[edi], eax
mov dword [esp + 4], ebx
mov edi, 0x407166
mov dword [esp], 0x20
call fcn.004020c0
cld
mov ecx, 5
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp], 2
sete dl
mov edi, 0x4102e0
mov dword [esp + 4], edi
movzx eax, dl
mov esi, 0x5f
mov dword [0x4102d8], eax
call fcn.004020c0
mov dword [esp + 4], esi
mov dword [esp], 0x4102e0
call sub.msvcrt.dll_strchr
test eax, eax
je 0x403e87
lea esi, [eax + 1]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
cmp eax, 2
jbe 0x404080
mov dword [esp], 0x4103e0
mov esi, 0x4102e0
mov dword [esp + 4], esi
call sub.msvcrt.dll_strcpy
mov eax, dword [0x408090]
test eax, eax
jne 0x403fe0
mov dword [esp], 3
mov ebx, 0x410360
mov dword [esp + 4], ebx
call fcn.004020c0
mov dword [esp], 0x410360
mov eax, 0x5f
mov dword [esp + 4], eax
call sub.msvcrt.dll_strchr
test eax, eax
je 0x403eeb
lea esi, [eax + 1]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
cmp eax, 2
jbe 0x4040d5
mov dword [esp], 0x410460
mov esi, 0x410360
mov dword [esp + 4], esi
call sub.msvcrt.dll_strcpy
mov eax, dword [0x408090]
test eax, eax
jne 0x404060
mov eax, dword [0x4102d8]
test eax, eax
je 0x404000
mov edi, dword [0x408028]
test edi, edi
jne 0x403f58
cmp byte [0x4103e0], 0
jne 0x403f90
mov esi, dword [ebp - 0x5c]
mov dword [esp + 4], esi
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.00403960
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x404050
mov eax, dword [ebp - 0x60]
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x408090]
test eax, eax
je 0x403f24
mov dword [esp + 0xc], eax
mov edx, 1
mov esi, 0x15
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], str.installedJreSearch___n
call sub.msvcrt.dll_fwrite
cmp byte [0x4103e0], 0
je 0x403f2d
lea esi, [esi]
cld
xor eax, eax
mov ecx, 5
lea edi, [ebp - 0x58]
lea ebx, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov dword [esp], 0x12
lea ecx, [ebp - 0x58]
mov dword [esp + 4], ecx
call fcn.004020c0
mov dword [esp], ebx
call sub.msvcrt.dll_atoi
mov dword [esp + 4], eax
mov dword [esp], 0x4081a4
call fcn.00402d50
test eax, eax
je 0x403f2d
mov eax, dword [ebp - 0x60]
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], eax
mov edx, 0x4103e0
mov edi, str.Java_min_ver:_t_s_n
mov dword [esp + 8], edx
mov dword [esp + 4], edi
call sub.msvcrt.dll_fprintf
jmp 0x403ea9
mov ecx, dword [ebp - 0x5c]
mov dword [esp + 4], ecx
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call fcn.00403960
test eax, eax
jne 0x403f4d
mov edi, dword [0x408028]
test edi, edi
je 0x404031
mov eax, dword [0x408090]
test eax, eax
jne 0x4041a7
xor ebx, ebx
cmp byte [0x4103e0], 0
jne 0x404157
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x60]
test ebx, ebx
jne 0x403f4d
mov esi, esi
call fcn.00403c20
mov eax, dword [ebp - 0x60]
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], eax
mov ecx, 0x410460
mov ebx, str.Java_max_ver:_t_s_n
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
call sub.msvcrt.dll_fprintf
jmp 0x403f0d
mov dword [esp], 0x4103e0
mov ebx, esi
mov ecx, 0x4102e0
mov dword [esp + 4], ecx
sub ebx, 0x4102e0
mov dword [esp + 8], ebx
call sub.msvcrt.dll_strncpy
mov byte [ebx + 0x4103e0], 0
mov dword [esp], 0x4103e0
call sub.msvcrt.dll_strlen
mov dword [esp + 4], esi
mov edx, 0x30
mov word [eax + 0x4103e0], dx
mov dword [esp], 0x4103e0
call sub.msvcrt.dll_strcat
jmp 0x403e9c
mov dword [esp], 0x410460
mov edi, esi
mov edx, 0x410360
mov dword [esp + 4], edx
sub edi, 0x410360
mov dword [esp + 8], edi
call sub.msvcrt.dll_strncpy
mov byte [edi + 0x410460], 0
mov dword [esp], 0x410460
call sub.msvcrt.dll_strlen
mov dword [esp + 4], esi
mov ecx, 0x30
mov word [eax + 0x410460], cx
mov dword [esp], 0x410460
call sub.msvcrt.dll_strcat
jmp 0x403f00
mov dword [esp + 0xc], eax
mov ebx, 0xc
mov ecx, 1
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], str.jreSearch___n
call sub.msvcrt.dll_fwrite
jmp 0x403e05
cld
mov eax, ebx
mov ecx, 5
lea edi, [ebp - 0x58]
lea esi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov dword [esp], 0x12
lea ecx, [ebp - 0x58]
mov dword [esp + 4], ecx
call fcn.004020c0
mov dword [esp], esi
call sub.msvcrt.dll_atoi
mov dword [esp + 4], eax
mov dword [esp], 0x4081a4
call fcn.00402d50
test eax, eax
je 0x404040
mov ebx, 1
mov dword [ebp - 0x60], ebx
jmp 0x404043
mov dword [esp + 0xc], eax
mov edx, 0x15
mov eax, 1
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], str.installedJreSearch___n
call sub.msvcrt.dll_fwrite
jmp 0x404031