Function at 0x5d7920
Capabilities:
Check for time delay via gettickcount
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e6f54
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x676580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp + 0xc]
add ecx, 8
call fcn.00493020
push eax
call fcn.0052488b
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 4
call fcn.00493020
push eax
call fcn.0052488b
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00493020
push eax
call fcn.0052488b
add esp, 4
push eax
call fcn.0055d840
mov ecx, eax
call fcn.0055d6e0
lea ecx, [ebp - 0x14]
call fcn.00403290
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0
jg 0x5d79cd
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403270
mov eax, dword [ebp - 0x60]
jmp 0x5d7d4d
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00402050
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040ee60
movzx edx, al
test edx, edx
je 0x5d7a51
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc], 0
je 0x5d7a51
lea ecx, [ebp - 0x5c]
call fcn.00459d70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
add edx, 8
push edx
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x70]
call fcn.005d7090
test eax, eax
jne 0x5d7a39
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0045afe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403270
jmp 0x5d7cd5
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040ca60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0045afe0
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x70]
call fcn.005d4970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.0040ee60
movzx eax, al
test eax, eax
je 0x5d7a9a
push str.create_temp_dir
lea ecx, [ebp - 0x14]
call fcn.0040b1c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00403270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403270
jmp 0x5d7cd5
lea ecx, [ebp - 0x30]
push ecx
call fcn.0057a000
add esp, 4
lea ecx, [ebp - 0x18]
call fcn.00403290
mov byte [ebp - 4], 4
push 0
lea edx, [ebp - 0x2c]
push edx
call fcn.00579de0
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00493020
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00579d00
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x18], 2
jne 0x5d7afe
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str._x.exe
lea edx, [ebp - 0x20]
push edx
call fcn.00403240
add esp, 0xc
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push 0x634a80
lea edx, [ebp - 0x18]
push edx
call fcn.00403240
add esp, 0x10
push 0
lea ecx, [ebp - 0x18]
call fcn.00493020
push eax
lea ecx, [ebp - 0x2c]
call fcn.00493020
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x5d7b83
push str.copy_temp_file
lea ecx, [ebp - 0x14]
call fcn.0040b1c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00403270
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00403270
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00403270
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00403270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403270
jmp 0x5d7cd5
lea ecx, [ebp - 0x1c]
call fcn.00403290
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.0040ee60
movzx eax, al
test eax, eax
jne 0x5d7c38
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push str._s_x
lea edx, [ebp - 0x1c]
push edx
call fcn.00403240
add esp, 0x10
push 0
lea ecx, [ebp - 0x1c]
call fcn.00493020
push eax
lea ecx, [ebp - 0x28]
call fcn.00493020
push eax
call fcn.0057a840
add esp, 0xc
test eax, eax
jne 0x5d7c38
push str.copy_temp_res
lea ecx, [ebp - 0x14]
call fcn.0040b1c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.00403270
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00403270
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00403270
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00403270
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00403270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403270
jmp 0x5d7cd5
lea ecx, [ebp - 0x24]
call fcn.00403290
mov byte [ebp - 4], 8
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x70]
call fcn.005d54c0
push 1
push 0
lea ecx, [ebp - 0x24]
call fcn.00493020
push eax
lea ecx, [ebp - 0x18]
call fcn.00493020
push eax
call fcn.005c0e90
add esp, 0x10
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.00403270
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.00403270
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00403270
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00403270
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00403270
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00403270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403270
xor edx, edx
jne 0x5d79cd
cmp dword [ebp - 0x10], 0
je 0x5d7d34
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x634ad4
call fcn.004092b0
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 9
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00402050
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 0xa
push 0
call fcn.0055d840
mov byte [ebp - 4], 0
mov ecx, eax
call fcn.0055d740
call fcn.0055d840
mov ecx, eax
call fcn.0055d8c0
mov dword [ebp - 0x6c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403270
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8