Function at 0x407e00
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x42ff6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], 0
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREYuepochPD101CfgRuizeC2
push connect
mov dword [esp + 0x244], 0
mov dword [esp + 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x407e77
lea ecx, [esp + 0x10]
call fcn.00402dc0
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
mov edi, dword [esi + 0x188]
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 0
push str.ComPort
push eax
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x14c]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push str.CardId
push eax
mov dword [esp + 0x24], ecx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x15c]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push str.BoardWidth
push eax
mov dword [esp + 0x24], ecx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x154]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push str.TextRow
push eax
mov dword [esp + 0x24], ecx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x160]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push str.MoveSpeed
push eax
mov dword [esp + 0x24], ecx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x168]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push str.NegData
push eax
mov dword [esp + 0x24], ecx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x16c]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push str.NegOE
push eax
mov dword [esp + 0x24], ecx
call edi
mov ecx, dword [esi + 0x170]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push str.NegLeft
push eax
mov dword [esp + 0x24], ecx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x164]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push str.ScanMode
push eax
mov dword [esp + 0x24], ecx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x178]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push str.Protocol
push eax
mov dword [esp + 0x24], ecx
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x17c]
lea edx, [esp + 0xc]
push 4
push edx
push 4
push 0
push str.Baudrate
push eax
mov dword [esp + 0x24], ecx
call edi
mov eax, dword [esi + 0x158]
test eax, eax
jne 0x407ffa
mov eax, 0x10
jmp 0x408012
cmp eax, 1
jne 0x408006
mov eax, 0x18
jmp 0x408012
sub eax, 2
neg eax
sbb eax, eax
and al, 0xee
add eax, 0x20
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push 4
push ecx
push 4
push 0
push str.Font
push edx
mov dword [esp + 0x24], eax
call edi
push 0x3ef
mov ecx, esi
call fcn.00426498
push eax
mov eax, dword [esi + 0x174]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.004076e0
lea edx, [esp + 0x18]
push edx
call ebx
mov ecx, dword [esp + 0x10]
inc eax
push eax
lea eax, [esp + 0x1c]
push eax
push 1
push 0
push str.LeftText
push ecx
call edi
push 0x3ec
mov ecx, esi
call fcn.00426498
mov edx, dword [esi + 0x184]
push eax
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.004076e0
lea ecx, [esp + 0x18]
push ecx
call ebx
inc eax
lea edx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push edx
push 1
push 0
push str.WelcomeText
push eax
call edi
push 0x3ed
mov ecx, esi
call fcn.00426498
mov ecx, dword [esi + 0x180]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.004076e0
lea eax, [esp + 0x18]
push eax
call ebx
mov edx, dword [esp + 0x10]
inc eax
lea ecx, [esp + 0x18]
push eax
push ecx
push 1
push 0
push str.DispText
push edx
call edi
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
test eax, eax
je 0x4080f9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20c]
mov dword fs:[0], ecx
add esp, 0x218
ret