Function at 0x10023130
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 0x1004d823
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.10032620
mov eax, dword [eax]
cmp dword [eax + 0xc], 8
mov dword [ebp - 0xf8], eax
jne 0x10023388
cmp dword [0x10061d3c], 0x10
mov eax, dword [0x10061d28]
jae 0x100231ae
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 0x10023200
push 1
call fcn.10032f20
mov esi, eax
add esp, 4
test esi, esi
je 0x100231f9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10037151
add esp, 4
mov eax, esi
jmp 0x100231fb
xor eax, eax
mov dword [0x10061ba8], eax
call fcn.10037163
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.10034422
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100232d7
xor edi, edi
cmp edi, esi
jae 0x10023288
cmp dword [0x10061ba8], 0
jne 0x1002326f
push 1
call fcn.10032f20
mov esi, eax
add esp, 4
test esi, esi
je 0x10023261
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10037151
add esp, 4
jmp 0x10023263
xor esi, esi
mov dword [0x10061ba8], esi
mov esi, dword [ebp - 0x10c]
call fcn.10037163
cdq
xor eax, edx
sub eax, edx
cdq
mov ecx, 0xff
idiv ecx
inc edi
mov byte [edi + ebx - 1], dl
jmp 0x10023233
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.10034ef9
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, 0x10054814
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, 0x10054814
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 0x1002336d
lea ecx, [ebp - 0x84]
push 1
call fcn.1002fb30
cmp dword [ebp - 0x70], esi
jb 0x10023388
mov eax, dword [ebp - 0x84]
push eax
call fcn.10032f50
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.1000c1a0
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.1002fc10
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.10002410
add esp, 0xc
mov esi, eax
mov edx, edi
mov ebx, 0x10
cmp edx, esi
je 0x1002346c
cmp dword [ebp - 0x1c], ebx
jb 0x1002342a
mov eax, dword [ebp - 0x30]
push eax
call fcn.10032f50
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 0x10023453
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.100350b0
add esp, 0xc
jmp 0x1002345a
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 0x10023481
mov edx, dword [ebp - 0x68]
push edx
call fcn.10032f50
add esp, 4
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], ebx
jae 0x1002348c
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0xf4]
cmp dword [ebp - 0xe0], ebx
jae 0x100234a0
lea eax, [ebp - 0xf4]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x68]
push 0x10054814
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 0x1002351f
cmp dword [ebp - 0x1c], edi
jb 0x100234dc
mov edx, dword [ebp - 0x30]
push edx
call fcn.10032f50
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 0x10023504
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.100350b0
add esp, 0xc
jmp 0x1002350b
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 0x10023521
xor ebx, ebx
mov byte [ebp - 4], 7
cmp dword [ebp - 0x54], edi
jb 0x10023536
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.10032f50
add esp, 4
push 0x10054814
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 0x100235a4
cmp dword [ebp - 0x1c], edi
jb 0x10023565
mov edx, dword [ebp - 0x30]
push edx
call fcn.10032f50
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [esi + 0x14], edi
jae 0x1002358b
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.100350b0
add esp, 0xc
jmp 0x10023592
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 0x100235b5
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.10032f50
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, 0x1005358c
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xd
call fcn.1000b2f0
add esp, 4
push eax
mov eax, 0x10054820
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xe
call fcn.1000b2f0
add esp, 4
mov esi, eax
lea edx, [ebp - 0x4c]
cmp edx, esi
je 0x1002368d
cmp dword [ebp - 0x38], edi
jb 0x1002364a
mov eax, dword [ebp - 0x4c]
push eax
call fcn.10032f50
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 0x10023672
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x4c]
push esi
push ecx
call fcn.100350b0
add esp, 0xc
jmp 0x10023679
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 0x1002368f
xor ebx, ebx
cmp dword [ebp - 0xc4], edi
jb 0x100236a6
mov edx, dword [ebp - 0xd8]
push edx
call fcn.10032f50
add esp, 4
mov dword [ebp - 0xc4], 0xf
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
cmp dword [ebp - 0xa8], edi
jb 0x100236d3
mov eax, dword [ebp - 0xbc]
push eax
call fcn.10032f50
add esp, 4
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
cmp dword [ebp - 0x54], edi
jb 0x100236fa
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.10032f50
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 0x10023722
mov edx, dword [ebp - 0xa0]
push edx
call fcn.10032f50
add esp, 4
mov ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], edi
jae 0x1002372d
lea ecx, [ebp - 0x4c]
push ebx
call fcn.1002fb30
push 0xffffffffffffffff
push ebx
push 0x10061c94
mov ecx, 0x100a1e38
call fcn.10002da0
cmp dword [ebp - 0x38], edi
jb 0x10023756
mov eax, dword [ebp - 0x4c]
push eax
call fcn.10032f50
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 0x10023775
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10032f50
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0xe0], edi
jb 0x10023795
mov edx, dword [ebp - 0xf4]
push edx
call fcn.10032f50
add esp, 4
mov eax, 0x15
jmp 0x100237a7
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.10034eea
mov esp, ebp
pop ebp
ret