Function at 0x47f340
Capabilities:
Delete file
Get memory capacity

Disassembly:
push ebp
lea ebp, [esp - 0x138]
sub esp, 0x138
push 0xffffffffffffffff
push 0x56313b
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x5b7a9c]
xor eax, ebp
mov dword [ebp + 0x134], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x144]
mov edi, dword [ebp + 0x140]
mov esi, ecx
mov edx, dword [esi]
mov dword [ebp + 0x130], eax
mov eax, dword [edx + 0x58]
mov dword [ebp - 0x48], edi
call eax
xor ebx, ebx
push ebx
push edi
call fcn.00403150
add esp, 8
test eax, eax
je 0x47f550
push ebx
lea ecx, [ebp - 0x19c]
mov dword [esi + 0xb0], 1
call fcn.00446140
mov dword [ebp - 4], ebx
call fcn.0050830c
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x47f3e4
push 0x80004005
call fcn.00401350
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00451e90
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x44]
push edx
push edi
mov byte [ebp - 4], 2
call fcn.004070f0
add esp, 0xc
test eax, eax
jne 0x47f45a
lea ecx, [ebp - 0x44]
call fcn.00451f80
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47f443
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x19c]
mov dword [ebp - 4], 0xffffffff
call fcn.00446270
jmp 0x47f86e
lea ebx, [esi + 0x320]
push ebx
call fcn.0047c3f0
mov ecx, dword [esi + 0x290]
mov edx, dword [esi + 0x294]
mov eax, dword [esi + 0x2dc]
add esp, 4
mov dword [ebp - 0x3c], ecx
push ebx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x40], eax
call fcn.00405fa0
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00405fa0
push 0
push 0
push 0
push 0
push 1
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x19c]
call fcn.00446070
xor ecx, ecx
mov dword [ebp - 0x18], eax
cmp eax, ecx
je 0x47f4ff
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x40]
mov dword [esi + 0x294], ecx
mov ecx, dword [ebp + 0x148]
push ecx
mov dword [esi + 0x290], eax
mov eax, dword [ebx]
push edi
push eax
mov ecx, esi
mov dword [esi + 0x2dc], edx
call fcn.0047f340
cmp dword [0x5ed76c], 0
mov dword [ebp - 0x18], eax
jne 0x47f50b
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x47f50b
mov dword [esi + 0x294], ecx
mov dword [esi + 0x290], ecx
lea ecx, [ebp - 0x44]
call fcn.00451f80
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47f536
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x19c]
mov dword [ebp - 4], 0xffffffff
call fcn.00446270
mov eax, dword [ebp - 0x18]
jmp 0x47f870
lea ecx, [ebp - 0x24]
call fcn.0044fce0
xor ecx, ecx
cmp dword [0x5ba058], ebx
push 1
sete cl
mov dword [ebp - 4], 3
push ecx
push accept
push edi
lea ecx, [ebp - 0x24]
call fcn.00450840
test eax, eax
jne 0x47f5a4
lea ecx, [ebp - 0x24]
cmp dword [0x5ba058], ebx
je 0x47f862
push 1
push ebx
push accept
push edi
call fcn.00450840
test eax, eax
je 0x47f85f
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
push 1
mov ecx, esi
call eax
lea ecx, [ebp - 0x6c]
push ecx
mov dword [ebp - 0x6c], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], ebx
call fcn.0044d2f0
cmp dword [ebp - 0x28], 0
mov ebx, eax
ja 0x47f851
cmp ebx, 0x7fffffff
jae 0x47f851
mov edi, dword [ebp - 0x60]
cmp ebx, 0x2000000
jbe 0x47f5fb
mov eax, edi
shr eax, 2
cmp ebx, eax
ja 0x47f609
mov ecx, dword [ebp - 0x50]
shr ecx, 2
cmp ebx, ecx
jbe 0x47f68e
push 0x32
lea edx, [ebp + 0xc8]
push edx
shr edi, 0x14
push edi
call fcn.0044f700
push 0x32
lea eax, [ebp + 0x64]
push eax
shr edi, 2
push edi
call fcn.0044f700
push 0x32
lea ecx, [ebp]
mov edx, ebx
push ecx
shr edx, 0x14
push edx
call fcn.0044f700
add esp, 0x24
lea ecx, [ebp - 0x14]
call fcn.00401d40
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x64]
push ecx
lea edx, [ebp + 0xc8]
push edx
lea eax, [ebp - 0x14]
push 0x5497
push eax
mov byte [ebp - 4], 4
call fcn.00402170
mov ecx, dword [ebp - 0x14]
add esp, 0x14
push 0
push 0x34
push ecx
call fcn.0050bda7
lea ecx, [ebp - 0x14]
cmp eax, 7
jne 0x47f689
call fcn.00401b70
jmp 0x47f85f
call fcn.00401b70
lea edx, [ebx + 1]
push edx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 5
call fcn.004ff272
add esp, 4
push 1
mov edi, eax
push ebx
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 3
call fcn.00450970
push 0xffffffffffffffff
mov byte [edi + ebx], 0
push 5
mov ecx, esi
mov dword [esi + 0x2a8], edi
mov dword [esi + 0x2ac], ebx
call fcn.0047c890
mov eax, dword [esi + 0x2a8]
cmp eax, edi
je 0x47f6ea
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x2ac]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0x148]
mov eax, dword [ebp + 0x130]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x18]
push edx
push eax
push ecx
xor ebx, ebx
lea edx, [ebp - 0x14]
push edx
mov ecx, esi
mov dword [esi + 0x2a8], ebx
mov dword [esi + 0x2ac], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0047d870
mov edi, eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004ff267
add esp, 4
cmp edi, ebx
jne 0x47f73d
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
push ebx
mov ecx, esi
call eax
jmp 0x47f85f
mov edi, dword [esi + 0x31c]
mov ecx, dword [edi + 8]
movzx eax, word [ecx]
mov edx, 0x2e
cmp dx, ax
jne 0x47f7cd
cmp dword [edi], 4
jle 0x47f7cd
mov eax, edi
mov eax, dword [eax + 8]
mov cx, word [eax + 2]
mov dx, word [eax + 4]
mov ax, word [eax + 6]
mov word [ebp + 0x12c], cx
xor ecx, ecx
mov word [ebp + 0x130], ax
mov word [ebp + 0x132], cx
mov word [ebp + 0x12e], dx
mov ecx, 0x57e7ac
lea eax, [ebp + 0x12c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47f7b8
cmp dx, bx
je 0x47f7b4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47f7b8
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x47f792
xor eax, eax
jmp 0x47f7bd
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x47f7cd
cmp dword [edi], 5
jne 0x47f7cd
mov dword [esi + 0x68], 1
mov edx, dword [esi]
mov eax, dword [ebp - 0x2c]
mov edx, dword [edx + 0x5c]
push eax
mov ecx, esi
call edx
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
mov dword [esi + 0x154], eax
call fcn.0044d2c0
cmp dword [esi + 0xb0], ebx
jne 0x47f81e
cmp dword [0x5ed780], ebx
jne 0x47f803
cmp dword [0x5ed784], ebx
je 0x47f81e
mov ecx, dword [ebp - 0x48]
mov dword [esi + 0x294], ebx
add esi, 0x290
push esi
push ecx
mov dword [esi], ebx
call fcn.0044e380
add esp, 8
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0044fd20
mov eax, 1
jmp 0x47f870
push 0xffffffffffffffff
push 0x10
push 0x54c0
call fcn.0050bdf5
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0044fd20
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x134]
xor ecx, ebp
call fcn.0053fa67
add ebp, 0x138
mov esp, ebp
pop ebp
ret 0xc