Function at 0x408640
Capabilities:
Access peb ldr_data
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x425170
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push str.into__ServerSocketOperation_SaveRuleNameAndPwd
call fcn.00402960
mov eax, dword [0x42d740]
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
push str..jjmClient.ini
push 0x4321d4
lea eax, [esp + 0x14]
push 0x42b170
push eax
mov byte [esp + 0x30], 1
call fcn.0041e13f
push str..jjmClientcopy.ini
push 0x4321d4
lea ecx, [esp + 0x2c]
push 0x42b170
push ecx
call fcn.0041e13f
mov eax, dword [0x42d740]
add esp, 0x24
mov dword [esp + 4], eax
mov dword [esp], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
push 0
push edx
push eax
mov byte [esp + 0x28], 3
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x4086e6
push str.___copy_jjmclientcopy.ini
call fcn.00402960
add esp, 4
push ebp
push esi
push edi
push 0x431c28
call fcn.00406c30
add esp, 4
lea ecx, [esp + 0x10]
push str.RULENAME
call fcn.0041eb8a
lea ecx, [esp + 0xc]
call fcn.0041e9d8
push str.RuleNameValue
lea ecx, [esp + 0x10]
call fcn.0041eb8a
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push 0x431c28
push esi
push ecx
push edx
call fcn.00406680
add esp, 0x10
lea ecx, [esp + 0x10]
push 0x42b9f4
call fcn.0041eb8a
lea ecx, [esp + 0xc]
call fcn.0041e9d8
push str.PwdValue
lea ecx, [esp + 0x10]
call fcn.0041eb8a
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
add esi, 0x41
push 0x431c28
push esi
push eax
push ecx
call fcn.00406680
mov edx, dword [0x42d740]
add esp, 0x10
mov dword [esp + 0x18], edx
mov byte [esp + 0x28], 4
call fcn.004018f0
mov edi, edx
mov esi, eax
sub eax, 2
mov ecx, edi
mov edx, esi
mov ebp, edi
sbb ecx, 0
sub edx, 1
sbb ebp, 0
push ebp
push edx
push ecx
push eax
call fcn.004128c0
push edi
push esi
push edx
push eax
call fcn.004128c0
mov ecx, 4
call fcn.00413660
push edx
push eax
lea eax, [esp + 0x20]
push str._I64X
push eax
call fcn.0041e13f
add esp, 0x10
lea ecx, [esp + 0xc]
push str.HardIDCheck
call fcn.0041eb8a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
push 0x431c28
push ecx
push edx
mov eax, dword [esp + 0x1c]
push eax
call fcn.00406680
add esp, 0x10
lea ecx, [esp + 0x14]
lea edx, [esp + 0x34]
push str.change
push ecx
push edx
call fcn.0041ec30
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 5
call fcn.0041eb3a
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 4
call fcn.0041ea4d
push str.FLAG
lea ecx, [esp + 0x14]
call fcn.0041eb8a
lea ecx, [esp + 0xc]
call fcn.0041e9d8
push str.FlagValue
lea ecx, [esp + 0x10]
call fcn.0041eb8a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
push eax
push str.012321536109435342
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 3
call fcn.0041ea4d
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.0041ea4d
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.0041ea4d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 0
call fcn.0041ea4d
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.0041ea4d
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret