Function at 0x404210
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x42fbc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push str.SOFTWAREYuepochPD101CfgPingAn
push connect
mov dword [esp + 0x48], ebp
mov dword [esp + 0x38], ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebp
jne 0x404274
lea ecx, [esp + 0x10]
call fcn.00402dc0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], edx
mov edi, dword [esi + 0x130]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
call ebx
inc eax
push eax
mov eax, dword [esp + 0x14]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push ebp
push str.ComPort
push eax
call edi
mov ebp, dword [esi + 0x108]
push ebp
call ebx
mov ecx, dword [esp + 0x10]
inc eax
push eax
push ebp
push 1
push 0
push str.DispStr
push ecx
call edi
mov ebp, dword [esi + 0xfc]
push ebp
call ebx
mov edx, dword [esp + 0x10]
inc eax
push eax
push ebp
push 1
push 0
push str.LeftText
push edx
call edi
mov ebp, dword [esi + 0x10c]
push ebp
call ebx
inc eax
push eax
mov eax, dword [esp + 0x14]
push ebp
push 1
push 0
push str.WindowText1
push eax
call edi
mov ebp, dword [esi + 0x110]
push ebp
call ebx
mov ecx, dword [esp + 0x10]
inc eax
push eax
push ebp
push 1
push 0
push str.WindowText2
push ecx
call edi
mov ebp, dword [esi + 0x114]
push ebp
call ebx
mov edx, dword [esp + 0x10]
inc eax
push eax
push ebp
push 1
push 0
push str.WindowText3
push edx
call edi
mov ebp, dword [esi + 0x118]
push ebp
call ebx
inc eax
push eax
push ebp
push 1
mov eax, dword [esp + 0x1c]
push 0
push str.LoginText
push eax
call edi
mov ebp, dword [esi + 0x11c]
push ebp
call ebx
mov ecx, dword [esp + 0x10]
inc eax
push eax
push ebp
push 1
push 0
push str.LogoutText
push ecx
call edi
mov ebp, dword [esi + 0x120]
push ebp
call ebx
mov edx, dword [esp + 0x10]
inc eax
push eax
push ebp
push 1
push 0
push str.StatusText
push edx
call edi
mov ebp, dword [esi + 0x12c]
push ebp
call ebx
inc eax
push eax
mov eax, dword [esp + 0x14]
push ebp
push 1
push 0
push str.CustomText
push eax
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x124]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push 0
push str.CustomId
push eax
mov dword [esp + 0x2c], ecx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x128]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push 0
push str.WindowId
push eax
mov dword [esp + 0x2c], ecx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xd4]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push 0
push str.CardId
push eax
mov dword [esp + 0x2c], ecx
call edi
mov ecx, dword [esi + 0xe4]
lea edx, [esp + 0x14]
push 4
push edx
push 4
mov dword [esp + 0x20], ecx
push 0
mov eax, dword [esp + 0x20]
push str.BoardWidth
push eax
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xdc]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push 0
push str.TextRow
push eax
mov dword [esp + 0x2c], ecx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xe8]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push 0
push str.MoveSpeed
push eax
mov dword [esp + 0x2c], ecx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xf0]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push 0
push str.NegData
push eax
mov dword [esp + 0x2c], ecx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xf4]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push 0
push str.NegOE
push eax
mov dword [esp + 0x2c], ecx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xf8]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push 0
push str.NegLeft
push eax
mov dword [esp + 0x2c], ecx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xec]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push 0
push str.ScanMode
push eax
mov dword [esp + 0x2c], ecx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x100]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push 0
push str.Protocol
push eax
mov dword [esp + 0x2c], ecx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x104]
lea edx, [esp + 0x14]
push 4
push edx
push 4
push 0
push str.Baudrate
push eax
mov dword [esp + 0x2c], ecx
call edi
mov esi, dword [esi + 0xe0]
test esi, esi
jne 0x404534
mov esi, 0x10
jmp 0x40453f
dec esi
neg esi
sbb esi, esi
and esi, 8
add esi, 0x18
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push 4
push ecx
push 4
push 0
push str.Font
push edx
mov dword [esp + 0x2c], esi
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00402dc0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret