Function at 0x40a560
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x430e32
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.ProcessFileData
mov dword [esp + 0x28], esi
call fcn.00428960
call fcn.00417790
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
add esp, 4
cmp word [edi], 0x378
lea eax, [edi + 0x41]
mov dword [esp + 0x1c], eax
lea ebx, [ecx - 0x41]
jne 0x40a9b2
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x24]
push edx
push eax
push ecx
lea ebp, [edi + 3]
mov ecx, esp
mov dword [esp + 0x34], esp
push ebp
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], ebp
call fcn.00428960
mov ecx, esi
call fcn.0040adb0
push ecx
mov esi, eax
mov ecx, esp
mov dword [esp + 0x2c], esp
push ebp
call fcn.00428960
call fcn.00417790
add esp, 4
test esi, esi
je 0x40a6b0
mov ecx, dword [esi]
mov eax, dword [edi + 0x39]
push 0
push eax
mov edx, dword [ecx]
call dword [edx + 0x28]
mov ecx, dword [esi]
mov eax, dword [esp + 0x1c]
push ebx
push eax
mov edx, dword [ecx]
call dword [edx + 0x38]
add dword [esi + 0x40], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x44], eax
cmp ecx, dword [esi + 0x40]
jne 0x40a9b2
mov ecx, dword [esi]
lea eax, [esp + 0x54]
push eax
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x48], 0
mov edx, dword [ecx]
call dword [edx + 0x4c]
push ecx
lea eax, [esi + 8]
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.00428960
push ecx
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x54], 1
call fcn.00428667
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x50], 0
call fcn.0040aa00
push esi
call fcn.00428e45
mov eax, dword [esp + 0x28]
add esp, 4
mov ecx, 0x4414c0
push 1
push eax
call fcn.00427ff7
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x54]
jmp 0x40a9ad
push ebp
lea ecx, [esp + 0x14]
call fcn.00428960
push 0x43b1ec
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], 2
call fcn.0042780b
test eax, eax
jle 0x40a701
inc eax
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0042763c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 3
call fcn.004289df
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call fcn.004288f2
mov edx, dword [0x43db14]
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x10]
push str.ClientAgentSetup.exe
push eax
mov byte [esp + 0x50], 4
call fcn.0041bda7
add esp, 8
test eax, eax
jne 0x40a7f0
push str.tmp_
lea ecx, [esp + 0x2c]
push 0x441410
push ecx
call fcn.00428b3b
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4c], 5
call fcn.004289df
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 4
call fcn.004288f2
mov edx, dword [0x43db14]
mov dword [esp + 0x14], edx
mov eax, dword [0x4413dc]
lea ecx, [esp + 0x14]
add eax, 0x2c364
mov byte [esp + 0x48], 6
push eax
push str.wlg_cloud__s_.exe
push ecx
call fcn.00427b91
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x58]
push edx
call fcn.00428cbe
mov eax, dword [0x43db14]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push 0x43c90c
push edx
mov byte [esp + 0x54], 7
call fcn.00427b91
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00428667
call fcn.00417790
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 6
call fcn.004288f2
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 4
call fcn.004288f2
jmp 0x40a856
push str.config_
lea ecx, [esp + 0x2c]
push 0x441410
push ecx
call fcn.00428b3b
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4c], 8
call fcn.004289df
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 4
call fcn.004288f2
lea edx, [esp + 0x10]
lea ecx, [esp + 0x58]
push edx
call fcn.00428cbe
push str..p2p
lea ecx, [esp + 0x5c]
call fcn.00428c82
push ecx
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00428667
call fcn.00417790
add esp, 4
cmp dword [edi + 0x35], ebx
ja 0x40a8e2
lea ecx, [esp + 0x30]
call fcn.00428e50
mov ecx, dword [esp + 0x58]
push 0
push 0x1001
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 9
call fcn.00428f62
test eax, eax
je 0x40a89e
mov edx, dword [esp + 0x1c]
push ebx
push edx
lea ecx, [esp + 0x38]
call fcn.004290b9
lea ecx, [esp + 0x30]
call fcn.0042917d
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push ebp
call fcn.00428960
push ecx
lea eax, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
mov byte [esp + 0x54], 0xa
call fcn.00428667
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x50], 9
call fcn.0040aa00
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 4
call fcn.00428ea5
jmp 0x40a993
push 0x48
call fcn.00428e1c
mov ebp, eax
mov ecx, 0x12
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
push 0x10
call fcn.00428e1c
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x48], 0xb
je 0x40a916
mov ecx, eax
call fcn.00428e50
jmp 0x40a918
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword [ebp], eax
push 0
push 0x1001
mov edx, dword [ecx + 0x35]
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x3c], edx
mov ecx, dword [esp + 0x60]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov byte [esp + 0x54], 4
call dword [edx + 0x20]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 4], edx
lea edx, [ebp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov edx, dword [ecx]
call dword [edx + 0x38]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x44], eax
mov eax, dword [0x4414c8]
push ebp
push eax
mov ecx, 0x4414c0
call fcn.00427fd0
lea ecx, [esp + 0x58]
mov byte [esp + 0x48], 2
call fcn.004288f2
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004288f2
mov ecx, dword [esp + 0x20]
call fcn.0040ae30
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push str.ProcessFileData_end
call fcn.00428960
call fcn.00417790
mov ecx, dword [esp + 0x44]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc