Function at 0x41bd60
Capabilities:
Access peb ldr_data
Delete file
Get file size
Get ntdll base address
Read file on windows
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x462ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x478ec8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x47aaac]
mov edx, dword [eax + 0xc]
mov ecx, 0x47aaac
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x30], 0
call fcn.0041b600
add esp, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.00416a40
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or esi, 0xffffffff
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bde8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xe
push str.VMRulerZip.xml
lea ecx, [esp + 0x1c]
call fcn.00419ae0
mov ecx, dword [esp + 0x34]
push 0
push 0x80
push 3
push 0
push 3
push closesocket
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, esi
jne 0x41be35
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x2c], esi
lea edx, [eax + 0xc]
lock xadd dword [edx], esi
dec esi
test esi, esi
jmp 0x41bff5
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
jne 0x41be65
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x2c], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jmp 0x41bff5
lea edi, [ebx + 1]
push edi
call fcn.0042ff51
push edi
mov esi, eax
call fcn.0042ff51
add esp, 8
test esi, esi
mov edi, eax
je 0x41bfc5
test edi, edi
je 0x41bfc2
lea eax, [ebx + 1]
push eax
push 0
push esi
call fcn.00441070
lea eax, [ebx + 1]
push eax
push 0
push edi
call fcn.00441070
add esp, 0x18
push 0
lea ecx, [esp + 0x1c]
push ecx
push ebx
push esi
push ebp
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41bfb9
cmp dword [esp + 0x18], ebx
jne 0x41bfb9
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push esi
lea edx, [esp + 0x24]
push edx
push edi
mov dword [esp + 0x2c], ebx
call fcn.0045c620
add esp, 0x10
test eax, eax
jne 0x41bf9f
mov ebx, dword [esp + 0x14]
push eax
push 0x80
push 2
push eax
push 3
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x41bf9f
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x1c]
push eax
push ecx
push edi
push ebp
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41bf91
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x1c]
jne 0x41bf91
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x47a880]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
push ebx
push 0
call edx
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.004410ea
push edi
call fcn.004410ea
add esp, 8
lea ecx, [esp + 0x14]
call fcn.00401640
mov eax, ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call fcn.004410ea
push edi
call fcn.004410ea
add esp, 8
lea ecx, [esp + 0x14]
call fcn.00401640
jmp 0x41c001
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41bf9f
push esi
jmp 0x41bfca
test edi, edi
je 0x41bfd2
push edi
call fcn.004410ea
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c001
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret