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

Disassembly:
sub esp, 0x68
push ebx
mov ebx, dword [esp + 0x78]
push ebp
xor ebp, ebp
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x10], ebp
cmp dword [ebx], ebp
jle 0x50c3e3
mov edx, dword [esp + 0x7c]
lea ecx, [ebx + 8]
mov dword [esp + 0x14], ecx
push esi
jmp 0x50c1e0
mov ecx, dword [ecx]
mov dword [esp + 0x20], ecx
cmp byte [ecx], 0xb1
jne 0x50c1f2
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
jmp 0x50c1f7
mov eax, 1
cmp eax, edx
jne 0x50c3b1
mov eax, dword [ecx + 0x14]
push 0
push 0x4c
push dword [edi]
mov dword [esp + 0x28], eax
call fcn.00504e90
mov esi, eax
add esp, 0xc
mov ebx, esi
test esi, esi
jne 0x50c220
lea esi, [esp + 0x2c]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x50c24d
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push 0xb4
push dword [edi]
call fcn.005078d0
push eax
push dword [edi]
call fcn.0050bbe0
add esp, 0x18
mov dword [esi + 0x1c], eax
mov byte [esi], 0x8a
mov dword [esi + 4], 0x200
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
inc dword [edi + 0x64]
mov eax, dword [edi + 0x64]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x18], 0xffffffff
mov word [esi + 2], ax
mov eax, dword [edi]
test eax, eax
je 0x50c29c
push 0
push 0x50
push eax
call fcn.00504e90
add esp, 0xc
mov edi, eax
jmp 0x50c2ec
cmp dword [0x77f9b8], 0
je 0x50c2d9
mov eax, dword [0x784970]
test eax, eax
je 0x50c2b8
push eax
call dword [0x77fa08]
add esp, 4
lea eax, [esp + 0x10]
push eax
push 0x50
call fcn.004e8e00
mov eax, dword [0x784970]
add esp, 8
test eax, eax
je 0x50c2e8
push eax
call dword [0x77fa10]
jmp 0x50c2e5
push 0x50
call dword [0x77f9d8]
mov dword [esp + 0x14], eax
add esp, 4
mov edi, dword [esp + 0x10]
test edi, edi
je 0x50c2fd
push 0x50
push 0
push edi
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [esi + 0x20], edi
mov edi, dword [esp + 0x7c]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x50c36a
xor eax, eax
lea edx, [esp + 0x2c]
cmp esi, edx
setne al
push eax
push esi
push ecx
call fcn.004c3480
add esp, 0xc
xor ebx, ebx
mov eax, dword [esp + 0x20]
mov dword [eax + 0x14], 0
test ebx, ebx
je 0x50c385
test ebp, ebp
je 0x50c383
mov byte [ebx], 0x87
mov dword [ebx + 0x34], ebp
mov ebp, ebx
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x84]
inc eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x80]
add ecx, 0x14
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
cmp eax, dword [ebx]
jl 0x50c1e0
jmp 0x50c3d1
mov ecx, 0x5899fc
cmp eax, 1
jg 0x50c3c0
mov ecx, 0x56dd34
push edx
push ecx
push eax
push str.IN_...__element_has__d_term_s___expected__d
push edi
call fcn.005071d0
add esp, 0x14
pop esi
test ebp, ebp
je 0x50c3e3
cmp dword [ebp + 0x34], 0
je 0x50c3e3
or dword [ebp + 4], 0x400
push ebx
push dword [edi]
call fcn.004cc570
add esp, 8
mov eax, ebp
pop edi
pop ebp
pop ebx
add esp, 0x68
ret