Function at 0x405ee0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov edx, 0x407b40
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x66c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c4], edx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x5e8], eax
mov eax, 0x416fac
mov dword [ebp - 0x5c0], eax
mov eax, 0x406433
mov dword [ebp - 0x5b8], eax
lea eax, [ebp - 0x5dc]
mov dword [ebp - 0x5bc], edx
mov dword [esp], eax
mov dword [ebp - 0x5b4], esp
call fcn.0040c840
mov dword [esp], 0
mov eax, 0xffffffff
mov dword [ebp - 0x5d8], eax
call sub.KERNEL32.dll_SetErrorMode
sub esp, 4
or eax, 0x8001
mov dword [esp], eax
call sub.KERNEL32.dll_SetErrorMode
xor eax, eax
sub esp, 4
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x5e0], eax
mov eax, 1
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00401fa0
test al, al
je 0x405fad
mov eax, dword [str._n_nThe_launcher_has_determined_that_the_parent_process_has_a_console_and_will_reuse_it_for_its_own_console_output._nClosing_the_console_will_result_in_termination_of_the_running_program._nUse___console_suppress_to_suppress_console_output._nUse___console_new_to_create_a_separate_console_window._n]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x5e0]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
lea eax, [ebp + 0xc]
mov dword [esp], eax
call fcn.00401d20
test al, al
jne 0x405fd4
mov eax, 0xffffffff
mov dword [ebp - 0x5e4], eax
lea eax, [ebp - 0x5dc]
mov dword [esp], eax
call fcn.0040c920
mov eax, dword [ebp - 0x5e4]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp - 0x5e8]
mov eax, dword [edx]
mov dword [esp], edx
call dword [eax + 8]
test al, al
je 0x405fad
mov ecx, dword [ebp - 0x5e8]
mov dword [esp], ecx
call fcn.00405780
test al, al
je 0x405fad
mov eax, dword [ebp - 0x5e8]
mov edi, 0xffffffff
mov esi, str.etc_
mov dword [ebp - 0x5d8], edi
mov ebx, 0x15
add eax, 4
mov dword [esp + 4], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.00415e90
mov dword [esp], str.etc_
call sub.msvcrt.dll_strlen
mov dword [esp + 8], eax
lea edx, [ebp - 0x48]
mov dword [esp + 4], esi
mov dword [esp], edx
mov dword [ebp - 0x5d8], ebx
call fcn.00414300
mov edx, dword [ebp - 0x5e8]
mov eax, dword [edx]
mov dword [esp], edx
mov edx, 0x14
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x5d8], edx
call eax
mov dword [ebp - 0x5f0], eax
lea ecx, [ebp - 0x48]
lea eax, [ebp - 0x38]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00415e90
mov edx, dword [ebp - 0x5f0]
mov dword [esp], edx
call sub.msvcrt.dll_strlen
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x5f0]
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov eax, 0x13
mov dword [esp + 4], ecx
mov dword [ebp - 0x5d8], eax
call fcn.00414300
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, 0x12
mov dword [esp], edx
mov dword [ebp - 0x5d8], eax
call fcn.00415e90
mov dword [esp], str..conf
call sub.msvcrt.dll_strlen
mov dword [esp + 8], eax
mov eax, str..conf
lea ecx, [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, 0x11
mov dword [esp], ecx
mov dword [ebp - 0x5d8], eax
call fcn.00414300
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5e8]
mov dword [esp], eax
mov eax, 0x10
mov dword [ebp - 0x5d8], eax
call fcn.00403610
lea eax, [ebp - 0x28]
mov esi, 0x12
mov dword [esp], eax
mov dword [ebp - 0x5d8], esi
call fcn.00416600
lea eax, [ebp - 0x38]
mov ebx, 0x14
mov dword [esp], eax
mov dword [ebp - 0x5d8], ebx
call fcn.00416600
lea ecx, [ebp - 0x48]
mov dword [esp], ecx
mov ecx, 0xffffffff
mov dword [ebp - 0x5d8], ecx
call fcn.00416600
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x5e8]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00403920
test al, al
mov edx, 0xffffffff
mov dword [ebp - 0x5e4], edx
je 0x405fb8
mov ecx, dword [ebp - 0x5e8]
lea eax, [ebp - 0x48]
mov edi, 0xffffffff
mov dword [esp], eax
mov esi, 0xf
mov dword [ebp - 0x5d8], edi
add ecx, 0x14
mov dword [ebp - 0x5f4], ecx
mov dword [esp + 4], ecx
call fcn.00415e90
mov dword [ebp - 0x5d8], esi
mov edx, dword [ebp - 0x5f4]
lea ecx, [ebp - 0x58]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00415e90
mov dword [esp], str.etc_
mov ebx, str.etc_
call sub.msvcrt.dll_strlen
mov dword [esp + 8], eax
mov ecx, 0xe
lea eax, [ebp - 0x58]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [ebp - 0x5d8], ecx
call fcn.00414300
mov edx, dword [ebp - 0x5e8]
mov eax, dword [edx]
mov dword [esp], edx
mov edx, 0xd
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x5d8], edx
call eax
mov dword [ebp - 0x5f8], eax
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00415e90
mov edx, dword [ebp - 0x5f8]
mov dword [esp], edx
call sub.msvcrt.dll_strlen
mov dword [esp + 8], eax
mov ecx, dword [ebp - 0x5f8]
lea eax, [ebp - 0x28]
mov dword [esp], eax
mov eax, 0xc
mov dword [esp + 4], ecx
mov dword [ebp - 0x5d8], eax
call fcn.00414300
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, 0xb
mov dword [esp], edx
mov dword [ebp - 0x5d8], eax
call fcn.00415e90
mov dword [esp], str..conf
call sub.msvcrt.dll_strlen
mov dword [esp + 8], eax
mov eax, str..conf
lea ecx, [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, 0xa
mov dword [esp], ecx
mov dword [ebp - 0x5d8], eax
call fcn.00414300
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5e8]
mov dword [esp], eax
mov eax, 9
mov dword [ebp - 0x5d8], eax
call fcn.00403610
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov eax, 0xb
mov dword [ebp - 0x5d8], eax
call fcn.00416600
lea eax, [ebp - 0x28]
mov edi, 0xd
mov dword [esp], eax
mov dword [ebp - 0x5d8], edi
call fcn.00416600
lea edx, [ebp - 0x58]
mov esi, 0xf
mov dword [esp], edx
mov dword [ebp - 0x5d8], esi
call fcn.00416600
mov edx, dword [ebp - 0x5e8]
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
add edx, 0x14
mov dword [esp], edx
call fcn.004147b0
mov ecx, dword [ebp - 0x5e8]
mov eax, dword [ecx]
mov dword [esp], ecx
call dword [eax + 0x14]
mov eax, dword [ebp - 0x5e8]
mov dword [esp], eax
call fcn.00405d10
mov dword [ebp - 0x58], 0x41809c
mov ecx, dword [ebp - 0x5e8]
mov ebx, 8
mov edx, dword [ebp - 0x5e8]
mov eax, dword [ecx + 4]
add edx, 4
mov dword [ebp - 0x5fc], edx
mov dword [esp], eax
mov dword [ebp - 0x5d8], ebx
call sub.KERNEL32.dll_SetDllDirectoryA
mov eax, dword [ebp - 0x5e8]
sub esp, 4
mov edx, dword [ebp - 0x5e8]
add eax, 0xc
mov dword [ebp - 0x600], eax
mov eax, dword [edx + 0xc]
mov dword [esp], eax
call fcn.00401a30
test al, al
je 0x406fbf
mov ecx, dword [ebp - 0x600]
lea eax, [ebp - 0x58]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004147b0
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
mov eax, 8
mov dword [ebp - 0x5d8], eax
call fcn.00401a30
test al, al
jne 0x406610
mov dword [esp], 0
mov eax, dword [ebp - 0x58]
mov dword [esp + 0xc], eax
mov eax, str.Could_not_find_platform_cluster:_n_s
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 4], eax
call fcn.00401ac0
lea ecx, [ebp - 0x58]
mov eax, 0xf
mov dword [esp], ecx
mov dword [ebp - 0x5d8], eax
call fcn.00416600
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov eax, 0xffffffff
mov dword [ebp - 0x5d8], eax
call fcn.00416600
xor eax, eax
jmp 0x405fb2
mov dword [ebp - 0x78], 0
mov eax, dword [ebp + 0xc]
mov edi, 8
mov dword [ebp - 0x5d8], edi
add eax, 0x14
mov dword [ebp - 0x74], eax
shl eax, 2
mov dword [esp], eax
call fcn.0040a2c0
mov dword [ebp - 0x70], eax
mov edi, eax
mov eax, dword [ebp - 0x74]
shl eax, 2
cmp eax, 7
jbe 0x40665a
test edi, 4
je 0x40665a
mov dword [edi], 0
sub eax, 4
add edi, 4
cld
mov ecx, eax
mov edx, dword [ebp - 0x5e8]
xor eax, eax
shr ecx, 2
mov esi, 4
rep stosd dword es:[edi], eax
mov eax, dword [edx]
lea ecx, [ebp - 0x78]
mov dword [esp + 4], ecx
mov dword [esp], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x5d8], esi
call eax
mov edx, dword [ebp - 0x5e8]
mov eax, dword [edx + 0x24]
mov ebx, dword [eax - 0xc]
test ebx, ebx
jne 0x406bf3
mov edx, dword [ebp - 0x5e8]
mov eax, dword [edx + 0x14]
mov edx, dword [eax - 0xc]
test edx, edx
jne 0x406bb7
mov edx, dword [ebp - 0x5e8]
mov eax, dword [edx + 0x1c]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x406732
mov edx, dword [ebp - 0x5e8]
mov eax, dword [edx + 0x18]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x4066d8
cmp byte [edx + 0x34], 0
je 0x4070cb
mov edx, dword [ebp - 0x5e8]
mov eax, dword [edx + 0x2c]
mov ebx, dword [eax - 0xc]
test ebx, ebx
jne 0x406b2e
xor eax, eax
xor edx, edx
cmp eax, dword [ebp + 0xc]
mov dword [ebp - 0x640], edx
jge 0x40676e
mov edx, dword [ebp - 0x640]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + edx*4]
mov dword [esp + 4], eax
lea eax, [ebp - 0x78]
mov dword [esp], eax
mov eax, 4
mov dword [ebp - 0x5d8], eax
call fcn.00412880
inc dword [ebp - 0x640]
mov edx, dword [ebp - 0x640]
cmp edx, dword [ebp + 0xc]
jmp 0x4066f9
mov eax, str.__default_userdir_root
lea ecx, [ebp - 0x78]
mov dword [esp + 4], eax
mov eax, 4
mov dword [esp], ecx
mov dword [ebp - 0x5d8], eax
call fcn.00412880
mov edx, dword [ebp - 0x5e8]
lea ecx, [ebp - 0x78]
mov eax, dword [edx + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00412880
jmp 0x4066be
mov ecx, dword [ebp - 0x5e8]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x406af2
mov eax, dword [ebp - 0x5e0]
test eax, eax
je 0x406801
mov eax, str.__la_ppid
mov edi, 4
mov dword [esp + 4], eax
lea eax, [ebp - 0x78]
mov dword [esp], eax
mov dword [ebp - 0x5d8], edi
call fcn.00412880
movzx eax, byte [0x428881]
cld
lea edi, [ebp - 0x487]
mov ecx, 3
mov esi, 0xa
mov byte [ebp - 0x488], al
xor eax, eax
rep stosd dword es:[edi], eax
mov byte [edi + 2], 0
lea eax, [ebp - 0x488]
mov word [edi], 0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5e0]
mov dword [esp + 8], esi
mov dword [esp], eax
call sub.msvcrt.dll__itoa
mov dword [esp + 4], eax
lea edx, [ebp - 0x78]
mov dword [esp], edx
call fcn.00412880
mov ecx, dword [str._lib_nbexec.dll]
mov ebx, 4
mov dword [esp], ecx
call sub.msvcrt.dll_strlen
mov dword [esp + 8], eax
mov eax, dword [str._lib_nbexec.dll]
lea edx, [ebp - 0x58]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [ebp - 0x5d8], ebx
call fcn.00414300
mov ecx, dword [ebp - 0x5e8]
mov eax, dword [ecx]
mov dword [esp], ecx
call dword [eax + 0x38]
mov dword [ebp - 0x644], eax
test eax, eax
je 0x4068b8
mov dword [esp], 0x104
lea eax, [ebp - 0x598]
mov dword [esp + 4], eax
call sub.KERNEL32.dll_GetCurrentDirectoryA
sub esp, 8
test eax, eax
jne 0x406a51
mov dword [esp], 1
mov ecx, str.Failed_to_get_current_directory
xor edx, edx
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
call fcn.00401ac0
mov dword [esp], str.Changing_current_directory_to:___s_
mov edx, dword [ebp - 0x644]
mov edi, 4
mov dword [ebp - 0x5d8], edi
mov dword [esp + 4], edx
call fcn.00401970
mov ecx, dword [ebp - 0x644]
mov dword [esp], ecx
call sub.KERNEL32.dll_SetCurrentDirectoryA
sub esp, 4
mov eax, dword [ebp - 0x58]
xor esi, esi
mov ebx, 1
mov dword [ebp - 0x5a8], esi
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x64c], edx
mov dword [ebp - 0x650], ecx
mov dword [esp], eax
mov dword [ebp - 0x5d8], ebx
call sub.KERNEL32.dll_LoadLibraryA
mov dword [ebp - 0x5a8], eax
sub esp, 4
test eax, eax
jne 0x4069e0
mov eax, dword [ebp - 0x648]
mov ecx, str.Cannot_load___s_.
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp], 1
mov eax, 1
mov dword [esp + 4], eax
call fcn.00401ac0
mov eax, 0xffffffff
mov dword [ebp - 0x654], eax
mov eax, dword [ebp - 0x5a8]
test eax, eax
jne 0x4069c5
mov esi, dword [ebp - 0x70]
test esi, esi
je 0x40698e
mov ecx, dword [ebp - 0x74]
xor ebx, ebx
mov dword [ebp - 0x664], ebx
test ecx, ecx
jle 0x40697f
mov eax, dword [ebp - 0x70]
mov edx, dword [ebp - 0x664]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x40696e
mov dword [esp], eax
call fcn.0040a2b0
inc dword [ebp - 0x664]
mov ecx, dword [ebp - 0x664]
cmp dword [ebp - 0x74], ecx
jg 0x406956
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x40698e
mov dword [esp], eax
call fcn.0040a2b0
lea eax, [ebp - 0x58]
mov edx, 0xf
mov dword [esp], eax
mov dword [ebp - 0x5d8], edx
call fcn.00416600
lea eax, [ebp - 0x48]
mov dword [esp], eax
mov eax, 0xffffffff
mov dword [ebp - 0x5d8], eax
call fcn.00416600
mov eax, dword [ebp - 0x654]
jmp 0x405fb2
mov dword [esp], eax
mov edi, 4
mov dword [ebp - 0x5d8], edi
call sub.KERNEL32.dll_FreeLibrary
sub esp, 4
jmp 0x406940
mov eax, dword [ebp - 0x5a8]
mov edx, str.startPlatform
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, 1
mov dword [ebp - 0x5d8], eax
call sub.KERNEL32.dll_GetProcAddress
mov dword [ebp - 0x658], eax
sub esp, 8
test eax, eax
je 0x406ada
mov dword [esp], str.Starting_platform..._n
mov eax, 1
mov dword [ebp - 0x5d8], eax
call fcn.00401970
mov eax, str.____console_suppress____supppress_console_output_n____console_new_________open_new_console_for_output_n_n
mov ecx, dword [ebp - 0x650]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x64c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [ebp - 0x658]
jmp 0x40692c
lea eax, [ebp - 0x68]
lea edx, [ebp - 0x598]
mov dword [esp + 8], eax
lea ecx, [ebp - 0x38]
mov eax, 3
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [ebp - 0x5d8], eax
call fcn.00415de0
mov dword [esp], str._J_Dnetbeans.user.dir
call sub.msvcrt.dll_strlen
mov dword [esp + 0xc], eax
mov eax, str._J_Dnetbeans.user.dir
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov eax, 2
mov dword [ebp - 0x5d8], eax
call fcn.00414c00
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
lea eax, [ebp - 0x78]
mov dword [esp], eax
call fcn.00412880
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov eax, 4
mov dword [ebp - 0x5d8], eax
call fcn.00416600
jmp 0x406886
mov edx, dword [ebp - 0x648]
mov eax, str.Cannot_start_platform__failed_to_find_startPlatform___in__s
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
jmp 0x406912
mov eax, str.__jdkhome
mov dword [esp + 4], eax
lea eax, [ebp - 0x78]
mov dword [esp], eax
mov eax, 4
mov dword [ebp - 0x5d8], eax
call fcn.00412880
mov edx, dword [ebp - 0x5e8]
lea ecx, [ebp - 0x78]
mov eax, dword [edx + 0x30]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00412880
jmp 0x406782
mov dword [ebp - 0x608], eax
movzx eax, byte [0x428881]
mov ecx, 0x3ff
xor edx, edx
mov dword [esp + 8], ecx
xor ebx, ebx
xor esi, esi
mov dword [esp + 4], edx
mov byte [ebp - 0x478], al
lea eax, [ebp - 0x477]
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov byte [ebp - 0x609], 0
mov ecx, dword [ebp - 0x608]
xor eax, eax
mov dword [ebp - 0x610], eax
movzx eax, byte [ecx]
test al, al
je 0x406c6e
cmp byte [ebp - 0x609], 0
je 0x406c30
cmp al, 0x22
je 0x406c24
mov byte [esi + ebp - 0x478], al
inc esi
inc dword [ebp - 0x610]
mov edx, dword [ebp - 0x608]
mov ecx, dword [ebp - 0x610]
movzx eax, byte [edx + ecx]
jmp 0x406b7a
mov eax, str.__userdir
lea ecx, [ebp - 0x78]
mov dword [esp + 4], eax
mov eax, 4
mov dword [esp], ecx
mov dword [ebp - 0x5d8], eax
call fcn.00412880
mov edx, dword [ebp - 0x5e8]
lea ecx, [ebp - 0x78]
mov eax, dword [edx + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00412880
jmp 0x4066ae
mov ecx, str.__clusters
mov dword [esp + 4], ecx
lea ecx, [ebp - 0x78]
mov dword [esp], ecx
call fcn.00412880
mov edx, dword [ebp - 0x5e8]
lea ecx, [ebp - 0x78]
mov eax, dword [edx + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00412880
jmp 0x40669a
mov byte [ebp - 0x609], 0
jmp 0x406b9f
mov dl, al
sub dl, 9
cmp dl, 0x19
ja 0x406f7f
movsx ecx, dl
mov edx, 1
shl edx, cl
test edx, 0x800013
jne 0x406df2
and edx, 0x2000000
je 0x406f7f
mov byte [ebp - 0x609], 1
mov bl, 1
jmp 0x406b9f
test esi, esi
jle 0x4066ec
xor eax, eax
mov byte [ebp + esi - 0x478], al
lea eax, [ebp - 0x78]
mov edx, eax
mov dword [ebp - 0x62c], eax
mov eax, dword [eax]
mov edx, dword [edx + 4]
inc eax
cmp eax, edx
jle 0x406d7a
mov eax, edx
mov ebx, 4
shr eax, 0x1f
mov dword [ebp - 0x5d8], ebx
lea eax, [edx + eax]
sar eax, 1
lea eax, [edx + eax + 1]
mov dword [ebp - 0x630], eax
shl eax, 2
mov dword [esp], eax
call fcn.0040a2c0
mov dword [ebp - 0x634], eax
mov edx, dword [ebp - 0x62c]
mov edi, dword [ebp - 0x634]
mov eax, dword [edx + 4]
mov esi, dword [edx + 8]
lea edx, [eax*4]
cmp edx, 7
jbe 0x406d01
test edi, 4
je 0x406d01
mov eax, dword [esi]
sub edx, 4
add esi, 4
mov dword [edi], eax
mov edi, dword [ebp - 0x634]
add edi, 4
cld
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x62c]
mov edx, dword [ebp - 0x630]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x634]
sub edx, eax
lea edi, [ecx + eax*4]
lea eax, [edx*4]
cmp eax, 7
jbe 0x406d43
test edi, 4
je 0x406d43
mov dword [edi], 0
sub eax, 4
add edi, 4
cld
mov ecx, eax
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [ebp - 0x62c]
mov eax, dword [edx + 8]
test eax, eax
je 0x406d62
mov dword [esp], eax
call fcn.0040a2b0
mov ecx, dword [ebp - 0x62c]
mov eax, dword [ebp - 0x634]
mov edx, dword [ebp - 0x630]
mov dword [ecx + 8], eax
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 0x62c]
lea edx, [ebp - 0x478]
mov eax, dword [ebp - 0x62c]
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esp], edx
mov dword [ebp - 0x638], ecx
mov dword [ebp - 0x63c], eax
call sub.msvcrt.dll_strlen
inc eax
mov ecx, 4
mov dword [esp], eax
mov dword [ebp - 0x5d8], ecx
call fcn.0040a2c0
mov ecx, dword [ebp - 0x638]
mov edx, dword [ebp - 0x63c]
mov dword [edx + ecx*4], eax
mov edx, dword [ebp - 0x62c]
lea ecx, [ebp - 0x478]
mov dword [esp + 4], ecx
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4]
inc eax
mov dword [esp], edx
mov dword [ecx], eax
call sub.msvcrt.dll_strcpy
jmp 0x4066ec
test bl, bl
je 0x406f78
xor eax, eax
lea edx, [ebp - 0x478]
mov byte [ebp + esi - 0x478], al
lea eax, [ebp - 0x78]
mov dword [ebp - 0x614], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x618], edx
mov edx, dword [ebp - 0x74]
inc eax
cmp eax, edx
jle 0x406f03
mov eax, edx
shr eax, 0x1f
lea eax, [edx + eax]
sar eax, 1
lea eax, [edx + eax + 1]
mov dword [ebp - 0x61c], eax
shl eax, 2
mov dword [esp], eax
mov eax, 4
mov dword [ebp - 0x5d8], eax
call fcn.0040a2c0
mov dword [ebp - 0x620], eax
mov eax, dword [ebp - 0x74]
mov edi, dword [ebp - 0x620]
mov esi, dword [ebp - 0x70]
lea edx, [eax*4]
cmp edx, 7
jbe 0x406e8a
test edi, 4
je 0x406e8a
mov eax, dword [esi]
sub edx, 4
add esi, 4
mov dword [edi], eax
mov edi, dword [ebp - 0x620]
add edi, 4
cld
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x614]
mov edx, dword [ebp - 0x61c]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x620]
sub edx, eax
lea edi, [ecx + eax*4]
lea eax, [edx*4]
cmp eax, 7
jbe 0x406ecc
test edi, 4
je 0x406ecc
mov dword [edi], 0
sub eax, 4
add edi, 4
cld
mov ecx, eax
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [ebp - 0x614]
mov eax, dword [edx + 8]
test eax, eax
je 0x406eeb
mov dword [esp], eax
call fcn.0040a2b0
mov ecx, dword [ebp - 0x614]
mov eax, dword [ebp - 0x620]
mov edx, dword [ebp - 0x61c]
mov dword [ecx + 8], eax
mov dword [ecx + 4], edx
mov ecx, dword [ebp - 0x614]
mov eax, dword [ebp - 0x614]
mov edx, dword [ebp - 0x618]
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esp], edx
mov dword [ebp - 0x624], ecx
mov dword [ebp - 0x628], eax
call sub.msvcrt.dll_strlen
inc eax
mov dword [esp], eax
mov eax, 4
mov dword [ebp - 0x5d8], eax
call fcn.0040a2c0
mov ecx, dword [ebp - 0x624]
mov edx, dword [ebp - 0x628]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0x618]
mov edx, dword [ebp - 0x614]
mov dword [esp + 4], ecx
mov eax, dword [edx]
mov ecx, edx
mov edx, dword [edx + 8]
mov edx, dword [edx + eax*4]
inc eax
mov dword [esp], edx
mov dword [ecx], eax
call sub.msvcrt.dll_strcpy
xor esi, esi
xor ebx, ebx
jmp 0x406b9f
mov bl, 1
jmp 0x406b97
mov edx, dword [ebp - 0x5fc]
lea ecx, [ebp - 0x28]
mov dword [esp], ecx
mov ecx, 8
mov dword [esp + 4], edx
mov dword [ebp - 0x5d8], ecx
call fcn.00415e90
mov eax, dword [ebp - 0x28]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x604], eax
mov edx, dword [ebp - 0x604]
mov eax, dword [0x42a460]
sub eax, edx
cmp eax, 1
jae 0x407014
mov dword [esp], 0x429b05
mov eax, 7
mov dword [ebp - 0x5d8], eax
call fcn.00409c10
mov eax, 1
lea edx, [ebp - 0x28]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x604]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, 7
mov dword [ebp - 0x5d8], eax
call fcn.00415ba0
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x604]
mov byte [eax + ecx], 0x5c
mov eax, dword [ebp - 0x5e8]
mov dword [esp + 4], edx
add eax, 0xc
mov dword [esp + 8], eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov eax, 6
mov dword [ebp - 0x5d8], eax
call fcn.00416c80
sub esp, 4
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x58]
mov dword [esp + 4], eax
mov edi, 5
mov dword [esp], edx
mov dword [ebp - 0x5d8], edi
call fcn.004147b0
lea eax, [ebp - 0x38]
mov ebx, 6
mov dword [esp], eax
mov dword [ebp - 0x5d8], ebx
call fcn.00416600
lea eax, [ebp - 0x28]
mov edx, 8
mov dword [esp], eax
mov dword [ebp - 0x5d8], edx
call fcn.00416600
jmp 0x4063bd
mov edi, str.__cachedir
lea ecx, [ebp - 0x78]
mov esi, 4
mov dword [esp + 4], edi
mov dword [esp], ecx
mov dword [ebp - 0x5d8], esi
call fcn.00412880
mov edx, dword [ebp - 0x5e8]
lea ecx, [ebp - 0x78]
mov eax, dword [edx + 0x18]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00412880
jmp 0x4066d8