Function at 0x10023260
Capabilities:
Check for time delay via gettickcount
Copy file
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004d5f3
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov eax, dword [0x10061c90]
mov dword [ebp - 0xf8], eax
lea edx, [ebp - 0xf8]
mov eax, 0x1005fbb4
mov dword [ebp - 0x108], ecx
call fcn.10004c60
mov eax, dword [eax]
cmp dword [eax + 0xc], 8
mov dword [ebp - 0xf8], eax
jne 0x100234b8
cmp dword [0x10061d3c], 0x10
mov eax, dword [0x10061d28]
jae 0x100232de
mov eax, 0x10061d28
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp dword [0x10061ba8], 0
mov dword [ebp - 0x100], eax
jne 0x10023330
push 1
call fcn.10032d50
mov esi, eax
add esp, 4
test esi, esi
je 0x10023329
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10036f81
add esp, 4
mov eax, esi
jmp 0x1002332b
xor eax, eax
mov dword [0x10061ba8], eax
call fcn.10036f93
cdq
xor eax, edx
sub eax, edx
cdq
mov ecx, 0x1e
idiv ecx
lea esi, [edx + 1]
shl esi, 0xc
push esi
mov dword [ebp - 0x10c], esi
call fcn.10034252
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10023407
xor edi, edi
cmp edi, esi
jae 0x100233b8
cmp dword [0x10061ba8], 0
jne 0x1002339f
push 1
call fcn.10032d50
mov esi, eax
add esp, 4
test esi, esi
je 0x10023391
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10036f81
add esp, 4
jmp 0x10023393
xor esi, esi
mov dword [0x10061ba8], esi
mov esi, dword [ebp - 0x10c]
call fcn.10036f93
cdq
xor eax, edx
sub eax, edx
cdq
mov ecx, 0xff
idiv ecx
inc edi
mov byte [edi + ebx - 1], dl
jmp 0x10023363
mov edi, dword [ebp - 0x100]
lea edx, [ebp - 0x104]
push edx
push edi
mov dword [ebp - 0x104], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0xfc]
push eax
push esi
push ebx
push edi
mov dword [ebp - 0xfc], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call fcn.10034d29
add esp, 4
mov ecx, dword [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x84], 0
push 1
mov eax, 0x100547dc
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.10002620
push 0
push 0x10061d28
or eax, 0xffffffff
lea esi, [ebp - 0x84]
call fcn.10002530
mov edx, dword [ebp - 0xf8]
push 0
add edx, 0xe0
push edx
or eax, 0xffffffff
call fcn.10002530
push 1
mov eax, 0x100547dc
mov ecx, esi
call fcn.10002620
mov dword [ebp - 0xfc], vtable.SysService.0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x84]
mov esi, 0x10
cmp dword [ebp - 0x70], esi
jae 0x1002349d
lea ecx, [ebp - 0x84]
push 1
call fcn.1002fd90
cmp dword [ebp - 0x70], esi
jb 0x100234b8
mov eax, dword [ebp - 0x84]
push eax
call fcn.10032d80
add esp, 4
mov dword [ebp - 0xfc], vtable.AdInfoService.0
push 0x10061d0c
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xf8]
push 0x10061cf0
push 0x10061d44
mov ecx, 0x10061d28
call fcn.1000c5c0
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x1c]
add esp, 0xc
mov dword [ebp - method.SysService.virtual_0], vtable.SysService.0
push eax
lea esi, [ebp - 0xf4]
mov byte [ebp - 4], 4
call fcn.1002fe70
mov dword [ebp - method.FileService.virtual_0], vtable.FileService.0
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.100209a0
push str..tmp
mov eax, edi
push eax
lea ecx, [ebp - 0x68]
push ecx
mov byte [ebp - 4], 7
call fcn.10002410
add esp, 0xc
mov esi, eax
mov edx, edi
mov ebx, 0x10
cmp edx, esi
je 0x1002359c
cmp dword [ebp - 0x1c], ebx
jb 0x1002355a
mov eax, dword [ebp - 0x30]
push eax
call fcn.10032d80
add esp, 4
xor edi, edi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
cmp dword [esi + 0x14], ebx
jae 0x10023583
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.10034ee0
add esp, 0xc
jmp 0x1002358a
mov edx, dword [esi]
mov dword [ebp - 0x30], edx
mov dword [esi], edi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x1c], ecx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov byte [ebp - 4], 7
cmp dword [ebp - 0x54], ebx
jb 0x100235b1
mov edx, dword [ebp - 0x68]
push edx
call fcn.10032d80
add esp, 4
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], ebx
jae 0x100235bc
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0xf4]
cmp dword [ebp - 0xe0], ebx
jae 0x100235d0
lea eax, [ebp - 0xf4]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x68]
push 0x100547dc
push eax
lea ebx, [ebp - 0x30]
call fcn.1001de00
add esp, 8
mov esi, eax
mov ecx, ebx
mov edi, 0x10
cmp ecx, esi
je 0x1002364f
cmp dword [ebp - 0x1c], edi
jb 0x1002360c
mov edx, dword [ebp - 0x30]
push edx
call fcn.10032d80
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [esi + 0x14], edi
jae 0x10023634
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.10034ee0
add esp, 0xc
jmp 0x1002363b
mov ecx, dword [esi]
mov dword [ebp - 0x30], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
jmp 0x10023651
xor ebx, ebx
mov byte [ebp - 4], 7
cmp dword [ebp - 0x54], edi
jb 0x10023666
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.10032d80
add esp, 4
push 0x100547dc
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.10002410
add esp, 0xc
mov esi, eax
lea ecx, [ebp - 0x30]
cmp ecx, esi
je 0x100236d4
cmp dword [ebp - 0x1c], edi
jb 0x10023695
mov edx, dword [ebp - 0x30]
push edx
call fcn.10032d80
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [esi + 0x14], edi
jae 0x100236bb
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.10034ee0
add esp, 0xc
jmp 0x100236c2
mov ecx, dword [esi]
mov dword [ebp - 0x30], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x20], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
cmp dword [ebp - 0x54], edi
jb 0x100236e5
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.10032d80
add esp, 4
mov eax, 0xf
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 0xb
push 9
push str.RunDll32
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], ebx
mov byte [ebp - 0xa0], bl
call fcn.100028b0
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0xa0]
lea ebx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
call fcn.100024f0
push eax
mov eax, 0x100535a4
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xd
call fcn.1000b710
add esp, 4
push eax
mov eax, 0x100547e8
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xe
call fcn.1000b710
add esp, 4
mov esi, eax
lea edx, [ebp - 0x4c]
cmp edx, esi
je 0x100237bd
cmp dword [ebp - 0x38], edi
jb 0x1002377a
mov eax, dword [ebp - 0x4c]
push eax
call fcn.10032d80
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [esi + 0x14], edi
jae 0x100237a2
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x4c]
push esi
push ecx
call fcn.10034ee0
add esp, 0xc
jmp 0x100237a9
mov edx, dword [esi]
mov dword [ebp - 0x4c], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x3c], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x38], ecx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
jmp 0x100237bf
xor ebx, ebx
cmp dword [ebp - 0xc4], edi
jb 0x100237d6
mov edx, dword [ebp - 0xd8]
push edx
call fcn.10032d80
add esp, 4
mov dword [ebp - 0xc4], 0xf
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
cmp dword [ebp - 0xa8], edi
jb 0x10023803
mov eax, dword [ebp - 0xbc]
push eax
call fcn.10032d80
add esp, 4
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
cmp dword [ebp - 0x54], edi
jb 0x1002382a
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.10032d80
add esp, 4
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
cmp dword [ebp - 0x8c], edi
jb 0x10023852
mov edx, dword [ebp - 0xa0]
push edx
call fcn.10032d80
add esp, 4
mov ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], edi
jae 0x1002385d
lea ecx, [ebp - 0x4c]
push ebx
call fcn.1002fd90
push 0xffffffffffffffff
push ebx
push 0x10061c94
mov ecx, 0x100a1e38
call fcn.10002da0
cmp dword [ebp - 0x38], edi
jb 0x10023886
mov eax, dword [ebp - 0x4c]
push eax
call fcn.10032d80
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp dword [ebp - 0x1c], edi
jb 0x100238a5
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10032d80
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0xe0], edi
jb 0x100238c5
mov edx, dword [ebp - 0xf4]
push edx
call fcn.10032d80
add esp, 4
mov eax, 0x15
jmp 0x100238d7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10034d1a
mov esp, ebp
pop ebp
ret