Function at 0x421960
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 0x463e11
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xd8
mov eax, dword [0x483094]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword fs:[0x2c]
mov edi, dword [eax]
mov eax, dword [0x4875dc]
cmp eax, dword [edi + 4]
jg 0x421eda
mov eax, dword [vtable.base::logger.0]
mov ecx, 0x483b44
push 1
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x421a6c
lea eax, [ebp - 0x68]
mov dword [ebp - 0x60], vtable.fmt::BasicStringWriter_char__class_std::allocator_char__.0
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x58]
push esi
push str.launching_repair_
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x58], vtable.fmt::internal::StringBuffer_char__class_std::allocator_char__.0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x30], 0x483b44
mov dword [ebp - 0x2c], str.d:gitwegame_clientplugins_repair_prompt_repair_prompt.cpp
mov dword [ebp - 0x28], 0x1c
mov dword [ebp - 0x24], 0x474f8f
mov dword [ebp - 0x20], 1
call fcn.00421090
mov dword [ebp - 4], 2
lea edx, [ebp - 0x68]
mov ecx, dword [ebp - 0x30]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x60]
call fcn.00401fa0
mov dword [ebp - 4], 0xffffffff
push 0xa
xor eax, eax
mov dword [ebp - 0x70], 0
push str.Repair.exe
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
call fcn.004105f0
lea edx, [ebp - 0x80]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.0041ddc0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x421ae2
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421ad8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421f4e
push edx
push ecx
call fcn.00428ee3
add esp, 8
mov eax, dword [0x4875dc]
cmp eax, dword [edi + 4]
jg 0x421f53
mov eax, dword [vtable.base::logger.0]
mov ecx, 0x483b44
push 1
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x421be2
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe0], vtable.fmt::BasicStringWriter_char__class_std::allocator_char__.0
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x98]
push esi
push eax
push ecx
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xd8], vtable.fmt::internal::StringBuffer_char__class_std::allocator_char__.0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
mov dword [ebp - 0xb0], 0x483b44
mov dword [ebp - 0xac], str.d:gitwegame_clientplugins_repair_prompt_repair_prompt.cpp
mov dword [ebp - 0xa8], 0x31
mov dword [ebp - 0xa4], 0x474f8f
mov dword [ebp - 0xa0], 1
call fcn.004224e0
mov byte [ebp - 4], 8
lea edx, [ebp - 0xe8]
mov ecx, dword [ebp - 0xb0]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.00401fa0
mov byte [ebp - 4], 5
cmp dword [esi + 0x14], 8
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x60], 0x44
jb 0x421c20
mov esi, dword [esi]
cmp dword [ebp - 0x84], 8
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x421d69
mov eax, dword [0x4875dc]
cmp eax, dword [edi + 4]
jg 0x421fbd
mov eax, dword [vtable.base::logger.0]
mov ecx, 0x483b44
push 3
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x421d5a
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe0], vtable.fmt::BasicStringWriter_char__class_std::allocator_char__.0
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xd8], vtable.fmt::internal::StringBuffer_char__class_std::allocator_char__.0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
mov dword [ebp - 0xb0], 0x483b44
mov dword [ebp - 0xac], str.d:gitwegame_clientplugins_repair_prompt_repair_prompt.cpp
mov dword [ebp - 0xa8], 0x1f
mov dword [ebp - 0xa4], 0x474f8f
mov dword [ebp - 0xa0], 3
push str.launching_repair_succ
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xb
push 0
push eax
call fcn.00402000
add esp, 0xc
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0xe8]
mov ecx, dword [ebp - 0xb0]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.00401fa0
mov dword [0x483ae0], 0
jmp 0x421e7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x483ae0], eax
mov eax, dword [0x4875dc]
cmp eax, dword [edi + 4]
jg 0x422027
mov eax, dword [vtable.base::logger.0]
mov ecx, 0x483b44
push 5
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x421e7c
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe0], vtable.fmt::BasicStringWriter_char__class_std::allocator_char__.0
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xd8], vtable.fmt::internal::StringBuffer_char__class_std::allocator_char__.0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
mov dword [ebp - 0xb0], 0x483b44
mov dword [ebp - 0xac], str.d:gitwegame_clientplugins_repair_prompt_repair_prompt.cpp
mov dword [ebp - 0xa8], 0x24
mov dword [ebp - 0xa4], 0x474f8f
mov dword [ebp - 0xa0], 5
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0xe8]
push dword [0x483ae0]
push str.Fail_to_launch_repair__err:_d
push 0
push eax
call fcn.00402000
add esp, 0x10
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0xe8]
mov ecx, dword [ebp - 0xb0]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.00401fa0
mov edx, dword [ebp - 0x84]
cmp edx, 8
jb 0x421ebc
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421eb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422091
push edx
push ecx
call fcn.00428ee3
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.00428c08
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x4875dc
call fcn.004290b9
add esp, 4
cmp dword [0x4875dc], 0xffffffff
jne 0x4219bc
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [vtable.base::logger.0], xmm0
mov dword [0x483b4c], 0
mov byte [ebp - 4], 1
mov ecx, 0x483b48
mov dword [vtable.base::logger.0], 0x478524
call fcn.00412d80
push 0x465040
call fcn.00428ece
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x4875dc
call fcn.0042906f
add esp, 4
jmp 0x4219bc
call fcn.004465a2
push 0x4875dc
call fcn.004290b9
add esp, 4
cmp dword [0x4875dc], 0xffffffff
jne 0x421af3
xorps xmm0, xmm0
mov dword [0x483b4c], 0
movq qword [vtable.base::logger.0], xmm0
mov byte [ebp - 4], 7
mov ecx, 0x483b48
mov dword [vtable.base::logger.0], 0x478524
call fcn.00412d80
push 0x465040
call fcn.00428ece
add esp, 4
mov byte [ebp - 4], 5
push 0x4875dc
call fcn.0042906f
add esp, 4
jmp 0x421af3
push 0x4875dc
call fcn.004290b9
add esp, 4
cmp dword [0x4875dc], 0xffffffff
jne 0x421c69
xorps xmm0, xmm0
mov dword [0x483b4c], 0
movq qword [vtable.base::logger.0], xmm0
mov byte [ebp - 4], 0xa
mov ecx, 0x483b48
mov dword [vtable.base::logger.0], 0x478524
call fcn.00412d80
push 0x465040
call fcn.00428ece
add esp, 4
mov byte [ebp - 4], 5
push 0x4875dc
call fcn.0042906f
add esp, 4
jmp 0x421c69
push 0x4875dc
call fcn.004290b9
add esp, 4
cmp dword [0x4875dc], 0xffffffff
jne 0x421d85
xorps xmm0, xmm0
mov dword [0x483b4c], 0
movq qword [vtable.base::logger.0], xmm0
mov byte [ebp - 4], 0xe
mov ecx, 0x483b48
mov dword [vtable.base::logger.0], 0x478524
call fcn.00412d80
push 0x465040
call fcn.00428ece
add esp, 4
mov byte [ebp - 4], 5
push 0x4875dc
call fcn.0042906f
add esp, 4
jmp 0x421d85
call fcn.004465a2
int3