Function at 0x61b0f2
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x690084
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x30]
mov edx, dword [esi + 0x10]
lea ebx, [esi + 0x10]
push 0x6b8e88
mov ecx, ebx
call dword [edx + 0x14]
mov eax, dword [esi + 0x24]
lea ebp, [esi + 0x24]
push 0x6b8e88
mov ecx, ebp
call dword [eax + 0x14]
mov ecx, dword [esp + 0x27c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.005fbd93
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push edx
mov dword [esp + 0x274], 0
call fcn.0061a8de
push 0
push 0x7d091c
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.0061aa9f
cmp eax, 0xffffffff
jle 0x61b191
push eax
push 0x7d091c
lea ecx, [esp + 0x20]
mov byte [eax + edi], 0x5c
call fcn.0061aa9f
cmp eax, 0xffffffff
jg 0x61b179
push DirectSoundCreate
lea ecx, [esp + 0x1c]
call fcn.0061a8f4
push 0
push 0x7d0918
lea ecx, [esp + 0x20]
call fcn.0061aa9f
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jle 0x61b222
mov edi, dword [ebp]
inc eax
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
call fcn.0061acbb
push eax
mov ecx, ebp
call dword [edi + 0x1c]
lea ecx, [esp + 0x17]
lea edx, [esp + 0x2c]
push ecx
push 1
push edx
mov ecx, ebp
mov byte [esp + 0x23], 0x5c
call fcn.0061ac88
mov ecx, eax
call fcn.0061a9bf
test al, al
je 0x61b201
mov eax, dword [ebp]
push 0x7d0914
mov ecx, ebp
call dword [eax + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push edx
lea edi, [ecx + 0x1c]
push eax
lea ecx, [esp + 0x20]
call fcn.0061ac61
push eax
lea ecx, [esp + 0x1c]
call dword [edi]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x164]
push ecx
push 0x104
lea eax, [esp + 0x18]
push edx
push eax
call fcn.005fa95b
add esp, 0x10
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x61b3a2
mov ecx, dword [esp + 0x280]
mov eax, reloc.DSOUND.dll_DirectSoundCreate
test ch, 0x80
je 0x61b26d
mov eax, 0x80008001
mov edx, dword [esi + 0xb8]
push eax
lea edi, [esi + 0xb8]
lea eax, [esp + 0x168]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x24]
cmp dword [eax], 0
jl 0x61b3a2
mov ecx, edi
call fcn.005fa716
push 0x10
mov dword [esi + 0xc0], eax
call fcn.006749d4
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x270], 1
je 0x61b2c5
mov ecx, eax
call fcn.0064170a
jmp 0x61b2c7
xor eax, eax
push eax
mov ecx, edi
mov byte [esp + 0x274], 0
call fcn.005fa71a
mov edx, dword [edi]
lea eax, [esi + 0x60]
push 0x58
push eax
mov ecx, edi
call dword [edx + 8]
cmp eax, 0x58
jne 0x61b39b
cmp dword [esi + 0x60], 0x42465744
jne 0x61b39b
mov eax, dword [esi + 0x64]
cmp eax, 2
ja 0x61b39b
cmp eax, 2
mov byte [esp + 0x10], 0
jne 0x61b315
mov byte [esp + 0x10], 1
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
add esi, 0xc4
push edi
push ecx
mov ecx, esi
call fcn.00640616
lea edx, [esp + 0x60]
mov byte [esp + 0x60], 0
mov dword [esp + 0x5c], edx
lea eax, [esp + 0x3c]
push ebp
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x27c], 2
call fcn.006409dd
cmp dword [eax], 0
jl 0x61b392
cmp dword [esp + 0x40], 0x10
jne 0x61b392
mov edx, dword [ebx]
lea eax, [esp + 0x164]
push eax
mov ecx, ebx
call dword [edx + 0x14]
mov edx, dword [ebx]
push 0x7d0910
mov ecx, ebx
call dword [edx + 0x20]
mov eax, dword [ebx]
push ebp
mov ecx, ebx
call dword [eax + 0x28]
mov esi, dword [esp + 0x278]
mov dword [esi], 0
jmp 0x61b3af
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
jmp 0x61b3a2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [esp + 0x278]
mov dword [esi], 0xffffffff
lea ecx, [esp + 0x18]
mov dword [esp + 0x270], 0xffffffff
call fcn.005fbe5e
mov ecx, dword [esp + 0x268]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x264
ret 0xc