Function at 0x422c09
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48804a
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4c2660]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x4c2660]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov byte [esp + 0xb0], 1
cmp dword [eax + 0x10], edi
je 0x422ea3
cmp dword [eax + 0x14], 8
jb 0x422c93
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x422d7b
cmp dword [0x4c8640], 3
jg 0x422d68
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004400c2
add esp, 0xc
mov esi, eax
push 0x49d0f4
lea ecx, [esp + 0x88]
mov byte [esp + 0xb4], 2
call fcn.0040d21d
mov byte [esp + 0xb0], 3
cmp dword [esi + 0x14], 0x10
jb 0x422cf8
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x422d00
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [esp + 0x58]
call fcn.0044389e
add esp, 0xc
mov byte [esp + 0xb0], 4
cmp dword [eax + 0x14], 0x10
jb 0x422d23
mov eax, dword [eax]
push eax
push 0x15f
push 3
mov ebx, str.InstallConfigData::LoadConfigSettings
mov edi, str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_InstallConfigData.cpp
mov esi, 0x4c8640
call fcn.004082ed
xor esi, esi
push esi
push 1
lea ecx, [esp + 0x54]
call fcn.0040e7d9
push esi
push 1
lea ecx, [esp + 0x8c]
call fcn.0040e7d9
push esi
push 1
lea ecx, [esp + 0x70]
call fcn.0040e7d9
lea esi, [esp + 0x3c]
call fcn.0045c2b5
mov eax, 0xc8
jmp 0x422ee7
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x18], edi
jle 0x422e6b
jmp 0x422d8d
xor edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push dword [eax + ecx*4]
lea eax, [esp + 0x50]
call fcn.0040d5af
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x68]
mov byte [esp + 0xb0], 5
call fcn.00443f2d
mov esi, eax
mov byte [esp + 0xb0], 6
cmp esi, ebx
jae 0x422e02
cmp dword [esp + 0x20], esi
ja 0x422e02
sub eax, dword [esp + 0x20]
push 0x1c
cdq
pop ecx
idiv ecx
mov esi, eax
cmp ebx, dword [esp + 0x28]
jne 0x422de9
lea ecx, [esp + 0x20]
call fcn.00424c29
mov ebx, dword [esp + 0x24]
imul esi, esi, 0x1c
add esi, dword [esp + 0x20]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0xb0], 7
jmp 0x422e25
cmp ebx, dword [esp + 0x28]
jne 0x422e15
lea ecx, [esp + 0x20]
call fcn.00424c29
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0xb0], 8
cmp ebx, edi
je 0x422e31
push esi
mov esi, ebx
call fcn.0040d1fc
push edi
add ebx, 0x1c
push 1
lea ecx, [esp + 0x70]
mov dword [esp + 0x2c], ebx
call fcn.0040e7d9
push 1
xor edi, edi
lea esi, [esp + 0x50]
mov byte [esp + 0xb4], 1
call fcn.0040e951
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x18]
jl 0x422d8b
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [esp + 0x20]
cmp edi, ebx
je 0x422ea3
cmp dword [edi + 0x14], 0x10
jb 0x422e8b
mov eax, dword [edi]
mov dword [esp + 0x14], eax
jmp 0x422e8f
mov dword [esp + 0x14], edi
lea eax, [esp + 0x14]
lea esi, [esp + 0x3c]
call fcn.0045c269
add edi, 0x1c
cmp edi, ebx
jne 0x422e7d
push dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
push dword [esp + 0x40]
call fcn.00422f0d
lea esi, [esp + 0x3c]
mov edi, eax
call fcn.0045c2b5
mov esi, dword [esp + 0x20]
test esi, esi
je 0x422ee5
jmp 0x422ed7
push 0
push 1
mov ecx, esi
call fcn.0040e7d9
add esi, 0x1c
cmp esi, ebx
jne 0x422ec9
push dword [esp + 0x20]
call fcn.00465f37
pop ecx
mov eax, edi
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00465f42
mov esp, ebp
pop ebp
ret 8