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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x134
mov eax, dword [0x5b0c20]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
push eax
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], eax
call fcn.0043c330
mov dword [esp + 0x8c], eax
movzx eax, byte [edi + 0x8e9]
push 0x5eca58
push esi
push eax
mov dword [esp + 0x9c], edx
call fcn.00452280
add esp, 0x10
test eax, eax
jne 0x43ed17
mov ecx, dword [ebx + 0x20]
push 0x40
push ecx
push 0xef1c
push 0xef24
mov ecx, 0x5b2810
call fcn.00405df0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00524d83
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 0x2b00]
xor esi, esi
push esi
push 0x20
push 3
push esi
push 7
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x50], eax
cmp eax, 0xffffffff
jne 0x43ed71
mov ecx, dword [ebx + 0x20]
push 0x40
push ecx
push 0xef1c
push 0xef51
mov ecx, 0x5b2810
call fcn.00405df0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00524d83
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x98], eax
mov dword [esp + 0x68], esi
cmp dword [edi + 0x410], esi
jbe 0x43f1d5
mov eax, 0xffffffd2
lea esi, [edi + 0x2e]
sub eax, edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0xa0], eax
lea esp, [esp]
cmp byte [esi + 0x14], 0xff
lea edx, [esi - 0x1e]
mov dword [esp + 0x6c], edx
je 0x43f1b9
movzx eax, word [esi + 2]
cdq
shld edx, eax, 0x10
shl eax, 0x10
mov ecx, eax
movzx eax, word [esi]
mov edi, edx
cdq
or ecx, eax
movzx eax, word [esi - 2]
or edi, edx
shld edi, ecx, 0x10
cdq
or edi, edx
shl ecx, 0x10
or ecx, eax
movzx eax, word [esi - 0xa]
cdq
shld edx, eax, 0x10
shl eax, 0x10
mov dword [esp + 0x60], ecx
mov ecx, eax
movzx eax, word [esi - 0xc]
mov dword [esp + 0x64], edi
mov edi, edx
cdq
or ecx, eax
movzx eax, word [esi - 0xe]
or edi, edx
cdq
mov ebx, ecx
mov ecx, edi
shld ecx, ebx, 0x10
or ecx, edx
shl ebx, 0x10
or ebx, eax
movzx eax, word [esi - 4]
cdq
shld edx, eax, 0x10
shl eax, 0x10
mov edi, eax
mov eax, edx
mov dword [esp + 0x48], eax
movzx eax, word [esi - 6]
cdq
or edi, eax
mov eax, dword [esp + 0x48]
or eax, edx
mov edx, dword [esp + 0x4c]
shld eax, edi, 0x10
mov esi, eax
movzx eax, word [edx - 8]
shl edi, 0x10
cdq
or esi, edx
mov edx, dword [esp + 0x60]
or edi, eax
mov eax, dword [esp + 0x64]
sub ebx, edi
sbb ecx, esi
mov esi, dword [esp + 0x9c]
add ebx, edx
adc ecx, eax
sub ebx, 1
sbb ecx, 0
add dword [esi + 0xa8], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ecx
adc dword [esi + 0xac], ecx
cmp ecx, eax
jg 0x43f1b1
jl 0x43eea8
cmp ebx, edx
jae 0x43f1b1
mov edx, dword [esp + 0xa0]
mov edi, dword [esp + 0x4c]
add edx, edi
mov dword [esp + 0xa4], edx
mov edi, dword [esp + 0x60]
mov edx, edi
sub edx, ebx
sbb eax, ecx
cmp eax, dword [esp + 0x8c]
jl 0x43eee3
jg 0x43eeda
cmp edx, dword [esp + 0x88]
jbe 0x43eee3
mov eax, dword [esp + 0x88]
jmp 0x43eee7
mov eax, edi
sub eax, ebx
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
movzx edx, byte [eax + 0x8e8]
movzx eax, byte [eax + 0x8e9]
push ebx
push edx
mov edx, dword [ebx + 0x35c]
push eax
mov eax, dword [esp + 0x58]
push 0x5eca58
push ecx
mov ecx, dword [esp + 0x64]
push edx
movzx edx, byte [ecx + 0x14]
push eax
push edx
call fcn.0043cd00
add esp, 0x24
test eax, eax
je 0x43f234
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov ebx, dword [ebx + 0x35c]
xor edi, edi
add eax, dword [esp + 0x48]
push edi
adc ecx, edi
push 2
push ecx
push eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
shr ebx, 9
call fcn.00526b90
push edx
push eax
push edi
push ebx
call fcn.005269a0
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
fild qword [esp + 0xa8]
fstp qword [esp + 0xb0]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x98]
mov dword [esp + 0x54], eax
fild dword [esp + 0x54]
test eax, eax
jge 0x43efad
fadd dword [0x552108]
fdivr qword [esp + 0xb0]
mov edx, dword [esi + 0xa0]
sub edx, dword [esi + 0xa8]
mov ebx, dword [esp + 0x58]
lea eax, [esp + 0xb8]
push eax
mov eax, dword [esi + 0xa4]
sbb eax, dword [esi + 0xac]
push ecx
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fmul qword [0x558c08]
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fst dword [esi + 0xb4]
mov ecx, dword [ebx + 0x35c]
fstp dword [esp]
push ecx
push eax
push edx
call fcn.0043d280
add esp, 0x14
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esi + 0x164]
call fcn.005081b1
fld dword [esi + 0xb4]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0xc0]
push str._01.02f
push edx
call fcn.00525f70
add esp, 0x10
lea eax, [esp + 0xb8]
push eax
lea ecx, [esi + 0x110]
call fcn.005081b1
mov ecx, dword [esp + 0x48]
add dword [esi + 0xa8], ecx
mov edx, dword [esi + 0x8c]
push edx
adc dword [esi + 0xac], edi
mov ecx, dword [esi + 0xac]
mov edx, dword [esi + 0xa8]
lea eax, [esp + 0xbc]
push eax
push ecx
push edx
call fcn.0043d120
add esp, 0x10
lea eax, [esp + 0xb8]
push eax
lea ecx, [esi + 0x260]
call fcn.005081b1
mov ecx, dword [esi + 0xa4]
mov edx, dword [esi + 0xa0]
push 0
push 0x64
push ecx
push edx
call fcn.00528b80
mov ecx, dword [esi + 0xa8]
push edx
push eax
mov eax, dword [esi + 0xac]
push eax
push ecx
call fcn.00528b80
push eax
lea edx, [esp + 0xbc]
push 0x553e08
push edx
mov dword [esi + 0xb0], eax
call fcn.00525f70
add esp, 0xc
lea eax, [esp + 0xb8]
push eax
lea ecx, [esi + 0x1b8]
call fcn.005081b1
push 0
mov ecx, dword [esi + 0xb0]
mov edx, dword [esi + 0x2d4]
push ecx
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x2afc]
mov ecx, dword [esp + 0xa4]
imul eax, eax, 0xcf4
mov edx, dword [esp + 0x50]
push 0
push 0
lea ebx, [eax + ecx + 0x10]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, ebx
jne 0x43f256
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x50]
push 0
lea eax, [esp + 0x98]
push eax
push 0x40
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43f292
cmp dword [esp + 0x94], 0x40
jne 0x43f292
mov ebx, dword [esp + 0x78]
add ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x64]
adc ecx, edi
add dword [esp + 0x80], edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ecx
adc dword [esp + 0x84], edi
cmp ecx, eax
jl 0x43eebc
jg 0x43f1b1
mov edi, dword [esp + 0x60]
cmp ebx, edi
jb 0x43eec0
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x68]
inc eax
add esi, 0x40
mov dword [esp + 0x68], eax
mov dword [esp + 0x4c], esi
cmp eax, dword [edi + 0x410]
jb 0x43edc0
mov ecx, dword [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x58]
mov edx, dword [esi + 0x35c]
movzx eax, byte [edi + 0x8e8]
movzx ecx, byte [edi + 0x8e9]
push edx
push eax
push ecx
push 0x5eca58
push edi
call fcn.0043cf10
add esp, 0x14
test eax, eax
je 0x43ed00
push esi
call fcn.0040b720
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00524d83
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00524d83
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x20]
push 0x40
push ecx
push 0xef1c
push 0xef58
mov ecx, 0x5b2810
call fcn.00405df0
mov edx, dword [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00524d83
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x20]
push 0x40
push eax
push 0xef1c
push 0xef59
mov ecx, 0x5b2810
call fcn.00405df0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00524d83
mov esp, ebp
pop ebp
ret