Function at 0x53a3a0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x86ae25
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x8ce6f4]
xor eax, esp
mov dword [esp + 0x378], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x390]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov esi, ecx
call fcn.00536da0
mov eax, dword [eax]
push eax
mov dword [esp + 0x39c], 0
call fcn.005c2230
mov bl, al
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x398], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53a42a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x4112ac
test bl, bl
jne 0x53a438
mov eax, 0x411604
push eax
lea ecx, [esp + 0x20]
call fcn.004a8f10
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push 0x4115e0
push edx
mov dword [esp + 0x3a4], 1
call fcn.004b1a10
add esp, 0xc
mov eax, dword [eax]
push 1
push 0
push 0
push 0
push 6
push eax
mov eax, dword [esp + 0x34]
push eax
push 0
lea ecx, [esp + 0x64]
mov byte [esp + 0x3b8], 2
call fcn.007e7aeb
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x398], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53a4b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x44]
call fcn.007e8462
cmp eax, 1
jne 0x53a820
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x48]
call fcn.007e85b2
mov byte [esp + 0x398], 5
call fcn.007c9a2f
mov ecx, dword [eax + 4]
lea ecx, [ecx + 0x1f0]
call fcn.004b3fb0
mov ecx, esi
call fcn.00536ea0
test al, al
je 0x53a524
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.00536da0
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
mov eax, dword [esp + 0x14]
setne bl
add eax, 0xfffffff0
jmp 0x53a60b
call fcn.007cff5d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x53a53e
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x6c]
mov edx, dword [esi + 0x58]
push ecx
push edx
lea eax, [esp + 0x20]
push 0x4115c0
push eax
mov byte [esp + 0x3a8], 6
call fcn.004aa600
mov ecx, dword [esp + 0x30]
push 0x4115a0
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.008096ec
mov edi, eax
mov eax, dword [esp + 0x30]
add esp, 0x1c
push eax
lea ecx, [esp + 0x30]
call fcn.007e4af1
push 0x411550
lea ecx, [esp + 0x30]
mov byte [esp + 0x39c], 7
call fcn.007e4bf0
mov ebp, dword [esp + 0x18]
test edi, edi
jne 0x53a5e4
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x2c], esp
mov edi, esp
push eax
call fcn.004a9b50
add esp, 4
lea ecx, [esp + 0x30]
add eax, 0x10
push reloc.DSOUND.dll_DirectSoundCreate
push ecx
mov dword [edi], eax
call fcn.005c2650
add esp, 0xc
test al, al
je 0x53a5e4
mov bl, 1
jmp 0x53a5e6
xor bl, bl
lea ecx, [esp + 0x2c]
call fcn.007e4db6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x398], 6
call fcn.007e4df4
mov byte [esp + 0x398], 5
lea eax, [ebp - 0x10]
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x53a624
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.007cff5d
xor ecx, ecx
test bl, bl
je 0x53a6ea
test eax, eax
setne cl
test ecx, ecx
jne 0x53a646
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
push 0xa12b
mov byte [esp + 0x39c], 8
call fcn.007cfe78
test eax, eax
je 0x53a67f
push 0xa12b
push eax
lea ecx, [esp + 0x20]
call fcn.004a8d10
mov ebp, dword [esp + 0x18]
mov bl, 9
mov byte [esp + 0x398], bl
call fcn.007cff5d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x53a6a2
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
push 0xa12d
mov byte [esp + 0x39c], 0xa
call fcn.007cfe78
test eax, eax
je 0x53a6db
push 0xa12d
push eax
lea ecx, [esp + 0x1c]
call fcn.004a8d10
mov edi, dword [esp + 0x14]
mov byte [esp + 0x398], 0xb
push 0x40
jmp 0x53a79c
test eax, eax
setne cl
test ecx, ecx
jne 0x53a6fd
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
push 0xa12b
mov byte [esp + 0x39c], 0xc
call fcn.007cfe78
test eax, eax
je 0x53a736
push 0xa12b
push eax
lea ecx, [esp + 0x1c]
call fcn.004a8d10
mov ebp, dword [esp + 0x14]
mov bl, 0xd
mov byte [esp + 0x398], bl
call fcn.007cff5d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x53a759
push 0x80004005
call fcn.004a8210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
push 0xa12e
mov byte [esp + 0x39c], 0xe
call fcn.007cfe78
test eax, eax
je 0x53a792
push 0xa12e
push eax
lea ecx, [esp + 0x20]
call fcn.004a8d10
mov edi, dword [esp + 0x18]
mov byte [esp + 0x398], 0xf
push 0x10
mov edx, dword [esi]
mov eax, dword [edx + 0x74]
push ebp
push edi
mov ecx, esi
call eax
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [edi - 0x10]
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x398], bl
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x53a7d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x398], 5
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53a7f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x398], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53a820
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x398], 1
call fcn.007e7a30
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x398], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53a85c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x390]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x378]
xor ecx, esp
call fcn.0080262b
add esp, 0x388
ret