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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 8]
sub esp, 0x3bc
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 0x24]
push eax
push ecx
lea ebx, [esi + 8]
push edx
mov ecx, ebx
call fcn.1e75cf40
mov edi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x18]
mov ecx, 0xffff
mov word [esi + 0x4e], cx
xor ecx, ecx
mov dword [ebx], 0x1e70404c
mov dword [esi + 0x54], ecx
mov dword [esi + 0x58], ecx
mov ecx, dword [ebp + 0x1c]
lea ebx, [esi + 0x6c]
push ebx
push edi
mov dword [esi + 0x68], edx
mov edx, dword [ebp + 0xc]
push eax
mov dword [esi + 0x64], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x70], edx
mov edx, dword [ebp + 0x10]
push ecx
mov byte [esi + 0x4c], al
mov eax, dword [ebp + 0xc]
push edx
push eax
mov dword [esi + 0x48], edi
mov dword [esi], 0x1e704064
mov dword [esi + 0x50], 0x1e704000
mov dword [esi + 0x10c], 7
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], 4
mov dword [esi + 0x74], edx
mov dword [esi + 0x78], ecx
call fcn.1e713840
add esp, 0x18
test eax, eax
jne 0x1e764cbb
push 0x112
push 0x1e7039c0
push 0x1e70414c
call sym.d3d8.dll_DebugSetMute
mov ecx, dword [ebp + 0x2c]
add esp, 0xc
pop edi
mov eax, esi
pop esi
mov dword [ecx], 0x8876086c
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov ecx, dword [ebp + 0x24]
cmp ecx, 2
je 0x1e764cdb
cmp ecx, 3
je 0x1e764cdb
mov eax, dword [esi + 0x14]
push ecx
push 4
push eax
call fcn.1e75a920
add esp, 0xc
test eax, eax
je 0x1e764d18
mov edx, dword [ebx]
push edx
call fcn.1e71aec0
add esp, 4
mov dword [esi + 0x58], eax
test eax, eax
jne 0x1e764d18
push 0x11f
push 0x1e7039c0
push 0x1e704114
call sym.d3d8.dll_DebugSetMute
mov eax, dword [ebp + 0x2c]
add esp, 0xc
pop edi
mov dword [eax], 0x8007000e
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
push 0x380
xor ebx, ebx
lea ecx, [ebp - 0x3bc]
push ebx
push ecx
call sub.msvcrt.dll_memset
push 0x30
lea edx, [ebp - 0x3c]
push ebx
push edx
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x208]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [esi + 0x64]
add esp, 0x18
lea edx, [ebp - 0x3bc]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], ebx
cmp edi, 1
jne 0x1e764d87
mov edx, dword [esi + 0x14]
mov ecx, dword [edx + 0x3c]
push 4
call fcn.1e759720
neg eax
sbb eax, eax
add eax, 2
jmp 0x1e764d89
mov eax, edi
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
test ecx, ecx
jbe 0x1e764e0a
lea edi, [ebp - 0x3b8]
lea esp, [esp]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [edi - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 4], eax
mov eax, dword [esi + 0x58]
mov dword [edi], edx
test eax, eax
je 0x1e764de1
lea ecx, [ebp - 0xc]
push ecx
push 0
push eax
lea eax, [esi + 0x5c]
push ebx
push eax
call fcn.1e713b20
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp + 0x18]
add esp, 0x14
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov eax, 1
cmp dword [ebp + 0xc], eax
jbe 0x1e764dee
shr dword [ebp + 0xc], 1
cmp dword [ebp + 0x10], eax
jbe 0x1e764df6
shr dword [ebp + 0x10], 1
cmp dword [ebp + 0x14], eax
jbe 0x1e764dfe
shr dword [ebp + 0x14], 1
add ebx, eax
add edi, 0x1c
cmp ebx, ecx
jb 0x1e764da0
mov edi, dword [ebp + 0x24]
xor ebx, ebx
mov eax, ecx
mov edx, 4
mul edx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.1e71aec0
add esp, 4
mov dword [esi + 0x54], eax
test eax, eax
jne 0x1e764e40
push 0x16b
push 0x1e7039c0
push 0x1e7040ec
jmp 0x1e764cfc
mov ecx, dword [ebp + 0x18]
lea edx, [ecx*4]
push edx
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp edi, 3
je 0x1e764e86
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x148]
lea eax, [ebp - 0x3c]
push eax
call edx
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
test eax, eax
jl 0x1e764f7a
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x3a4]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], eax
xor ebx, ebx
cmp dword [ebp + 0x18], ebx
jbe 0x1e764f3c
lea edi, [ebp - 0x3a4]
mov eax, dword [esi + 0x68]
cmp eax, 2
je 0x1e764ee4
cmp eax, 3
je 0x1e764ee4
push 0x18
call fcn.1e71aec0
add esp, 4
test eax, eax
je 0x1e764f1e
mov ecx, dword [edi]
mov dword [eax + 0x14], ecx
mov dword [eax], 0x1e703938
mov dword [eax + 4], esi
mov dword [eax + 8], 0
mov byte [eax + 0x10], bl
mov ecx, dword [esi + 0x64]
and ecx, 0x4000004
neg ecx
sbb ecx, ecx
neg ecx
mov dword [eax + 0xc], ecx
mov dword [eax], 0x1e703fcc
jmp 0x1e764f20
push 0x18
call fcn.1e71aec0
add esp, 4
test eax, eax
je 0x1e764f1e
mov ecx, dword [edi]
mov dword [eax + 0x14], ecx
mov dword [eax], 0x1e703938
mov dword [eax + 4], esi
mov dword [eax + 8], 0
mov byte [eax + 0x10], bl
mov ecx, dword [esi + 0x64]
and ecx, 0x4000004
neg ecx
sbb ecx, ecx
neg ecx
mov dword [eax + 0xc], ecx
jmp 0x1e764f20
xor eax, eax
mov edx, dword [esi + 0x54]
mov dword [edx + ebx*4], eax
mov eax, dword [esi + 0x54]
cmp dword [eax + ebx*4], 0
je 0x1e764f85
inc ebx
add edi, 0x1c
cmp ebx, dword [ebp + 0x18]
jb 0x1e764e97
cmp dword [ebp + 0x24], 1
jne 0x1e764f7a
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 0x3c]
push 4
call fcn.1e759720
neg eax
sbb eax, eax
neg eax
xor edx, edx
test eax, eax
sete dl
mov eax, edx
test eax, eax
je 0x1e764f7a
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 0x3c]
lea eax, [esi + 8]
lea edx, [eax + 0x1c]
push edx
push eax
call fcn.1e759150
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
push 0x19b
push 0x1e7039c0
push 0x1e7040c8
call sym.d3d8.dll_DebugSetMute
mov ecx, dword [ebp + 0x2c]
add esp, 0xc
cmp dword [ebp + 0x24], 3
mov dword [ecx], 0x8007000e
je 0x1e764f7a
mov eax, dword [ebp + 0x18]
cmp ebx, eax
jae 0x1e764f7a
lea edi, [ebx*8]
sub edi, ebx
sub eax, ebx
lea edi, [ebp + edi*4 - 0x3a4]
mov ebx, eax
jmp 0x1e764fd0
mov eax, dword [esi + 0x14]
mov edx, dword [eax + 0x208]
mov ecx, dword [edi]
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0xc]
mov dword [ebp - 8], ecx
mov eax, dword [eax + 0x14c]
push edx
call eax
add edi, 0x1c
sub ebx, 1
jne 0x1e764fd0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28