Function at 0x4123c0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x1c
mov eax, dword [0x535df0]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0x620]
lea eax, [esp + 0x10]
push eax
lea edi, [esi + 0x698]
push 0
push ecx
mov eax, edi
mov ebx, esi
mov dword [esp + 0x1c], 0
call fcn.0042bb20
add esp, 0xc
lea edx, [esp + 0x10]
push edx
mov dword [esi + 0x784], eax
mov eax, dword [esi + 0x620]
push 1
push eax
mov eax, edi
call fcn.0042bb20
mov ebx, 4
add esp, 0xc
cmp dword [0x5426d0], ebx
mov dword [esi + 0x788], eax
jb 0x412489
push 0x33000004
call fcn.00408960
add esp, 4
test eax, eax
je 0x412457
mov ecx, dword [esi + 0x784]
push ecx
push str.Local_Options_String:__s
push 0x33000004
call fcn.00408640
add esp, 0xc
cmp dword [0x5426d0], ebx
jb 0x412489
push 0x33000004
call fcn.00408960
add esp, 4
test eax, eax
je 0x412489
mov edx, dword [esi + 0x788]
push edx
push str.Expected_Remote_Options_String:__s
push 0x33000004
call fcn.00408640
add esp, 0xc
cmp dword [0x5426d0], 2
jb 0x4125fb
push 0x17000002
call fcn.00408960
add esp, 4
test eax, eax
je 0x412540
mov ecx, dword [esi + 0x784]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4124b6
lea edx, [esp + 0x14]
push edx
sub eax, edi
push eax
push ecx
call fcn.00469900
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x510330
push ebx
lea ecx, [esp + 0x20]
push ecx
mov eax, 9
mov ebx, 0x10
call fcn.00403180
mov ebp, dword [esi + 0x784]
push 8
mov ebx, eax
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 0x14
test eax, eax
jne 0x41250b
jmp fcn.00408a80
mov edx, dword [esp + 0x10]
push 3
lea edi, [eax + 4]
push ebp
mov dword [eax], edx
push edi
mov dword [esp + 0x1c], eax
mov byte [edi], 0
call dword [sym.imp.MSVCR80.dll_strncpy]
add esp, 0xc
push ebx
push edi
push str.Local_Options_hash__VER_s_:__s
push 0x17000002
mov byte [edi + 2], 0
call fcn.00408640
add esp, 0x10
cmp dword [0x5426d0], 2
jb 0x4125fb
push 0x17000002
call fcn.00408960
add esp, 4
test eax, eax
je 0x4125fb
mov ecx, dword [esi + 0x788]
mov eax, ecx
lea edi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x412570
lea edx, [esp + 0x14]
push edx
sub eax, edi
push eax
push ecx
call fcn.00469900
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x510330
lea ecx, [esp + 0x1c]
push 4
push ecx
mov eax, 9
mov ebx, 0x10
call fcn.00403180
mov ebp, dword [esi + 0x788]
push 8
mov ebx, eax
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 0x14
test eax, eax
jne 0x4125c6
jmp fcn.00408a80
mov edx, dword [esp + 0x10]
push 3
lea edi, [eax + 4]
push ebp
mov dword [eax], edx
push edi
mov dword [esp + 0x1c], eax
mov byte [edi], 0
call dword [sym.imp.MSVCR80.dll_strncpy]
add esp, 0xc
push ebx
push edi
push str.Expected_Remote_Options_hash__VER_s_:__s
push 0x17000002
mov byte [edi + 2], 0
call fcn.00408640
add esp, 0x10
mov eax, dword [esi + 0x7d4]
test eax, eax
je 0x412617
mov ecx, dword [esi + 0x788]
mov edx, dword [esi + 0x784]
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ecx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x412633
mov edi, dword [sym.imp.MSVCR80.dll_free]
mov esi, dword [eax]
push eax
call edi
add esp, 4
test esi, esi
mov eax, esi
jne 0x412625
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004dcaae
add esp, 0x1c
ret