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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x80
mov edx, dword [esp + 0x98]
mov esi, dword [edx + 4]
mov ebx, dword [edx + 8]
mov ebp, dword [edx]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebx
cmp dword [ebp + 0x38], esi
jbe 0x50e289
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x50e289
imul edi, esi, 0xf0
mov ecx, dword [eax + edi]
xor ecx, 3
or ecx, dword [eax + edi + 4]
je 0x50e289
add eax, edi
cmp dword [eax + 0xcc], ebx
jne 0x50e289
mov eax, dword [eax + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [0x69b710]
mov eax, dword [eax]
test eax, eax
je 0x50e0f1
xor eax, eax
cmp dword [esp + 0x3c], 0x3b9aca00
setne al
push eax
push edx
push dword [esp + 0x9c]
call fcn.0050e8b0
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [0x69acac]
test al, al
je 0x50e0cb
movzx ecx, al
cmp ecx, 1
je 0x50e10f
cmp ecx, 2
jne 0x50e268
mov al, 2
movzx eax, al
push eax
push dword [0x69aca4]
call fcn.005313d0
mov edx, dword [esp + 0xa0]
add esp, 8
test al, al
je 0x50e0cb
mov eax, dword [0x69aca4]
mov ecx, dword [eax + 0x20]
test ecx, ecx
mov dword [esp + 0x38], ecx
je 0x50e2ff
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 0x28]
mov dword [esp + 0x54], 0x62268c
mov dword [esp + 0x58], 1
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], 0x621df8
mov dword [esp + 0x60], 0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x34], edx
cmp ecx, 1
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
je 0x50e2ff
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 1
cmp dword [ebp + 0x38], esi
jbe 0x50e2d2
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x50e2d2
mov edx, dword [ecx + edi]
xor edx, 3
or edx, dword [ecx + edi + 4]
je 0x50e2d2
add ecx, edi
cmp dword [ecx + 0xcc], ebx
jne 0x50e2d2
add ecx, 0xcc
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x6c]
mov dword [esp], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 8], 0x6222d8
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x18]
lea edx, [eax + 0x1c]
mov dword [esp + 0x10], ecx
mov ecx, esp
mov dword [esp + 0x14], 0x622694
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], edx
push ecx
push eax
call fcn.00531b00
add esp, 8
mov edx, dword [esp + 0x98]
jmp 0x50e0cb
push 0x69aca4
call fcn.0059e2f0
mov edx, dword [esp + 0x9c]
add esp, 4
test al, al
jne 0x50e10f
jmp 0x50e0cb
lea eax, [esp + 0x44]
mov dword [esp], str.dangling_store_key_for_stream_id
mov dword [esp + 4], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x58], 0x51bc80
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov eax, esp
push 0x627790
push eax
call fcn.005a0aa0
add esp, 8
ud2
lea eax, [esp + 0x1c]
mov dword [esp], str.dangling_store_key_for_stream_id
mov dword [esp + 4], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x51bc80
lea eax, [esp + 0x20]
jmp 0x50e2b4
push 0x622664
push 0x22
push 0x6221fc
call fcn.005a0a40
add esp, 0xc
ud2