Function at 0x4b31d0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53f41c
mov eax, dword fs:[0]
push eax
sub esp, 0xa64
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa58], 0
call fcn.004e817d
mov ecx, eax
test ecx, ecx
jne 0x4b321f
push 0x80004005
call fcn.00403650
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xa58], eax
mov dword [ebp - 4], 1
push 0
push esi
call fcn.00415760
add esp, 8
push 0
push 0
test eax, eax
je 0x4b342a
lea eax, [ebp - 0xa4d]
push eax
push esi
call fcn.00419870
add esp, 0x10
test eax, eax
je 0x4b3494
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xa54]
push eax
push 0
push 0
push 0
push 0
push esi
call fcn.00480cc0
add esp, 0x44
test eax, eax
je 0x4b3494
movzx eax, byte [ebp - 0xa4d]
push 0
push eax
movzx eax, word [ebp - 0xa54]
push eax
lea eax, [ebp - 0xa5c]
push 0xffffffffffffffff
push eax
call fcn.004a1240
add esp, 0x14
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa58]
push eax
call fcn.00406a00
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0xa5c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b32f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xa58]
cmp dword [eax - 0xc], 0
je 0x4b3494
push 0
push 0
push 0
push 0
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x830]
push eax
push esi
call fcn.005154ca
push 0x104
lea eax, [ebp - 0xa38]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0
push 0
push dword [ebp - 0xa58]
call fcn.005154ca
add esp, 0x48
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00514d18
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00415760
add esp, 0x20
test eax, eax
jne 0x4b3494
push 1
push esi
call fcn.00415fb0
add esp, 8
test eax, eax
jne 0x4b3494
push eax
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x830]
push eax
push esi
call fcn.005154ca
push 0x556a80
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00514d18
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.00415fb0
add esp, 0x44
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.005173b9
add esp, 8
jmp 0x4b35b4
push 0x104
lea eax, [ebp - 0x420]
push eax
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0x104
lea eax, [ebp - 0x830]
push eax
push esi
call fcn.005154ca
push 0x556a80
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00514d18
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00415760
add esp, 0x44
test eax, eax
jne 0x4b349e
mov esi, 1
jmp 0x4b35b6
xorps xmm0, xmm0
mov dword [ebp - 0xa3c], 0
lea ecx, [ebp - 0xa4c]
movups xmmword [ebp - 0xa4c], xmm0
call fcn.004f18f5
mov byte [ebp - 4], 4
xorps xmm0, xmm0
lea ecx, [ebp - 0xa70]
mov dword [ebp - 0xa60], 0
movups xmmword [ebp - 0xa70], xmm0
call fcn.004b3810
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa4c]
push esi
push dword [ebp - 0xa44]
call fcn.004f1c56
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0xa44]
lea ecx, [ebp - 0xa4c]
call fcn.004f1c56
mov esi, dword [ebp - 0xa44]
lea ecx, [ebp - 0xa70]
push 0xffffffffffffffff
push esi
call fcn.004b38f0
mov edi, dword [ebp - 0xa68]
xor ecx, ecx
mov edx, dword [ebp - 0xa6c]
test esi, esi
jle 0x4b3555
test ecx, ecx
js 0x4b3588
cmp ecx, dword [ebp - 0xa44]
jge 0x4b3588
mov eax, dword [ebp - 0xa48]
mov eax, dword [eax + ecx*4]
cmp ecx, edi
jge 0x4b3588
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, esi
jl 0x4b3534
push edi
push edx
call fcn.00419e40
add esp, 8
test eax, eax
jne 0x4b358d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa70]
call fcn.004b3840
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4c]
call fcn.004f190c
mov esi, 1
jmp 0x4b35b6
call fcn.004e6c7b
push eax
call fcn.004e6b64
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa70]
call fcn.004b3840
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4c]
call fcn.004f190c
xor esi, esi
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp - 0xa58]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4b35db
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret