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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1548
call fcn.1e72b710
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 0x20]
push eax
push ecx
lea edi, [esi + 8]
push edx
mov ecx, edi
call fcn.1e75cf40
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x10]
mov ecx, 0xffff
mov word [esi + 0x4e], cx
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x20]
mov dword [edi], 0x1e704c54
xor edi, edi
mov dword [esi + 0x68], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x60], edx
mov dword [esi + 0x6c], eax
mov byte [esi + 0x4c], bl
mov dword [esi], 0x1e704c6c
mov dword [esi + 0x50], 0x1e704c08
mov dword [esi + 0x110], 1
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x64], 5
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], ecx
lea eax, [esi + 0xf8]
mov edx, 6
mov dword [eax - 0x18], edi
mov dword [eax], 1
add eax, 4
sub edx, 1
jne 0x1e766554
mov edx, dword [ebp + 0x1c]
lea edi, [esi + 0x5c]
push edi
push edx
push ebx
push ecx
push ecx
call fcn.1e7136f0
add esp, 0x14
test eax, eax
jne 0x1e7665a7
push 0xfa
push 0x1e7045f8
push 0x1e704db4
call sym.d3d8.dll_DebugSetMute
mov eax, dword [ebp + 0x28]
add esp, 0xc
pop edi
mov dword [eax], 0x8876086c
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [edi]
add eax, 0x1f
and eax, 0xffffffe0
mov ecx, 6
mov dword [edi], eax
mul ecx
test edx, edx
ja 0x1e7665c3
cmp eax, 0x80000000
jbe 0x1e7665ee
push 0x109
push 0x1e7045f8
push 0x1e704d88
call sym.d3d8.dll_DebugSetMute
mov edx, dword [ebp + 0x28]
add esp, 0xc
pop edi
mov eax, esi
pop esi
mov dword [edx], 0x8876086c
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov edi, dword [ebp + 0x20]
mov dword [esi + 0x70], eax
cmp edi, 2
je 0x1e766623
cmp edi, 3
je 0x1e766623
cmp edi, 1
jne 0x1e76664a
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x3c]
push 5
call fcn.1e759720
neg eax
sbb eax, eax
neg eax
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
test eax, eax
je 0x1e76664a
mov edx, dword [esi + 0x70]
push edx
call fcn.1e71aec0
add esp, 4
mov dword [esi + 0x58], eax
test eax, eax
jne 0x1e76664a
mov eax, dword [ebp + 0x28]
pop edi
mov dword [eax], 0x8007000e
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
push 0x1500
lea ecx, [ebp - 0x1548]
push 0
push ecx
call sub.msvcrt.dll_memset
push 0x30
lea edx, [ebp - 0x48]
push 0
push edx
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x208]
lea eax, [ebx + ebx*2]
add eax, eax
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp + 0x18], eax
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x68]
add esp, 0x18
lea edx, [ebp - 0x1548]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x3c], 5
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 0
cmp edi, 1
jne 0x1e7666c2
mov edx, dword [esi + 0x14]
mov ecx, dword [edx + 0x3c]
push 5
call fcn.1e759720
neg eax
sbb eax, eax
add eax, 2
jmp 0x1e7666c4
mov eax, edi
mov dword [ebp - 0x34], eax
lea eax, [ebx*8]
sub eax, ebx
xor edx, edx
add eax, eax
add eax, eax
lea ecx, [ebp - 0x1544]
mov dword [ebp + 0x1c], edx
mov dword [ebp - 8], eax
mov dword [ebp + 0x24], ecx
mov ecx, dword [esi + 0x78]
xor edi, edi
mov dword [ebp + 0xc], ecx
test ebx, ebx
jbe 0x1e766742
mov ebx, dword [ebp + 0x24]
mov eax, dword [esi + 0x58]
mov dword [ebx - 4], ecx
mov dword [ebx], ecx
test eax, eax
je 0x1e76672e
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [esi + 0x5c]
imul ecx, edx
push 0
add ecx, eax
push ecx
lea eax, [esi + 0x60]
push edi
push eax
call fcn.1e713970
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 8], edx
mov edx, dword [ebp + 0x1c]
add esp, 0x14
mov dword [ebx + 0xc], eax
shr ecx, 1
inc edi
add ebx, 0x1c
mov dword [ebp + 0xc], ecx
cmp edi, dword [ebp + 0x10]
jb 0x1e7666f4
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
add dword [ebp + 0x24], eax
inc edx
mov dword [ebp + 0x1c], edx
cmp edx, 6
jb 0x1e7666e5
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1e71aec0
xor edi, edi
add esp, 4
mov dword [esi + 0x54], eax
cmp eax, edi
je 0x1e766636
mov ecx, dword [ebp + 0x18]
lea edx, [ecx*4]
push edx
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [ebp + 0x20], 3
je 0x1e7667bd
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x148]
lea eax, [ebp - 0x48]
push eax
call edx
cmp eax, edi
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
jl 0x1e76693a
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1530]
mov dword [esi + 0x6c], edx
mov dword [esi + 0x18], eax
mov dword [ebp + 0x1c], edi
mov dword [ebp + 8], edi
xor eax, eax
lea ecx, [ebx*4]
lea edi, [ebp - 0x1530]
mov dword [ebp + 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], edi
jmp 0x1e7667e0
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jbe 0x1e7668d4
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x24], edi
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x6c]
add edx, ebx
mov dword [ebp - 0xc], edx
cmp eax, 2
je 0x1e766865
cmp eax, 3
je 0x1e766865
push 0x18
call fcn.1e71aec0
add esp, 4
test eax, eax
je 0x1e766858
mov edi, dword [edi]
mov cl, byte [ebp + 0x1c]
mov dword [eax], 0x1e704558
mov dword [eax + 0x14], edi
mov edi, dword [ebp + 0x24]
mov dword [eax + 4], 0
mov dword [eax + 8], esi
mov byte [eax + 0x10], bl
mov byte [eax + 0x11], cl
mov edx, dword [esi + 0x68]
and edx, 0x4000004
neg edx
sbb edx, edx
neg edx
mov dword [eax + 0xc], edx
mov edx, dword [ebp + 0xc]
mov dword [eax], 0x1e704d08
mov ecx, dword [esi + 0x54]
mov dword [edx + ecx], eax
jmp 0x1e7668b0
mov ecx, dword [esi + 0x54]
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [edx + ecx], eax
jmp 0x1e7668b0
push 0x18
call fcn.1e71aec0
add esp, 4
test eax, eax
je 0x1e7668a5
mov ecx, dword [edi]
mov dl, byte [ebp + 0x1c]
mov dword [eax + 0x14], ecx
mov dword [eax + 4], 0
mov dword [eax], 0x1e704558
mov dword [eax + 8], esi
mov byte [eax + 0x10], bl
mov byte [eax + 0x11], dl
mov ecx, dword [esi + 0x68]
and ecx, 0x4000004
neg ecx
sbb ecx, ecx
neg ecx
mov dword [eax + 0xc], ecx
jmp 0x1e7668a7
xor eax, eax
mov edx, dword [esi + 0x54]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + edx], eax
mov edx, dword [esi + 0x54]
mov eax, dword [ebp + 0xc]
cmp dword [eax + edx], 0
je 0x1e766945
add dword [ebp + 0xc], 4
inc ebx
add edi, 0x1c
mov dword [ebp + 0x24], edi
cmp ebx, dword [ebp + 0x10]
jb 0x1e7667f1
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
add eax, dword [ebp - 0x18]
add edi, dword [ebp - 8]
add dword [ebp + 8], edx
inc ecx
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x14], eax
mov dword [ebp - 4], edi
cmp ecx, 6
jb 0x1e7667e0
cmp dword [ebp + 0x20], 1
jne 0x1e76693a
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x3c]
push 5
call fcn.1e759720
neg eax
sbb eax, eax
neg eax
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
test eax, eax
je 0x1e76693a
mov edx, dword [esi + 0x14]
mov ecx, dword [edx + 0x3c]
lea eax, [esi + 8]
lea edx, [eax + 0x1c]
push edx
push eax
call fcn.1e759150
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
push 0x19a
push 0x1e7045f8
push 0x1e704d60
call sym.d3d8.dll_DebugSetMute
mov eax, dword [ebp + 0x28]
add esp, 0xc
cmp dword [ebp + 0x20], 3
mov dword [eax], 0x8007000e
je 0x1e76693a
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0xc]
dec eax
cmp ecx, eax
jae 0x1e76693a
lea edi, [ecx*8]
sub edi, ecx
sub eax, ecx
lea edi, [ebp + edi*4 - 0x1530]
mov ebx, eax
lea ebx, [ebx]
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x208]
mov edx, dword [edi]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x14c]
push ecx
call edx
add edi, 0x1c
sub ebx, 1
jne 0x1e766990
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24