Function at 0x10023110
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 0x1004d5e3
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.10032780
mov eax, dword [eax]
cmp dword [eax + 0xc], 8
mov dword [ebp - 0xf8], eax
jne 0x10023368
cmp dword [0x10061d3c], 0x10
mov eax, dword [0x10061d28]
jae 0x1002318e
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 0x100231e0
push 1
call fcn.10032ce0
mov esi, eax
add esp, 4
test esi, esi
je 0x100231d9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10036f11
add esp, 4
mov eax, esi
jmp 0x100231db
xor eax, eax
mov dword [0x10061ba8], eax
call fcn.10036f23
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.100341e2
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100232b7
xor edi, edi
cmp edi, esi
jae 0x10023268
cmp dword [0x10061ba8], 0
jne 0x1002324f
push 1
call fcn.10032ce0
mov esi, eax
add esp, 4
test esi, esi
je 0x10023241
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10036f11
add esp, 4
jmp 0x10023243
xor esi, esi
mov dword [0x10061ba8], esi
mov esi, dword [ebp - 0x10c]
call fcn.10036f23
cdq
xor eax, edx
sub eax, edx
cdq
mov ecx, 0xff
idiv ecx
inc edi
mov byte [edi + ebx - 1], dl
jmp 0x10023213
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.10034cb9
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, 0x100547b4
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 1
call fcn.10002650
push 0
push 0x10061d28
or eax, 0xffffffff
lea esi, [ebp - 0x84]
call fcn.10002560
mov edx, dword [ebp - 0xf8]
push 0
add edx, 0xe0
push edx
or eax, 0xffffffff
call fcn.10002560
push 1
mov eax, 0x100547b4
mov ecx, esi
call fcn.10002650
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 0x1002334d
lea ecx, [ebp - 0x84]
push 1
call fcn.1002fbc0
cmp dword [ebp - 0x70], esi
jb 0x10023368
mov eax, dword [ebp - 0x84]
push eax
call fcn.10032d10
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.1000c540
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.1002fca0
mov dword [ebp - method.FileService.virtual_0], vtable.FileService.0
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.10020860
push str..tmp
mov eax, edi
push eax
lea ecx, [ebp - 0x68]
push ecx
mov byte [ebp - 4], 7
call fcn.10002440
add esp, 0xc
mov esi, eax
mov edx, edi
mov ebx, 0x10
cmp edx, esi
je 0x1002344c
cmp dword [ebp - 0x1c], ebx
jb 0x1002340a
mov eax, dword [ebp - 0x30]
push eax
call fcn.10032d10
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 0x10023433
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.10034e70
add esp, 0xc
jmp 0x1002343a
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 0x10023461
mov edx, dword [ebp - 0x68]
push edx
call fcn.10032d10
add esp, 4
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], ebx
jae 0x1002346c
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0xf4]
cmp dword [ebp - 0xe0], ebx
jae 0x10023480
lea eax, [ebp - 0xf4]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x68]
push 0x100547b4
push eax
lea ebx, [ebp - 0x30]
call fcn.1001dcc0
add esp, 8
mov esi, eax
mov ecx, ebx
mov edi, 0x10
cmp ecx, esi
je 0x100234ff
cmp dword [ebp - 0x1c], edi
jb 0x100234bc
mov edx, dword [ebp - 0x30]
push edx
call fcn.10032d10
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 0x100234e4
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.10034e70
add esp, 0xc
jmp 0x100234eb
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 0x10023501
xor ebx, ebx
mov byte [ebp - 4], 7
cmp dword [ebp - 0x54], edi
jb 0x10023516
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.10032d10
add esp, 4
push 0x100547b4
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.10002440
add esp, 0xc
mov esi, eax
lea ecx, [ebp - 0x30]
cmp ecx, esi
je 0x10023584
cmp dword [ebp - 0x1c], edi
jb 0x10023545
mov edx, dword [ebp - 0x30]
push edx
call fcn.10032d10
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [esi + 0x14], edi
jae 0x1002356b
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.10034e70
add esp, 0xc
jmp 0x10023572
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 0x10023595
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.10032d10
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.100028f0
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0xa0]
lea ebx, [ebp - 0x68]
mov byte [ebp - 4], 0xc
call fcn.10002520
push eax
mov eax, 0x100535a4
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xd
call fcn.1000b690
add esp, 4
push eax
mov eax, 0x100547c0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xe
call fcn.1000b690
add esp, 4
mov esi, eax
lea edx, [ebp - 0x4c]
cmp edx, esi
je 0x1002366d
cmp dword [ebp - 0x38], edi
jb 0x1002362a
mov eax, dword [ebp - 0x4c]
push eax
call fcn.10032d10
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 0x10023652
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x4c]
push esi
push ecx
call fcn.10034e70
add esp, 0xc
jmp 0x10023659
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 0x1002366f
xor ebx, ebx
cmp dword [ebp - 0xc4], edi
jb 0x10023686
mov edx, dword [ebp - 0xd8]
push edx
call fcn.10032d10
add esp, 4
mov dword [ebp - 0xc4], 0xf
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
cmp dword [ebp - 0xa8], edi
jb 0x100236b3
mov eax, dword [ebp - 0xbc]
push eax
call fcn.10032d10
add esp, 4
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
cmp dword [ebp - 0x54], edi
jb 0x100236da
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.10032d10
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 0x10023702
mov edx, dword [ebp - 0xa0]
push edx
call fcn.10032d10
add esp, 4
mov ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], edi
jae 0x1002370d
lea ecx, [ebp - 0x4c]
push ebx
call fcn.1002fbc0
push 0xffffffffffffffff
push ebx
push 0x10061c94
mov ecx, 0x100a1e38
call fcn.10002de0
cmp dword [ebp - 0x38], edi
jb 0x10023736
mov eax, dword [ebp - 0x4c]
push eax
call fcn.10032d10
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 0x10023755
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10032d10
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0xe0], edi
jb 0x10023775
mov edx, dword [ebp - 0xf4]
push edx
call fcn.10032d10
add esp, 4
mov eax, 0x15
jmp 0x10023787
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.10034caa
mov esp, ebp
pop ebp
ret