Function at 0x4389fa
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
mov eax, 0x8dfffc8e
dec ebp
enter 0xffffffffffffb0e8, 0xffffffffffffff8e
cld
dec dword [ebp - 0x8373]
invalid
mov eax, 0x545f88
call fcn.0054565c
sub esp, 0xb4
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x45
ja 0x438c22
adc bh, byte [ecx + ebx]
and eax, 0x3e427b08
inc ebx
jae 0x4389c3
into
cmp eax, 0x1ae2e8cf
das
sub byte [ebx - 0x30], al
rcr byte [esi + 0x710f8aa8], 0x2b
dec edi
pop ds
insb byte es:[edi], dx
cli
fidivr word [ecx + 0x3dd4f02]
invalid
mov edi, dword [ebp + 8]
lea ecx, [esi + 0x5c]
lea eax, [ebp + 0xc]
mov dword [esi + 0x58], edi
cmp ecx, eax
je 0x438c3b
push 0xffffffffffffffff
push ebx
push eax
call fcn.00402200
cmp byte [0x57647c], bl
je 0x438e1f
mov eax, edi
cdq
push edx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00401212
mov esi, eax
mov byte [ebp - 4], 1
xor eax, eax
mov edi, str.code:
push edi
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x24], ax
call fcn.0041b53d
add esp, 0xc
lea ecx, [ebp - 0x24]
push eax
push edi
call fcn.00402a1d
push esi
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.004033e1
mov byte [ebp - 4], 3
mov edx, eax
lea ecx, [ebp - 0xa4]
mov dword [esp], str._fn:
call fcn.004033aa
pop ecx
push 4
pop ebx
lea ecx, [ebp + 0xc]
push ecx
mov edx, eax
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], bl
call fcn.004037a6
mov byte [ebp - 4], 5
mov edx, eax
lea ecx, [ebp - 0x74]
mov dword [esp], 0x554314
call fcn.004033aa
pop ecx
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0xbc]
call fcn.004023ba
push esi
push 1
lea ecx, [ebp - 0xa4]
call fcn.004023ba
push esi
push 1
lea ecx, [ebp - 0x8c]
call fcn.004023ba
push esi
push 1
lea ecx, [ebp - 0x24]
call fcn.004023ba
push esi
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
call fcn.004023ba
lea ecx, [ebp - 0x2c]
call fcn.00477dde
push str.debug.txt
mov edx, eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xc
call fcn.00401d86
pop ecx
mov byte [ebp - 4], 0xd
push dword [eax]
lea ecx, [ebp - 0x44]
call fcn.004018f6
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.004013c0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.004013c0
cmp byte [0x5789b1], 0
push 2
pop ecx
cmovne ecx, ebx
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
xor ebx, ebx
push ebx
push ebx
push ecx
push ebx
push 1
push 0xc0000000
push eax
mov byte [0x5789b1], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x438e09
cmp esi, 0xffffffff
je 0x438e09
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x28], ebx
call fcn.004ae8cf
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x5c]
call fcn.004ae369
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x24], bl
call fcn.00401f8b
lea ecx, [ebp - 0x5c]
call fcn.0040187f
cmp dword [ebp - 0x10], 0x10
push ebx
lea ecx, [ebp - 0x28]
push ecx
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x24]
call fcn.0040187f
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.004023ba
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.004023ba
push ebx
push 1
lea ecx, [ebp + 0xc]
call fcn.004023ba
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x1c