Function at 0x403810
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4083a4
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x408
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3b4], edx
mov dword [ebp - 0x3ac], ecx
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x3b0], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x34c], eax
xor eax, eax
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
push 1
push 0x4093b4
mov dword [ebp - 4], eax
call fcn.00406b3c
mov edx, eax
lea ecx, [ebp - 0x3a0]
call fcn.00401830
mov esi, 0x300000
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
add esp, 4
mov byte [ebp - 4], 2
lea edx, [ebp - 0x3a0]
lea ecx, [ebp - 0x30]
call fcn.00405690
add esp, 4
test eax, eax
jne 0x40484d
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x38c]
cmp ecx, 7
jbe 0x403929
mov edx, dword [ebp - 0x3a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40391f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40391f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040714a
add esp, 8
mov ecx, dword [ebp - 0x2c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
test ecx, ecx
je 0x40393c
lock inc dword [ecx + 4]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x388], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x403953
lock inc dword [ecx + 4]
movlpd qword [ebp - 0x68], xmm0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
test ecx, ecx
je 0x40398a
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x40398a
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x2c]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x40398a
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
jmp 0x403996
mov esi, dword [ebp - 0x344]
test edi, edi
je 0x403f4c
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x374], 0
push str..jar
lea ecx, [ebp - 0x384]
mov dword [ebp - 0x370], 0
movups xmmword [ebp - 0x384], xmm0
call fcn.00405df0
or esi, 0x30
mov byte [ebp - 4], 7
lea ecx, [edi + 0x20]
or esi, 1
cmp dword [edi + 0x34], 7
mov dword [ebp - 0x344], esi
mov dword [ebp - 0x354], esi
jbe 0x4039f0
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x30]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.00401a90
push 0x3a
mov edi, eax
push esi
push edi
call fcn.00406f20
cmp edi, eax
je 0x403a3d
lea ecx, [eax - 2]
cmp edi, ecx
je 0x403a3d
cmp word [ecx], 0x2e
lea edx, [ecx - 2]
jne 0x403a28
cmp edi, edx
jne 0x403a3f
cmp word [edx], 0x2e
jne 0x403a3f
jmp 0x403a3d
mov ecx, edx
cmp edi, ecx
je 0x403a3d
nop
cmp word [ecx], 0x2e
je 0x403a3f
sub ecx, 2
cmp edi, ecx
jne 0x403a30
mov ecx, eax
sub eax, ecx
mov dword [ebp - 0x35c], 0
sar eax, 1
xorps xmm0, xmm0
push eax
push ecx
lea ecx, [ebp - 0x36c]
mov dword [ebp - 0x358], 0
movups xmmword [ebp - 0x36c], xmm0
call fcn.00405df0
mov eax, dword [ebp - 0x344]
or eax, 0x1c0
or eax, 2
mov dword [ebp - 4], 8
cmp dword [ebp - 0x370], 7
lea ecx, [ebp - 0x36c]
push dword [ebp - 0x374]
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x354], eax
lea eax, [ebp - 0x384]
cmova eax, dword [ebp - 0x384]
push eax
call fcn.00401e30
test eax, eax
jne 0x403c58
mov eax, dword [ebp - 0x388]
cmp dword [eax + 0x34], 7
lea ecx, [eax + 0x20]
jbe 0x403acf
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x30]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.00401a90
push 0x3a
mov edi, eax
push esi
push edi
call fcn.00406f20
mov ecx, eax
cmp edi, ecx
je 0x403b21
lea edx, [ecx - 2]
cmp edi, edx
je 0x403b21
cmp word [edx], 0x2e
lea eax, [edx - 2]
jne 0x403b0b
cmp edi, eax
jne 0x403b07
cmp word [eax], 0x2e
je 0x403b21
mov ecx, edx
jmp 0x403b21
cmp edi, eax
je 0x403b21
nop
cmp word [eax], 0x2e
je 0x403b1f
sub eax, 2
cmp edi, eax
jne 0x403b10
jmp 0x403b21
mov ecx, eax
sub ecx, edi
mov dword [ebp - 0x390], 0
sar ecx, 1
xorps xmm0, xmm0
push ecx
push edi
lea ecx, [ebp - 0x3a0]
mov dword [ebp - 0x38c], 0
movups xmmword [ebp - 0x3a0], xmm0
call fcn.00405df0
mov esi, dword [ebp - 0x344]
or esi, 0x70000
lea eax, [ebp - 0x3a0]
mov dword [ebp - 4], 9
or esi, 4
lea ecx, [ebp - 0x3e4]
push eax
mov dword [ebp - 0x354], esi
call fcn.00405180
mov edi, dword [ebp - 0x3e4]
lea edx, [ebp - 0x3e4]
mov eax, dword [ebp - 0x3d4]
or esi, 0x80008
cmp dword [ebp - 0x3d0], 7
mov dword [ebp - 0x344], esi
cmova edx, edi
mov dword [ebp - 0x354], edi
mov dword [ebp - 0x350], edx
cmp eax, 0xb
jb 0x403c5e
add eax, 0xfffffff6
lea ecx, [edx + eax*2]
mov eax, edx
mov dword [ebp - 0x3a8], ecx
nop dword [eax]
mov edx, ecx
mov esi, 0
sub edx, eax
sar edx, 1
je 0x403bf4
cmp word [eax], 0x41
je 0x403bf2
cmp edx, 1
je 0x403bf4
add eax, 2
dec edx
cmp word [eax], 0x41
jne 0x403be3
mov esi, eax
mov eax, esi
test eax, eax
je 0x403c50
mov esi, str.Avrix_Core_
mov ecx, eax
sub ecx, esi
mov edi, 0xb
mov dword [ebp - 0x3a4], ecx
nop
movzx edx, word [ecx + esi]
movzx ecx, word [esi]
cmp dx, cx
jne 0x403c2c
add esi, 2
sub edi, 1
je 0x403c37
mov ecx, dword [ebp - 0x3a4]
jmp 0x403c10
mov ecx, dword [ebp - 0x3a8]
add eax, 2
jmp 0x403bd0
sub eax, dword [ebp - 0x350]
sar eax, 1
jne 0x403c50
mov edi, dword [ebp - 0x354]
mov byte [ebp - 0x345], 1
jmp 0x403c65
mov edi, dword [ebp - 0x354]
jmp 0x403c5e
mov edi, dword [ebp - 0x3e4]
mov byte [ebp - 0x345], 0
mov eax, dword [ebp - 0x344]
test al, 8
je 0x403cb8
mov ecx, dword [ebp - 0x3d0]
and eax, 0xfffffff7
mov dword [ebp - 0x344], eax
cmp ecx, 7
jbe 0x403cb8
lea ecx, [ecx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x403ca8
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403919
push ecx
push edi
call fcn.0040714a
mov eax, dword [ebp - 0x344]
add esp, 8
mov dword [ebp - 4], 8
test al, 4
je 0x403d12
mov ecx, dword [ebp - 0x38c]
and eax, 0xfffffffb
mov dword [ebp - 0x344], eax
cmp ecx, 7
jbe 0x403d12
mov edx, dword [ebp - 0x3a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403d02
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403919
push ecx
push edx
call fcn.0040714a
mov eax, dword [ebp - 0x344]
add esp, 8
mov dword [ebp - 4], 7
test al, 2
je 0x403d89
mov ecx, dword [ebp - 0x358]
and eax, 0xfffffffd
mov dword [ebp - 0x344], eax
cmp ecx, 7
jbe 0x403d6c
mov edx, dword [ebp - 0x36c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403d5c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403919
push ecx
push edx
call fcn.0040714a
mov eax, dword [ebp - 0x344]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x35c], 0
mov dword [ebp - 0x358], 7
mov word [ebp - 0x36c], cx
mov dword [ebp - 4], 6
test al, 1
je 0x403ddd
mov ecx, dword [ebp - 0x370]
and eax, 0xfffffffe
mov dword [ebp - 0x344], eax
cmp ecx, 7
jbe 0x403ddd
mov edx, dword [ebp - 0x384]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403dd3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403919
push ecx
push edx
call fcn.0040714a
add esp, 8
cmp byte [ebp - 0x345], 0
jne 0x403e8c
mov edi, dword [ebp - 0x388]
lea eax, [ebp - 0x330]
push eax
push dword [edi + 0x38]
call fcn.00406bfd
cmp eax, 0x12
je 0x403e45
test eax, eax
jne 0x40485b
cmp word [ebp - 0x304], 0x2e
jne 0x403e32
mov ax, word [ebp - 0x302]
test ax, ax
je 0x403df0
cmp ax, 0x2e
jne 0x403e32
cmp word [ebp - 0x300], 0
je 0x403df0
lea eax, [ebp - 0x330]
mov ecx, edi
push eax
call fcn.00402c50
jmp 0x403990
mov esi, dword [ebp - 0x24]
xor edi, edi
mov dword [ebp - 0x388], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
test esi, esi
je 0x403990
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x403990
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x403990
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x403990
mov eax, dword [ebp - 0x388]
cmp dword [eax + 0x34], 7
lea ecx, [eax + 0x20]
jbe 0x403e9e
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x30]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.00401a90
sub esi, eax
mov dword [ebp - 0x390], 0
sar esi, 1
lea ecx, [ebp - 0x3a0]
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x38c], 0
push eax
movups xmmword [ebp - 0x3a0], xmm0
call fcn.00405df0
lea eax, [ebp - 0x3a0]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x3cc]
call fcn.00405180
movups xmm0, xmmword [ebp - 0x3cc]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [ebp - 0x3bc]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x38c]
movq qword [ebp - 0x38], xmm0
cmp ecx, 7
jbe 0x403f4c
mov edx, dword [ebp - 0x3a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403f42
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40481f
push ecx
push edx
call fcn.0040714a
add esp, 8
mov esi, dword [ebp - 0x24]
or edi, 0xffffffff
test esi, esi
je 0x403f75
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x403f75
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x403f75
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x403f9e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x403f9e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x403f9e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
test edx, edx
jne 0x4040d6
push 0x11
xorps xmm0, xmm0
mov dword [ebp - 0x374], edx
push str.Wrapper_not_found
lea ecx, [ebp - 0x384]
mov dword [ebp - 0x370], edx
movups xmmword [ebp - 0x384], xmm0
call fcn.00405df0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x36c]
push 0x50
xorps xmm0, xmm0
mov dword [ebp - 0x35c], 0
push str.The_wrapper_Jar_file_Avrix_Core_was_not_found._n_nPlace_it_next_to_the_launcher_
movups xmmword [ebp - 0x36c], xmm0
mov dword [ebp - 0x358], 0
call fcn.00405df0
cmp dword [ebp - 0x370], 7
lea ecx, [ebp - 0x384]
push 0x10
cmova ecx, dword [ebp - 0x384]
lea eax, [ebp - 0x36c]
cmp dword [ebp - 0x358], 7
push ecx
cmova eax, dword [ebp - 0x36c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x358]
cmp ecx, 7
jbe 0x404075
mov edx, dword [ebp - 0x36c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40406b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4040d0
push ecx
push edx
call fcn.0040714a
add esp, 8
mov ecx, dword [ebp - 0x370]
xor eax, eax
mov dword [ebp - 0x35c], 0
mov dword [ebp - 0x358], 7
mov word [ebp - 0x36c], ax
cmp ecx, 7
jbe 0x4047f3
mov edx, dword [ebp - 0x384]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4047e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4047e9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov edi, dword [ebp - 0x3ac]
mov esi, 0x7ffffffe
mov eax, esi
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, edx
jb 0x404862
cmp dword [edi + 0x14], 7
jbe 0x4040f8
mov edi, dword [edi]
cmp dword [ebp - 0x34], 7
lea eax, [ebp - 0x48]
push edx
cmova eax, dword [ebp - 0x48]
push eax
push ecx
push edi
push ecx
push dword [ebp - 0x34c]
lea ecx, [ebp - 0x98]
call fcn.00406780
mov edx, dword [ebp - 0x3b0]
mov eax, esi
mov byte [ebp - 4], 0xc
mov ecx, dword [edx + 0x10]
sub eax, ecx
cmp eax, 0x53
jb 0x404867
cmp dword [edx + 0x14], 7
jbe 0x40413b
mov edx, dword [edx]
push ecx
push edx
push 0x53
push str._Djava.awt.headlesstrue__Davrix.modeclient__Dzomboid.steam1__Dzomboid.znetlog1
push ecx
push dword [ebp - 0x34c]
lea ecx, [ebp - 0x3a0]
call fcn.00406780
push str.__XX:_CreateCoredumpOnCrash__XX:_OmitStackTraceInFastThrow__Djava.library.path
lea edx, [ebp - 0x3a0]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x414]
call fcn.00405900
add esp, 4
push dword [ebp - 0x3b4]
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x3fc]
call fcn.00405840
add esp, 4
push str.__cp
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x36c]
call fcn.00405900
add esp, 4
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0x10
push ecx
mov edx, eax
lea ecx, [ebp - 0x80]
call fcn.00405840
add esp, 4
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x358]
cmp ecx, 7
jbe 0x404202
mov edx, dword [ebp - 0x36c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4041f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404313
push ecx
push edx
call fcn.0040714a
add esp, 8
xor eax, eax
mov dword [ebp - 0x35c], 0
mov dword [ebp - 0x358], 7
mov word [ebp - 0x36c], ax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x3e8]
cmp ecx, 7
jbe 0x404263
mov edx, dword [ebp - 0x3fc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404259
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404313
push ecx
push edx
call fcn.0040714a
add esp, 8
xor eax, eax
mov dword [ebp - 0x3ec], 0
mov dword [ebp - 0x3e8], 7
mov word [ebp - 0x3fc], ax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x400]
cmp ecx, 7
jbe 0x4042c0
mov edx, dword [ebp - 0x414]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4042b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404313
push ecx
push edx
call fcn.0040714a
add esp, 8
xor eax, eax
mov dword [ebp - 0x404], 0
mov dword [ebp - 0x400], 7
mov word [ebp - 0x414], ax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x38c]
cmp ecx, 7
jbe 0x404323
mov edx, dword [ebp - 0x3a0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404319
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404319
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040714a
add esp, 8
mov ecx, dword [ebp - 0x70]
xor eax, eax
sub esi, ecx
mov dword [ebp - 0x390], 0
mov dword [ebp - 0x38c], 7
mov word [ebp - 0x3a0], ax
cmp esi, 0x46
jb 0x40486c
cmp dword [ebp - 0x6c], 7
lea eax, [ebp - 0x80]
push ecx
cmova eax, dword [ebp - 0x80]
push eax
push 0x46
push str.java__Djdk.attach.allowAttachSelftrue__XX:EnableDynamicAgentLoading
push ecx
push dword [ebp - 0x34c]
lea ecx, [ebp - 0x384]
call fcn.00406780
push str._com.avrix.Launcher
lea edx, [ebp - 0x384]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x3cc]
call fcn.00405900
add esp, 4
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x60]
push dword [ebp - 0x34c]
mov edx, eax
call fcn.00405840
add esp, 4
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x3b8]
cmp ecx, 7
jbe 0x4043e8
mov edx, dword [ebp - 0x3cc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4043de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40443b
push ecx
push edx
call fcn.0040714a
add esp, 8
xor eax, eax
mov dword [ebp - 0x3bc], 0
mov dword [ebp - 0x3b8], 7
mov word [ebp - 0x3cc], ax
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x370]
cmp ecx, 7
jbe 0x40444b
mov edx, dword [ebp - 0x384]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404441
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404441
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040714a
add esp, 8
xor eax, eax
mov dword [ebp - 0x374], 0
push 0x40
push eax
mov word [ebp - 0x384], ax
lea eax, [ebp - 0xdc]
push eax
mov dword [ebp - 0x370], 7
mov dword [ebp - 0xe0], 0x44
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x60]
add esp, 0xc
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x4c], 7
lea edi, [ebp - 0x60]
xorps xmm0, xmm0
cmova edx, dword [ebp - 0x60]
cmova edi, dword [ebp - 0x60]
xor esi, esi
xor ecx, ecx
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
lea eax, [edx + eax*2]
mov dword [ebp - 0x1c], esi
sub eax, edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x34c], eax
sar eax, 1
je 0x404539
cmp eax, 0x7fffffff
ja 0x404871
lea esi, [eax + eax]
cmp esi, 0x1000
jb 0x404507
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x404876
push eax
call fcn.00407000
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40481f
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x404518
test esi, esi
je 0x404516
push esi
call fcn.00407000
add esp, 4
jmp 0x404518
xor eax, eax
push dword [ebp - 0x34c]
add esi, eax
mov dword [ebp - 0x20], eax
push edi
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x34c], 0
cmp esi, ecx
je 0x404556
xor eax, eax
mov word [esi], ax
add dword [ebp - 0x1c], 2
jmp 0x404566
lea eax, [ebp - 0x34c]
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.004068a0
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0xe0]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push dword [ebp - 0x20]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4046c3
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x374], eax
push str.Error
lea ecx, [ebp - 0x384]
mov dword [ebp - 0x370], eax
movups xmmword [ebp - 0x384], xmm0
call fcn.00405df0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x36c]
push 0x21
xorps xmm0, xmm0
mov dword [ebp - 0x35c], 0
push str.Failed_to_start_Java_application.
movups xmmword [ebp - 0x36c], xmm0
mov dword [ebp - 0x358], 0
call fcn.00405df0
cmp dword [ebp - 0x370], 7
lea ecx, [ebp - 0x384]
push 0x10
cmova ecx, dword [ebp - 0x384]
lea eax, [ebp - 0x36c]
cmp dword [ebp - 0x358], 7
push ecx
cmova eax, dword [ebp - 0x36c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 0x358]
cmp ecx, 7
jbe 0x404662
mov edx, dword [ebp - 0x36c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404658
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4046b1
push ecx
push edx
call fcn.0040714a
add esp, 8
mov ecx, dword [ebp - 0x370]
xor eax, eax
mov dword [ebp - 0x35c], 0
mov dword [ebp - 0x358], 7
mov word [ebp - 0x36c], ax
cmp ecx, 7
jbe 0x4046e7
mov edx, dword [ebp - 0x384]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4046b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4046b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040714a
add esp, 8
jmp 0x4046e7
push 0xffffffffffffffff
push dword [ebp - 0x340]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x340]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x33c]
call esi
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x404733
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x404714
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40481f
push ecx
push edx
call fcn.0040714a
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x4c]
cmp ecx, 7
jbe 0x40476d
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404763
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40481f
push ecx
push edx
call fcn.0040714a
add esp, 8
mov ecx, dword [ebp - 0x6c]
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
cmp ecx, 7
jbe 0x4047b7
mov edx, dword [ebp - 0x80]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4047ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40481f
push ecx
push edx
call fcn.0040714a
add esp, 8
mov ecx, dword [ebp - 0x84]
cmp ecx, 7
jbe 0x4047f3
mov edx, dword [ebp - 0x98]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4047e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40481f
push ecx
push edx
call fcn.0040714a
add esp, 8
mov ecx, dword [ebp - 0x34]
cmp ecx, 7
jbe 0x40482f
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404825
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404825
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040714a
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00406ff2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea ecx, [ebp - 0x3a0]
mov edx, eax
push ecx
call fcn.00402980
mov edx, eax
call fcn.00402840
call fcn.00401160
call fcn.00401160
call fcn.00401160
call fcn.00406890
call fcn.004010c0
int3