Function at 0x450230
Capabilities:
Set current directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4c4a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x558
mov eax, dword [0x508164]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x564], esi
lea ecx, [ebp - 0x490]
mov dword [ebp - 0x560], 0
call fcn.0044f790
mov dword [ebp - 4], 0
cmp dword [ebp - 0x480], 0
jne 0x4502c5
push str.ReportNewData_GetCemsPath_Err__
push 0x1f9
push str.d:chenfengming_
push 1
call fcn.00407ee0
push eax
call fcn.00407910
add esp, 0x14
or esi, 0xffffffff
jmp 0x450953
cmp dword [ebp - 0x47c], 0x10
lea eax, [ebp - 0x490]
cmovae eax, dword [ebp - 0x490]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor eax, eax
mov dword [ebp - 0x41c], 0xf
mov dword [ebp - 0x420], eax
mov byte [ebp - 0x430], al
mov byte [ebp - 4], 1
mov ecx, dword [0x508bdc]
test ecx, ecx
je 0x45032c
cmp dword [0x508be0], 0x10
mov eax, 0x508bcc
push ecx
cmovae eax, dword [0x508bcc]
lea ecx, [ebp - 0x430]
push eax
call fcn.0040e3a0
mov eax, dword [ebp - 0x420]
mov cx, word [0x50d298]
test cx, cx
je 0x450343
movzx edi, cx
mov dword [ebp - 0x554], edi
jmp 0x450349
mov edi, dword [ebp - 0x554]
test eax, eax
je 0x450355
test edi, edi
jne 0x4504db
lea eax, [ebp - 0x554]
push eax
lea edx, [ebp - 0x430]
lea ecx, [ebp - 0x490]
call fcn.0044fbf0
add esp, 4
test al, al
jne 0x4504d5
lea edx, [ebp - 0x55c]
mov dword [ebp - 0x55c], 0
lea ecx, [ebp - 0x490]
call fcn.0044f9e0
test al, al
je 0x45049b
lea eax, [ebp - 0x558]
mov dword [ebp - 0x558], 0
push eax
call dword [0x50d2c8]
mov eax, dword [ebp - 0x558]
add esp, 4
mov ecx, dword [ebp - 0x55c]
test eax, eax
je 0x450489
push 0x1388
push eax
push 0
push 0
push str.select__from_CEMS_SERVERLIST_where_Name__CEMS_C_TCP
push ecx
call dword [0x50d2cc]
add esp, 0x18
test eax, eax
jne 0x45045c
mov ecx, dword [ebp - 0x558]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov esi, eax
test esi, esi
je 0x45045c
mov edx, dword [esi]
lea eax, [ebp - 0x458]
push eax
push 0x4f0d9c
mov ecx, esi
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x450436
mov edx, dword [ebp - 0x450]
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x450420
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x430]
call fcn.0040e3a0
mov eax, dword [esi]
lea ecx, [ebp - 0x458]
push ecx
push str.Port
mov ecx, esi
mov eax, dword [eax + 8]
call eax
mov edi, dword [ebp - 0x554]
test eax, eax
cmovne edi, dword [ebp - 0x450]
jmp 0x450462
mov edi, dword [ebp - 0x554]
push dword [ebp - 0x558]
call dword [0x50d2c4]
mov ecx, dword [ebp - 0x55c]
add esp, 4
mov esi, dword [ebp - 0x564]
push ecx
call dword [0x50d2d4]
add esp, 4
jmp 0x4504a1
mov edi, dword [ebp - 0x554]
push ecx
call dword [0x50d2d4]
add esp, 4
jmp 0x4504a1
mov edi, dword [ebp - 0x554]
cmp dword [ebp - 0x420], 0
je 0x4504ae
test edi, edi
jne 0x4504db
push str.GetCemsServer_Info_Err
push 0x203
push str.d:chenfengming_
push 1
call fcn.00407ee0
push eax
call fcn.00407910
add esp, 0x14
or esi, 0xffffffff
jmp 0x4508fe
mov edi, dword [ebp - 0x554]
cmp dword [ebp - 0x41c], 0x10
lea eax, [ebp - 0x430]
push edi
cmovae eax, dword [ebp - 0x430]
push eax
push str.ReportNewData:__s___d
push 0x207
push str.d:chenfengming_
push 4
call fcn.00407ee0
push eax
call fcn.00407910
add esp, 0x1c
mov edx, esi
cmp dword [esi + 0x14], 8
jb 0x45051a
mov edx, dword [esi]
mov ecx, edx
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 7
mov word [ebp - 0x448], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450540
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x448]
call fcn.0040beb0
cmp dword [ebp - 0x434], 8
lea edx, [ebp - 0x448]
mov esi, dword [ebp - 0x438]
cmovae edx, dword [ebp - 0x448]
mov dword [ebp - 0x560], 1
test esi, esi
je 0x450672
lea eax, [esi - 1]
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea eax, [edx + ecx*2]
je 0x4505b1
nop dword [eax]
cmp eax, edx
je 0x450672
sub eax, 2
cmp word [eax], 0x5c
jne 0x4505a0
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x450672
lea ecx, [eax + 1]
mov dword [ebp - 0x450], 0
xor eax, eax
mov dword [ebp - 0x44c], 7
mov word [ebp - 0x460], ax
cmp esi, ecx
jb 0x4509a9
sub esi, ecx
lea eax, [ebp - 0x448]
cmp esi, 0xffffffff
mov edx, 0xffffffff
cmovb edx, esi
cmp dword [ebp - 0x434], 8
push edx
cmovae eax, dword [ebp - 0x448]
lea eax, [eax + ecx*2]
push eax
lea ecx, [ebp - 0x460]
call fcn.0040beb0
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x560], 3
call fcn.0040c2c0
movups xmm0, xmmword [ebp - 0x460]
xor eax, eax
lea ecx, [ebp - 0x460]
mov word [ebp - 0x460], ax
movups xmmword [ebp - 0x448], xmm0
movq xmm0, qword [ebp - 0x450]
movq qword [ebp - 0x438], xmm0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 7
call fcn.0040c2c0
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x508]
call fcn.00408390
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00409770
cmp dword [esi + 0x14], 0x10
jb 0x450699
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0xf
mov byte [ebp - 0x478], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4506c0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x478]
call fcn.0040e3a0
lea ecx, [ebp - 0x4d8]
mov byte [ebp - 4], 6
call fcn.0040c2c0
push fcn.0040e540
push 2
push 0x18
lea eax, [ebp - 0x508]
push eax
call fcn.0048dbcc
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 7
call fcn.0040c2c0
push 0x400
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.004a5f00
add esp, 0xc
lea eax, [ebp - 0x478]
cmp dword [ebp - 0x464], 0x10
cmovae eax, dword [ebp - 0x478]
push eax
push str._devType_:_1___fileId_:____productType_:_INFORCOLLECT___fileName_:__s_
lea eax, [ebp - 0x418]
push 0x400
push eax
call fcn.00429320
add esp, 0x10
lea eax, [ebp - 0x430]
lea ecx, [ebp - 0x550]
push eax
call fcn.00411840
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.004096c0
add esi, 0x30
cmp dword [esi + 0x14], 8
jb 0x450777
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp - 0x4b0], 0
xor eax, eax
mov dword [ebp - 0x4ac], 7
mov word [ebp - 0x4c0], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4507a0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x4c0]
call fcn.0040beb0
lea ecx, [ebp - 0x520]
mov byte [ebp - 4], 0xb
call fcn.0040c2c0
push fcn.0040e540
push 2
push 0x18
lea eax, [ebp - 0x550]
push eax
call fcn.0048dbcc
lea eax, [ebp - 0x418]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x508]
call fcn.004081d0
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.004096c0
add esi, 0x30
cmp dword [esi + 0x14], 8
jb 0x45080e
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp - 0x498], 0
xor eax, eax
mov dword [ebp - 0x494], 7
mov word [ebp - 0x4a8], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450830
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x4a8]
call fcn.0040beb0
lea ecx, [ebp - 0x4d8]
mov byte [ebp - 4], 0xf
call fcn.0040c2c0
push fcn.0040e540
push 2
push 0x18
lea eax, [ebp - 0x508]
push eax
call fcn.0048dbcc
push dword [ebp - 0x564]
lea eax, [ebp - 0x4a8]
mov byte [ebp - 4], 0xe
push eax
mov edx, edi
lea ecx, [ebp - 0x4c0]
call fcn.00450060
add esp, 8
lea ecx, [ebp - 0x4a8]
mov esi, eax
call fcn.0040c2c0
lea ecx, [ebp - 0x4c0]
call fcn.0040c2c0
mov edx, dword [ebp - 0x464]
cmp edx, 0x10
jb 0x4508e3
mov ecx, dword [ebp - 0x478]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4508d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4509ae
push edx
push ecx
call fcn.0048d8eb
add esp, 8
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0xf
mov byte [ebp - 0x478], 0
mov edx, dword [ebp - 0x41c]
cmp edx, 0x10
jb 0x450938
mov ecx, dword [ebp - 0x430]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45092e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4509b3
push edx
push ecx
call fcn.0048d8eb
add esp, 8
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x41c], 0xf
mov byte [ebp - 0x430], 0
mov edx, dword [ebp - 0x47c]
cmp edx, 0x10
jb 0x450989
mov ecx, dword [ebp - 0x490]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45097f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4509b8
push edx
push ecx
call fcn.0048d8eb
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048d8b2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0040a170
call fcn.004b0023
call fcn.004b0023
call fcn.004b0023
int3