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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x70e00c]
xor eax, esp
mov dword [esp + 0xd4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x30], eax
push edi
mov edi, edx
mov byte [esp + 0x17], 0
mov edx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov eax, dword [esi + 0x90]
or eax, dword [esi + 0x94]
mov dword [esp + 0x18], edi
jne 0x47d5a3
mov eax, dword [esi + 0x98]
or eax, dword [esi + 0x9c]
jne 0x47d5a3
call edx
mov ecx, eax
mov dword [esp + 0x10], 0
mov eax, 0x10624dd3
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
sub ecx, eax
mov eax, dword [esi + 0x5ac]
imul ecx, ecx, 0x3e8
cmp eax, dword [esi + 0x5b4]
jg 0x47d59d
jl 0x47d514
mov eax, dword [esi + 0x5a8]
cmp eax, dword [esi + 0x5b0]
ja 0x47d59d
movups xmm0, xmmword [esi + 0x5c8]
movd eax, xmm0
movaps xmmword [esp + 0x20], xmm0
psrldq xmm0, 4
sub edx, eax
movd eax, xmm0
mov dword [esp + 0x1c], edx
sbb dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cmp eax, 0x863
jl 0x47d556
jg 0x47d54c
cmp edx, 0x7bd05af6
jb 0x47d556
or ecx, 0xffffffff
mov eax, accept
jmp 0x47d591
sub ecx, dword [esp + 0x28]
push 0
push 0xf4240
push eax
push dword [esp + 0x28]
mov dword [esp + 0x20], ecx
call fcn.0065e4b0
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, 0
adc eax, edx
mov dword [esp + 0x10], eax
mov eax, ecx
or eax, dword [esp + 0x10]
jne 0x47d58d
lea ecx, [eax + 1]
jmp 0x47d591
mov eax, dword [esp + 0x10]
mov dword [esi + 0x5a8], ecx
mov dword [esi + 0x5ac], eax
mov edx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov eax, dword [esp + 0x34]
or dword [eax], 2
cmp dword [esi + 0x144], 0
jne 0x47d7c7
cmp byte [esi + 0x138], 0
lea eax, [esi + 0x6e8]
mov dword [esi + 0x148], eax
jne 0x47d91c
cmp dword [esi + 0x110], 2
mov ecx, dword [esi + 0x150]
jne 0x47d64c
cmp dword [ecx + 0x58], 2
jne 0x47d64c
and dword [esi + 0x134], 0xfffffffd
mov dword [esi + 0x110], 1
call edx
mov edi, eax
mov dword [esp + 0x24], 0
mov eax, 0x10624dd3
mul edi
shr edx, 6
imul ecx, edx, 0x3e8
mov dword [esp + 0x20], edx
sub edi, ecx
mov ecx, esi
imul eax, edi, 0x3e8
mov dword [esp + 0x28], eax
movups xmm0, xmmword [esp + 0x20]
mov eax, dword [esp + 0x34]
movups xmmword [esi + 0x100], xmm0
and dword [eax], 0xfffffffd
mov eax, dword [esi + 0x4f0]
cdq
push edx
push eax
xor edx, edx
call fcn.0046bf60
jmp 0x47da1d
mov eax, dword [edi + 0x2e0]
test dword [eax + 0x40], 0x40003
je 0x47d664
cmp dword [ecx + 0x58], 1
sete byte [esp + 0x17]
lea eax, [esp + 0x10]
mov edx, 0x4000
push eax
mov ecx, edi
call fcn.0047c510
add esp, 4
test eax, eax
jne 0x47da22
mov edx, dword [esp + 0x10]
test edx, edx
je 0x47d91c
jle 0x47d929
mov dword [esi + 0x144], edx
cmp byte [esp + 0x17], al
jne 0x47d7a9
cmp byte [esi + 0x256], al
je 0x47d7a9
cmp dword [esi + 0x4734], eax
jne 0x47d6f9
mov eax, dword [esi + 0x350]
add eax, eax
push eax
call dword [0x7253b8]
add esp, 4
mov dword [esi + 0x4734], eax
test eax, eax
jne 0x47d6f9
push str.Failed_to_alloc_scratch_buffer_
push esi
call fcn.0046c5e0
add esp, 8
mov eax, 0x1b
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x34], edx
cmp dword [esp + 0x10], ecx
jle 0x47d78d
nop dword [eax + eax]
mov eax, dword [esi + 0x148]
mov al, byte [edx + eax]
mov byte [esp + 0x17], al
cmp al, 0xa
mov eax, dword [esi + 0x4734]
jne 0x47d772
mov byte [ecx + eax], 0xd
inc ecx
mov eax, dword [esi + 0x4734]
mov byte [ecx + eax], 0xa
cmp byte [esi + 0x256], 0
jne 0x47d77d
mov eax, dword [esi + 0x49cc]
mov edi, dword [esi + 0x49c8]
mov dword [esp + 0x34], eax
mov eax, edi
and eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x47d77d
mov eax, dword [esp + 0x34]
add edi, 1
mov dword [esi + 0x49c8], edi
adc eax, 0
mov dword [esi + 0x49cc], eax
jmp 0x47d77d
mov dl, byte [esp + 0x17]
mov byte [ecx + eax], dl
mov edx, dword [esp + 0x34]
inc edx
inc ecx
mov dword [esp + 0x34], edx
cmp edx, dword [esp + 0x10]
jl 0x47d710
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
cmp ecx, edx
je 0x47d7a9
mov eax, dword [esi + 0x4734]
mov edx, ecx
mov dword [esi + 0x148], eax
mov dword [esi + 0x144], ecx
mov eax, dword [edi + 0x2e0]
test dword [eax + 0x40], 0x30000
je 0x47d7c7
mov ecx, edi
call fcn.0048bde0
test eax, eax
jne 0x47da22
mov eax, dword [edi + 0x2f0]
xor ecx, ecx
cmp eax, dword [edi + 0x1ac]
lea eax, [esp + 0x34]
push eax
push dword [esi + 0x144]
sete cl
mov dword [esp + 0x3c], 0
push dword [esi + 0x148]
push ecx
mov eax, dword [edi + ecx*4 + 0x1c4]
push edi
call eax
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jns 0x47d824
mov eax, dword [esp + 0x34]
test eax, eax
je 0x47d960
cmp eax, 0x51
jne 0x47da22
mov dword [esp + 0x10], 0
cmp byte [esi + 0x390], 0
je 0x47d8b3
cmp byte [esi + 0x378], 0
mov ecx, dword [esi + 0x148]
mov dword [esp + 0x34], ecx
je 0x47d9a7
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x47d9a7
push eax
push 0x6f5558
push str.Data
push str.__s__s__s_
lea eax, [esp + 0x48]
push 0xa0
push eax
call sym.hrkill.exe_curl_msnprintf
lea edi, [esp + 0x50]
add esp, 0x18
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x47d880
mov eax, dword [esi + 0x1d0]
sub edi, ecx
test eax, eax
je 0x47d979
push dword [esi + 0x15c]
lea ecx, [esp + 0x3c]
push edi
push ecx
push 0
push esi
call eax
add esp, 0x14
test eax, eax
je 0x47d9a3
mov edi, dword [esp + 0x10]
mov eax, edi
cdq
add dword [esi + 0x98], eax
mov eax, dword [esi + 0x98]
adc dword [esi + 0x9c], edx
cmp eax, dword [esi + 0x49c8]
jne 0x47d8f7
mov eax, dword [esi + 0x9c]
cmp eax, dword [esi + 0x49cc]
jne 0x47d8f7
push str.We_are_completely_uploaded_and_fine_n
push esi
mov byte [esi + 0x138], 1
call fcn.0046c560
add esp, 8
mov ecx, dword [esi + 0x144]
mov eax, dword [esp + 0x10]
cmp ecx, eax
je 0x47d9ce
sub ecx, eax
add dword [esi + 0x148], eax
mov dword [esi + 0x144], ecx
jmp 0x47da0a
test byte [esi + 0x134], 0x20
jne 0x47da20
and dword [esi + 0x134], 0xfffffffd
cmp byte [edi + 0x2af], 0
je 0x47da20
mov ecx, edi
call fcn.0047c700
test eax, eax
je 0x47da20
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
mov eax, 0x37
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.004aa758
mov esp, ebp
pop ebp
ret
push dword [esi + 0x158]
push 1
push 2
push 0x6e782c
call fcn.0061981f
push dword [esi + 0x158]
lea eax, [esp + 0x4c]
push 1
push edi
push eax
call fcn.0061981f
add esp, 0x20
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + 0x1d0]
mov edi, dword [esp + 0x10]
test eax, eax
je 0x47d8b7
push dword [esi + 0x15c]
push edi
push ecx
push 4
push esi
call eax
add esp, 0x14
jmp 0x47d8b7
cmp byte [esi + 0x138], 0
lea eax, [esi + 0x6e8]
mov dword [esi + 0x148], eax
mov dword [esi + 0x144], 0
je 0x47da0a
mov ecx, dword [esp + 0x18]
and dword [esi + 0x134], 0xfffffffd
cmp byte [ecx + 0x2af], 0
je 0x47da0a
call fcn.0047c700
test eax, eax
jne 0x47da22
push dword [esi + 0x9c]
mov ecx, esi
push dword [esi + 0x98]
call fcn.004811e0
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
xor ecx, esp
call fcn.004aa758
mov esp, ebp
pop ebp
ret