Function at 0x4c3920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x546741
mov eax, dword fs:[0]
push eax
sub esp, 0x728
mov eax, dword [0x598c90]
xor eax, esp
mov dword [esp + 0x6f0], eax
push ebx
push esi
push edi
mov eax, dword [0x598c90]
xor eax, esp
push eax
lea eax, [esp + 0x738]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebx]
mov dword [esp + 0x74], eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x70], ecx
xor esi, esi
mov ecx, ebx
mov dword [esp + 0x88], edi
mov dword [esp + 0x20], esi
call eax
cmp dword [ebp + 0x1c], esi
mov dword [ebx + 0x168], esi
jg 0x4c399b
mov byte [ebx + 0x1d29], 1
mov ecx, dword [ebx + 0x98]
test ecx, ecx
je 0x4c39af
mov dl, byte [ebx + 0x1d22]
test dl, dl
jne 0x4c39df
lea eax, [esp + 0x54]
push eax
push ebx
call fcn.004c4cf0
mov ecx, dword [ebx + 0x98]
test ecx, ecx
je 0x4c45df
mov dl, byte [ebx + 0x1d22]
test dl, dl
je 0x4c45df
lea ecx, [esp + 0x54]
call fcn.0041add0
lea edx, [ebx + 0x12c]
push edx
mov dword [edx], esi
mov byte [ebx + 0x1d21], 0
mov dword [ebx + 0x1d14], 0xffffffff
mov ecx, dword [ebx + 0x98]
lea eax, [ebx + 0x124]
lea edx, [esp + 0x6c]
lea edi, [ebx + 0x120]
push edx
mov dword [eax], esi
mov dword [edi], esi
mov dword [esp + 0x70], esi
mov esi, dword [ecx]
push eax
mov eax, dword [esi + 0x2c]
push edi
call eax
test eax, eax
jne 0x4c3a48
mov eax, dword [ebx + 0x128]
mov ecx, dword [esp + 0x68]
test eax, eax
je 0x4c3a42
test ecx, ecx
je 0x4c3a42
cmp ecx, eax
je 0x4c3a42
mov byte [ebx + 0x1d29], 1
mov dword [ebx + 0x128], ecx
mov cl, byte [ebx + 0x1d29]
test cl, cl
jne 0x4c3a79
mov eax, str.Digidesign
lea ecx, [esp + 0x7c]
call fcn.0041ae90
lea edx, [esp + 0x7c]
push edx
lea eax, [ebx + 4]
mov dword [esp + 0x24], 2
call fcn.0041bd90
test al, al
je 0x4c3a7b
mov al, 1
test byte [esp + 0x20], 2
mov byte [ebx + 0x1d29], al
je 0x4c3a91
lea ecx, [esp + 0x7c]
call fcn.0041add0
mov al, byte [ebx + 0x1d29]
test al, al
je 0x4c3ada
mov ecx, dword [ebx + 0x98]
mov edx, dword [ecx]
lea eax, [ebx + 0x12c]
push eax
lea esi, [ebx + 0x128]
push esi
lea eax, [ebx + 0x124]
push eax
mov eax, dword [edx + 0x2c]
push edi
call eax
test eax, eax
jne 0x4c3acc
mov esi, dword [esi]
mov byte [ebx + 0x1d29], al
jmp 0x4c3add
mov esi, 0x400
mov byte [ebx + 0x1d29], 0
jmp 0x4c3add
mov esi, dword [ebp + 0x1c]
fld qword [ebp + 0x14]
fadd qword [0x572c30]
fstp qword [esp + 0x44]
fild dword [esp + 0x44]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x28], edi
fstp qword [ebx + 0x138]
mov dword [ebx + 0x130], esi
lea esi, [ebx + 0x140]
call fcn.00410200
lea esi, [ebx + 0x154]
call fcn.00410200
push 0x280
lea ecx, [ebx + 0xb84]
push 0
push ecx
call fcn.00522130
add esp, 0xc
push 0x280
lea edx, [ebx + 0xe04]
push 0
push edx
call fcn.00522130
add esp, 0xc
push ebx
call fcn.004c3710
test edi, edi
je 0x4c3b68
cmp dword [ebx + 0x104], 0
jle 0x4c3b7d
lea ecx, [ebx + 0xf8]
mov edx, edi
call fcn.004cef90
test al, al
jne 0x4c3b7d
cmp dword [ebx + 0x104], 0
jbe 0x4c3b81
mov eax, dword [ebx + 0xf8]
mov edi, dword [eax]
mov dword [esp + 0x28], edi
test edi, edi
jne 0x4c3b89
mov dword [esp + 0x28], 0xac44
xor edi, edi
push 0x5fc
lea ecx, [esp + 0x104]
push edi
push ecx
mov dword [esp + 0x108], edi
call fcn.00522130
mov ecx, dword [ebx + 0x98]
add esp, 0xc
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], 0x20
mov edx, dword [ecx]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x100]
push eax
call edx
mov eax, dword [esp + 0x40]
cmp eax, edi
mov byte [esp + 0x1f], 0
jle 0x4c3c45
lea eax, [esp + 0x108]
mov dword [esp + 0x20], eax
mov eax, str.clock:
lea ecx, [esp + 0x50]
call fcn.0041ae90
mov eax, dword [esp + 0x20]
add eax, 4
lea esi, [esp + 0x50]
mov dword [esp + 0x740], 0
call fcn.0041b5e0
mov ecx, dword [esp + 0x20]
cmp dword [ecx], 0
je 0x4c3c23
mov eax, str.__cur_
mov byte [esp + 0x1f], 1
call fcn.0041b990
lea ecx, [esp + 0x50]
mov dword [esp + 0x740], 0xffffffff
call fcn.0041add0
mov eax, dword [esp + 0x40]
add dword [esp + 0x20], 0x30
inc edi
cmp edi, eax
jl 0x4c3be2
cmp eax, 1
jle 0x4c3c70
cmp byte [esp + 0x1f], 0
jne 0x4c3c70
mov ecx, dword [ebx + 0x98]
mov edx, dword [ecx]
mov eax, dword [esp + 0xfc]
mov edx, dword [edx + 0x40]
push eax
call edx
mov eax, 0x14
call fcn.004ba0d0
fldz
mov ecx, dword [ebx + 0x98]
fstp qword [esp + 0x8c]
lea edx, [esp + 0x8c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
push edx
call eax
test eax, eax
jne 0x4c3c9b
fld qword [esp + 0x8c]
jmp 0x4c3c9d
fldz
fstp qword [ebx + 0x138]
lea esi, [ebx + 0xc4]
mov eax, 0x59f5c0
call fcn.0041ae20
fild dword [esp + 0x28]
mov byte [ebx + 0x1d26], 0
mov byte [ebx + 0x1d27], 0
fst qword [esp + 0x44]
mov byte [esp + 0x1f], 0
fld qword [ebx + 0x138]
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x4c3d4e
mov ecx, dword [ebx + 0x98]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
sub esp, 8
fstp qword [esp]
call eax
cmp eax, 0xfffffc1d
jne 0x4c3d42
cmp dword [esp + 0x40], 0
jle 0x4c450e
mov eax, 0xa
call fcn.004ba0d0
mov ecx, dword [ebx + 0x98]
mov edx, dword [ecx]
mov eax, dword [esp + 0xfc]
mov edx, dword [edx + 0x40]
push eax
call edx
mov eax, 0xa
call fcn.004ba0d0
fld qword [esp + 0x44]
mov ecx, dword [ebx + 0x98]
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
sub esp, 8
fstp qword [esp]
call edx
test eax, eax
jne 0x4c450e
fld qword [esp + 0x44]
fstp qword [ebx + 0x138]
mov al, byte [ebx + 0x1d26]
test al, al
je 0x4c3dc7
mov cl, byte [ebx + 0x1d27]
mov edx, dword [ebx + 0x98]
test edx, edx
je 0x4c3d86
mov eax, dword [ebx + 0x98]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebx + 0x98], 0
push ebx
call fcn.004c4ab0
lea ecx, [esp + 0x60]
mov edi, ebx
call fcn.004c4c00
mov eax, dword [esp + 0x60]
mov dword [esp + 0x80], eax
xor eax, eax
lea ecx, [esp + 0x80]
call fcn.004031b0
mov byte [ebx + 0x1d26], 0
lea ecx, [esp + 0x60]
mov byte [ebx + 0x1d27], 0
call fcn.0041add0
xor edi, edi
cmp dword [ebx + 0xc8], edi
mov dword [ebx + 0x1d18], edi
mov dword [ebx + 0x1d1c], edi
lea esi, [ebx + 0x184]
jle 0x4c3e20
mov edx, dword [esp + 0x74]
mov eax, edi
call fcn.004101a0
test al, al
je 0x4c3e17
lea eax, [ebx + 0x154]
call fcn.00410260
xor eax, eax
mov dword [esi], 1
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
add esi, 0x10
inc dword [ebx + 0x1d18]
inc edi
cmp edi, dword [ebx + 0xc8]
jl 0x4c3de3
xor edi, edi
cmp dword [ebx + 0xcc], edi
jle 0x4c3e69
lea ebx, [ebx]
mov edx, dword [esp + 0x70]
mov eax, edi
call fcn.004101a0
test al, al
je 0x4c3e60
lea eax, [ebx + 0x140]
call fcn.00410260
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
add esi, 0x10
inc dword [ebx + 0x1d1c]
inc edi
cmp edi, dword [ebx + 0xcc]
jl 0x4c3e30
mov edi, dword [ebx + 0x1d1c]
mov ecx, dword [ebx + 0x1d18]
mov dword [ebx + 0xa0], fcn.004c5a50
mov edx, dword [0x59f578]
add edi, ecx
cmp edx, ebx
jne 0x4c3eab
mov dword [ebx + 0x9c], 0x4c58f0
mov dword [ebx + 0xa4], 0x4c5950
mov dword [ebx + 0xa8], 0x4c5890
jmp 0x4c3efc
mov eax, dword [0x59f57c]
cmp eax, ebx
jne 0x4c3ed4
mov dword [ebx + 0x9c], 0x4c5910
mov dword [ebx + 0xa4], 0x4c5970
mov dword [ebx + 0xa8], 0x4c58b0
jmp 0x4c3efc
mov ecx, dword [0x59f580]
cmp ecx, ebx
jne 0x4c3efc
mov dword [ebx + 0x9c], 0x4c5930
mov dword [ebx + 0xa4], 0x4c5990
mov dword [ebx + 0xa8], 0x4c58d0
mov ecx, dword [ebx + 0x98]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov ecx, dword [ebx + 0x98]
mov eax, dword [ebx + 0x130]
mov edx, dword [ecx]
mov edx, dword [edx + 0x4c]
lea esi, [ebx + 0x9c]
push esi
push eax
push edi
lea eax, [ebx + 0x184]
push eax
call edx
test eax, eax
je 0x4c3f6e
mov eax, dword [ebx + 0x128]
mov dword [ebx + 0x130], eax
mov ecx, dword [ebx + 0x98]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov ecx, dword [ebx + 0x98]
mov eax, dword [ebx + 0x130]
mov edx, dword [ecx]
mov edx, dword [edx + 0x4c]
push esi
push eax
push edi
lea eax, [ebx + 0x184]
push eax
call edx
test eax, eax
jne 0x4c44e6
mov esi, dword [ebx + 0x130]
mov eax, dword [ebx + 0x1d0c]
imul esi, edi
push eax
mov byte [esp + 0x23], 1
add esi, 0x20
call fcn.0051ee35
add esp, 4
push 4
push esi
call fcn.0051feaa
xor esi, esi
add esp, 8
mov dword [ebx + 0x1d0c], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.0040e2e0
mov ecx, 1
lock xadd dword [eax], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
lea edx, [ebx + 0x1084]
mov dword [esp + 0x740], 1
mov dword [ebx + 0x134], 0x10
mov dword [esp + 0x24], edx
mov eax, dword [ebx + 0xc8]
cmp eax, 0xa0
mov dword [esp + 0x20], esi
jle 0x4c3ff4
mov eax, 0xa0
cmp esi, eax
jge 0x4c4171
mov edx, dword [esp + 0x74]
mov eax, esi
call fcn.004101a0
test al, al
je 0x4c416b
mov eax, dword [ebx + 0x130]
imul eax, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x1d0c]
mov edi, dword [esp + 0x24]
lea edx, [ecx + eax*4]
push 0x30
lea eax, [esp + 0x9c]
push 0
add edi, 0x500
push eax
mov dword [edi - 0xa00], edx
call fcn.00522130
mov ecx, dword [ebx + 0x98]
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], 1
mov edx, dword [ecx]
mov edx, dword [edx + 0x48]
add esp, 0xc
lea eax, [esp + 0x94]
push eax
call edx
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
lea eax, [ecx + eax*4]
mov edx, ecx
cmp ecx, eax
je 0x4c40a0
mov esi, dword [esp + 0xa4]
cmp esi, dword [edx]
je 0x4c4120
add edx, 4
cmp edx, eax
jne 0x4c4091
mov eax, dword [esp + 0x3c]
inc eax
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
jle 0x4c4107
mov esi, eax
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + esi + 8]
and esi, 0xfffffff8
cmp dword [esp + 0x38], esi
je 0x4c4107
test esi, esi
jle 0x4c40f4
test ecx, ecx
jne 0x4c40df
lea ecx, [esi*4]
push ecx
call fcn.0051ef12
add esp, 4
mov ecx, eax
jmp 0x4c40ff
lea edx, [esi*4]
push edx
push ecx
call fcn.0051f11a
add esp, 8
mov ecx, eax
jmp 0x4c40ff
push ecx
call fcn.0051ee35
add esp, 4
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
lea ecx, [ecx + eax*4]
mov dword [esp + 0x3c], edx
test ecx, ecx
je 0x4c4120
mov eax, dword [esp + 0x44]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xa4]
lea esi, [ebx + eax + 0x1bc4]
lea ecx, [ebx + eax + 0x1a84]
mov eax, dword [esp + 0x24]
push edx
call fcn.004c6660
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x134]
add esp, 4
cmp ecx, eax
jl 0x4c4158
mov eax, ecx
inc dword [esp + 0x2c]
add dword [esp + 0x24], 4
mov esi, dword [esp + 0x20]
mov dword [ebx + 0x134], eax
inc esi
jmp 0x4c3fde
xor esi, esi
lea eax, [ebx + 0x1304]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0xcc]
cmp eax, 0xa0
mov dword [esp + 0x20], esi
jle 0x4c4197
mov eax, 0xa0
cmp esi, eax
jge 0x4c4320
mov edx, dword [esp + 0x70]
mov eax, esi
call fcn.004101a0
test al, al
je 0x4c431a
mov ecx, dword [ebx + 0x1d18]
mov eax, dword [ebx + 0x130]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
add ecx, edx
imul eax, ecx
mov ecx, dword [ebx + 0x1d0c]
lea edx, [ecx + eax*4]
push 0x30
lea eax, [esp + 0xd0]
push 0
add edi, 0x500
push eax
mov dword [edi - 0xa00], edx
call fcn.00522130
mov ecx, dword [ebx + 0x98]
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], 0
mov edx, dword [ecx]
mov edx, dword [edx + 0x48]
add esp, 0xc
lea eax, [esp + 0xc8]
push eax
call edx
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
lea eax, [ecx + eax*4]
mov edx, ecx
cmp ecx, eax
je 0x4c424f
mov esi, dword [esp + 0xd8]
mov edi, edi
cmp esi, dword [edx]
je 0x4c42cf
add edx, 4
cmp edx, eax
jne 0x4c4240
mov eax, dword [esp + 0x3c]
inc eax
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
jle 0x4c42b6
mov esi, eax
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + esi + 8]
and esi, 0xfffffff8
cmp dword [esp + 0x38], esi
je 0x4c42b6
test esi, esi
jle 0x4c42a3
test ecx, ecx
jne 0x4c428e
lea ecx, [esi*4]
push ecx
call fcn.0051ef12
add esp, 4
mov ecx, eax
jmp 0x4c42ae
lea edx, [esi*4]
push edx
push ecx
call fcn.0051f11a
add esp, 8
mov ecx, eax
jmp 0x4c42ae
push ecx
call fcn.0051ee35
add esp, 4
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
lea ecx, [ecx + eax*4]
mov dword [esp + 0x3c], edx
test ecx, ecx
je 0x4c42cf
mov eax, dword [esp + 0x44]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0xd8]
lea esi, [ebx + eax + 0x1c64]
lea ecx, [ebx + eax + 0x1b24]
mov eax, dword [esp + 0x24]
push edx
call fcn.004c6660
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x134]
add esp, 4
cmp ecx, eax
jl 0x4c4307
mov eax, ecx
inc dword [esp + 0x2c]
add dword [esp + 0x24], 4
mov esi, dword [esp + 0x20]
mov dword [ebx + 0x134], eax
inc esi
jmp 0x4c4181
mov ecx, dword [ebx + 0x1d1c]
xor esi, esi
test ecx, ecx
jle 0x4c43c8
lea eax, [ebx + 0x1304]
mov dword [esp + 0x20], eax
lea ebx, [ebx]
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
mov edi, dword [ebx + 0x130]
sar eax, 3
imul edi, eax
mov eax, dword [ebx + 0x1d18]
add eax, esi
shl eax, 4
cmp dword [eax + ebx + 0x18c], 0
je 0x4c43b4
mov ecx, dword [ebx + 0x1d18]
lea edx, [ecx + esi + 0x19]
shl edx, 4
cmp dword [edx + ebx], 0
je 0x4c43b4
mov eax, dword [ebx + 0x1d18]
add eax, esi
shl eax, 4
mov eax, dword [eax + ebx + 0x18c]
push edi
push 0
push eax
call fcn.00522130
mov ecx, dword [ebx + 0x1d18]
add esp, 0xc
lea edx, [ecx + esi + 0x19]
shl edx, 4
mov eax, dword [edx + ebx]
push edi
push 0
push eax
call fcn.00522130
add esp, 0xc
mov eax, dword [ebx + 0x1d1c]
add dword [esp + 0x20], 4
inc esi
cmp esi, eax
jl 0x4c4340
mov ecx, dword [ebx + 0x98]
lea eax, [ebx + 0x11c]
lea edx, [ebx + 0x118]
mov dword [edx], 0
mov dword [eax], 0
mov esi, dword [ecx]
push eax
push edx
mov edx, dword [esi + 0x28]
call edx
mov byte [ebx + 0x1d20], 1
mov byte [ebx + 0x1d23], 0
mov ecx, dword [ebx + 0x98]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
test eax, eax
je 0x4c445e
mov eax, 0xa
mov byte [ebx + 0x1d20], 0
call fcn.004ba0d0
mov ecx, dword [ebx + 0x98]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
call edx
mov eax, str.Cant_start_device
lea ecx, [esp + 0x58]
call fcn.0041ae90
lea eax, [esp + 0x58]
lea esi, [ebx + 0xc4]
call fcn.0041ae20
lea ecx, [esp + 0x58]
call fcn.0041add0
mov eax, 0xa
call fcn.004ba0d0
jmp 0x4c44c0
mov esi, 0x12b
mov al, byte [ebx + 0x1d23]
test al, al
jne 0x4c447c
mov eax, 0xa
call fcn.004ba0d0
dec esi
test esi, esi
jg 0x4c4463
mov cl, byte [ebx + 0x1d23]
mov byte [ebx + 0x1d21], 1
test cl, cl
jne 0x4c44c0
mov eax, str.Device_didnt_start_correctly
lea ecx, [esp + 0x78]
call fcn.0041ae90
lea eax, [esp + 0x78]
lea esi, [ebx + 0xc4]
call fcn.0041ae20
lea ecx, [esp + 0x78]
call fcn.0041add0
mov ecx, dword [ebx + 0x98]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
mov dword [esp + 0x740], 0xffffffff
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0051ee35
add esp, 4
call fcn.0040e2e0
or edx, 0xffffffff
lock xadd dword [eax], edx
jmp 0x4c4537
mov eax, str.Cant_create_i_o_buffers
lea ecx, [esp + 0x5c]
call fcn.0041ae90
lea eax, [esp + 0x5c]
lea esi, [ebx + 0xc4]
call fcn.0041ae20
lea ecx, [esp + 0x5c]
call fcn.0041add0
jmp 0x4c4537
mov eax, str.Cant_set_sample_rate:
lea ecx, [esp + 0x64]
call fcn.0041ae90
lea eax, [esp + 0x64]
call fcn.0041ae20
lea ecx, [esp + 0x64]
call fcn.0041add0
mov ecx, dword [esp + 0x28]
call fcn.0041b9c0
mov eax, dword [ebx + 0xc4]
lea esi, [ebx + 0xc4]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x84]
call fcn.00403100
test eax, eax
je 0x4c45c1
mov ecx, dword [ebx + 0x98]
test ecx, ecx
je 0x4c4578
cmp byte [esp + 0x1f], 0
je 0x4c4578
mov ecx, dword [ebx + 0x98]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov eax, 0x14
call fcn.004ba0d0
mov ecx, esi
lea eax, [esp + 0x6c]
mov byte [ebx + 0x1d21], 0
mov byte [ebx + 0x1d20], 0
call fcn.0041ae00
mov dword [esp + 0x740], 2
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
lea eax, [esp + 0x6c]
call fcn.0041ae20
lea ecx, [esp + 0x6c]
call fcn.0041add0
mov eax, dword [esp + 0x88]
mov byte [ebx + 0x1d26], 0
mov ecx, esi
mov byte [ebx + 0x1d27], 0
call fcn.0041ae00
jmp 0x4c45f5
lea ecx, [esp + 0x54]
mov eax, edi
call fcn.0041ae00
lea ecx, [esp + 0x54]
call fcn.0041add0
mov eax, edi
mov ecx, dword [esp + 0x738]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6f0]
xor ecx, esp
call fcn.0051e437
mov esp, ebp
pop ebp
ret 0x18