Function at 0x407f66
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1b0
lea edx, [ebp - 0x18]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [edx - 4], esp
mov dword [edx + 8], 0xffffffff
mov dword [edx + 4], 0x40a970
mov esi, dword fs:[0]
mov dword [edx], esi
mov dword fs:[0], edx
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x16c], eax
mov al, byte [edi + 0x50]
mov ebx, dword [edi + 0x4c]
test al, al
sete cl
test ebx, ebx
sete dl
and dl, cl
mov byte [ebp - 0x8c], dl
je 0x407fe1
lea eax, [ebp - 0x194]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x28], eax
mov dword [eax - 4], 0
jmp 0x408345
xor edx, edx
test al, al
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x64], edx
jne 0x408103
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], 0x1b
call fcn.00417b9e
lea ecx, [ebp - 0x15c]
mov dword [ecx - 4], eax
mov dword [ecx], edx
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x10], 0x1e
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00417a0f
add esp, 8
cmp dword [ebp - 0xd8], 0x80000000
je 0x4080ef
movsd xmm0, qword [ebp - 0xd8]
lea eax, [ebp - 0xc8]
movsd xmm1, qword [ebp - 0xd0]
mov byte [ebp - 0x5a], 1
mov dword [ebp - 0x10], 0x1f
movsd xmm2, qword [eax + 8]
movsd qword [ebp - 0x154], xmm0
movsd xmm0, qword [eax]
lea eax, [ebp - 0x154]
movsd qword [ebp - 0x14c], xmm1
movsd qword [ebp - 0xf0], xmm2
movsd qword [ebp - 0xf8], xmm0
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.00407bc7
add esp, 8
movsd xmm0, qword [ebp - 0xf8]
movsd xmm1, qword [ebp - 0xf0]
lea eax, [ebp - 0x50]
mov byte [ebp - 0x5a], 0
movsd qword [ebp - 0x48], xmm1
movsd qword [ebp - 0x50], xmm0
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004076c4
add esp, 0x10
cmp dword [ebp - 0x80], 0x80000000
je 0x40800b
lea ecx, [ebp - 0x80]
mov byte [ebp - 0x5a], 0
call fcn.00401356
jmp 0x40800b
push dword [ebp - 0x160]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x2c]
xor edx, edx
mov eax, dword [edi + 0x44]
xor ecx, ecx
lea esi, [ebp - 0xd8]
mov dword [ebp - 0x10], 0x1b
test eax, eax
setne cl
cmove ebx, eax
mov dword [esi], ecx
mov dword [esi + 4], edx
mov edx, dword [edi + 0x48]
mov edi, 0
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], ebx
push esi
call fcn.0040717c
add esp, 4
mov ecx, eax
test eax, eax
je 0x40826c
cmp dword [edx], 0x80000000
jne 0x40818e
push ecx
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.004077d6
add esp, 0xc
cmp dword [ebp - 0x144], 0x80000000
je 0x408261
lea ecx, [ebp - 0x144]
call fcn.00401356
jmp 0x408261
push ecx
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
call fcn.00420b9e
mov ecx, dword [ebp - 0x28]
add esp, 8
mov al, byte [ecx + 0xc]
add ecx, 0x10
mov dword [ebp - 0x10], 0x1d
mov byte [ebp - 0x44], al
push ecx
lea eax, [ebp - 0x80]
push eax
call fcn.0040becc
add esp, 8
movsd xmm1, qword [ebp - 0x48]
movsd xmm0, qword [ebp - 0x50]
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x134]
mov byte [ebp - 0x6d], 1
mov dword [ebp - 0x10], 0x1c
movsd qword [ebp - 0x13c], xmm1
movsd xmm1, qword [ebp - 0x80]
movsd qword [ebp - 0x144], xmm0
mov dword [ecx + 8], eax
movsd qword [ecx], xmm1
push dword [ebp - 0x2c]
lea eax, [ebp - 0x80]
push eax
call fcn.00420b9e
add esp, 8
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x78]
movsd xmm0, qword [ebp - 0x80]
mov al, byte [eax + 0xc]
mov dword [ebp - 0x48], ecx
movsd qword [ebp - 0x50], xmm0
mov byte [ebp - 0x6d], 0
mov byte [ebp - 0x44], al
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004076c4
add esp, 0x10
cmp dword [ebp - 0x80], 0x80000000
je 0x40825a
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x10], 0x1b
call fcn.00401356
mov dword [ebp - 0x10], 0x1b
lea esi, [ebp - 0xd8]
jmp 0x40813f
mov eax, dword [ebp - 0x64]
movsd xmm0, qword [ebp - 0x6c]
lea ecx, [ebp - 0x194]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ecx + 8], eax
xor eax, eax
movsd qword [ecx], xmm0
inc eax
mov dword [ecx - 4], eax
mov dword [ebp - 0x10], eax
push 4
push 0x435760
lea eax, [ebp - 0xd8]
push eax
call fcn.00415626
add esp, 0xc
movsd xmm0, qword [ebp - 0xd8]
movsd xmm1, qword [ebp - 0xd0]
lea eax, [ebp - 0x194]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x144]
movsd qword [ebp - 0x13c], xmm1
movsd qword [ebp - 0x144], xmm0
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00407bc7
add esp, 8
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x10], 0x1a
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.0040756d
add esp, 8
test eax, eax
je 0x40831c
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x58], eax
jmp 0x408323
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x194]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x24], eax
call fcn.00407428
mov edi, dword [ebp + 0xc]
mov edx, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
test edx, edx
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xfc], edx
je 0x4083b4
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x24], eax
push 4
push str.__home_hagb_.rustup_toolchains_nightly_2024_04_15_x86_64_unknown_linux_gnu_lib_rustlib_src_rust_library_std_src_sys_path_windows.rs
mov dword [ebp - 0x38], edx
push edx
push ecx
mov dword [ebp - 0x2c], ecx
call fcn.0041ae88
add esp, 0x10
test al, al
mov ecx, 0x412e1d
mov eax, 0x412e0c
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
cmovne eax, ecx
mov ecx, dword [ebp - 0x38]
movzx ecx, byte [ecx + edx - 1]
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x1d], 1
push ecx
call eax
add esp, 4
mov edx, dword [ebp - 0x2c]
test al, al
je 0x408414
mov ebx, 0x4358c8
mov edi, 2
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x198], 0
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], 2
je 0x4083e8
mov dword [ebp - 0x10], 0
push dword [ebp - 0x28]
call fcn.0040793c
add esp, 4
cmp dword [ebp - 0x170], 4
jb 0x4083fd
push dword [ebp - 0x16c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
add esp, 0x1b0
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x38]
lea eax, [edx + ecx]
cmp ecx, 4
jae 0x40845e
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x24], ecx
push eax
push edx
call fcn.0041b235
add esp, 8
mov esi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x38]
cmp eax, edx
je 0x408657
movzx ecx, byte [eax]
cmp ecx, 0x2f
je 0x408452
inc eax
cmp ecx, 0x5c
jne 0x40843c
mov dword [ebp - 0x10], 1
jmp 0x408544
mov ecx, dword [ebp - 0x28]
add eax, 0xfffffffc
mov byte [ebp - 0x1d], 1
lea edx, [ebp - 0xd8]
mov dword [ebp - 0x24], ecx
mov ecx, 4
push ecx
push str..exeprogram_not_found
push ecx
push eax
push edx
call fcn.0040fd30
add esp, 0x14
mov edi, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc8]
cmp eax, edi
mov ecx, edi
mov dword [ebp - 0x54], edi
cmova ecx, eax
mov dword [ebp - 0x60], ecx
jae 0x4084e3
mov esi, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd0]
mov bl, byte [esi + eax]
mov cl, byte [edx + eax]
mov bh, bl
mov ch, cl
add bh, 0xbf
cmp bh, 0x1a
setb bh
add ch, 0xbf
shl bh, 5
or bh, bl
cmp ch, 0x1a
setb ch
shl ch, 5
or ch, cl
cmp bh, ch
jne 0x4084e0
inc eax
cmp dword [ebp - 0x60], eax
jne 0x4084ae
jmp 0x4084e3
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp - 0x100]
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x38], eax
add eax, edx
mov dword [ebp - 0x24], ecx
push eax
mov dword [ebp - 0x2c], edx
push edx
call fcn.0041b235
add esp, 8
mov esi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x38]
cmp eax, edx
je 0x408657
movzx ecx, byte [eax]
cmp ecx, 0x2f
je 0x408531
inc eax
cmp ecx, 0x5c
jne 0x40851b
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x10], 1
cmp eax, dword [ebp - 0x54]
jae 0x4086bf
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xd8]
push edi
push ebx
push eax
call fcn.00415626
add esp, 0xc
movsd xmm0, qword [ebp - 0xd8]
movsd xmm1, qword [ebp - 0xd0]
mov byte [ebp - 0x6e], 0
mov dword [ebp - 0x10], 0x19
lea eax, [ebp - 0x144]
movsd qword [ebp - 0x48], xmm1
movsd qword [ebp - 0x50], xmm0
movsd qword [ebp - 0xd0], xmm1
movsd qword [ebp - 0xd8], xmm0
push 4
push str..exeprogram_not_found
lea ecx, [ebp - 0xd8]
push ecx
push eax
call fcn.00412e26
add esp, 0x10
movsd xmm0, qword [ebp - 0x144]
movsd xmm1, qword [ebp - 0x13c]
mov byte [ebp - 0x6e], 1
movsd qword [ebp - 0x48], xmm1
movsd qword [ebp - 0x50], xmm0
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
push ecx
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.0040a45a
add esp, 0xc
cmp dword [ebp - 0xd8], 0x80000000
jne 0x408688
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x38], ecx
push ecx
mov dword [ebp - 0x2c], eax
push eax
call fcn.0041137e
add esp, 8
test eax, eax
je 0x408624
add eax, edx
sub eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x38], eax
jb 0x408624
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x188]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push eax
call fcn.004142a8
add esp, 0xc
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x24], eax
call fcn.00401356
jmp 0x4086da
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x3c], esi
lea esi, [ebp - 0xd8]
push edi
push ebx
push esi
call fcn.00407c6e
add esp, 0xc
cmp dword [esi], 0
je 0x4089d7
mov edi, dword [ebp - 0xd4]
mov ebx, dword [ebp - 0xd0]
jmp 0x4083be
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xd0]
movsd xmm0, qword [ebp - 0xd8]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x180], eax
movsd qword [ebp - 0x188], xmm0
call fcn.00401356
jmp 0x4086da
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x188]
push edi
push ebx
push eax
call fcn.004142a8
add esp, 0xc
mov eax, dword [ebp - 0x188]
mov edi, dword [ebp - 0x184]
mov ebx, dword [ebp - 0x180]
cmp eax, 0x80000000
je 0x4083be
mov dword [ebp - 0x3c], eax
mov esi, dword [ebp + 0xc]
cmp ebx, 5
mov dword [ebp - 0x88], edi
jb 0x408723
lea eax, [edi + ebx*2]
mov ecx, eax
add ecx, 0xfffffff6
je 0x408723
cmp word [ecx], 0x2e
jne 0x408723
cmp word [eax - 2], 0
je 0x408cd1
mov ecx, dword [esi + 0x20]
mov ebx, dword [esi + 0x2c]
mov eax, dword [esi + 0x1c]
mov edi, dword [esi + 0x30]
mov dl, byte [esi + 0x65]
mov dword [ebp - 0x10], 0x11
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x144]
xor ebx, ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x58], edi
mov byte [ebp - 0x54], dl
mov dword [ecx], ebx
mov dword [ecx + 4], 2
mov dword [ecx + 8], ebx
push ecx
call fcn.0040364a
add esp, 4
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x13c]
mov esi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x60]
mov word [eax + ecx*2], 0x22
inc dword [ebp - 0x13c]
lea eax, [ebp - 0xd8]
add edx, esi
mov dword [eax], esi
mov dword [eax + 4], edx
mov word [eax + 8], 0
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.0040b7ca
add esp, 8
mov eax, dword [ebp - 0x13c]
cmp eax, dword [ebp - 0x144]
jne 0x4087c9
lea eax, [ebp - 0x144]
push eax
call fcn.0040364a
add esp, 4
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x140]
mov edx, dword [ebp - 0x2c]
mov word [ecx + eax*2], 0x22
mov eax, dword [ebp - 0x58]
movzx ecx, byte [ebp - 0x54]
inc dword [ebp - 0x13c]
lea eax, [eax + eax*4]
mov dword [ebp - 0x60], ecx
lea eax, [edx + eax*4]
mov dword [ebp - 0x38], eax
cmp edx, dword [ebp - 0x38]
je 0x40888e
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x2c], edx
cmp eax, dword [ebp - 0x144]
jne 0x408823
lea eax, [ebp - 0x144]
push eax
call fcn.0040364a
add esp, 4
mov eax, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x140]
mov word [ecx + eax*2], 0x20
inc dword [ebp - 0x13c]
push dword [ebp - 0x60]
push edx
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00413abc
add esp, 0x10
mov edx, dword [ebp - 0x2c]
add edx, 0x14
cmp byte [ebp - 0xd8], 4
je 0x4087f1
mov ebx, dword [ebp - 0xd8]
cmp bl, 4
je 0x4087f1
mov eax, dword [ebp - 0x144]
mov esi, dword [ebp - 0xd4]
test eax, eax
je 0x4088a7
add eax, eax
push 2
push eax
push dword [ebp - 0x140]
call fcn.00402b10
add esp, 0xc
jmp 0x4088a7
mov eax, dword [ebp - 0x144]
mov ebx, dword [ebp - 0x140]
mov esi, dword [ebp - 0x13c]
cmp eax, 0x80000000
jne 0x4088e9
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov dword [eax + 4], esi
mov dword [eax + 8], 2
xor ebx, ebx
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4088d2
add eax, eax
push 2
push eax
push dword [ebp - 0x88]
call fcn.00402b10
add esp, 0xc
cmp dword [ebp - 0x198], 0
sete al
or bl, al
je 0x4083d6
jmp 0x4083e8
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x88]
mov cl, 1
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], edx
cmp eax, esi
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], esi
jne 0x408946
lea eax, [ebp - 0xe8]
mov byte [ebp - 0x31], 1
mov dword [ebp - 0x10], 4
push eax
call fcn.0040364a
add esp, 4
mov ebx, dword [ebp - 0xe4]
mov esi, dword [ebp - 0xe0]
mov edi, dword [ebp + 0xc]
mov word [ebx + esi*2], 0
inc dword [ebp - 0xe0]
mov eax, 0x400
mov ecx, 0x608
mov ebx, 0
mov esi, 2
mov edx, 0
cmp byte [edi + 0x64], 0
cmove ecx, eax
xor eax, eax
or ecx, dword [edi + 0x54]
cmp byte [ebp - 0x8c], 0
mov dword [ebp - 0x17c], ecx
mov ecx, 2
je 0x408a0b
cmp dword [edi + 0x34], 0x80000000
mov dword [ebp - 0x2c], edx
mov edx, 0
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x60], ebx
je 0x409400
lea eax, [edi + 0x34]
lea esi, [ebp - 0xd8]
push eax
push esi
call fcn.00407e2c
add esp, 8
cmp byte [esi], 4
jne 0x409334
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x10], 5
jmp 0x409349
mov esi, dword [ebp - 0x3c]
cmp edi, 8
jae 0x408ca4
test edi, edi
je 0x408d57
mov edx, dword [ebp - 0x58]
dec edi
sub edi, 1
setb cl
cmp byte [ebx], 0x2e
sete al
je 0x408d5c
inc ebx
test cl, cl
je 0x4089ef
jmp 0x408d5c
mov eax, dword [ebp - 0x28]
xor edi, edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], 2
mov dword [ebp - 0x64], edi
mov ebx, dword [eax + 8]
movsd xmm0, qword [eax]
test ebx, ebx
mov dword [ebp - 0x158], ebx
movsd qword [ebp - 0x160], xmm0
jne 0x408a64
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x32], 1
mov dword [ebp - 0x10], 0xc
push eax
call fcn.0040364a
add esp, 4
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x2c]
xor edi, edi
mov word [eax + ecx*2], 0
inc dword [ebp - 0x64]
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
xor edx, edx
lea esi, [ebp - 0x144]
mov dword [ebp - 0x10], 0xd
test eax, eax
setne dl
cmove ebx, eax
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ebx
lea eax, [ebp - 0x144]
mov dword [ebp - 0x10], 0xd
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.004071e2
add esp, 8
cmp dword [ebp - 0xd8], 0x80000000
je 0x408cf8
mov eax, dword [ebp - 0xc8]
movsd xmm2, qword [ebp - 0xd0]
lea ecx, [ebp - 0x80]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc4]
movsd qword [ebp - 0x48], xmm2
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0xbc]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov al, 1
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x2e], al
movsd qword [ebp - 0x154], xmm0
movsd xmm0, qword [ebp - 0xd8]
movsd qword [ebp - 0x14c], xmm1
movsd qword [ebp - 0x50], xmm0
call fcn.00407d3e
mov eax, dword [ebp - 0x80]
cmp eax, 0x80000000
je 0x409293
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0xf8], eax
mov al, 1
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x2e], al
mov dword [ebp - 0xf4], ecx
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xf0], edx
mov dword [ebp - 0xec], esi
call fcn.00401356
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 0x2d], 0
mov byte [ebp - 0x2e], 1
lea eax, [ecx + eax*2]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0040b102
add esp, 8
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x6c]
jne 0x408bcd
lea eax, [ebp - 0x6c]
mov byte [ebp - 0x2d], 0
mov byte [ebp - 0x2e], 1
push eax
call fcn.0040364a
add esp, 4
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
lea edx, [ebp - 0x50]
mov word [ecx + eax*2], 0x3d
inc dword [ebp - 0x64]
xor eax, eax
lea ecx, [ebp - 0x80]
movsd xmm0, qword [ebp - 0x154]
movsd xmm1, qword [ebp - 0x14c]
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x2e], al
movsd qword [ebp - 0x48], xmm1
movsd qword [ebp - 0x50], xmm0
call fcn.00407d3e
mov eax, dword [ebp - 0x80]
cmp eax, 0x80000000
je 0x4092d1
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0xf0], edx
add edx, ecx
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0xec], esi
mov dword [ebp - 0x4c], edx
mov word [ebp - 0x48], 0
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0040b7ca
add esp, 8
xor eax, eax
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x2e], al
call fcn.00401356
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x6c]
jne 0x408c93
xor eax, eax
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x2e], al
lea eax, [ebp - 0x6c]
push eax
call fcn.0040364a
add esp, 4
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
mov word [ecx + eax*2], 0
inc dword [ebp - 0x64]
jmp 0x408aa1
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x24], eax
push edi
push ebx
push 0x2e
call fcn.004245dc
add esp, 0xc
mov esi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x58]
test eax, eax
setne al
jmp 0x408d5c
movzx ecx, word [eax - 8]
movzx edx, cx
cmp edx, 0x61
jg 0x409693
cmp edx, 0x42
je 0x4096cd
cmp edx, 0x43
je 0x4096ef
jmp 0x408723
lea eax, [ebp - 0x144]
mov byte [ebp - 0x32], 0
mov dword [ebp - 0x10], 0xc
push eax
call fcn.00407a4f
add esp, 4
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x6c]
jne 0x408d2d
lea eax, [ebp - 0x6c]
mov byte [ebp - 0x32], 0
push eax
call fcn.0040364a
add esp, 4
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
mov word [ecx + eax*2], 0
mov edx, dword [ebp - 0x6c]
mov ebx, dword [ebp - 0x68]
cmp edx, 0x80000000
jne 0x4096a2
mov ecx, dword [ebp - 0x64]
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x54]
inc ecx
jmp 0x409320
mov edx, dword [ebp - 0x58]
xor eax, eax
lea ecx, [ebp - 0x59]
lea edi, [ebp - 0x100]
test esi, esi
mov dword [ebp - 0x1a4], edi
mov byte [ecx], al
mov dword [ebp - 0x1a0], ecx
je 0x408ed4
lea eax, [ebp - 0x50]
add edx, esi
mov dword [ebp - 0x10], 1
mov dword [eax], esi
mov dword [eax + 4], edx
mov word [eax + 8], 0
mov byte [eax + 0xc], 1
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.00417c44
add esp, 8
cmp dword [ebp - 0x144], 0x80000000
je 0x408ed4
movsd xmm0, qword [ebp - 0x144]
movsd xmm1, qword [ebp - 0x13c]
movsd qword [ebp - 0xd0], xmm1
movsd qword [ebp - 0xd8], xmm0
cmp dword [ebp - 0xd0], 0
je 0x408eba
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0xd4]
movsd xmm0, qword [ecx]
mov ecx, dword [ecx + 8]
cmp eax, 0x80000000
movsd qword [ebp - 0x80], xmm0
mov dword [ebp - 0x78], ecx
je 0x408d96
mov ecx, dword [ebp - 0x78]
movsd xmm0, qword [ebp - 0x80]
lea edx, [ebp - 0xd4]
mov dword [ebp - 0x10], 0x18
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0xfc]
movsd qword [edx], xmm0
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x100]
push ecx
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00410a54
add esp, 0xc
cmp byte [ebp - 0x59], 0
jne 0x408e6d
push 3
push str.exe.NULcmd.execapacity_overflow
lea eax, [ebp - 0xd8]
push eax
call fcn.004111c4
add esp, 0xc
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
lea eax, [ebp - 0xe8]
push eax
call fcn.0040a45a
add esp, 0xc
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x24], eax
call fcn.00401356
mov eax, dword [ebp - 0xe8]
cmp eax, 0x80000000
je 0x408d96
jmp 0x4093ed
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x24], eax
call fcn.00401356
jmp 0x408d96
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x50]
push eax
call fcn.00412a23
add esp, 4
cmp dword [ebp - 0x50], 0x80000000
jne 0x40914a
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x24], eax
call fcn.004074e8
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00412bdd
add esp, 8
mov eax, dword [ebp - 0xd8]
cmp eax, 0x80000001
jg 0x409139
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x24], eax
call fcn.00407334
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00411dfc
add esp, 8
mov eax, dword [ebp - 0xd8]
cmp eax, 0x80000002
jge 0x409139
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x24], eax
call fcn.00407334
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xf8]
push 4
push 0x435760
push eax
call fcn.00417e8d
add esp, 0xc
cmp dword [ebp - 0xf8], 0x80000000
je 0x4098f0
movsd xmm0, qword [ebp - 0xf8]
movsd xmm1, qword [ebp - 0xf0]
movsd qword [ebp - 0x80], xmm0
movsd qword [ebp - 0x78], xmm1
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
add ecx, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov word [ebp - 0x48], 0
mov byte [ebp - 0x44], 1
lea eax, [ebp - 0x50]
mov dword [ebp - 0x10], 0x14
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.00417c44
add esp, 8
cmp dword [ebp - 0x144], 0x80000000
je 0x4098d7
movsd xmm0, qword [ebp - 0x144]
movsd xmm1, qword [ebp - 0x13c]
movsd qword [ebp - 0xd0], xmm1
movsd qword [ebp - 0xd8], xmm0
cmp dword [ebp - 0xd0], 0
je 0x409129
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0xd4]
movsd xmm0, qword [ecx]
mov ecx, dword [ecx + 8]
cmp eax, 0x80000000
movsd qword [ebp - 0x154], xmm0
mov dword [ebp - 0x14c], ecx
je 0x40900c
mov ecx, dword [ebp - 0x14c]
movsd xmm0, qword [ebp - 0x154]
lea edx, [ebp - 0xd4]
mov dword [ebp - 0x10], 0x15
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0xfc]
movsd qword [edx], xmm0
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x100]
push ecx
push eax
lea eax, [ebp - 0xd8]
push eax
call fcn.00410a54
add esp, 0xc
cmp byte [ebp - 0x59], 0
jne 0x4090ec
push 3
push str.exe.NULcmd.execapacity_overflow
lea eax, [ebp - 0xd8]
push eax
call fcn.004111c4
add esp, 0xc
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
lea eax, [ebp - 0x6c]
push eax
call fcn.0040a45a
add esp, 0xc
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x10], 0x14
call fcn.00401356
mov eax, dword [ebp - 0x6c]
cmp eax, 0x80000000
je 0x40900c
jmp 0x409b52
lea ecx, [ebp - 0xd8]
call fcn.00401356
jmp 0x40900c
mov edi, dword [ebp - 0xd4]
mov ebx, dword [ebp - 0xd0]
jmp 0x4086f7
movsd xmm0, qword [ebp - 0x50]
movsd xmm1, qword [ebp - 0x48]
mov byte [ebp - 0x3d], 1
mov dword [ebp - 0x10], 0x16
movsd qword [ebp - 0x144], xmm0
movsd qword [ebp - 0x13c], xmm1
mov ecx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x2c], ecx
push ecx
push eax
call fcn.00411289
add esp, 8
test eax, eax
lea esi, [ebp - 0xd8]
je 0x40919d
cmp dword [ebp - 0x2c], edx
jb 0x40919d
mov dword [ebp - 0x13c], edx
movsd xmm0, qword [ebp - 0x144]
movsd xmm1, qword [ebp - 0x13c]
mov ecx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x10], 0x17
movsd qword [ebp - 0xd0], xmm1
movsd qword [ebp - 0xd8], xmm0
push ecx
push eax
push esi
call fcn.00410a54
add esp, 0xc
cmp byte [ebp - 0x59], 0
jne 0x4091f7
push 3
push str.exe.NULcmd.execapacity_overflow
lea eax, [ebp - 0xd8]
push eax
call fcn.004111c4
add esp, 0xc
lea eax, [ebp - 0x160]
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
push eax
call fcn.0040a45a
add esp, 0xc
lea ecx, [ebp - 0xd8]
mov byte [ebp - 0x3d], 0
mov dword [ebp - 0x10], 0x16
call fcn.00401356
mov eax, dword [ebp - 0x160]
cmp eax, 0x80000000
jne 0x409247
cmp dword [ebp - 0x50], 0x80000000
je 0x408efe
jmp 0x408f17
mov edi, dword [ebp - 0x15c]
mov ebx, dword [ebp - 0x158]
cmp dword [ebp - 0x50], 0x80000000
mov dword [ebp - 0x3c], eax
jne 0x4086fa
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], eax
call fcn.004074e8
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x88]
jmp 0x4086fa
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 0x5b], 1
mov dword [ebp - 0x10], 0xe
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x60], eax
call fcn.00401356
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4092e0
add eax, eax
push 2
push eax
push dword [ebp - 0x38]
call fcn.00402b10
add esp, 0xc
jmp 0x4092e0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x8c], ecx
lea eax, [ebp - 0x144]
mov byte [ebp - 0x32], 0
mov dword [ebp - 0x10], 0xc
push eax
call fcn.00407a4f
add esp, 4
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x409311
add eax, eax
push 2
push eax
push dword [ebp - 0x68]
call fcn.00402b10
add esp, 0xc
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov dword [eax], ebx
mov dword [eax + 8], 2
jmp 0x409894
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd4]
cmp dl, 4
jne 0x4093d3
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], 5
add eax, ecx
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd4], eax
mov word [ebp - 0xd0], 0
lea eax, [ebp - 0x144]
push esi
push eax
call fcn.0040ab9c
add esp, 8
mov eax, dword [ebp - 0x13c]
mov edi, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x144]
jne 0x4093ad
lea eax, [ebp - 0x144]
mov dword [ebp - 0x10], 0xb
push eax
call fcn.0040364a
add esp, 4
mov eax, dword [ebp - 0x13c]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x140]
mov word [ecx + eax*2], 0
mov eax, dword [ebp - 0x144]
mov edx, dword [ebp - 0x140]
cmp eax, 0x80000000
jne 0x4093fe
mov eax, dword [ebp - 0x13c]
inc eax
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x58]
mov dword [ecx + 4], eax
mov dword [ecx], edx
mov dword [ecx + 8], 2
jmp 0x40987d
mov edi, dword [ebp - 0xe4]
mov ebx, dword [ebp - 0xe0]
jmp 0x4086f7
mov ecx, edx
xorps xmm0, xmm0
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x8c], eax
movups xmmword [ebp - 0x50], xmm0
push 0x445968
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [0x445984]
xor ebx, ebx
test eax, 0x7fffffff
je 0x409447
mov dword [ebp - 0x10], 6
call fcn.0043356f
mov edi, dword [ebp + 0xc]
xor al, 1
xor ebx, ebx
jmp 0x409449
xor eax, eax
mov ch, byte [0x44596c]
mov cl, byte [ebp + 0x18]
mov edx, 0x445968
lea esi, [ebp - 0xf4]
mov dword [ebp - 0x10], 7
mov dword [esi], edx
xor edx, edx
mov byte [esi + 4], al
lea eax, [ebp - 0x1bc]
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
test ch, ch
setne dl
test cl, cl
lea ecx, [ebp - 0x170]
mov dword [esi - 4], edx
lea edx, [ebp - 0x154]
lea esi, [edi + 8]
mov dword [edx], 2
cmovne edx, ecx
cmp dword [edi], 6
cmovne edx, edi
cmp dword [edi + 8], 6
cmove esi, ecx
cmp dword [edi + 0x10], 6
mov dword [ebp - 0x84], esi
lea esi, [edi + 0x10]
cmove esi, ecx
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xdc], esi
push eax
push 0xfffffffffffffff6
call fcn.0040a4d8
add esp, 8
cmp byte [ebp - 0xd8], 4
jne 0x4094e6
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x90], eax
jmp 0x409500
mov eax, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd4]
cmp al, 4
jne 0x40967f
mov dword [ebp - 0x90], edx
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x10], 8
lea ecx, [ebp - 0xd8]
push eax
push 0xfffffffffffffff5
call fcn.0040a4d8
add esp, 8
cmp byte [ebp - 0xd8], 4
jne 0x40953b
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x84], eax
jmp 0x409555
mov eax, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd4]
cmp al, 4
jne 0x4096b3
mov dword [ebp - 0x84], edx
mov edx, dword [ebp - 0xdc]
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x10], 9
lea ecx, [ebp - 0xd8]
push eax
push 0xfffffffffffffff4
call fcn.0040a4d8
add esp, 8
cmp byte [ebp - 0xd8], 4
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x90]
jne 0x409599
mov edi, dword [ebp - 0xd4]
mov esi, dword [ebp - 0x84]
jmp 0x4095b3
mov eax, dword [ebp - 0xd8]
mov edi, dword [ebp - 0xd4]
mov esi, dword [ebp - 0x84]
cmp al, 4
jne 0x409804
xorps xmm0, xmm0
test edi, edi
mov dword [ebp - 0x104], 0
movups xmmword [ebp - 0x114], xmm0
movups xmmword [ebp - 0x124], xmm0
movups xmmword [ebp - 0x134], xmm0
movups xmmword [ebp - 0x144], xmm0
jne 0x4095e8
test esi, esi
jne 0x4095e8
test ebx, ebx
je 0x409604
mov dword [ebp - 0x118], pe_nt_image_headers32
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x104], edi
mov eax, dword [edx + 0x60]
mov dword [ebp - 0xdc], edi
test eax, eax
mov dword [ebp - 0x174], eax
je 0x4097ed
add edx, 0x58
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x144], 0x48
mov dword [ebp - 0x10], 0xa
call fcn.0040a76c
cmp dword [ebp - 0x80], 0
mov esi, dword [ebp - 0x78]
mov ebx, dword [ebp - 0x17c]
lea ecx, [ebp - 0xd8]
je 0x4098fa
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x7c]
mov ebx, dword [ebp - 0x90]
mov dword [ecx + 4], esi
mov dword [ecx], eax
mov dword [ecx + 8], 2
push dword [ebp - 0xdc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x84]
jmp 0x409813
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], edx
mov dword [ecx], eax
mov dword [ecx + 8], 2
jmp 0x409821
cmp edx, 0x62
je 0x4096cd
cmp edx, 0x63
je 0x4096ef
jmp 0x408723
mov edi, dword [ebp + 0xc]
mov esi, ebx
xor eax, eax
mov ecx, 2
jmp 0x40898e
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x90]
mov dword [ecx + 4], edx
mov dword [ecx], eax
mov dword [ecx + 8], 2
jmp 0x40981a
movzx edx, word [eax - 6]
or edx, 0x20
cmp edx, 0x61
jne 0x4096e5
movzx edx, word [eax - 4]
or edx, 0x20
cmp edx, 0x74
je 0x40970f
cmp cx, 0x43
jne 0x408723
movzx ecx, word [eax - 6]
or ecx, 0x20
cmp ecx, 0x6d
jne 0x408723
movzx eax, word [eax - 4]
or eax, 0x20
cmp eax, 0x64
jne 0x408723
mov al, 1
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], 3
mov byte [ebp - 0x2f], al
mov byte [ebp - 0x30], al
lea eax, [ebp - 0xd8]
push eax
call fcn.00411c56
add esp, 4
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd0]
cmp ecx, 0x80000000
je 0x4097d9
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x10], 0x13
lea eax, [ebp - 0x144]
push 8
push 0x4358de
push eax
call fcn.00424449
add esp, 0xc
mov eax, dword [ebp - 0x13c]
movsd xmm0, qword [ebp - 0x144]
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xc0], eax
xor eax, eax
movsd qword [ebp - 0xc8], xmm0
mov dword [ebp - 0xd4], 0
inc eax
mov dword [ebp - 0xd0], eax
mov word [ebp - 0xcc], 0
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x50]
push ecx
push eax
call fcn.0040bab3
add esp, 8
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
cmp eax, 0x80000000
jne 0x409ad5
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], 2
jmp 0x4088b6
mov ebx, dword [ebp - 0x17c]
lea edx, [ebp - 0x144]
mov dword [edx], 0x44
jmp 0x409921
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [ecx], eax
mov dword [ecx + 8], 2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x154], 4
jb 0x40983d
push dword [ebp - 0x150]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 6
lea ecx, [ebp - 0x1bc]
call fcn.004074b7
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x10], 6
call fcn.00403954
mov eax, dword [ebp - 0x8c]
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x54]
test eax, eax
je 0x40987d
add eax, eax
push 2
push eax
push dword [ebp - 0x164]
call fcn.00402b10
add esp, 0xc
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x409894
add eax, eax
push 2
push eax
push dword [ebp - 0x38]
call fcn.00402b10
add esp, 0xc
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x4098b1
add eax, eax
push 2
push eax
push dword [ebp - 0xe4]
call fcn.00402b10
add esp, 0xc
test edi, edi
je 0x4098c3
add edi, edi
push 2
push edi
push esi
call fcn.00402b10
add esp, 0xc
cmp byte [ebp - 0x168], 0
mov bl, 1
je 0x4083e8
jmp 0x4088b8
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x80]
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x24], eax
call fcn.00401356
mov ebx, 0x43589c
jmp 0x4083b9
mov edi, dword [ebp - 0x7c]
or ebx, 0x80000
lea eax, [ebp - 0x144]
push 0x44
push eax
push ecx
call fcn.00425cf0
lea edx, [ebp - 0xd8]
add esp, 0xc
mov dword [ebp - 0x94], edi
lea eax, [ebp - 0x50]
xor ecx, ecx
push eax
push edx
push dword [ebp - 0x19c]
push dword [ebp - 0x60]
push ebx
push 1
push ecx
push ecx
push dword [ebp - 0xe4]
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x409a89
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x4c]
movsd xmm1, qword [ebp - 0x1b4]
cmp dword [ebp - 0x174], 0
mov ebx, dword [ebp - 0x90]
movsd xmm0, qword [ebp - 0x1bc]
mov dword [edx], eax
mov dword [edx + 4], ecx
movsd qword [edx + 0x10], xmm1
movsd xmm1, qword [ebp - 0x1ac]
movsd qword [edx + 8], xmm0
movsd qword [edx + 0x18], xmm1
je 0x4099a8
push edi
call dword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
test esi, esi
je 0x4099a8
push 1
push esi
push edi
call fcn.00402b10
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xdc]
call esi
push dword [ebp - 0x84]
call esi
push ebx
call esi
cmp dword [ebp - 0x154], 4
jb 0x4099dd
push dword [ebp - 0x150]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 6
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0x10], 6
call fcn.00403954
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x409a0c
add eax, eax
push 2
push eax
push dword [ebp - 0x164]
call fcn.00402b10
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x88]
mov edi, dword [ebp - 0x54]
test eax, eax
je 0x409a2c
add eax, eax
push 2
push eax
push dword [ebp - 0x38]
call fcn.00402b10
add esp, 0xc
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x409a49
add eax, eax
push 2
push eax
push dword [ebp - 0xe4]
call fcn.00402b10
add esp, 0xc
test edi, edi
je 0x409a5d
add edi, edi
push 2
push edi
push dword [ebp - 0x58]
call fcn.00402b10
add esp, 0xc
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x178]
test ecx, ecx
setne al
xor dl, 1
test al, dl
je 0x4083e8
add ecx, ecx
push 2
push ecx
push esi
call fcn.00402b10
add esp, 0xc
jmp 0x4083e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
cmp dword [ebp - 0x174], 0
mov ebx, dword [ebp - 0x90]
mov dword [ecx + 4], eax
mov dword [ecx], 0
mov dword [ecx + 8], 2
je 0x409668
push edi
call dword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
test esi, esi
je 0x409668
push 1
push esi
push edi
call fcn.00402b10
add esp, 0xc
jmp 0x409668
mov dword [ebp - 0x58], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x10], 0x12
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
movzx edx, byte [edx + 0x65]
push edx
push ecx
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x88]
lea eax, [ebp - 0xd8]
push eax
call fcn.00413cdd
add esp, 0x18
mov eax, dword [ebp - 0xd8]
mov ebx, dword [ebp - 0xd4]
mov esi, dword [ebp - 0xd0]
cmp eax, 0x80000000
jne 0x409b8b
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov dword [eax + 4], esi
mov dword [eax + 8], 2
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4088b6
add eax, eax
push 2
push eax
push dword [ebp - 0x58]
call fcn.00402b10
add esp, 0xc
jmp 0x4088b6
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x88], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x80]
call fcn.00401356
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x88]
jmp 0x4086fa
mov cl, 1
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x168], ecx
jmp 0x40890a