Function at 0x4279f0
Capabilities:
Check for time delay via gettickcount
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8360
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x51fee0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor eax, eax
xor edi, edi
mov byte [ebp - 0xe], 0
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], eax
mov eax, dword [0x521340]
lea ecx, [eax + 1]
imul eax, ecx
cdq
mov ecx, 0x11
idiv ecx
cmp edx, 0xf
jne 0x427a52
inc dword [0x5217c8]
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
or ebx, 0xffffffff
cmp byte [esi + 0xc], 0
mov byte [ebp - 4], 1
je 0x42832c
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x42832c
mov eax, dword [0x521340]
mov dword [ebp - 0x24], 0
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 0x80000003
jns 0x427aa4
dec ecx
or ecx, 0xfffffffc
inc ecx
cmp ecx, 1
jne 0x427ab4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x521340], eax
mov esi, dword [esi]
sub esi, 0x10
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
mov eax, 1
jl 0x427ada
cmp ecx, dword [esi]
jne 0x427ada
lock xadd dword [edx], eax
jmp 0x427b10
mov eax, dword [ecx]
push 1
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x34], edx
test edx, edx
jne 0x427af1
call fcn.0040c350
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 4]
inc ecx
push ecx
lea eax, [esi + 0x10]
push eax
push ecx
lea eax, [edx + 0x10]
push eax
call fcn.004a8205
mov esi, dword [ebp - 0x34]
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x20], esi
cmp dword [esi - 4], 1
mov eax, dword [esi - 0xc]
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], eax
jle 0x427b35
push eax
lea ecx, [ebp - 0x20]
call fcn.0040bd40
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x24]
push ecx
push eax
push esi
call fcn.00432c90
add esp, 0xc
test al, al
jne 0x427c2d
push 0x4dcb24
lea ecx, [ebp + 8]
call fcn.00401ff0
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
mov byte [ebp - 4], 3
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 4
call fcn.0043f420
push 0
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 5
call fcn.0043f4c0
add esp, 0x18
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00402b30
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x427bc4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x427be4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x427c04
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42830f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42830f
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
push dword [ebp - 0x24]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.00439bc0
mov ecx, dword [0x521340]
lea edx, [ecx + 2]
lea eax, [ecx + 1]
imul eax, edx
imul eax, ecx
cdq
mov ecx, 0x16
idiv ecx
cmp edx, 0x15
jne 0x427c80
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
cmp dword [esi - 4], 1
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x34], eax
jle 0x427c9b
push eax
lea ecx, [ebp - 0x20]
call fcn.0040bd40
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x24]
push ecx
push dword [ebp - 0x24]
push dword [ebp - 0x64]
push eax
push esi
call fcn.00432620
add esp, 0x14
test al, al
jne 0x427d69
push str.base64_Decode
lea ecx, [ebp + 8]
call fcn.00401ff0
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
mov byte [ebp - 4], 8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 9
call fcn.0043f420
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call fcn.00402b30
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
mov byte [ebp - 4], 9
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x427d20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x427d40
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4282ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4282ff
mov edi, dword [ebp - 0x1c]
xor al, al
mov ecx, dword [edi + 0x18]
mov byte [ebp - 0xd], al
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x64]
neg ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x2c], eax
lea esp, [esp]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
push dword [edi + 0x18]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xb
call fcn.00439bc0
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x28]
mov ecx, dword [edi + 0x18]
sub eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x2c]
cmp eax, ecx
mov eax, dword [ebp - 0x28]
cmova edi, ecx
add eax, dword [ebp - 0x64]
push edi
push eax
push dword [ebp - 0x58]
call fcn.004a7890
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
lea eax, [edx + edi]
mov edi, dword [ebp - 0x34]
movzx ecx, cl
add esp, 0xc
cmp eax, dword [ebp - 0x38]
mov eax, 1
cmovge ecx, eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x40]
add edx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x4c]
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x1c]
inc edi
mov eax, dword [ecx + 0x18]
sub eax, 0xb
imul eax, edi
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x28], edx
call fcn.00439bc0
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x18]
push 1
push dword [ecx + 0x14]
add eax, edi
cmp byte [ecx + 0x1c], 0
push eax
mov eax, dword [ebp - 0x58]
push eax
push dword [ecx + 0x18]
je 0x427eb4
call fcn.004527c0
mov ecx, eax
add esp, 0x14
cmp ecx, 0xffffffff
jne 0x427ec7
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov eax, str.RSA_private_decrypt_
mov byte [ebp - 4], 0xc
test eax, 0xffff0000
jne 0x427f21
movzx eax, ax
push 0
push eax
call fcn.00403bc0
add esp, 8
test eax, eax
je 0x427f30
mov edx, str.RSA_private_decrypt_
movzx ecx, dx
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004075c0
jmp 0x427f30
call fcn.004527d0
mov ecx, eax
add esp, 0x14
cmp ecx, 0xffffffff
je 0x42805c
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x18]
sub eax, 0xb
cmp ecx, eax
jge 0x427ee2
mov eax, dword [ebp - 0x18]
add eax, ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00439bc0
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 7
test eax, eax
je 0x427f0b
push eax
call fcn.004a6c2e
add esp, 4
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x30]
test al, al
jne 0x4281d9
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
jmp 0x427da0
push 0x14
push str.RSA_private_decrypt_
lea ecx, [ebp - 0x28]
call fcn.004097a0
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
mov byte [ebp - 4], 0xd
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xe
call fcn.0043f420
add esp, 0xc
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
lea eax, [edx - 0x10]
mov dword [ebp - 0x40], eax
add ecx, 0xfffffff0
lea eax, [edx - 0x10]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x38], ecx
cmp eax, ecx
je 0x427fcf
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x4c]
jl 0x427fc3
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x427fc3
mov eax, dword [ebp - 0x40]
push eax
call fcn.00404880
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
add esp, 4
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x427fb8
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x40]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x427fcf
push dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push edx
call fcn.004097a0
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xe
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x427fef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xd
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42800f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42802f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
call fcn.00428370
mov eax, dword [ebp - 0x58]
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 7
test eax, eax
je 0x4281dc
push eax
call fcn.004a6c2e
add esp, 4
jmp 0x4281dc
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov eax, str.RSA_public_decrypt_
mov byte [ebp - 4], 0x10
test eax, 0xffff0000
jne 0x4280a5
movzx eax, ax
push 0
push eax
call fcn.00403bc0
add esp, 8
test eax, eax
je 0x4280b4
mov edx, str.RSA_public_decrypt_
movzx ecx, dx
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004075c0
jmp 0x4280b4
push 0x13
push str.RSA_public_decrypt_
lea ecx, [ebp - 0x28]
call fcn.004097a0
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
mov byte [ebp - 4], 0x11
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x12
call fcn.0043f420
add esp, 0xc
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
lea eax, [edx - 0x10]
mov dword [ebp - 0x40], eax
add ecx, 0xfffffff0
lea eax, [edx - 0x10]
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x38], ecx
cmp eax, ecx
je 0x428153
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x4c]
jl 0x428147
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x428147
mov eax, dword [ebp - 0x40]
push eax
call fcn.00404880
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
add esp, 4
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42813c
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x40]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x428153
push dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push edx
call fcn.004097a0
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x12
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x428173
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x11
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x428193
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4281b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
call fcn.00428370
mov eax, dword [ebp - 0x58]
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 7
test eax, eax
je 0x4281dc
push eax
call fcn.004a6c2e
add esp, 4
jmp 0x4281dc
mov edi, dword [ebp - 0x4c]
call fcn.0043f2d0
test al, al
jne 0x4281fb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x50
div ecx
inc edx
mov dword [0x521340], edx
cmp byte [ebp - 0xd], 0
je 0x428213
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push dword [eax]
call fcn.0040b480
jmp 0x4282ff
mov edi, dword [ebp - 0x48]
sub edi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x4c]
lea eax, [edi + 2]
push eax
call fcn.00439bc0
mov eax, dword [ebp - 0x4c]
mov word [eax + edi], 0
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
sub eax, edi
je 0x4282ee
mov eax, dword [0x51fab0]
mov ecx, 0x51fab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x14
call fcn.0040b480
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x34]
mov edx, dword [edx]
lea ecx, [eax - 0x10]
sub edx, 0x10
mov byte [ebp - 4], 0x15
mov dword [ebp + 8], ecx
mov dword [ebp - 0x3c], edx
cmp ecx, edx
je 0x4282d1
cmp dword [edx + 0xc], 0
lea edi, [edx + 0xc]
mov dword [ebp - 0x40], edi
mov edi, dword [ebp - 0x4c]
jl 0x4282c2
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x4282c2
mov edx, dword [ebp + 8]
push edx
call fcn.00404880
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x40]
add esp, 4
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4282b5
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0xc]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4282ce
push dword [eax - 0xc]
mov ecx, dword [ebp + 0xc]
push eax
call fcn.004097a0
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0xc]
mov byte [ebp - 4], 7
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4282ee
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
push eax
push eax
call fcn.00450dd0
add esp, 8
mov byte [ebp - 0xe], 1
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x42830f
push eax
call fcn.004a6c2e
add esp, 4
add esi, 0xfffffff0
mov ecx, ebx
lea eax, [esi + 0xc]
mov byte [ebp - 4], 1
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42832c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x42834a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x428357
push edi
call fcn.004a6c2e
add esp, 4
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8