Function at 0x4a87f0
Capabilities:
Create directory
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x544e80
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x583f80]
xor eax, esp
mov dword [esp + 0x320], eax
push ebx
push esi
push edi
mov eax, dword [0x583f80]
xor eax, esp
push eax
lea eax, [esp + 0x338]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
push str.svrlink
xor ebx, ebx
push 1
mov dword [esp + 0xa4], ebx
call dword [sym.imp.mLogRec.dll_int___cdecl_prctl_int__char_const__]
add esp, 8
lea ecx, [esp + 0x80]
call fcn.004b0710
mov esi, eax
cmp esi, 0x5887d4
je 0x4a889a
cmp dword [0x5887ec], 0x10
jb 0x4a8879
push dword [0x5887d8]
call fcn.004fea80
add esp, 4
push esi
mov ecx, 0x5887d4
mov dword [0x5887ec], 0xf
mov dword [0x5887e8], ebx
mov byte [0x5887d8], bl
call fcn.00401fa0
cmp dword [esp + 0x98], 0x10
jb 0x4a88b3
push dword [esp + 0x84]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.004019a0
push dword [esp + 0x80]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], ebx
call fcn.004019a0
push str..._bin_
mov edx, 0x5887d4
lea ecx, [esp + 0x84]
call fcn.00497510
mov esi, eax
add esp, 4
cmp esi, 0x588e58
je 0x4a8955
cmp dword [0x588e70], 0x10
jb 0x4a8934
push dword [0x588e5c]
call fcn.004fea80
add esp, 4
push esi
mov ecx, 0x588e58
mov dword [0x588e70], 0xf
mov dword [0x588e6c], ebx
mov byte [0x588e5c], bl
call fcn.00401fa0
cmp dword [esp + 0x98], 0x10
jb 0x4a896e
push dword [esp + 0x84]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.004019a0
push dword [esp + 0x80]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], ebx
call fcn.004019a0
push str..._sys_
mov edx, 0x5887d4
lea ecx, [esp + 0x84]
call fcn.00497510
mov esi, eax
add esp, 4
cmp esi, 0x58888c
je 0x4a8a10
cmp dword [0x5888a4], 0x10
jb 0x4a89ef
push dword [0x588890]
call fcn.004fea80
add esp, 4
push esi
mov ecx, 0x58888c
mov dword [0x5888a4], 0xf
mov dword [0x5888a0], ebx
mov byte [0x588890], bl
call fcn.00401fa0
cmp dword [esp + 0x98], 0x10
jb 0x4a8a29
push dword [esp + 0x84]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.004019a0
push dword [esp + 0x80]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], ebx
call fcn.004019a0
push str...log_
mov edx, 0x5887d4
lea ecx, [esp + 0x84]
call fcn.00497510
mov esi, eax
add esp, 4
cmp esi, 0x588ed4
je 0x4a8acb
cmp dword [0x588eec], 0x10
jb 0x4a8aaa
push dword [0x588ed8]
call fcn.004fea80
add esp, 4
push esi
mov ecx, 0x588ed4
mov dword [0x588eec], 0xf
mov dword [0x588ee8], ebx
mov byte [0x588ed8], bl
call fcn.00401fa0
cmp dword [esp + 0x98], 0x10
jb 0x4a8ae4
push dword [esp + 0x84]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.004019a0
push dword [esp + 0x80]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], ebx
call fcn.004019a0
push str...data_
mov edx, 0x5887d4
lea ecx, [esp + 0x84]
call fcn.00497510
mov esi, eax
add esp, 4
cmp esi, 0x5887f0
je 0x4a8b86
cmp dword [0x588808], 0x10
jb 0x4a8b65
push dword [0x5887f4]
call fcn.004fea80
add esp, 4
push esi
mov ecx, 0x5887f0
mov dword [0x588808], 0xf
mov dword [0x588804], ebx
mov byte [0x5887f4], bl
call fcn.00401fa0
cmp dword [esp + 0x98], 0x10
jb 0x4a8b9f
push dword [esp + 0x84]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.004019a0
push dword [esp + 0x80]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], ebx
call fcn.004019a0
push str...conf_
mov edx, 0x5887d4
lea ecx, [esp + 0x84]
call fcn.00497510
mov esi, eax
add esp, 4
cmp esi, 0x588da4
je 0x4a8c41
cmp dword [0x588dbc], 0x10
jb 0x4a8c20
push dword [0x588da8]
call fcn.004fea80
add esp, 4
push esi
mov ecx, 0x588da4
mov dword [0x588dbc], 0xf
mov dword [0x588db8], ebx
mov byte [0x588da8], bl
call fcn.00401fa0
cmp dword [esp + 0x98], 0x10
jb 0x4a8c5a
push dword [esp + 0x84]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.004019a0
push dword [esp + 0x80]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], ebx
call fcn.004019a0
push str._trans
mov edx, 0x5887f0
lea ecx, [esp + 0x84]
call fcn.00497510
mov esi, eax
add esp, 4
cmp esi, 0x58878c
je 0x4a8cfc
cmp dword [0x5887a4], 0x10
jb 0x4a8cdb
push dword [0x588790]
call fcn.004fea80
add esp, 4
push esi
mov ecx, 0x58878c
mov dword [0x5887a4], 0xf
mov dword [0x5887a0], ebx
mov byte [0x588790], bl
call fcn.00401fa0
cmp dword [esp + 0x98], 0x10
jb 0x4a8d15
push dword [esp + 0x84]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.004019a0
push dword [esp + 0x80]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], ebx
call fcn.004019a0
push str._snd
mov edx, 0x58878c
lea ecx, [esp + 0x84]
call fcn.00497510
mov esi, eax
add esp, 4
cmp esi, 0x5889a4
je 0x4a8db7
cmp dword [0x5889bc], 0x10
jb 0x4a8d96
push dword [0x5889a8]
call fcn.004fea80
add esp, 4
push esi
mov ecx, 0x5889a4
mov dword [0x5889bc], 0xf
mov dword [0x5889b8], ebx
mov byte [0x5889a8], bl
call fcn.00401fa0
cmp dword [esp + 0x98], 0x10
jb 0x4a8dd0
push dword [esp + 0x84]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.004019a0
push dword [esp + 0x80]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], ebx
call fcn.004019a0
push str.wait
mov edx, 0x58878c
lea ecx, [esp + 0x84]
call fcn.00497510
mov esi, eax
add esp, 4
cmp esi, 0x5887a8
je 0x4a8e72
cmp dword [0x5887c0], 0x10
jb 0x4a8e51
push dword [0x5887ac]
call fcn.004fea80
add esp, 4
push esi
mov ecx, 0x5887a8
mov dword [0x5887c0], 0xf
mov dword [0x5887bc], ebx
mov byte [0x5887ac], bl
call fcn.00401fa0
cmp dword [esp + 0x98], 0x10
jb 0x4a8e8b
push dword [esp + 0x84]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.004019a0
push dword [esp + 0x80]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], ebx
call fcn.004019a0
push str.edge_svr.db
mov edx, 0x588da4
lea ecx, [esp + 0x84]
call fcn.00497510
mov esi, eax
add esp, 4
cmp esi, 0x588828
je 0x4a8f2d
cmp dword [0x588840], 0x10
jb 0x4a8f0c
push dword [0x58882c]
call fcn.004fea80
add esp, 4
push esi
mov ecx, 0x588828
mov dword [0x588840], 0xf
mov dword [0x58883c], ebx
mov byte [0x58882c], bl
call fcn.00401fa0
cmp dword [esp + 0x98], 0x10
jb 0x4a8f46
push dword [esp + 0x84]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.004019a0
push dword [esp + 0x80]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], ebx
call fcn.004019a0
cmp dword [ebp + 8], 2
je 0x4a8fd7
push str.Main_Parameter_Error.
push 0x5883f0
call fcn.004088a0
mov esi, eax
mov eax, fcn.00406e00
add esp, 8
test eax, eax
jne 0x4a8fc7
push 0xcb
push str.D:Program_Files__x86_Microsoft_Visual_Studio_11.0VCincludeostream
push str.invalid_null_pointer
call fcn.0053d770
add esp, 0xc
push esi
call fcn.00406e00
add esp, 4
push 1
call fcn.005072a0
push dword [edi + 4]
lea ecx, [esp + 0xc4]
call fcn.00401c90
mov dword [esp + 0x340], 0
cmp dword [esp + 0xd8], 0x10
lea ecx, [esp + 0xc4]
cmovae ecx, dword [esp + 0xc4]
call fcn.004b08f0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xc8]
push eax
mov ecx, 0x5889c0
call fcn.00402460
lea ecx, [esp + 0x11c]
call fcn.00401c00
xor dl, dl
lea ecx, [esp + 0x11c]
mov byte [esp + 0x340], 1
call fcn.00406f40
lea eax, [esp + 0x11c]
push eax
lea eax, [esp + 0x50]
push str.DevConnect_
push eax
call fcn.004976c0
add esp, 0xc
push 0x56feb4
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x34c], 2
call fcn.00497660
add esp, 0xc
lea ecx, [esp + 0xc0]
push ecx
mov edx, eax
lea ecx, [esp + 0x13c]
mov byte [esp + 0x344], 3
call fcn.004b3c40
add esp, 4
mov byte [esp + 0x340], 5
cmp dword [esp + 0x48], 0x10
jb 0x4a90b6
push dword [esp + 0x34]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
call fcn.004019a0
push dword [esp + 0x30]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0
call fcn.004019a0
mov byte [esp + 0x340], 6
cmp dword [esp + 0x64], 0x10
jb 0x4a910c
push dword [esp + 0x50]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
call fcn.004019a0
push dword [esp + 0x4c]
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], 0
call fcn.004019a0
cmp dword [0x5886c0], 0
push 0xa8
jne 0x4a91c9
call fcn.004fec80
mov esi, eax
add esp, 4
mov dword [esp + 0xa0], esi
mov byte [esp + 0x340], 7
test esi, esi
je 0x4a91a9
push str._devices.conf
mov edx, 0x588da4
lea ecx, [esp + 0x84]
call fcn.00497510
add esp, 4
mov byte [esp + 0x340], 8
mov ebx, 1
push eax
mov ecx, esi
mov dword [esp + 0xa0], ebx
call fcn.00499cb0
jmp 0x4a91ab
xor eax, eax
mov dword [0x588608], eax
mov dword [esp + 0x340], 6
test bl, 1
je 0x4a923a
lea ecx, [esp + 0x80]
jmp 0x4a9235
call fcn.004fec80
mov esi, eax
add esp, 4
mov dword [esp + 0xa0], esi
mov byte [esp + 0x340], 0xa
test esi, esi
je 0x4a921a
push str._devices.conf
mov edx, 0x588da4
lea ecx, [esp + 0x18]
call fcn.00497510
add esp, 4
mov byte [esp + 0x340], 0xb
mov ebx, 2
push eax
mov ecx, esi
mov dword [esp + 0xa0], ebx
call fcn.00499cb0
jmp 0x4a921c
xor eax, eax
mov dword [0x588608], eax
mov dword [esp + 0x340], 6
test bl, 2
je 0x4a923a
lea ecx, [esp + 0x14]
call fcn.00401e20
push 0x5889c0
lea eax, [esp + 0xc4]
push eax
call fcn.0049a070
test al, al
jne 0x4a9292
push 0x56fed8
push 0
push 3
push 0x18e
push str.svrlink.cpp
push 0x588aa0
call dword [sym.imp.mLogRec.dll_public:_void___cdecl_mLogRec::Log_Record_char___int__int__int__char_const__]
mov esi, dword [0x588608]
add esp, 0x18
test esi, esi
je 0x4a928b
mov ecx, esi
call fcn.00499ec0
push esi
call fcn.004fea80
add esp, 4
push 1
call fcn.005072a0
mov esi, dword [sym.imp.mLogRec.dll_public:_void___cdecl_mLogRec::Log_Record_char___int__int__int__char_const__]
push str.getPrcInfo____TCP_IP
push 0
push 1
push 0x192
push str.svrlink.cpp
push 0x588aa0
call esi
add esp, 0x18
lea eax, [esp + 0xc0]
push 0x5889c0
push eax
call fcn.0049b1c0
test al, al
jne 0x4a92db
push 0x56ffa8
push 0
push 3
push 0x198
jmp 0x4a92e9
push str.getDeviceInfo
push 0
push 1
push 0x19c
push str.svrlink.cpp
push 0x588aa0
call esi
add esp, 0x18
push ecx
call fcn.0049ae30
test al, al
jne 0x4a9340
mov edi, dword [0x588608]
test edi, edi
je 0x4a931c
mov ecx, edi
call fcn.00499ec0
push edi
call fcn.004fea80
add esp, 4
push 0x5700a4
push 0
push 3
push 0x1a2
push str.svrlink.cpp
push 0x588aa0
call esi
add esp, 0x18
push 1
call fcn.005072a0
push str.cloud_edge_deviceId
lea ecx, [esp + 0x84]
call fcn.00401c90
lea eax, [esp + 0x80]
push eax
mov ecx, 0x588d98
mov byte [esp + 0x344], 0xd
call fcn.0049c6d0
cmp eax, 0x588a30
je 0x4a9381
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x588a30
call fcn.00402460
lea ecx, [esp + 0x80]
mov byte [esp + 0x340], 6
call fcn.00401e20
push str.getCloudInfo
push 0
push 1
push 0x1a6
push str.svrlink.cpp
push 0x588aa0
call esi
push str.opeParamVer_
mov edx, 0x5887f0
lea ecx, [esp + 0x9c]
call fcn.00497510
add esp, 0x1c
push 0x588690
mov edx, eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0xe
call fcn.004b3c40
push eax
mov byte [esp + 0x348], 0xf
call fcn.0049aee0
test al, al
lea ecx, [esp + 0x14]
sete bl
call fcn.00401e20
lea ecx, [esp + 0x80]
mov byte [esp + 0x340], 6
call fcn.00401e20
test bl, bl
je 0x4a9431
push str.getOpeParaInfo
push 0
push 1
push 0x1aa
push str.svrlink.cpp
push 0x588aa0
call esi
add esp, 0x18
push ecx
call fcn.0049ba00
test al, al
jne 0x4a949f
push str.getSvrInfo
push 0x5883f0
call fcn.004088a0
add esp, 4
mov ecx, eax
call fcn.004070a0
push str.getSvrInfo
push 0
push 3
push 0x1af
push str.svrlink.cpp
push 0x588aa0
call esi
add esp, 0x18
lea ecx, [esp + 0x138]
call fcn.00401e20
lea ecx, [esp + 0x11c]
call fcn.00401e20
lea ecx, [esp + 0xc0]
call fcn.00401e20
mov eax, 1
jmp 0x4a9d70
push str.svr_edge_mproc
lea ecx, [esp + 0x84]
call fcn.00401c90
lea eax, [esp + 0x80]
push eax
mov ecx, 0x588d98
mov byte [esp + 0x344], 0x10
call fcn.004a3730
test eax, eax
lea ecx, [esp + 0x80]
setne bl
mov byte [esp + 0x340], 6
call fcn.00401e20
test bl, bl
jne 0x4a9510
call fcn.004a87b0
test eax, eax
jle 0x4a9510
push str.ProcFileLockService_____0
push 0x5883f0
call fcn.004088a0
add esp, 4
mov ecx, eax
call fcn.004070a0
push 1
call fcn.005072a0
mov edx, 0x588690
mov ecx, 0x5888a8
call fcn.004a7fa0
lea eax, [esp + 0xb4]
push eax
mov ecx, 0x588d98
mov dword [esp + 0xc0], 0
call fcn.00496320
lea eax, [esp + 0x68]
push eax
mov ecx, 0x588d98
call fcn.00496340
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x344], 0x12
call fcn.0049cf10
test al, al
push 3
lea ecx, [esp + 0xa0]
sete bl
mov byte [esp + 0x344], 0x11
call fcn.0053dac0
lea ecx, [esp + 0x68]
call fcn.00402ad0
lea ecx, [esp + 0x9c]
call fcn.0053db60
test bl, bl
je 0x4a970b
jmp 0x4a95a0
lea ecx, [esp + 0xe4]
call fcn.00401c00
lea ecx, [esp + 0x100]
mov byte [esp + 0x340], 0x13
call fcn.00401c00
lea ecx, [esp + 0xb4]
mov byte [esp + 0x340], 0x14
call fcn.0049d8f0
lea ecx, [esp + 0xe4]
cmp ecx, eax
je 0x4a95e9
push 0xffffffffffffffff
push 0
push eax
call fcn.00402460
lea ecx, [esp + 0xb4]
call fcn.0049d8f0
add eax, 0x1c
lea ecx, [esp + 0x100]
cmp ecx, eax
je 0x4a960d
push 0xffffffffffffffff
push 0
push eax
call fcn.00402460
cmp dword [esp + 0x118], 0x10
lea ecx, [esp + 0x104]
cmovae ecx, dword [esp + 0x104]
cmp dword [esp + 0xfc], 0x10
push ecx
lea eax, [esp + 0xec]
cmovae eax, dword [esp + 0xec]
push eax
push str._s___s
push 0
push 1
push 0x1cd
push str.svrlink.cpp
push 0x588aa0
call esi
add esp, 0x20
lea ecx, [esp + 0x100]
call fcn.00401e20
lea ecx, [esp + 0xe4]
mov byte [esp + 0x340], 0x11
call fcn.00401e20
push ecx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xbc]
call fcn.0049d970
push 3
lea ecx, [esp + 0xa4]
call fcn.0053dac0
lea ecx, [esp + 0x74]
call fcn.00402ad0
lea ecx, [esp + 0xa0]
call fcn.0053db60
lea eax, [esp + 0x68]
push eax
mov ecx, 0x588d98
call fcn.00496340
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x344], 0x12
call fcn.0049cf10
test al, al
push 3
lea ecx, [esp + 0xa0]
sete bl
mov byte [esp + 0x344], 0x11
call fcn.0053dac0
lea ecx, [esp + 0x68]
call fcn.00402ad0
lea ecx, [esp + 0x9c]
call fcn.0053db60
test bl, bl
jne 0x4a95a0
push str.trans
mov edx, 0x5887f0
lea ecx, [esp + 0x18]
call fcn.00497510
mov edi, eax
add esp, 4
cmp edi, 0x58878c
je 0x4a9768
cmp dword [0x5887a4], 0x10
jb 0x4a9742
push dword [0x588790]
call fcn.004fea80
add esp, 4
push edi
mov ecx, 0x58878c
mov dword [0x5887a4], 0xf
mov dword [0x5887a0], 0
mov byte [0x588790], 0
call fcn.00401fa0
lea ecx, [esp + 0x14]
call fcn.00401e20
push str.wait
mov edx, 0x58878c
lea ecx, [esp + 0x18]
call fcn.00497510
mov edi, eax
add esp, 4
cmp edi, 0x588850
je 0x4a97ce
cmp dword [0x588868], 0x10
jb 0x4a97a8
push dword [0x588854]
call fcn.004fea80
add esp, 4
push edi
mov ecx, 0x588850
mov dword [0x588868], 0xf
mov dword [0x588864], 0
mov byte [0x588854], 0
call fcn.00401fa0
lea ecx, [esp + 0x14]
call fcn.00401e20
push 0x56fe04
mov edx, 0x588850
lea ecx, [esp + 0x84]
call fcn.00497510
add esp, 4
lea ecx, [esp + 0xc0]
push ecx
mov edx, eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x344], 0x15
call fcn.004b3c40
add esp, 4
mov ecx, 0x58886c
push eax
call fcn.00497150
lea ecx, [esp + 0x14]
call fcn.00401e20
lea ecx, [esp + 0x80]
mov byte [esp + 0x340], 0x11
call fcn.00401e20
lea eax, [esp + 0x13]
push eax
lea ecx, [esp + 0xa8]
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
call fcn.004b2120
mov byte [esp + 0x340], 0x16
cmp dword [0x588808], 0x10
mov edi, 0x5887f4
mov eax, edi
cmovae eax, dword [0x5887f4]
push eax
push str.PREUP_DATA__s_
push 0
push 0
push 0x1df
push str.svrlink.cpp
push 0x588aa0
call esi
mov ebx, dword [sym.imp.mLogRec.dll_public:_void___cdecl_mLogRec::Log_Record_char___int__int__int__char_const__]
add esp, 0x1c
cmp dword [0x588884], 0x10
mov esi, 0x588870
mov eax, esi
cmovae eax, dword [0x588870]
push eax
push str.DEV_CON_WAIT_TXN_PATH__s_
push 0
push 0
push 0x1e2
push str.svrlink.cpp
push 0x588aa0
call ebx
add esp, 0x1c
lea ecx, [esp + 0xa4]
push 0x58886c
call fcn.00404230
cmp dword [0x588808], 0x10
mov ecx, 0x588aa0
cmovae edi, dword [0x5887f4]
cmp dword [0x588884], 0x10
push edi
cmovae esi, dword [0x588870]
push esi
call dword [sym.imp.mLogRec.dll_public:_int___thiscall_mLogRec::iCreDirs_char___char__]
mov ecx, dword [esp + 0xac]
sub ecx, dword [esp + 0xa8]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x4a9a57
nop
push edi
lea ecx, [esp + 0xa8]
call fcn.004b1820
push eax
lea ecx, [esp + 0x84]
call fcn.00406c80
mov byte [esp + 0x340], 0x17
cmp dword [esp + 0x98], 0x10
lea eax, [esp + 0x84]
cmovae eax, dword [esp + 0x84]
push 0
push eax
call fcn.00503b20
add esp, 8
cmp eax, 0xffffffff
jne 0x4a9a19
cmp dword [esp + 0x98], 0x10
push 0x802
push 0
lea esi, [esp + 0x8c]
cmovae esi, dword [esp + 0x8c]
push 0x589248
call fcn.00507b80
add esp, 0xc
push 0x400
push 0x589248
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0x589248
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
lea eax, [esp + 0x84]
je 0x4a9a71
cmp dword [esp + 0x98], 0x10
cmovae eax, dword [esp + 0x84]
push eax
push 0x570224
push 0
push 1
push 0x1f6
push str.svrlink.cpp
push 0x588aa0
call ebx
add esp, 0x1c
lea ecx, [esp + 0x80]
mov byte [esp + 0x340], 0x16
call fcn.00401e20
mov ecx, dword [esp + 0xac]
sub ecx, dword [esp + 0xa8]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x4a9940
push 0x10
call fcn.004fec80
add esp, 4
test eax, eax
je 0x4a9aa6
mov dword [eax + 4], 0
mov byte [eax], 0
jmp 0x4a9aa8
cmp dword [esp + 0x98], 0x10
cmovae eax, dword [esp + 0x84]
push eax
push 0x5701f8
push 0
push 3
push 0x1f3
push str.svrlink.cpp
push 0x588aa0
call ebx
add esp, 0x1c
push 1
call fcn.005072a0
xor eax, eax
mov dword [0x5885f8], eax
test eax, eax
jne 0x4a9acd
push str.create_parserTool_
push eax
push 3
push 0x1fd
push str.svrlink.cpp
push 0x588aa0
call ebx
add esp, 0x18
mov ecx, 0x5887c4
call fcn.004019a0
mov eax, dword [0x5887c8]
mov dword [0x5887cc], eax
call fcn.004edcf0
mov esi, eax
lea eax, [esp + 0x19c]
push eax
push 0x201
mov dword [esp + 0xa8], esi
call dword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.004ee0b0
lea eax, [esp + 0x154]
push eax
push 0x4aaa00
push 0x11
push 0xffffffffffffffff
push esi
push eax
call fcn.004eb770
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x170]
push eax
mov dword [esp + 0xfc], 5
mov dword [esp + 0x100], 0
call fcn.004ed4c0
push 0x570264
push 0
push 1
push 0x22b
push str.svrlink.cpp
push 0x588aa0
call ebx
cmp dword [0x588a10], 0x10
mov edi, 0x5889fc
mov eax, edi
cmovae eax, dword [0x5889fc]
push eax
call fcn.004fd1f0
add esp, 0x20
mov ecx, esp
push 0x5889dc
mov esi, eax
call fcn.00406c80
mov edx, 0x3e8
mov ecx, esi
call fcn.004ab380
add esp, 0x1c
mov dword [esp + 0x9c], eax
cmp eax, 0xffffffff
jne 0x4a9c1a
cmp dword [0x588a10], 0x10
cmovae edi, dword [0x5889fc]
push edi
call fcn.004fd1f0
movq xmm0, qword [0x5889dc]
add esp, 4
push eax
mov eax, dword [0x5889f4]
sub esp, 0x1c
mov ecx, esp
push 0x570298
movq qword [ecx], xmm0
movq xmm0, qword [0x5889e4]
push 0
push 3
movq qword [ecx + 8], xmm0
movq xmm0, qword [0x5889ec]
push 0x232
push str.svrlink.cpp
movq qword [ecx + 0x10], xmm0
push 0x588aa0
mov dword [ecx + 0x18], eax
call ebx
add esp, 0x38
push 1
call fcn.005072a0
cmp dword [0x588a10], 0x10
mov esi, 0x5889e0
cmovae edi, dword [0x5889fc]
cmp dword [0x5889f4], 0x10
push edi
cmovae esi, dword [0x5889e0]
call fcn.004fd1f0
add esp, 4
push eax
push esi
push str.tcp_server_init_Ip__s__Port__d_
push 0
push 1
push 0x235
push str.svrlink.cpp
push 0x588aa0
call ebx
cmp dword [esp + 0xf8], 0x10
push str.2.0.0
lea eax, [esp + 0xe8]
cmovae eax, dword [esp + 0xe8]
push eax
push str.Process_linkDevice__s__VERSION_:__s_
push 0
push 1
push 0x236
push str.svrlink.cpp
push 0x588aa0
call ebx
mov ebx, dword [esp + 0xe0]
add esp, 0x40
push ebx
push 0x4a9da0
push 0x12
push dword [esp + 0xa8]
push ebx
call fcn.004eba30
add esp, 0x14
push 0
push eax
call fcn.004ed4c0
push ebx
call fcn.004edb60
add esp, 0xc
push ebx
call fcn.004ec590
mov esi, dword [0x5885f8]
add esp, 4
push esi
call fcn.004fea80
mov eax, dword [0x5885f8]
add esp, 4
test esi, esi
mov esi, dword [0x588608]
mov ecx, 0x8123
cmovne eax, ecx
mov dword [0x5885f8], eax
test esi, esi
je 0x4a9d10
mov ecx, esi
call fcn.00499ec0
push esi
call fcn.004fea80
add esp, 4
lea ecx, [esp + 0xa4]
call fcn.004b17b0
push 3
lea ecx, [esp + 0xa4]
mov byte [esp + 0x344], 6
call fcn.0053dac0
lea ecx, [esp + 0xb4]
call fcn.00402ad0
lea ecx, [esp + 0xa0]
call fcn.0053db60
lea ecx, [esp + 0x138]
call fcn.00401e20
lea ecx, [esp + 0x11c]
call fcn.00401e20
lea ecx, [esp + 0xc0]
call fcn.00401e20
xor eax, eax
mov ecx, dword [esp + 0x338]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.004fcf30
mov esp, ebp
pop ebp
ret