Function at 0x100231f0
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 0x1004d693
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.10032850
mov eax, dword [eax]
cmp dword [eax + 0xc], 8
mov dword [ebp - 0xf8], eax
jne 0x10023448
cmp dword [0x10061d3c], 0x10
mov eax, dword [0x10061d28]
jae 0x1002326e
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 0x100232c0
push 1
call fcn.10032d80
mov esi, eax
add esp, 4
test esi, esi
je 0x100232b9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10036fb1
add esp, 4
mov eax, esi
jmp 0x100232bb
xor eax, eax
mov dword [0x10061ba8], eax
call fcn.10036fc3
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.10034282
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10023397
xor edi, edi
cmp edi, esi
jae 0x10023348
cmp dword [0x10061ba8], 0
jne 0x1002332f
push 1
call fcn.10032d80
mov esi, eax
add esp, 4
test esi, esi
je 0x10023321
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10036fb1
add esp, 4
jmp 0x10023323
xor esi, esi
mov dword [0x10061ba8], esi
mov esi, dword [ebp - 0x10c]
call fcn.10036fc3
cdq
xor eax, edx
sub eax, edx
cdq
mov ecx, 0xff
idiv ecx
inc edi
mov byte [edi + ebx - 1], dl
jmp 0x100232f3
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.10034d59
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, 0x100547c8
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, 0x100547c8
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 0x1002342d
lea ecx, [ebp - 0x84]
push 1
call fcn.1002fc60
cmp dword [ebp - 0x70], esi
jb 0x10023448
mov eax, dword [ebp - 0x84]
push eax
call fcn.10032db0
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.1000c450
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.1002fd40
mov dword [ebp - method.FileService.virtual_0], vtable.FileService.0
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.10020930
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 0x1002352c
cmp dword [ebp - 0x1c], ebx
jb 0x100234ea
mov eax, dword [ebp - 0x30]
push eax
call fcn.10032db0
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 0x10023513
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.10034f10
add esp, 0xc
jmp 0x1002351a
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 0x10023541
mov edx, dword [ebp - 0x68]
push edx
call fcn.10032db0
add esp, 4
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], ebx
jae 0x1002354c
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0xf4]
cmp dword [ebp - 0xe0], ebx
jae 0x10023560
lea eax, [ebp - 0xf4]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x68]
push 0x100547c8
push eax
lea ebx, [ebp - 0x30]
call fcn.1001dd90
add esp, 8
mov esi, eax
mov ecx, ebx
mov edi, 0x10
cmp ecx, esi
je 0x100235df
cmp dword [ebp - 0x1c], edi
jb 0x1002359c
mov edx, dword [ebp - 0x30]
push edx
call fcn.10032db0
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 0x100235c4
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.10034f10
add esp, 0xc
jmp 0x100235cb
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 0x100235e1
xor ebx, ebx
mov byte [ebp - 4], 7
cmp dword [ebp - 0x54], edi
jb 0x100235f6
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.10032db0
add esp, 4
push 0x100547c8
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 0x10023664
cmp dword [ebp - 0x1c], edi
jb 0x10023625
mov edx, dword [ebp - 0x30]
push edx
call fcn.10032db0
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [esi + 0x14], edi
jae 0x1002364b
mov eax, dword [esi + 0x10]
inc eax
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.10034f10
add esp, 0xc
jmp 0x10023652
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 0x10023675
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.10032db0
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.1000b5a0
add esp, 4
push eax
mov eax, 0x100547d4
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xe
call fcn.1000b5a0
add esp, 4
mov esi, eax
lea edx, [ebp - 0x4c]
cmp edx, esi
je 0x1002374d
cmp dword [ebp - 0x38], edi
jb 0x1002370a
mov eax, dword [ebp - 0x4c]
push eax
call fcn.10032db0
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 0x10023732
mov eax, dword [esi + 0x10]
inc eax
push eax
lea ecx, [ebp - 0x4c]
push esi
push ecx
call fcn.10034f10
add esp, 0xc
jmp 0x10023739
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 0x1002374f
xor ebx, ebx
cmp dword [ebp - 0xc4], edi
jb 0x10023766
mov edx, dword [ebp - 0xd8]
push edx
call fcn.10032db0
add esp, 4
mov dword [ebp - 0xc4], 0xf
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
cmp dword [ebp - 0xa8], edi
jb 0x10023793
mov eax, dword [ebp - 0xbc]
push eax
call fcn.10032db0
add esp, 4
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], ebx
mov byte [ebp - 0xbc], bl
cmp dword [ebp - 0x54], edi
jb 0x100237ba
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.10032db0
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 0x100237e2
mov edx, dword [ebp - 0xa0]
push edx
call fcn.10032db0
add esp, 4
mov ecx, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], edi
jae 0x100237ed
lea ecx, [ebp - 0x4c]
push ebx
call fcn.1002fc60
push 0xffffffffffffffff
push ebx
push 0x10061c94
mov ecx, 0x100a1e38
call fcn.10002da0
cmp dword [ebp - 0x38], edi
jb 0x10023816
mov eax, dword [ebp - 0x4c]
push eax
call fcn.10032db0
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 0x10023835
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10032db0
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
cmp dword [ebp - 0xe0], edi
jb 0x10023855
mov edx, dword [ebp - 0xf4]
push edx
call fcn.10032db0
add esp, 4
mov eax, 0x15
jmp 0x10023867
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.10034d4a
mov esp, ebp
pop ebp
ret