Function at 0x408450
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Move file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x44bf11
mov eax, dword fs:[0]
push eax
sub esp, 0x860
mov eax, dword [0x45e520]
xor eax, esp
mov dword [esp + 0x858], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45e520]
xor eax, esp
push eax
lea eax, [esp + 0x874]
mov dword fs:[0], eax
mov eax, dword [esp + 0x884]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov esi, ecx
mov edi, 0xf
push eax
lea ecx, [esp + 0x1d4]
mov dword [esp + 0x1ec], edi
mov dword [esp + 0x1e8], ebx
mov byte [esp + 0x1d8], bl
call fcn.00402280
push 0xffffffffffffffff
mov dword [esp + 0x880], ebx
push ebx
push esi
lea ecx, [esp + 0x148]
mov dword [esp + 0x160], edi
mov dword [esp + 0x15c], ebx
mov byte [esp + 0x14c], bl
call fcn.00402280
mov byte [esp + 0x87c], 1
mov eax, dword [0x462410]
mov edx, dword [eax + 0xc]
mov ecx, 0x462410
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c4], edi
mov dword [esp + 0x1c0], ebx
mov byte [esp + 0x1b0], bl
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x880], 3
call fcn.00406200
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x880], 4
call fcn.00411230
mov byte [esp + 0x87c], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40856b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x103
lea ecx, [esp + 0x661]
push ebx
push ecx
mov byte [esp + 0x668], bl
call fcn.00436440
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x668]
mov ecx, eax
add esp, 0xc
mov esi, 0x104
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax + edx]
cmp cl, bl
je 0x4085b3
mov byte [eax], cl
add eax, 1
sub esi, 1
jne 0x4085a0
jmp 0x4085b7
cmp esi, ebx
jne 0x4085ba
sub eax, 1
mov byte [eax], bl
sub esp, 0x1c
mov esi, esp
lea eax, [esp + 0x678]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov dword [esp + 0x64], esp
mov byte [esi + 4], bl
lea ebp, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4085d8
sub eax, ebp
push eax
lea edx, [esp + 0x67c]
push edx
mov ecx, esi
call fcn.004024f0
sub esp, 0x1c
mov byte [esp + 0x8b4], 5
mov ecx, esp
mov dword [esp + 0x50], esp
push 4
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4529b8
mov byte [ecx + 4], bl
call fcn.004024f0
mov byte [esp + 0x8b4], 3
call fcn.004041e0
lea eax, [esp + 0x65c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x408738
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push 4
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.fail
mov byte [ecx + 4], bl
call fcn.004024f0
sub esp, 0x1c
mov byte [esp + 0x8b4], 6
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x11
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.PathIsDirectory__
mov byte [ecx + 4], bl
call fcn.004024f0
mov byte [esp + 0x8b4], 3
call fcn.004041e0
mov esi, 0x10
cmp dword [esp + 0x1c4], esi
jb 0x4086ab
mov ecx, dword [esp + 0x1b0]
push ecx
call fcn.00416c01
add esp, 4
mov byte [esp + 0x87c], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x1c4], edi
mov dword [esp + 0x1c0], ebx
mov byte [esp + 0x1b0], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4086e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x154], esi
jb 0x408701
mov ecx, dword [esp + 0x140]
push ecx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x1e0], esi
mov dword [esp + 0x154], edi
mov dword [esp + 0x150], ebx
mov byte [esp + 0x140], bl
jb 0x409e9a
mov edx, dword [esp + 0x1cc]
push edx
call fcn.00416c01
add esp, 4
jmp 0x409e9a
push 0x103
lea eax, [esp + 0x769]
push ebx
push eax
mov byte [esp + 0x770], bl
call fcn.00436440
lea eax, [esp + 0x770]
lea edx, [esp + 0x668]
mov ecx, eax
add esp, 0xc
mov esi, 0x104
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax + edx]
cmp cl, bl
je 0x408783
mov byte [eax], cl
add eax, 1
sub esi, 1
jne 0x408770
jmp 0x408787
cmp esi, ebx
jne 0x40878a
sub eax, 1
push str.srv.config
lea edx, [esp + 0x768]
push edx
mov byte [eax], bl
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov dword [esp + 0x1a8], edi
mov dword [esp + 0x1a4], ebx
mov byte [esp + 0x194], bl
mov dword [esp + 0x18c], edi
mov dword [esp + 0x188], ebx
mov byte [esp + 0x178], bl
mov byte [esp + 0x87c], 8
lea eax, [esp + 0x764]
mov dword [esp + 0x11c], edi
mov dword [esp + 0x118], ebx
mov byte [esp + 0x108], bl
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4087f0
sub eax, esi
push eax
lea eax, [esp + 0x768]
push eax
lea ecx, [esp + 0x10c]
call fcn.004024f0
mov dword [esp + 0x170], edi
mov dword [esp + 0x16c], ebx
mov byte [esp + 0x15c], bl
push ebx
mov dword [esp + fcn.004156e0], vtable.cfg::CXML.0
mov dword [esp + 0x310], edi
mov dword [esp + 0x30c], ebx
mov byte [esp + 0x2fc], bl
mov dword [esp + 0x314], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, vtable.cfg::CXmlSvr.0
mov dword [esp + 0x1e8], ebx
mov dword [esp + 0x1e4], esi
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x10c]
push ecx
lea ecx, [esp + 0x300]
mov byte [esp + 0x888], 0xb
call fcn.00402280
push 8
push 0x4526b4
lea edx, [esp + 0x1f4]
push 0x104
push edx
call fcn.00432a79
add esp, 0x10
lea ecx, [esp + 0x1e4]
mov dword [esp + 0x2f0], 8
call fcn.00414d40
test eax, eax
mov ebp, 0x10
je 0x408a65
push 6
push str.siteid
lea ecx, [esp + 0xf0]
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
call fcn.004024f0
mov byte [esp + 0x87c], 0xc
push 6
push str.system
lea ecx, [esp + 0x128]
mov dword [esp + 0x140], edi
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
call fcn.004024f0
push ebx
lea eax, [esp + 0x194]
push eax
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0x12c]
push edx
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x88c], 0xd
call fcn.004161a0
cmp dword [esp + 0x138], ebp
jb 0x408963
mov eax, dword [esp + 0x124]
push eax
call fcn.00416c01
add esp, 4
mov byte [esp + 0x87c], 0xb
cmp dword [esp + 0x100], ebp
mov dword [esp + 0x138], edi
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], bl
jb 0x408999
mov ecx, dword [esp + 0xec]
push ecx
call fcn.00416c01
add esp, 4
push 9
push str.directory
lea ecx, [esp + 0xf0]
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
call fcn.004024f0
mov byte [esp + 0x87c], 0xe
push 6
push str.system
lea ecx, [esp + 0x128]
mov dword [esp + 0x140], edi
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
call fcn.004024f0
push ebx
lea edx, [esp + 0x178]
push edx
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x12c]
push ecx
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x88c], 0xf
call fcn.004161a0
cmp dword [esp + 0x138], ebp
jb 0x408a37
mov edx, dword [esp + 0x124]
push edx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x100], ebp
mov dword [esp + 0x138], edi
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], bl
jb 0x408a65
mov eax, dword [esp + 0xec]
push eax
call fcn.00416c01
add esp, 4
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x87c], 0xa
push ecx
mov dword [esp + 0x1e8], esi
call fcn.00414c80
cmp dword [esp + 0x170], ebp
jb 0x408a9a
mov edx, dword [esp + 0x15c]
push edx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x11c], ebp
mov dword [esp + 0x170], edi
mov dword [esp + 0x16c], ebx
mov byte [esp + 0x15c], bl
jb 0x408ac8
mov eax, dword [esp + 0x108]
push eax
call fcn.00416c01
add esp, 4
mov dword [esp + 0x1c], 1
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xb4], vtable.CParseConfig.0
mov byte [esp + 0x87c], 0x11
cmp dword [esp + 0x154], ebp
mov ecx, dword [esp + 0x140]
jae 0x408b0f
lea ecx, [esp + 0x140]
lea edx, [esp + 0x94]
push edx
call fcn.00401a10
test al, al
je 0x409d8e
mov ecx, str.cfgsvr.exe
call fcn.00402fd0
test eax, eax
je 0x408b6d
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push str.fail
call fcn.004020b0
sub esp, 0x1c
mov byte [esp + 0x8b4], 0x12
mov ecx, esp
mov dword [esp + 0x50], esp
push str.KillExe_cfgsvr.exe_
call fcn.004020b0
mov byte [esp + 0x8b4], 0x11
call fcn.004041e0
call fcn.00407f30
test eax, eax
jne 0x408c1f
mov ecx, str.secsvc.exe
call fcn.00402fd0
test eax, eax
je 0x408c1f
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push str.fail
call fcn.004020b0
sub esp, 0x1c
mov byte [esp + 0x8b4], 0x13
mov ecx, esp
mov dword [esp + 0x50], esp
push str.KillExe_secsvc.exe_
call fcn.004020b0
mov byte [esp + 0x8b4], 0x11
call fcn.004041e0
push str.cfgsvr.exe
lea eax, [esp + 0x660]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
je 0x408bf6
push 1
push ebx
push ebx
lea ecx, [esp + 0x668]
push ecx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea esi, [esp + 0x94]
call fcn.00410c40
lea ecx, [esp + 0x174]
call fcn.00402120
lea ecx, [esp + 0x190]
call fcn.00402120
jmp 0x409e4e
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov byte [esp + 0x87c], 0x14
mov ebp, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
cmp ebp, eax
jbe 0x408c65
call fcn.00432c1e
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0x94]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ebp
cmp dword [esp + 0x98], eax
mov esi, eax
jbe 0x408c84
call fcn.00432c1e
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x408c97
lea ecx, [esp + 0x94]
cmp eax, ecx
je 0x408c9c
call fcn.00432c1e
cmp ebp, esi
je 0x409141
push 0x103
lea edx, [esp + 0x319]
push ebx
push edx
mov byte [esp + 0x320], bl
call fcn.00436440
add esp, 0xc
push 0x104
lea eax, [esp + 0x41c]
push ebx
push eax
call fcn.00436440
mov esi, dword [esp + 0x58]
add esp, 0xc
cmp esi, ebx
jne 0x408ce4
call fcn.00432c1e
cmp ebp, dword [esi + 8]
jb 0x408cee
call fcn.00432c1e
push ebp
lea edx, [esp + 0x660]
lea esi, [esp + 0x318]
call fcn.004034c0
test eax, eax
je 0x4090df
mov ecx, esi
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x4090df
mov esi, dword [esp + 0x4c]
cmp ebp, dword [esi + 8]
jb 0x408d29
call fcn.00432c1e
push ebp
lea edx, [esp + 0x318]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp + 0x51c]
push eax
lea ecx, [esp + 0x318]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x408fc4
push ebx
call fcn.00433fb9
mov dword [esp + 0xc0], edx
add esp, 4
lea edx, [esp + 0xb8]
push edx
mov ecx, str.._Y_m_d_H_M_S
lea edi, [esp + 0x1c]
mov dword [esp + 0xbc], eax
call fcn.00402e40
mov byte [esp + 0x87c], 0x15
mov eax, dword [eax]
push eax
lea ecx, [esp + 0xec]
call fcn.004020b0
mov byte [esp + 0x87c], 0x17
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408dc3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, 0x104
lea eax, [esp + 0x418]
nop
mov cl, byte [eax - 0x104]
cmp cl, bl
je 0x408de6
mov byte [eax], cl
add eax, 1
sub edx, 1
jne 0x408dd0
jmp 0x408dea
cmp edx, ebx
jne 0x408ded
sub eax, 1
cmp dword [esp + 0x100], 0x10
mov byte [eax], bl
mov eax, dword [esp + 0xec]
jae 0x408e07
lea eax, [esp + 0xec]
push eax
lea edi, [esp + 0x41c]
call fcn.00402f30
lea ecx, [esp + 0x314]
push ecx
lea ecx, [esp + 0x108]
call fcn.004020b0
lea ebx, [esp + 0xd8]
lea edi, [esp + 0x104]
mov byte [esp + 0x87c], 0x18
call fcn.004109e0
mov esi, dword [eax]
mov ebp, dword [eax + 4]
lea ebx, [esp + 0xe0]
call fcn.00410a30
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ebx, [esp + 0xc8]
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], eax
call fcn.004109e0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ebp
xor ebx, ebx
push esi
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0xbc]
mov byte [esp + 0x50], bl
mov edx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0xd0]
push ecx
push edx
lea ecx, [esp + 0xe4]
push ecx
call fcn.00412f70
add esp, 0x18
push 7
push str.log.dat
mov edx, edi
push edx
call fcn.00402360
cmp eax, 0xffffffff
je 0x408efd
cmp eax, dword [esp + 0x118]
jae 0x408efd
lea ecx, [esp + 0x314]
call fcn.004075f0
test eax, eax
jne 0x408efd
lea ecx, [esp + 0x104]
call fcn.00402120
lea ecx, [esp + 0xe8]
mov byte [esp + 0x87c], 0x14
call fcn.00402120
xor ebx, ebx
jmp 0x409026
lea eax, [esp + 0x418]
push eax
lea ecx, [esp + 0x318]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x409055
lea eax, [esp + 0x314]
lea esi, [esp + 0xa4]
call fcn.00410c70
lea esi, [esp + 0x4c]
call fcn.00410d10
mov edx, dword [eax + 0x104]
push edx
lea ecx, [esp + 0x318]
call fcn.00403670
test eax, eax
jne 0x408ed6
lea ecx, [esp + 0xa4]
push ecx
call fcn.00403840
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 0x452a44
call fcn.004020b0
sub esp, 0x1c
mov byte [esp + 0x8b4], 0x19
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x452a54
call fcn.004020b0
mov byte [esp + 0x8b4], 0x18
call fcn.004041e0
lea ecx, [esp + 0x104]
mov dword [esp + 0x1c], ebx
call fcn.00402120
lea ecx, [esp + 0xe8]
mov byte [esp + 0x87c], 0x14
call fcn.00402120
xor ebx, ebx
lea edi, [ebx + 0xf]
jmp 0x409141
sub esp, 0x1c
lea eax, [esp + 0x330]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.004020b0
sub esp, 0x1c
mov byte [esp + 0x8b4], 0x1b
mov ecx, esp
mov dword [esp + 0x8c], esp
push 0x452a84
call fcn.004020b0
mov byte [esp + 0x8b4], 0x14
call fcn.004041e0
cmp ebp, dword [esi + 8]
jb 0x40900f
call fcn.00432c1e
mov ecx, dword [ebp + 0x104]
push ecx
lea ecx, [esp + 0x318]
call fcn.00403670
test eax, eax
je 0x409090
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
cmp eax, dword [edx + 8]
jb 0x409038
call fcn.00432c1e
add dword [esp + 0x50], 0x214
mov eax, dword [esp + 0x9c]
mov ebp, dword [esp + 0x50]
mov edi, 0xf
jmp 0x408c74
lea edx, [esp + 0xa4]
push edx
call fcn.00403840
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 0x452fa8
call fcn.004020b0
sub esp, 0x1c
mov byte [esp + 0x8b4], 0x1a
mov ecx, esp
mov dword [esp + 0x58], esp
push str.return_FALSE
jmp 0x408f84
lea eax, [esp + 0xa4]
push eax
call fcn.00403840
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 0x452a44
call fcn.004020b0
sub esp, 0x1c
mov byte [esp + 0x8b4], 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x452a54
call fcn.004020b0
mov byte [esp + 0x8b4], 0x14
call fcn.004041e0
mov edi, 0xf
jmp 0x40913d
lea ecx, [esp + 0xa4]
push ecx
call fcn.00403840
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 5
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.fail_
mov byte [ecx + 4], bl
call fcn.004024f0
sub esp, 0x1c
mov byte [esp + 0x8b4], 0x1d
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x24
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.BuildPath
mov byte [ecx + 4], bl
call fcn.004024f0
mov byte [esp + 0x8b4], 0x14
call fcn.004041e0
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x764]
mov dword [esp + 0x170], edi
mov dword [esp + 0x16c], ebx
mov byte [esp + 0x15c], bl
lea ebp, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x409160
sub eax, ebp
push eax
lea edx, [esp + 0x768]
push edx
lea ecx, [esp + 0x160]
call fcn.004024f0
mov dword [esp + 0x138], edi
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], bl
push ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + fcn.004156e0], vtable.cfg::CXML.0
mov dword [esp + 0x310], edi
mov dword [esp + 0x30c], ebx
mov byte [esp + 0x2fc], bl
mov dword [esp + 0x314], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [esp + 0x1e8], ebx
mov dword [esp + fcn.004156e0], vtable.cfg::CXmlSvr.0
cmp dword [esp + 0x1c], ebx
mov byte [esp + 0x87c], 0x20
je 0x4098a0
cmp dword [esp + 0x1dc], ebx
je 0x4098a0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x160]
push eax
lea ecx, [esp + 0x300]
call fcn.00402280
push 8
push 0x4526b4
lea ecx, [esp + 0x1f4]
push 0x104
push ecx
call fcn.00432a79
add esp, 0x10
lea ecx, [esp + 0x1e4]
mov dword [esp + 0x2f0], 8
call fcn.00414d40
test eax, eax
je 0x409854
push ebx
push 0x4526a4
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.004024f0
mov byte [esp + 0x87c], 0x21
push 5
push str.value
lea ecx, [esp + 0xf0]
mov dword [esp + 0x108], edi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
call fcn.004024f0
mov byte [esp + 0x87c], 0x22
push 0xb
push str.nettime.dll
lea ecx, [esp + 0x10c]
mov dword [esp + 0x124], edi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
call fcn.004024f0
push str.file
lea ecx, [esp + 0x7c]
mov byte [esp + 0x880], 0x23
call fcn.004020b0
push str.signature
lea ecx, [esp + 0x60]
mov byte [esp + 0x880], 0x24
call fcn.004020b0
push ebx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x110]
push ecx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x894], 0x25
call fcn.004156e0
mov esi, 0x10
cmp dword [esp + 0x74], esi
jb 0x409340
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x90], esi
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jb 0x409362
mov edx, dword [esp + 0x7c]
push edx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x11c], esi
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
jb 0x40938d
mov eax, dword [esp + 0x108]
push eax
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x100], esi
mov dword [esp + 0x11c], edi
mov dword [esp + 0x118], ebx
mov byte [esp + 0x108], bl
jb 0x4093bb
mov ecx, dword [esp + 0xec]
push ecx
call fcn.00416c01
add esp, 4
mov byte [esp + 0x87c], 0x20
cmp dword [esp + 0x44], esi
mov dword [esp + 0x100], edi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
jb 0x4093eb
mov edx, dword [esp + 0x30]
push edx
call fcn.00416c01
add esp, 4
push 0x4526a4
lea ecx, [esp + 0x108]
call fcn.004020b0
push str.file
lea ecx, [esp + 0xec]
mov byte [esp + 0x880], 0x26
call fcn.004020b0
push str.nettime.dll
lea ecx, [esp + 0x60]
mov byte [esp + 0x880], 0x27
call fcn.004020b0
push str.file
lea ecx, [esp + 0x7c]
mov byte [esp + 0x880], 0x28
call fcn.004020b0
push str.signature
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 0x29
call fcn.004020b0
push ebx
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x894], 0x2a
call fcn.004156e0
cmp dword [esp + 0x44], esi
jb 0x4094a1
mov edx, dword [esp + 0x30]
push edx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x90], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x4094c3
mov eax, dword [esp + 0x7c]
push eax
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x74], esi
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
jb 0x4094e8
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x100], esi
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jb 0x40950d
mov edx, dword [esp + 0xec]
push edx
call fcn.00416c01
add esp, 4
mov byte [esp + 0x87c], 0x20
cmp dword [esp + 0x11c], esi
mov dword [esp + 0x100], edi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
jb 0x409543
mov eax, dword [esp + 0x108]
push eax
call fcn.00416c01
add esp, 4
push str.version
lea ecx, [esp + 0xec]
call fcn.004020b0
push str.Security_Service
lea ecx, [esp + 0x60]
mov byte [esp + 0x880], 0x2b
call fcn.004020b0
push str.product
lea ecx, [esp + 0x7c]
mov byte [esp + 0x880], 0x2c
call fcn.004020b0
push str.software
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 0x2d
call fcn.004020b0
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0xec]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x1f8]
mov byte [esp + 0x890], 0x2e
call fcn.00416450
cmp dword [esp + 0x44], esi
jb 0x4095df
mov eax, dword [esp + 0x30]
push eax
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x90], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x409601
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x74], esi
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
jb 0x409626
mov edx, dword [esp + 0x60]
push edx
call fcn.00416c01
add esp, 4
mov byte [esp + 0x87c], 0x20
cmp dword [esp + 0x100], esi
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jb 0x409653
mov eax, dword [esp + 0xec]
push eax
call fcn.00416c01
add esp, 4
push str.siteid
lea ecx, [esp + 0x7c]
call fcn.004020b0
push str.system
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 0x2f
call fcn.004020b0
push ebx
lea ecx, [esp + 0x194]
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x88c], 0x30
call fcn.004153f0
cmp dword [esp + 0x44], esi
jb 0x4096b4
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00416c01
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x87c], 0x20
call fcn.00402120
push str.directory
lea ecx, [esp + 0x60]
call fcn.004020b0
push str.system
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 0x31
call fcn.004020b0
push ebx
lea edx, [esp + 0x178]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x88c], 0x32
call fcn.004153f0
lea ecx, [esp + 0x2c]
call fcn.00402120
lea ecx, [esp + 0x5c]
mov byte [esp + 0x87c], 0x20
call fcn.00402120
push str.version
lea ecx, [esp + 0xec]
call fcn.004020b0
push str.Security_Service
lea ecx, [esp + 0x60]
mov byte [esp + 0x880], 0x33
call fcn.004020b0
push str.product
lea ecx, [esp + 0x7c]
mov byte [esp + 0x880], 0x34
call fcn.004020b0
push str.software
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 0x35
call fcn.004020b0
push ebx
lea edx, [esp + 0x1cc]
push edx
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x894], 0x36
call fcn.004156e0
test eax, eax
lea ecx, [esp + 0x2c]
sete byte [esp + 0x27]
call fcn.00402120
lea ecx, [esp + 0x78]
call fcn.00402120
lea ecx, [esp + 0x5c]
call fcn.00402120
lea ecx, [esp + 0xe8]
mov byte [esp + 0x87c], 0x20
call fcn.00402120
cmp byte [esp + 0x27], bl
je 0x40984a
lea ecx, [esp + 0xa4]
push ecx
call fcn.00403840
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 0x453014
mov dword [esp + 0x3c], ebx
call fcn.004020b0
sub esp, 0x1c
mov byte [esp + 0x8b4], 0x37
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x452b74
call fcn.004020b0
mov byte [esp + 0x8b4], 0x20
call fcn.004041e0
jmp 0x4098a5
mov dword [esp + 0x18], 1
jmp 0x4098a5
lea edx, [esp + 0xa4]
push edx
call fcn.00403840
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 0x45301c
mov dword [esp + 0x3c], ebx
call fcn.004020b0
sub esp, 0x1c
mov byte [esp + 0x8b4], 0x38
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x452b74
call fcn.004020b0
mov byte [esp + 0x8b4], 0x20
call fcn.004041e0
mov esi, 0x10
push str.cfgsvr.exe
lea eax, [esp + 0x660]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
cmp dword [esp + 0x1c], ebx
mov ebp, dword [sym.imp.SHELL32.dll_ShellExecuteA]
je 0x4098f4
push 1
push ebx
push ebx
lea ecx, [esp + 0x668]
push ecx
push str.open
push ebx
call ebp
cmp eax, 0x20
jl 0x4098e3
jne 0x409c23
lea edx, [esp + 0xa4]
push edx
call fcn.00403840
mov dword [esp + 0x1c], ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 0x453064
call fcn.004020b0
sub esp, 0x1c
mov byte [esp + 0x8b4], 0x3e
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x453080
call fcn.004020b0
mov byte [esp + 0x8b4], 0x20
call fcn.004041e0
cmp dword [esp + 0x18], ebx
je 0x409a4a
push str.version
lea ecx, [esp + 0xec]
call fcn.004020b0
push str.Security_Service
lea ecx, [esp + 0x60]
mov byte [esp + 0x880], 0x3f
call fcn.004020b0
push str.product
lea ecx, [esp + 0x7c]
mov byte [esp + 0x880], 0x40
call fcn.004020b0
push str.software
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 0x41
call fcn.004020b0
push ebx
lea edx, [esp + 0x124]
push edx
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x894], 0x42
call fcn.004156e0
cmp dword [esp + 0x44], esi
jb 0x4099d6
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x90], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
jb 0x4099f8
mov edx, dword [esp + 0x7c]
push edx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x74], esi
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
jb 0x409a1d
mov eax, dword [esp + 0x60]
push eax
call fcn.00416c01
add esp, 4
mov byte [esp + 0x87c], 0x20
cmp dword [esp + 0x100], esi
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jb 0x409a4a
mov ecx, dword [esp + 0xec]
push ecx
call fcn.00416c01
add esp, 4
mov ecx, str.Security_Server
call fcn.004077d0
push 1
push ebx
push ebx
lea edx, [esp + 0x668]
push edx
push str.open
push ebx
call ebp
lea eax, [esp + 0x1e4]
mov byte [esp + 0x87c], 0x1f
push eax
mov dword [esp + fcn.004156e0], vtable.cfg::CXmlSvr.0
call fcn.00414c80
cmp dword [esp + 0x138], esi
jb 0x409aa1
mov ecx, dword [esp + 0x124]
push ecx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x170], esi
mov dword [esp + 0x138], edi
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], bl
jb 0x409acf
mov edx, dword [esp + 0x15c]
push edx
call fcn.00416c01
add esp, 4
mov eax, dword [esp + 0xa8]
cmp eax, ebx
mov dword [esp + 0x170], edi
mov dword [esp + 0x16c], ebx
mov byte [esp + 0x15c], bl
je 0x409af8
push eax
call fcn.00416c01
add esp, 4
mov eax, dword [esp + 0x98]
cmp eax, ebx
je 0x409b0c
push eax
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x18c], esi
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
jb 0x409b3a
mov eax, dword [esp + 0x178]
push eax
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x1a8], esi
mov dword [esp + 0x18c], edi
mov dword [esp + 0x188], ebx
mov byte [esp + 0x178], bl
jb 0x409b68
mov ecx, dword [esp + 0x194]
push ecx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x1c4], esi
mov dword [esp + 0x1a8], edi
mov dword [esp + 0x1a4], ebx
mov byte [esp + 0x194], bl
jb 0x409b96
mov edx, dword [esp + 0x1b0]
push edx
call fcn.00416c01
add esp, 4
mov byte [esp + 0x87c], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x1c4], edi
mov dword [esp + 0x1c0], ebx
mov byte [esp + 0x1b0], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409bd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x154], esi
jb 0x409bec
mov ecx, dword [esp + 0x140]
push ecx
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x1e0], esi
mov dword [esp + 0x154], edi
mov dword [esp + 0x150], ebx
mov byte [esp + 0x140], bl
jb 0x409c1a
mov edx, dword [esp + 0x1cc]
push edx
call fcn.00416c01
add esp, 4
mov eax, dword [esp + 0x1c]
jmp 0x409e9c
mov ecx, str.Security_Server
call fcn.004077d0
test eax, eax
jne 0x409d7c
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, str.cfgsvr.exe
call fcn.00402fd0
cmp dword [esp + 0x18], ebx
je 0x409d0d
push str.version
lea ecx, [esp + 0xec]
call fcn.004020b0
push str.Security_Service
lea ecx, [esp + 0x60]
mov byte [esp + 0x880], 0x39
call fcn.004020b0
push str.product
lea ecx, [esp + 0x7c]
mov byte [esp + 0x880], 0x3a
call fcn.004020b0
push str.software
lea ecx, [esp + 0x30]
mov byte [esp + 0x880], 0x3b
call fcn.004020b0
push ebx
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x894], 0x3c
call fcn.004156e0
lea ecx, [esp + 0x2c]
call fcn.00402120
lea ecx, [esp + 0x78]
call fcn.00402120
lea ecx, [esp + 0x5c]
call fcn.00402120
lea ecx, [esp + 0xe8]
mov byte [esp + 0x87c], 0x20
call fcn.00402120
lea edx, [esp + 0xa4]
push edx
call fcn.00403840
mov ecx, str.Security_Server
call fcn.004077d0
push 1
push ebx
push ebx
lea eax, [esp + 0x668]
push eax
push str.open
push ebx
call ebp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 0x453024
mov dword [esp + 0x3c], ebx
call fcn.004020b0
sub esp, 0x1c
mov byte [esp + 0x8b4], 0x3d
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x453058
call fcn.004020b0
mov byte [esp + 0x8b4], 0x20
call fcn.004041e0
jmp 0x409a68
lea ecx, [esp + 0xa4]
push ecx
call fcn.00403db0
jmp 0x409a68
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 0x452ae4
call fcn.004020b0
sub esp, 0x1c
mov byte [esp + 0x8b4], 0x43
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x452af8
call fcn.004020b0
mov byte [esp + 0x8b4], 0x11
call fcn.004041e0
mov eax, dword [esp + 0x98]
cmp eax, ebx
je 0x409ddd
push eax
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x18c], ebp
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
jb 0x409e0b
mov eax, dword [esp + 0x178]
push eax
call fcn.00416c01
add esp, 4
cmp dword [esp + 0x1a8], ebp
mov dword [esp + 0x18c], edi
mov dword [esp + 0x188], ebx
mov byte [esp + 0x178], bl
jb 0x409e39
mov ecx, dword [esp + 0x194]
push ecx
call fcn.00416c01
add esp, 4
mov dword [esp + 0x1a8], edi
mov dword [esp + 0x1a4], ebx
mov byte [esp + 0x194], bl
lea ecx, [esp + 0x1ac]
call fcn.00402120
mov byte [esp + 0x87c], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409e82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x13c]
call fcn.00402120
lea ecx, [esp + 0x1c8]
call fcn.00402120
xor eax, eax
mov ecx, dword [esp + 0x874]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x858]
xor ecx, esp
call fcn.004322f2
add esp, 0x86c
ret 4